Top
PRIMECLUSTER Global Disk Services  Configuration and AdministrationGuide 4.7

4.8.5 Confirming the Correspondence of iSCSI Device Name of Each Node

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 correspondence of the iSCSI device name of node 1 and the by-id link file.

    Execute the following command to make sure to check that the by-id link file for the iSCSI device created in "4.8.4 Establishing iSCSI Session."

    # 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 correspondence of the iSCSI device name of node 2 and the by-id link file.

    In node 2, confirm 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

by-id link file name

iSCSI device name

Node 1

Node 2

The local disk of node 1

scsi-1SDX01

sdg

sdf

The local disk of node 2

scsi-1SDX02

sdh

sdg