Red Hat ENTERPRISE LINUX 5.1 DM MULTIPATH Manuale Utente Pagina 5

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 8
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 4
White Paper
# iscsiadm –m session –r session_id –u
# iscsiadm –
m
session –r 0 –
u
Logging out of session [sid: 1, target: iqn.2004-08…(omission)…p150c-
0a8a27a:default-target , portal: 192.168.11.150,3260]
Logout of [sid: 1, target: iqn.2004-08…(omission)…p150c-0a8a27a:default-
target , portal: 192.168.11.150,3260]: successful
Part 2: How to setup DM-Multipath
The procedures of setup a failover DM-Multipath are on the following.
1. Edit /etc/multipath.conf file and remove the comment mark “#” of the following
lines to enable multipath. It means that multipath will put all devices in the
blacklist.
# vi /etc/multipath.conf
# blacklist { // Remove the comment mark
# devnode “*” // “#” to enable multi-
# } // path.
2. The default setting of DM-Multipath is compiled in the system and does not need
to be modified in the /etc/multipath.conf. The default value of
path_grouping_ploicy is failover. Please refer to the document DM_Multipath.pdf
in reference for detail.
This is the advanced usage. The local disks can be excluded when generating
multipath devices.
1. Determine which WWN of local disks will be ignored. In this example, using the
command multipath can find out the WWN of local disk /dev/sda.
# multipath –F
# multipath –d
create: mpath0(SATA_HDS728040PLA320_PFDAV3SAU2D60X) ATA,HDSXXX
[size=38G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][undef]
\_ 1:0:0:0 sda 8:0 [undef][ready]
create: mpath1 (314a0a87813000f22) Qsan,P150C
[size=50G][features=0][hwhandler=0]
\_ round-robin 0 [prio=1][undef]
\_ 3:0:0:0 sdc 8:32 [undef][ready]
The WWN of local disk /dev/sda is in the parenthesis followed by the word
“mpath0”.
2. Edit /etc/multipath.conf, and insert the WWN of local disk into the blacklist.
# vi /etc/multipath.conf
blacklist {
wwid SATA_HDS728040PLA320_PFDAV3SAU2D60X
}
Then the local disk will be ignored when generating the multipath devices.
- 5 -
Vedere la pagina 4
1 2 3 4 5 6 7 8

Commenti su questo manuale

Nessun commento