HP 3PAR Solaris Implementation Guide

5 executables
1005 blocks used (approx)
# modinfo | grep iscsi
104 7bee0000 2b7e8 96 1 iscsi (Sun iSCSI Initiator v20071207-0)
Setting Up the Ethernet Switch
1. Connect the Solaris (iSCSI Initiator) host’s CAT5/Fiber cables and the HP 3PAR StoreServ
Storage iSCSI target port's CAT5/Fiber cables to the Ethernet switches.
2. If you are using VLANs, make sure that the switch ports (where the HP 3PAR StoreServ Storage
iSCSI target ports and iSCSI Initiators are connected) are in the same VLANs and/or that you
can route the iSCSI traffic between the iSCSI Initiators and the HP 3PAR StoreServ Storage
iSCSI target ports. Once the iSCSI Initiator and HP 3PAR StoreServ Storage iSCSI target ports
are configured and connected to the switch, you can use the ping command on the iSCSI
Initiator host to make sure that it sees the HP 3PAR StoreServ Storage iSCSI target ports.
NOTE: Ethernet switch VLANs and routing setup and configuration is beyond the scope of
this document. Consult your switch manufacturer's documentation for instructions of how to
set up VLANs and routing.
Configuring the Solaris 11 Host Ports
Configure the host’s NIC/CNA card IP addresses appropriately for the iSCSI Initiator software
that is used to connect to the HP 3PAR StoreServ Storage iSCSI target ports.
Ensure that the iSCSI initiator software is properly configured as described in “Setting Up the iSCSI
Initiator for Target Discovery” (page 44).
The following procedure shows the steps that are required to configure a Solaris 11 host with two
iSCSI ports.
1. Identify the two interfaces required for iSCSI on the host.
bash-3.00# dladm show-phys
LINK MEDIA STATE SPEED DUPLEX DEVICE
net1 Ethernet up 1000 full e1000g1
net2 Ethernet up 10000 full oce2
net4 Ethernet unknown 0 unknown e1000g2
net0 Ethernet up 1000 full e1000g0
net3 Ethernet up 10000 full oce3
net5 Ethernet unknown 0 unknown e1000g3
2. Create the two interfaces required for iSCSI on the host. In the following example, the oce2
and oce3 interfaces are used.
bash-3.00# ipadm create-ip net2
bash-3.00# ipadm create-ip net3
bash-3.00# ipadm create-addr -T static -a 10.100.11.3/24 net2/ipv4
bash-3.00# ipadm create-addr -T static -a 10.100.12.3/24 net3/ipv4
3. Check that the iSCSI interfaces are created and configured correctly. For example:
bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index
1
inet 127.0.0.1 netmask ff000000
net0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
42 Configuring the Host for an iSCSI Connection