Top
PRIMECLUSTER Global Disk Services  Configuration and AdministrationGuide 4.3
FUJITSU Software

4.6.5 Confirming iSCSI Device Name

In the configuration of "Figure 4.1 Disk setting for Performing Mirroring among Servers" each disk can be accessed from node 1 and node 2 in the same iSCSI device name. However, a different iSCSI device name for each node may be assigned.

This section describes how to confirm the iSCSI device name in each node for the disk device on which the mirroring among servers is performed.

  1. Confirm the iSCSI device name of node 1.

    In node 1, confirm the linked device name of the by-id file "/dev/disk/by-id/scsi-1SCSI-ID". SCSI-ID is the SCSI-ID written to the /etc/tgt/targets.conf file on node 1 and node 2 in "4.6.3 Creating iSCSI Target."

    # ls -l /dev/disk/by-id
    ...
    lrwxrwxrwx 1 root root  9 Apr 18 08:44 scsi-1SDX01 -> ../../sdg
    lrwxrwxrwx 1 root root  9 Apr 18 08:43 scsi-1SDX02 -> ../../sdh
    ...
  2. Confirm the iSCSI device name of node 2.

    In node 2, confirm the device name in the same procedure of step 1.

    # ls -l /dev/disk/by-id
    ...
    lrwxrwxrwx 1 root root  9 Apr 18 08:44 scsi-1SDX01 -> ../../sdf
    lrwxrwxrwx 1 root root  9 Apr 18 08:43 scsi-1SDX02 -> ../../sdg
    ...

In this example, the iSCSI device names of each node are as follows.

Disk

SCSI-ID

iSCSI device name

Node 1

Node 2

The local disk of node 1

SDX01

sdg

sdf

The local disk of node 2

SDX02

sdh

sdg