- [Show pagesource]
- [Old revisions]
- [[unknown link type]]
- []
This is an old revision of the document!
Table of Contents
Multipath
Zakladni prikazy:
- zobrazeni aktivnich multipathu:
multipath -ll
- reload podle kofigurace:
multipath -v2
Vzorova konfigurace
- nastavuje failover nad storage pripojnou pomoci FC a iSCSI
- blacklistuje vsechna zarizeni mimo tech s wwid uvedenym v blacklist exceptions
- multipathy uvadime v sekci multipaths, aby dostali hezke jmeno :)
blacklist { wwid .* } blacklist_exceptions { property "(ID_WWN|SCSI_IDENT_.|ID_SERIAL)" wwid "26261353635663533|2317936357870636c" } defaults { # verbosity 6 failback manual path_grouping_policy failover features "0" no_path_retry fail } multipaths { multipath { wwid 26261353635663533 alias backup } multipath { wwid 2317936357870636c alias mach3 } }
Pridani noveho multipath zarizeni
- pridavame zarizeni jehoz jedna z cest je /dev/sdh
- zjistime si jeho scsi_id (wwid) nasledujicim prikazem:
/lib/udev/scsi_id -u -g -v /dev/sdh 2317936357870636c
- pridame ho do konfigurace do sekce blacklist_exceptions (oddelovac je |):
wwid "26261353635663533|2317936357870636c"
- dale do sekce multipaths pridame jeho zaznam:
multipath { wwid 2317936357870636c alias mach3 }
linux/multipath.1472807086.txt.gz · Last modified: 2016/09/02 11:04 by vondra