Hitachi Dynamic Link Manager
Hitachi Dynamic Link Manager
Installing HDLM
Prepare the installation package and license.
~]# mkdir /tmp/mnt |
Executing the installation script.
~]# /tmp/mnt/installux.sh |
Configuring environment variables.
~]# cp -a /root/.bash_profile{,.bak} |
Starting the HDLM manager.
~]# /opt/DynamicLinkManager/bin/dlmmanager start |
Removing HDLM
-
Unmount all HDLM devices.
-
Remove /opt/DynamicLinkManager/bin from the environment variable PATH in the environment setup file for the shell used by the root user.
-
Make sure that no HDLM devices are being used.
~]# /sbin/lsmod
Module Size Used by
:
:
sddlmfdrv 254092 0 -
Execute the remove command.
~]# /opt/DynamicLinkManager/remover/removehdlm
Configuration
Hitachi Storage FC port setting

・ Port Security: Enable
・ Fabric: ON
・ Connection Type: FC-AL (Direct Connection)
・ Connection Type: P-to-P (SANSwith Connection)
Setting LVM devices filter prevent duplication PVs
~]# sed -i '/^devices {$/a\\tfilter = [ "a|/dev/sda2|", "a|/dev/sddlma*|", "r|.*|" ]' /etc/lvm/lvm.conf |
View path status of devices
~]# dlnkmgr view -path |
Reconfigure the HDLM
After LUs or paths changed, execute the dlmcfgmgr utility (dlmcfgmgr -r) to change the HDLM device configuration.
~]# dlmcfgmgr -r |
Changing an HDLM device name
-
Create a device name replacement definition file based on the current HDLM device configuration information.
~]# /opt/DynamicLinkManager/bin/dlmchname -o
-
Edit the device name replacement definition file
/etc/opt/DynamicLinkManager/dlmchname.conf. -
Stop access to the HDLM device whose name is to be changed.
-
Execute the dlmchname utility as follows to change the HDLM device name.
- To change the name of an HDLM device that is not used as a boot disk:
~]# /opt/DynamicLinkManager/bin/dlmchname
- To change the name of an HDLM device that is used as a boot disk:
~]# /opt/DynamicLinkManager/bin/dlmchname -f
~]# shutdown -r now