Hitachi Dynamic Link Manager Software Users Guide for Linux

Removing HDLM
Note
¢
If the system initiates path health checking or automatic failback
while HDLM is being removed, an error message (KAPL04023) might
be output to syslog. However, HDLM operations are not affected.
¢
If you remove HDLM, the error logs (/var/tmp/hdlminstlog/
installhdlm[01-10].log) generated during installation of HDLM are
not removed. Delete the /var/tmp/hdlminstlog/
installhdlm[01-10].log files as needed.
For details on the installhdlm[01-10].log files, see
Knowledge
Required Before You Install HDLM on page 3-96.
¢
When removing HDLM on a host where a Device Manager Agent 5.0 or
later is installed, do not execute any of the following commands of
Device Manager Agent during removal. Also, do not remove HDLM
while executing any of the following Device Manager Agent
commands:
hbsasrv, HiScan, hdvmagt_account, hdvmagt_schedule,
hldutil, TIC
To remove HDLM:
1. Log on to Linux as a root user.
2. Stop all processes and services that are using HDLM-managed paths.
Stop all DBMS, various application processes, and services that are using
a path managed by HDLM.
If Xen is being used, make sure that domainU has been stopped. If
domainU has been set to automatically start whenever domain0 starts,
temporarily change the setting so that domainU will not start
automatically.
3. Unmount all HDLM devices.
Execute the following command:
# umount mount-point
4. Change the setting of the environment variable PATH in the root
environment setup file.
Remove /opt/DynamicLinkManager/bin from the environment variable
PATH in the environment setup file for the shell used by the root user.
5. Make sure that no HDLM devices are being used.
Execute the following command and make sure that 0 is displayed for
Used for sddlmfdrv:
# /sbin/lsmod
Module Size Used by
:
:
sddlmfdrv 254092 0
3-224
Creating an HDLM Environment
Hitachi Dynamic Link Manager (for Linux®) User Guide