Top
PRIMECLUSTER Clustering Base4.5A10 Installation Guide
FUJITSU Software

4.1.2 Uninstallation

  1. Login to the system as the root user.

    $ su <Return>
    Password:password <Return>
  2. If you are using RMS, stop RMS.

    # hvshut -a <Return>
  3. If you are using GDS, cancel the GDS settings. For details see the "PRIMECLUSTER Global Disk Services Configuration and Administration Guide".

  4. Boot the system in single user mode.

    [Red Hat Enterprise Linux 6]

    Edit the contents of the id entry of the /etc/inittab file using vi(1) etc. as shown below to start the system in single-user mode.

    Note

    • The default runlevel varies depending on the system (3 in the example below).

    • Put down the default target before upgrading as you can restore the system to the state prior to upgrading later.

    [Before Modification]
    #   3 - Full multiuser mode
    #   4 - unused
    #   5 - X11
    #   6 - reboot (Do NOT set initdefault to this)
    #
    id:3:initdefault:
    [After Modification]
    #   3 - Full multiuser mode
    #   4 - unused
    #   5 - X11
    #   6 - reboot (Do NOT set initdefault to this)
    #
    id:1:initdefault:

    Start the system again in single-user mode.

    # shutdown -r now <Return>
    [Red Hat Enterprise Linux 7]

    Check the default target.

    Note

    • The default target before upgrading ([multi-user.target] in the following example) varies depending on the system.

    • Put down the default target before upgrading as you can restore the system to the state prior to upgrading later.

    # systemctl get-default <Return>
    multi-user.target

    The default target changes in single-user mode.

    # systemctl set-default rescue.target <Return>

    Start the system again in single-user mode.

    # shutdown -r now <Return>
  5. If you are using GDS, check the file in the /dev/sfdsk directory. If there are other files than _adm, _diag, _sysadm, and _sysdiag, delete them.

  6. Insert the DVD and mount the DVD device.

    # mount -t iso9660 -r /dev/<device file name> <DVD-ROM mount point> <Return>
    <DVDROM_DIR> will be used as the mount point.
  7. Execute the CLI uninstaller.

    # cd <DVDROM_DIR>/Tool <Return>
    # ./cluster_uninstall <Return>
    Are you sure to remove PRIMECLUSTER from your system (y or n) ? y <Return>
    
      .
      .
    
    The uninstallation finished successfully.
  8. Eject the DVD, then reboot the system by executing the "shutdown(8)" command.

    # cd / <Return>
    # umount <DVDROM_DIR> <Return>
    # eject <Return>
    [Red Hat Enterprise Linux 6]

    Edit the contents of the id entry of the /etc/inittab file, which has been changed in Step 5, to the original contents to start the system in multi-user mode.

    [Before Modification]
    #   3 - Full multiuser mode
    #   4 - unused
    #   5 - X11
    #   6 - reboot (Do NOT set initdefault to this)
    #
    id:1:initdefault:
    [After Modification]
    #   3 - Full multiuser mode
    #   4 - unused
    #   5 - X11
    #   6 - reboot (Do NOT set initdefault to this)
    #
    id:3:initdefault:

    Start the system again.

    # shutdown -r now <Return>
    [Red Hat Enterprise Linux 7]

    The default target changes in multi-user mode.

    # systemctl set-default multi-user.target <Return>

    Start the system again.

    # shutdown -r now <Return>
  9. If the blacklist of kdump or KDUMP_COMMANDLINE_APPEND is configured after this product has been installed according to the procedure described in "PRIMECLUSTER Installation" of "PRIMECLUSTE Installation and Administration Guide", restore the configuration.

    Note

    • In PRIMECLUSTER Global Link Services:
      Redundant Line Control Function, when using the user command execution function and script files remains, the directory under /etc/opt/FJSVhanet/script is not deleted. Delete this directory after saving or deleting script files.

      # cd /etc/opt <Return>
      # rm -rf FJSVhanet <Return>