Volumes must be connected to hosts for the hosts to read and write data on them. To make SAN volumes available to a host after a host has been created and WWNs are added on Pure Flash Array, we must establish a connection between the host and volumes.
To establish a Host-Volume Connection, we use the purevol connect --host or purehost connect --vol command. Both commands are functionally identical and do the purpose.
Syntax: purevol connect --host HOST --lun LUN VOL
Common arguments are:
VOL volume name
--host HOST host name
--lun LUN LUN number
--host HOST host name
--lun LUN LUN number
Syntax: purehost connect --lun LUN --vol VOL HOST
Common arguments are:
HOST host name
--lun LUN LUN number
--vol VOL volume name
--lun LUN LUN number
--vol VOL volume name
Eg 1:
purevol connect --host ESXPROD01 --lun 100 ESXPROD01-VOL1
The above command connects ESXPROD01-VOL1 to host ESXPROD01 with a lun ID 100
Eg 2:
purehost connect --lun 100 --vol ESXPROD01-VOL1 ESXPROD01
The above command also establishes host-volume relation by using the purehost connect option.
No comments :
Post a Comment