To export a VNX volume to a Compute node, you must register the node with VNX.
On the Compute node 1.1.1.1
, run these commands (assume 10.10.61.35
is the iscsi target):
$ sudo /etc/init.d/open-iscsi start
$ sudo iscsiadm -m discovery -t st -p 10.10.61.35
$ cd /etc/iscsi
$ sudo more initiatorname.iscsi
$ iscsiadm -m node
Log in to VNX from the Compute node by using the target corresponding to the SPA port:
$ sudo iscsiadm -m node -T iqn.1992-04.com.emc:cx.apm01234567890.a0 -p 10.10.61.35 -l
Assume
iqn.1993-08.org.debian:01:1a2b3c4d5f6g
is the initiator name of the Compute node. Log in to
Unisphere, go to
VNX00000
->Hosts->Initiators,
refresh and wait until initiator
iqn.1993-08.org.debian:01:1a2b3c4d5f6g
with SP Port A-8v0
appears.
Click CLARiiON/VNX,
and enter the myhost1
host name and myhost1
IP address. Click .
Now the 1.1.1.1
host appears under
as well.
Log out of VNX on the Compute node:
$ sudo iscsiadm -m node -u
Log in to VNX from the Compute node using the target corresponding to the SPB port:
$ sudo iscsiadm -m node -T iqn.1992-04.com.emc:cx.apm01234567890.b8 -p 10.10.10.11 -l
In Unisphere, register the initiator with the SPB port.
Log out:
$ sudo iscsiadm -m node -u