HP 3PAR RedHat and Oracle Linux Implementation Guide

4. Set up the IP address and netmask address of the iSCSI target ports by issuing
controliscsiport addr <ipaddr> <netmask> [-f] <node:slot:port>.
# controliscsiport addr 10.100.0.101 255.255.0.0 -f 0:3:1
# controliscsiport addr 10.101.0.201 255.255.0.0 -f 1:3:1
5. Verify the changed settings by issuing showport -iscsi.
NOTE: Make sure that VLAN connectivity is working properly. See “Setting Up the Switch
and iSCSI Initiator (page 57)
6. Issue the controliscsiport ping <ipaddr> <node:slot:port> command to verify
that the switch ports where the HP 3PAR StoreServ Storage iSCSI target ports and iSCSI Initiator
host connect are visible to each other.
# controliscsiport ping 10.100.0.101 0:3:1
Ping succeeded
# controliscsiport ping 10.101.0.201 1:3:1
Ping succeeded
NOTE: When the host initiator port and the HP 3PAR OS target port are in different IP subnets,
the gateway address for the HP 3PAR OS port should be configured in order to avoid unexpected
behavior by issuing the controliscsiport gw <gw_address> [-f] <node:slot:port>
command.
# controliscsiport gw 10.100.0.1 -f 0:3:1
# controliscsiport gw 10.101.0.1 -f 1:3:1
To verify that the gateway address for the HP 3PAR OS port is configured, issue the following
command:
Creating the iSCSI Host Definition
This section describes how to create an iSCSI host definition.
Creating the iSCSI Host Definition 21