To use the sample file included on the resource media:
1.
Save the default /etc/iscsi/iscsid.conf file by naming it to another name of your choice.
2.
Copy the appropriate sample file from /linux/etc on the media to /etc/iscsi/iscsid.conf.
3.
Rename the sample file to iscsid.conf.
4.
Edit the following entries in the /etc/iscsi/iscsid.conf file:
a. Edit or verify that the
node.startup = manual
line is disabled.
b. Edit or verify that the
node.startup = automatic
line is enabled.
This enables automatic startup of the service at boot time.
c. Verify that the following time-out value is set to 30 by running the following command:
node.session.timeo.replacement_timeout = 30
d. Save and close the /etc/iscsi/iscsid.conf file.
5.
From the console, restart the iSCSI service with the following command:
service iscsi start
6.
Verify that the iSCSI service is running during boot using the following command from the console:
chkconfig iscsi on
7.
To display the available iSCSI targets at the specified IP address, use the following command:
iscsiadm –m discovery –t st -p <IP_address_of_iSCSI_port>
8.
After target discovery, use the following command to manually log in:
iscsiadm -m node –l
This log in is performed automatically at startup if automatic startup is enabled.
9.
Manually log out of the session using the following command:
iscsiadm -m node -T <initiator_username> -p <target_ip> -u
Step 4: Configure Host Access
This step specifies which host servers access virtual disks on the storage array. You should perform this
step:
• Before mapping virtual disks to host servers
• Any time you connect new host servers to the storage array
1.
Launch MD Storage Manager.
2.
Navigate to the AMW and click
Manually define hosts
.
3.
At
Enter host name
, enter the host server for virtual disk mapping.
This can be an informal name, not necessarily a name used to identify the host server to the network.
4.
Select a method for adding the host port identifier
5.
Select the host type.
6.
Select whether or not the host server will be part of a host server group that shares access to the
same virtual disks as other host servers. Select
Yes
only if the host is part of a Microsoft cluster.
7.
Click
Next
.
8.
Specify if this host will be part of a host group.
9.
Click
Finish
.
38