Hitachi Dynamic Link Manager

Installing HDLM

Prepare the installation package and license.

~]# mkdir /tmp/mnt
~]# mount -t iso9660 -o loop /soft/DLMGLMforHDS_088800.iso /tmp/mnt/
~]# cp /soft/HDS\ VSP\ GX00\ SN410662\ D103\ 122415012300.plk /var/tmp/hdlm_license

Executing the installation script.

~]# /tmp/mnt/installux.sh
KAPL09210-I installhdlm will now start.
KAPL09093-I HDLM 8.8.8-00 will be installed. Is this OK ? [y/n]: y
KAPL09620-W If you use Device Manager agent on this host, you must use Device Manager agent 8.8.3 or later.
Do you want to continue? Is this OK ? [y/n]: y
Preparing packages...
KAPL09076-I The permanent license was installed.
HDLM-8.8.8.0.932-1.x86_64
KAPL09043-I The installation of HDLM-8.8.8.0.932-1 completed successfully.
KAPL09211-I installhdlm completed successfully.

Configuring environment variables.

~]# cp -a /root/.bash_profile{,.bak}
~]# sed -i '/PATH=/s|$|:/opt/DynamicLinkManager/bin|' /root/.bash_profile
~]# source /root/.bash_profile

Starting the HDLM manager.

~]# /opt/DynamicLinkManager/bin/dlmmanager start
Starting DLMManager: [ OK ]

Removing HDLM

  1. Unmount all HDLM devices.

  2. Remove /opt/DynamicLinkManager/bin from the environment variable PATH in the environment setup file for the shell used by the root user.

  3. Make sure that no HDLM devices are being used.

    ~]# /sbin/lsmod
    Module Size Used by
    :
    :
    sddlmfdrv 254092 0
  4. 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
~]# dlnkmgr view -drv
~]# dlnkmgr view -lu

Reconfigure the HDLM

After LUs or paths changed, execute the dlmcfgmgr utility (dlmcfgmgr -r) to change the HDLM device configuration.

~]# dlmcfgmgr -r
KAPL10339-I This operation will change the configuration of HDLM devices. Do you want to continue? [y/n]: y
KAPL10341-I The HDLM device configurations have been changed.
KAPL10302-I /usr/sbin/dlmcfgmgr completed normally.

Changing an HDLM device name

  1. Create a device name replacement definition file based on the current HDLM device configuration information.

    ~]# /opt/DynamicLinkManager/bin/dlmchname -o
  2. Edit the device name replacement definition file /etc/opt/DynamicLinkManager/dlmchname.conf.

  3. Stop access to the HDLM device whose name is to be changed.

  4. 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

Reference

HDLM_v8_8_3_Linux_User_Guide_MK-92DLM113-57.pdf |