Home > Workload Solutions > Oracle > White Papers > Deploying PowerMax 25GbE iSCSI with Oracle Databases > PowerMax iSCSI configuration using SYMCLI
This section shows the steps needed to configure PowerMax iSCSI using a Solutions Enabler command line interface (SYMCLI). Solutions Enabler CLI is another way to configure PowerMax in addition to Unisphere.
Create IP interface for each iSCSI front-end interface on PowerMax:
# symconfigure -sid 352 -cmd "create ip_interface dir 1e port 24, ip_address=192.168.209.3, ip_prefix=28,network_id=1,vlanid=0,mtu=9000;" commit -nop
A Configuration Change operation is in progress. Please wait...
Establishing a configuration change session...............Established.
Processing symmetrix 000197600352
Performing Access checks..................................Allowed.
Checking Device Reservations..............................Allowed.
Committing configuration changes..........................Started.
Committing configuration changes..........................Committed.
Terminating the configuration change session..............Done.
The configuration change session has successfully completed.
Create Target for the port by specifying director port and network ID. Optionally IQN for the target can be specified. If No IQN is specified, PowerMax generates one automatically:
# symconfigure -sid 352 -cmd "create iscsi_tgt dir 1e,network_id=1;" commit -nop
A Configuration Change operation is in progress. Please wait...
Establishing a configuration change session...............Established.
Processing symmetrix 000197600352
Performing Access checks..................................Allowed.
Checking Device Reservations..............................Allowed.
Committing configuration changes..........................Started.
created IQN : iqn.1992-04.com.emc:600009700bc724603bac01d500000003
Committing configuration changes..........................Committed.
Terminating the configuration change session..............Done.
The configuration change session has successfully completed.
Attach the IP interface with the Target:
# symconfigure -sid 352 -cmd "attach ip_interface ip_address=192.168.209.3 to iscsi_tgt iqn=iqn.1992-04.com.emc:600009700bc724603bac01d500000003;" commit -nop
A Configuration Change operation is in progress. Please wait...
Establishing a configuration change session...............Established.
Processing symmetrix 000197600352
Performing Access checks..................................Allowed.
Checking Device Reservations..............................Allowed.
Committing configuration changes..........................Started.
Committing configuration changes..........................Committed.
Terminating the configuration change session..............Done.
The configuration change session has successfully completed.
Create a port group for iSCSI ports and add targets to port group:
# symaccess -sid 352 -type port -name iscsi-pg create
# symaccess -sid 352 -type port -name iscsi-pg -iqn iqn.1992-04.com.emc:600009700bc724603bac01d500000003 add
Create initiator group for host and add initiators to it. Initiator ID should match the IQN configured in file /etc/iscsi/initiatorname.iscsi file of Linux host:
# symaccess -sid 352 -type initiator -name i-dsib0162 create
# symaccess -sid 352 -type initiator -name i-dsib0162 -iscsi iqn.1988-12.com.oracle:dsib0162 add
Create Masking View to present volumes to Host over iSCSI:
# symaccess -sid 352 create view -name iscsi-db -sg db_sg -pg iscsi-pg -ig i-dsib0162
Configure CHAP Authentication (optional): The example here is to setup unidirectional CHAP where PowerMax authenticates initiator. The value for -cred has to match username in the host/initiator configuration file and -secret to password. The -iscsi is set to the IQN of the initiator.
# symaccess -sid 352 -iscsi iqn.1988-12.com.oracle:dsib0162 set chap -cred iqn.1988-12.com.oracle:dsib0162 -secret SecretDsib0162
# symaccess -sid 352 -iscsi iqn.1988-12.com.oracle:dsib0162 enable chap