Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Manager Configuration Guide


2.19.2 Notes on uninstallation (for UNIX)

Organization of this subsection

(1) Setting in the OS environment

When JP1/IM - Manager is uninstalled, the port numbers set in the services file are deleted. For the specific port numbers, see Appendix C Port Numbers in the JP1/Integrated Management 2 - Manager Overview and System Design Guide.

(2) About uninstalling JP1/Base

When you uninstall JP1/Base, the definition information of JP1/IM - Manager is also deleted. Even if you reinstall JP1/Base, JP1/IM - Manager will not work. In such a case, you need to execute the jp1cc_setup, jp1cs_setup, and jp1cf_setup commands to configure the environment settings.

(3) About check after uninstallation

After uninstalling JP1/IM - Manager, check if the following directories remain. If any remain, delete them.

Uninstalling the product deletes the monitoring object DB and the host information DB.

(4) About the procedure for manually uninstalling an IM database on a physical host

To manually uninstall an IM database on a physical host, depending on your operating system, use the following procedure:

(a) Procedure for Red Hat Enterprise Linux Server 6, Oracle Linux 6, CentOS 6

  1. Log in as a superuser.

  2. If JP1/IM - Manager is running, stop the program.

  3. Delete the following files:

    • /etc/init/2248.PDxx.conf

    • /etc/init/2248.pexx.conf

    Note that the xx in the file name stands for a number in a series, starting with 01. Before deleting the files, verify that they contain the following information.

    Caution: Deleting files may adversely affect the system. For example, the IM database for the physical host may cease to operate correctly.

    Verify that the files contain the following

    <IMDBENVDIR>/JM0

    <IMDBENVDIR>: The path specified for the IMDBENVDIR parameter

    in the setup information file (jimdbsetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the physical host that is to be deleted were compiled.

  4. Delete the following files:

    • /etc/init.d/HiRDB_E<IMDBENVDIR>.JM0

    • /etc/rc0.d/K09HiRDB_E<IMDBENVDIR>.JM0

    • /etc/rc1.d/K09HiRDB_E<IMDBENVDIR>.JM0

    • /etc/rc2.d/S91HiRDB_E<IMDBENVDIR>.JM0

    • /etc/rc3.d/S91HiRDB_E<IMDBENVDIR>.JM0

    • /etc/rc5.d/S91HiRDB_E<IMDBENVDIR>.JM0

    • /etc/rc6.d/K09HiRDB_E<IMDBENVDIR>.JM0

    <IMDBENVDIR>: The path specified for the IMDBENVDIR parameter in the setup information file (imdbsetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the physical host that is to be deleted were compiled, with the forward slashes replaced with periods.

  5. Update the configuration file for the IM database by performing the following procedure:

    • Delete /etc/opt/jp1imm/conf/imdb/system/dbconf/JM0.

    • Open /etc/opt/jp1imm/conf/imdb/system/dbconf/jimdbsetuplist.conf in a text editor and edit it as follows, delete JP1_DEFAULT, and then overwrite the file.

    (Before editing)

    _JM0=JP1_DEFAULT

    (After editing)

    _JM0=

  6. Restart the operating system.

  7. Delete the following folder if it exists:

    • <IMDBDIR>/imdb

    • <IMDBENVDIR>/JM0

      <IMDBDIR>: The path specified for the IMDBDIR parameter in the setup information file (jimdbsetupinfo.conf) that was specified when the IM Configuration Management

      database and the integrated monitoring database for the physical host that is to be deleted were compiled.

      <IMDBENVDIR>: The path specified for the IMDBENVDIR parameter in the setup information file (jimdbsetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the physical host that is to be deleted were compiled.

(b) Procedure for Red Hat Enterprise Linux Server 7 or later, Oracle Linux 7 or later, CentOS 7 or later, SUSE Linux

  1. Log in as a superuser.

  2. If JP1/IM - Manager is running, stop the program.

  3. Delete the following files:

    • /usr/lib/systemd/system/2248-PDxx-start.service

    • /usr/lib/systemd/system/2248-PDxx-stop.service

    • /usr/lib/systemd/system/2248-PDxx.service

    • /usr/lib/systemd/system/2248-pexx.service

    Note that the xx in the file name stands for a number in a series, starting with 01. Before deleting the files, verify that they contain the following information.

    Caution: Deleting files may adversely affect the system. For example, the IM database for the physical host may cease to operate correctly.

    Verify that the files contain the following

    <IMDBENVDIR>/JM0

    <IMDBENVDIR>: The path specified for the IMDBENVDIR parameter in the setup information file (jimdbsetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the physical host that is to be deleted were compiled.

  4. Delete the following symbolic link files:

    • /etc/systemd/system/multi-user.target.wants/2248-PDxx-start.service

    • /etc/systemd/system/multi-user.target.wants/2248-PDxx-stop.service

    • /etc/systemd/system/multi-user.target.wants/2248-PDxx.service

    • /etc/systemd/system/multi-user.target.wants/2248-pexx.service

    Note that the xx in the file name stands for a number in a series, starting with 01. Before deleting the files, verify that they contain the following information.

    Caution: Deleting files may adversely affect the system. For example, the IM database for the physical host may cease to operate correctly.

    Verify that the files contain the following

    <IMDBENVDIR>/JM0

    <IMDBENVDIR>: : The path specified for the IMDBENVDIR parameter in the setup information file (jimdbsetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the physical host that is to be deleted were compiled.

  5. Update the configuration file for the IM database by performing the following procedure:

    • Delete /etc/opt/jp1imm/conf/imdb/system/dbconf/JM0.

    • Open /etc/opt/jp1imm/conf/imdb/system/dbconf/jimdbsetuplist.conf in a text editor and edit it as follows, delete JP1_DEFAULT, and then overwrite the file.

    (Before editing)

    _JM0=JP1_DEFAULT

    (After editing)

    _JM0=

  6. Restart the operating system.

  7. Delete the following folder if it exists:

    • <IMDBDIR>/imdb

    • <IMDBENVDIR>/JM0

      <IMDBDIR>: The path specified for the IMDBDIR parameter in the setup information file (jimdbsetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the physical host that is to be deleted were compiled.

      <IMDBENVDIR>: The path specified for the IMDBENVDIR parameter in the setup information file (jimdbsetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the physical host that is to be deleted were compiled.

(5) About the procedure for manually uninstalling an IM database on a cluster system

(a) Procedure for Red Hat Enterprise Linux Server 6, Oracle Linux 6, CentOS

  1. Log in to the active host as a superuser.

  2. On the active host, if JP1/IM - Manager is running, stop the program.

  3. On the active host, delete the following files:

    • /etc/init/2248.PDxx.conf

    • /etc/init/2248.pexx.conf

    Note that the xx in the file name stands for a number in a series, starting with 01. Before deleting the files, verify that they contain the following information.

    Caution: Deleting files may adversely affect the system. For example, the IM database for the physical host may cease to operate correctly.

    Verify that the files contain the following

    <IMDBENVDIR>/JM<n>

    <IMDBENVDIR>: The path specified for the IMDBENVDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

    <n>: The value specified for the LOGICALHOSTNUMBER parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

  4. On the active host, delete the following files:

    • /etc/init.d/HiRDB_E<IMDBENVDIR>.JM<n>

    • /etc/rc0.d/K09HiRDB_E<IMDBENVDIR>.JM<n>

    • /etc/rc1.d/K09HiRDB_E<IMDBENVDIR>.JM<n>

    • /etc/rc2.d/S91HiRDB_E<IMDBENVDIR>.JM<n>

    • /etc/rc3.d/S91HiRDB_E<IMDBENVDIR>.JM<n>

    • /etc/rc5.d/S91HiRDB_E<IMDBENVDIR>.JM<n>

    • /etc/rc6.d/K09HiRDB_E<IMDBENVDIR>.JM<n>

    <IMDBENVDIR>: The path specified for the IMDBENVDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled, with the forward slashes replaced with periods.

    <n>: The value specified for the LOGICALHOSTNUMBER parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

  5. Update the configuration file for the IM database on the active host by performing the following procedure:

    • Delete /etc/opt/jp1imm/conf/imdb/system/dbconf/JM<n>.

    • Open /etc/opt/jp1imm/conf/imdb/system/dbconf/jimdbsetuplist.conf in a text editor, edit the line equal to n+1 as follows, delete the logical host name, and then overwrite the file.

    (Before editing) jimdbsetuplist.conf <line-number-n+1>

    _JM<n>=<logical-host-name>

    (After editing) jimdbsetuplist.conf <line-number-n+1>

    _JM<n>=

    <n>: The value specified for the LOGICALHOSTNUMBER parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

  6. Restart the operating system on the active host.

  7. Delete the following folder if it exists on the active host:

    • <IMDBDIR>/imdb

    • <SHAREDBDIR>/imdb

    • <IMDBENVDIR>/JM<n>

    <IMDBDIR>: The path specified for the IMDBDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

    <SHAREDBDIR>: The path specified for the SHAREDBDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

    <IMDBENVDIR>: The path specified for the IMDBENVDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

    <n>: The value specified for the LOGICALHOSTNUMBER parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

  8. Log in to the standby host as a superuser.

  9. On the standby host, if JP1/IM - Manager is running, stop the program.

  10. On the standby host, delete the following files:

    • /etc/init/2248.PDxx.conf

    • /etc/init/2248.pexx.conf

    Note that the xx in the file name stands for a number in a series, starting with 01. Before deleting the files, verify that they contain the following information.

    Caution: Deleting files may adversely affect the system. For example, the IM database for the physical host may cease to operate correctly.

    Verify that the files contain the following

    <IMDBENVDIR>/JM<n>

    <IMDBENVDIR>: The path specified for the IMDBENVDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

    <n>: The value specified for the LOGICALHOSTNUMBER parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

  11. On the standby host, delete the following files:

    • /etc/init.d/HiRDB_E<IMDBENVDIR>.JM<n>

    • /etc/rc0.d/K09HiRDB_E<IMDBENVDIR>.JM<n>

    • /etc/rc1.d/K09HiRDB_E<IMDBENVDIR>.JM<n>

    • /etc/rc2.d/S91HiRDB_E<IMDBENVDIR>.JM<n>

    • /etc/rc3.d/S91HiRDB_E<IMDBENVDIR>.JM<n>

    • /etc/rc5.d/S91HiRDB_E<IMDBENVDIR>.JM<n>

    • /etc/rc6.d/K09HiRDB_E<IMDBENVDIR>.JM<n>

    <IMDBENVDIR>: The path specified for the IMDBENVDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled, with the forward slashes replaced with periods.

    <n>: The value specified for the LOGICALHOSTNUMBER parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

  12. Update the configuration file for the IM database on the standby host by performing the following procedure:

    • Delete /etc/opt/jp1imm/conf/imdb/system/dbconf/JM<n>.

    • Open /etc/opt/jp1imm/conf/imdb/system/dbconf/jimdbsetuplist.conf in a text editor, edit the line equal to n+1 as follows, delete the logical host name, and then overwrite the file.

    (Before editing) jimdbsetuplist.conf <line-number-n+1>

    _JM<n>=<logical-host-name>

    (After editing) jimdbsetuplist.conf <line-number-n+1>

    _JM<n>=

    <n>: The value specified for the LOGICALHOSTNUMBER parameter

    in the cluster setup information file (jimdbclustersetupinfo.conf)

    that was specified when the IM Configuration Management database

    and the integrated monitoring database for the logical host

    that is to be deleted were compiled.

  13. Restart the operating system on the standby host.

  14. Delete the following folder if it exists on the standby host:

    • <IMDBDIR>/imdb

    • <SHAREDBDIR>/imdb

    • <IMDBENVDIR>/JM<n>

    <IMDBDIR>: The path specified for the IMDBDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database

    for the logical host that is to be deleted were compiled.

    <SHAREDBDIR>: The path specified for the SHAREDBDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

    <IMDBENVDIR>: The path specified for the IMDBENVDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

    <n>: The value specified for the LOGICALHOSTNUMBER parameter

    in the cluster setup information file (jimdbclustersetupinfo.conf)

    that was specified when the IM Configuration Management database

    and the integrated monitoring database for the logical host

    that is to be deleted were compiled.

(b) Procedure for Red Hat Enterprise Linux Server 7 or later, Oracle Linux 7 or later, CentOS 7 or later, SUSE Linux

  1. Log in to the active host as a superuser.

  2. On the active host, if JP1/IM - Manager is running, stop the program.

  3. On the active host, delete the following files:

    • /usr/lib/systemd/system/2248-PDxx-start.service

    • /usr/lib/systemd/system/2248-PDxx-stop.service

    • /usr/lib/systemd/system/2248-PDxx.service

    • /usr/lib/systemd/system/2248-pexx.service

    Note that the xx in the file name stands for a number in a series, starting with 01. Before deleting the files, verify that they contain the following information.

    Caution: Deleting files may adversely affect the system. For example, the IM database for the physical host may cease to operate correctly.

    Verify that the files contain the following

    <IMDBENVDIR>/JM<n>

    <IMDBENVDIR>: The path specified for the IMDBENVDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled, with the forward slashes replaced with periods.

    <n>: The value specified for the LOGICALHOSTNUMBER parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

  4. On the active host, delete the following symbolic link files:

    • /etc/systemd/system/multi-user.target.wants/2248-PDxx-start.service

    • /etc/systemd/system/multi-user.target.wants/2248-PDxx-stop.service

    • /etc/systemd/system/multi-user.target.wants/2248-PDxx.service

    • /etc/systemd/system/multi-user.target.wants/2248-pexx.service

    Note that the xx in the file name stands for a number in a series, starting with 01. Before deleting the files, verify that they contain the following information.

    Caution: Deleting files may adversely affect the system. For example, the IM database for the physical host may cease to operate correctly.

    Verify that the files contain the following

    <IMDBENVDIR>/JM<n>

    <IMDBENVDIR>: The path specified for the IMDBENVDIR parameter in the cluster setup information file (imdbsetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

    <n>: The value specified for the LOGICALHOSTNUMBER parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

  5. Update the configuration file for the IM database on the active host by performing the following procedure:

    • Delete /etc/opt/jp1imm/conf/imdb/system/dbconf/JM<n>.

    • Open /etc/opt/jp1imm/conf/imdb/system/dbconf/jimdbsetuplist.conf in a text editor, edit the line equal to n+1 as follows, delete the logical host name, and then overwrite the file.

    (Before editing) jimdbsetuplist.conf <line-number-n+1>

    _JM<n>=<logical-host-name>

    (After editing) jimdbsetuplist.conf <line-number-n+1>

    _JM<n>=

    <n>: The value specified for the LOGICALHOSTNUMBER parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

  6. Restart the operating system on the active host.

  7. Delete the following folder if it exists on the active host:

    • <IMDBDIR>/imdb

    • <SHAREDBDIR>/imdb

    • <IMDBENVDIR>/JM<n>

    <IMDBDIR>: The path specified for the IMDBDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

    <SHAREDBDIR>: The path specified for the SHAREDBDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

    <IMDBENVDIR>: The path specified for the IMDBENVDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

    <n>: The value specified for the LOGICALHOSTNUMBER parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

  8. Log in to the standby host as a superuser.

  9. On the standby host, if JP1/IM - Manager is running, stop the program.

  10. On the standby host, delete the following files:

    • /usr/lib/systemd/system/2248-PDxx-start.service

    • /usr/lib/systemd/system/2248-PDxx-stop.service

    • /usr/lib/systemd/system/2248-PDxx.service

    • /usr/lib/systemd/system/2248-pexx.service

    Note that the xx in the file name stands for a number in a series, starting with 01. Before deleting the files, verify that they contain the following information.

    Caution: Deleting files may adversely affect the system. For example, the IM database for the physical host may cease to operate correctly.

    Verify that the files contain the following

    <IMDBENVDIR>/JM<n>

    <IMDBENVDIR>: The path specified for the IMDBENVDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

    <n>: The value specified for the LOGICALHOSTNUMBER parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

  11. On the standby host, delete the following symbolic link files:

    • /etc/systemd/system/multi-user.target.wants/2248-PDxx-start.service

    • /etc/systemd/system/multi-user.target.wants/2248-PDxx-stop.service

    • /etc/systemd/system/multi-user.target.wants/2248-PDxx.service

    • /etc/systemd/system/multi-user.target.wants/2248-pexx.service

    Note that the xx in the file name stands for a number in a series, starting with 01. Before deleting the files, verify that they contain the following information.

    Caution: Deleting files may adversely affect the system. For example, the IM database for the physical host may cease to operate correctly.

    Verify that the files contain the following

    <IMDBENVDIR>/JM<n>

    <IMDBENVDIR>: The path specified for the IMDBENVDIR parameter in the cluster setup information file (jimdbsetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

    <n>: The value specified for the LOGICALHOSTNUMBER parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

  12. Update the configuration file for the IM database on the standby host by performing the following procedure:

    • Delete /etc/opt/jp1imm/conf/imdb/system/dbconf/JM<n>.

    • Open /etc/opt/jp1imm/conf/imdb/system/dbconf/jimdbsetuplist.conf in a text editor, edit the line equal to n+1 as follows, delete the logical host name, and then overwrite the file.

    (Before editing) jimdbsetuplist.conf <line-number-n+1>

    _JM<n>=<logical-host-name>

    (After editing) jimdbsetuplist.conf <line-number-n+1>

    _JM<n>=

    <n>: The value specified for the LOGICALHOSTNUMBER parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

  13. Restart the operating system on the standby host.

  14. Delete the following folder if it exists on the standby host:

    • <IMDBDIR>/imdb

    • <SHAREDBDIR>/imdb

    • <IMDBENVDIR>/JM<n>

    <IMDBDIR>: The path specified for the IMDBDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database

    for the logical host that is to be deleted were compiled.

    <SHAREDBDIR>: The path specified for the SHAREDBDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

    <IMDBENVDIR>: The path specified for the IMDBENVDIR parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.

    <n>: The value specified for the LOGICALHOSTNUMBER parameter in the cluster setup information file (jimdbclustersetupinfo.conf) that was specified when the IM Configuration Management database and the integrated monitoring database for the logical host that is to be deleted were compiled.