HP D2D4009fc HP StoreOnce Backup System Linux and UNIX Configuration guide (BB - Page 9

Configuring the HP StoreOnce Backup System for Fibre Channel, User Guide

Page 9 highlights

If the target is required to logon to the Initiator then the following two commands are also required: localhost:~ $ iscsiadm --mode node --targetname --portal x.x.x.x:3260 --op update --name node.session.auth.username_in --value localhost:~ $ iscsiadm --mode node --targetname --portal x.x.x.x:3260 --op update --name node.session.auth.password_in --value 3. The iSCSI nodes may be configured to log in automatically on system startup. The configuration settings for each available target are modified as follows: localhost:~ $ iscsiadm --mode node --targetname --portal x.x.x.x:3260 --op update --name node.conn[0].startup --value automatic 4. The Linux host must now log in to each iSCSI target device. This is done using the following command, where the IQN value matches those returned by the iscsiadm discovery command above: localhost:~ $ iscsiadm --mode node --targetname --portal x.x.x.x:3260 --login 5. To enable the iSCSI target devices to remain persistent across system reboots, the open-iscsi service must be configured to run at system startup. This can be done by issuing the following command: SuSE Linux Enterprise Server localhost:~ $ chkconfig open-iscsi on RedHat Enterprise Linux localhost:~ $ chkconfig iscsi on 6. To verify that this configuration change has been accepted, use the following command: SuSE Linux Enterprise Server localhost:~ $ chkconfig --list open-iscsi open-iscsi 0:off 1:off 2:off 3:on RedHat Enterprise Linux 4:off 5:on 6:off localhost:~ $ chkconfig --list iscsi iscsi 0:off 1:off 2:off 3:on 4:off 5:on 6:off 7. To verify that the Linux machine now has access to the target device, use the following command: localhost:~ $ cat /proc/scsi/scsi The output of this command will be a list of all the configured SCSI devices on the system, including the HP StoreOnce Backup System. An example output would be: Attached devices: Host: scsi4 Channel: 00 Id: 00 Lun: 00 Vendor: HP Model: MSL G3 Series Rev: pc81 Type: Medium Changer ANSI SCSI revision: 03 Host: scsi5 Channel: 00 Id: 00 Lun: 00 Vendor: HP Model: Ultrium 3-SCSI Rev: pc81 Type: Sequential-Access ANSI SCSI revision: 03 Configuring the HP StoreOnce Backup System for Fibre Channel For a Switched Fabric Configuration, zone the individual devices to the host concerned using the virtual device WWNs shown on the product's GUI. An example from the GUI for an HP StoreOnce B6200 Backup System is shown below; for details of the GUI specific to your product, please refer to the product's User Guide. Configuring the HP StoreOnce Backup System for Fibre Channel 9

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38

If the target is required to logon to the Initiator then the following two commands are also
required:
localhost:~ $ iscsiadm --mode node --targetname <iqn...>
--portal x.x.x.x:3260 --op update
-name node.session.auth.username_in
--value <chap_username>
localhost:~ $ iscsiadm --mode node --targetname <iqn...>
--portal x.x.x.x:3260 --op update
-name node.session.auth.password_in
--value <chap_password>
3.
The iSCSI nodes may be configured to log in automatically on system startup. The configuration
settings for each available target are modified as follows:
localhost:~ $ iscsiadm --mode node --targetname <iqn...>
--portal x.x.x.x:3260 --op update
-name node.conn[0].startup
--value automatic
4.
The Linux host must now log in to each iSCSI target device. This is done using the following
command, where the IQN value matches those returned by the
iscsiadm
discovery command
above:
localhost:~ $ iscsiadm --mode node --targetname <iqn...>
--portal x.x.x.x:3260 --login
5.
To enable the iSCSI target devices to remain persistent across system reboots, the open-iscsi
service must be configured to run at system startup. This can be done by issuing the following
command:
SuSE Linux Enterprise Server
localhost:~ $ chkconfig open-iscsi on
RedHat Enterprise Linux
localhost:~ $ chkconfig iscsi on
6.
To verify that this configuration change has been accepted, use the following command:
SuSE Linux Enterprise Server
localhost:~ $ chkconfig
-list open-iscsi
open-iscsi
0:off
1:off
2:off
3:on
4:off
5:on
6:off
RedHat Enterprise Linux
localhost:~ $ chkconfig
-list iscsi
iscsi
0:off
1:off
2:off
3:on
4:off
5:on
6:off
7.
To verify that the Linux machine now has access to the target device, use the following
command:
localhost:~ $ cat /proc/scsi/scsi
The output of this command will be a list of all the configured SCSI devices on the system,
including the HP StoreOnce Backup System. An example output would be:
Attached devices:
Host: scsi4
Channel: 00
Id: 00
Lun: 00
Vendor: HP
Model: MSL G3 Series
Rev: pc81
Type:
Medium Changer
ANSI SCSI revision: 03
Host: scsi5
Channel: 00
Id: 00
Lun: 00
Vendor: HP
Model: Ultrium 3-SCSI
Rev: pc81
Type:
Sequential-Access
ANSI SCSI revision: 03
Configuring the HP StoreOnce Backup System for Fibre Channel
For a Switched Fabric Configuration, zone the individual devices to the host concerned using the
virtual device WWNs shown on the product's GUI.
An example from the GUI for an HP StoreOnce B6200 Backup System is shown below; for details
of the GUI specific to your product, please refer to the product's
User Guide
.
Configuring the HP StoreOnce Backup System for Fibre Channel
9