Red Hat LINUX VIRTUAL SERVER 4.6 - ADMINISTRATION Manuale di Installazione Pagina 238

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 296
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 237
218 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
8. Add an entry to /etc/multipath.conf using the mpatha value (WWID):
defaults {
user_friendly_names yes
}
# create a friendly name - test_lun
multipaths {
multipath {
wwid 36005076305ffc73d0000000000002008
alias test_lun
no_path_retry 5
}
}
9. Restart the multipath service and verify that the new test_lun friendly name has been
added:
]# service multipathd restart
Stopping multipathd daemon: [ OK ]
Starting multipathd daemon: [ OK ]
[root@train4 etc]# ls /dev/mapper
control system_vg-tmp_lv system_vg-var_lv test_lunp1
system_vg-opt_lv system_vg-usr_lv test_lun
10.Mount the multipathed LUN with the new name and see that the test file exists:
# mount /dev/mapper/test_lunp1 /mnt
# ls /mnt
foo lost+found
13.4.3 Making the changes persistent
To make the changes persistent, two steps must be performed:
1. Put the FCP device in the virtual machines user directory entry.
2. Put the WWPN and LUN into a Linux configuration file.
Perform the following steps:
1. Add a DEDICATE statement to virtualize A000 (which is the FCP device) as virtual device
200:
USER LINUX02 LINUX02 256M 1G G
INCLUDE LNXDFLT
OPTION APPLMON
DEDICATE 0200 A000
MDISK 100 3390 0001 3338 MM3F06 MR LNX4VM LNX4VM LNX4VM
MDISK 101 3390 0001 3338 MM3F07 MR LNX4VM LNX4VM LNX4VM
2. Run DIRECTXA to bring the change online.
3. Create the /etc/zfcp.conf file. As a shortcut, you can use the output of lszfcp -D:
# cd /etc
# lszfcp -D > zfcp.conf
# vi zfcp.conf
0.0.010a 0x500507630503c73d 0x4020400800000000
0.0.010b 0x500507630513c73d 0x4020400800000000
Vedere la pagina 237
1 2 ... 233 234 235 236 237 238 239 240 241 242 243 ... 295 296

Commenti su questo manuale

Nessun commento