IP CONFIGURATION:
1. For a database blade, make sure network interface is
configured with SAN ip address:
ifconfig -a
(is net10 there and done? if not, next step)
ipadm create-ip
net10
ipadm create-addr
-T static -a 192.168.100.IP/24 net10/v4
ping 192.168.100.IP
ISCSI CONFIGURATION:
1. Enable iscsi client
svcadm enable
/network/iscsi/initiator
2. Get initiator node ID for initiator config on
storage system
iscsiadm list
initiator-node
3. Set iSCSI discovery to static IP address of
the target storage system
iscsiadm modify
discovery --static enable
iscsiadm add
static-config iqn.1986-03.com.sun:02:xxxxxxtargetxxx,192.168.100.xx:3260
4. After the iscsi initiator ID has been added to the
storage system, and at least 1 new LUN has been presented, query for those
LUNS:
iscsiadm list
target -vS
5. Cleanup device aliases meant for iscsi targets:
devfsadm -Cv -i
iscsi
11. It’s required so that you can use cfgadm.
ReplyDeletesvcadm enable hotplug
The second command is what turns on multipathing for fiber channel ports only. I don’t multipath for the internal drives. This command requires a reboot!
stmsboot -D fp -e