Topo:
How to mount UIS iscsi storage to CAS host and VM for use.
none
1.Select host group when UIS creates block device
2.Add host to host group
3.Need to know the host iqn number
Cat /etc/iscsi/initiatorname.iscsi on the virtual machine to see the host identifier.
[root@cvknode28 ~]# cat /etc/iscsi/initiatorname.iscsi
InitiatorName=iqn.1994-05.com.redhat:ba934e5c3f
4.Add a block device storage pool on the host side
5.To add storage to the virtual machine on this host, select a block device
6. In the virtual machine, the block device has been mapped, but there is no mounted directory, and it needs to be mounted manually.
7.Iscsi main commands:
cat /etc/iscsi/initiatorname.iscsi //View client side host identifier
iscsiadm -m session //View the session between the client and the storage
iscsiadm -m discovery -t st -p 172.16.4.77 //Discovers the shared storage volume, 172.16.4.77 is the storage HA high-availability IP
iscsiadm -m node -l //mount all iscsi session
ll /dev/disk/by-path //View iqn and lun numbers iscsiadm -m node -u all Unmount all