5.
Install the rpm package according to the system prompts.
Step 4
Enter the command
chkconfig iscsi on
to set the iSCSI service to automatic startup.
Step 5
Enter the command
vi /etc/initiatorname.iscsi
, and then press the
i
key to enter the editing mode.
Edit the file
initiatorname.iscsi
. Name the iSCSI initiator. The following information is
displayed on the interface.
## DO NOT EDIT OR REMOVE THIS FILE! ## If you remove this file, the iSCSI daemon
will not start. ## If you change the InitiatorName, existing access control lists
## may reject this initiator. The InitiatorName must be unique ## for each iSCSI
initiator. Do NOT duplicate iSCSI InitiatorNames. InitiatorName=iqn.
2006-08.com.huawei:vis6000:2100001882f315d3:notconfig:192.62.10.202
~ ~ ~ ~ -- INSERT
--
7,21 All
NOTE
l
Enter the name of the iSCSI initiator on the right of
InitiatorName=
. You can obtain the name of the
iSCSI initiator by querying the iSCSI target. For details, see
4.25.38 Viewing the Name of an iSCSI
l
InitiatorName
contains only English letters, numbers, dots, underscores, and hyphens, and the first
character cannot be a hyphen. If
InitiatorName
contains illegal characters, you will fail to connect the
AS to the storage device.
l
When multiple ASs are connected to the controller, names of the initiators of these ASs must be
different.
Step 6
Press
ESC
to exit the file editing interface.
Step 7
Enter the command
:wq
to save your changes and exit.
Step 8
Enter the command
vi /etc/iscsi.conf
, and press the
I
key to enter the editing mode. Add the IP
address of the GE service port of the VIS6000 that is connected to the host (the target address).
The following information is displayed.
DiscoveryAddress=192.62.10.202
For details on querying the IP address of the GE interface of the VIS6000, see
Information About the GE Service Port
.
NOTE
If the AS is installed with the UltraPath, you need to add
Multipath=portal
and
ConnfailTimeout=1
. The
following information is displayed on the interface.
DiscoveryAddress=192.62.10.202 Multipath=portal ConnfailTimeout=1
Step 9
Enter the command
:wq
to save your changes and exit the file editing interface.
Step 10
Enter the command
/etc/init.d/iscsi restart
to restart the iSCSI service.
----End
4.18.3 Solaris
After being configured properly, a Solaris AS can connect to and access data on the VIS6000.
Context
Using a Solaris10 AS as an example, this document introduces the procedure for connecting the
AS to the controller.
4 Configuring Basic Services
OceanStor VIS6000 Series Virtual Intelligent Storage
System
Initial Configuration Guide
4-48
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 08 (2010-05-10)