To restore the path of an HDLM device started in disconnected status (this procedure does not restart the host):
This subsection describes how to restore the path to an HDLM device that was in disconnected status (the cable was pulled out or broken) when the host first started. In this method, the host is not restarted. Note that this operation is applicable to the HDLM device managed by HDLM only. Also note that the target path of restoration can be a single, multiple, or all path to the HDLM device.
Execute the HDLM-configuration definition utility (dlmcfgmgr -v) or the view operation (dlnkmgr view -drv) of the HDLM command to check if the host was started while the path to the relevant HDLM device was in disconnected status.
The following are examples of executing the command or utility:
When executing the dlmcfgmgr utility with the -v option:
# /sbin/dlmcfgmgr -v
When executing the view operation with the -drv option:
# /opt/DynamicLinkManager/bin/dlnkmgr view -drv
If the SCSI device name mapped with the path to the relevant HDLM device is represented with a hyphen (-), in the execution result, this means that the path was in disconnected status.
Perform this operation if necessary. If it is not necessary to check this, go to step 2.
Connect the cable.
If the cable is broken, replace it.
Create the SCSI device for the path to be restored.
Since you restore the path without restarting, the path for the SCSI device which was in disconnected status during bootup will not be created and you must execute the command for adding a device, shown in the following table, to manually create the SCSI device.
Wait until the automatic failback function starts, or execute the dlnkmgr command (dlnkmgr online -pathidAutoPATH_ID ).
The relevant path is placed online.
The following is an example of executing the HDLM command:
# /opt/DynamicLinkManager/bin/dlnkmgr online -pathid AutoPATH_ID
Refer to /var/opt/DynamicLinkManager/log/dlmcfgmgr1.log or execute the dlmcfgmgr utility (dlmcfgmgr -v) to check if the path to the relevant HDLM device is restored.
The following is an example of executing the dlmcfgmgr utility:
# /sbin/dlmcfgmgr -v