Uninstall the HACMP software under AIX

Source: Internet
Author: User
Tags root access

Uninstall the HACMP software under AIX this article describes how to uninstall the configured HACMP software on the AIX operating system. Before using the subsequent steps to uninstall the HACMP software, collect all the output after the following command is executed to determine which resources are defined in the HACMP software. (1) #/usr/sbin/cluster/utilities/cllsif or #/usr/es/sbin/cluster/utilities/cllsif (2) #/usr/sbin/cluster/utilities/clshowres or #/usr/es/sbin/cluster/utilities/clshowres (3) #/usr/sbin/cluster/utilites/cllsserv or #/usr/es/sbin/cluster/utilites/cllsserv (4) #/usr/sbin/cluster/utilities/cllscustom or #/usr/es/sbin/cluster/utilities/cllscustom in/usr/sbin/cluster or/usr/es/sbin the/cluster directory contains custom events, application Service Start/stop scripts or snapshot files of the HA cluster. We recommend that you move these files to another directory to ensure that these files will not be deleted when the HACMP software is uninstalled. The following describes how to uninstall the HACMP software: 1. stop the HACMP service in graceful mode on each HACMP node:. run the smitty clstop command as the root user and stop the HACMP service in graceful mode on the two HACMP nodes. # Smitty clstopStop Cluster Services * Stop now, on system restart or both now + BROADCAST cluster shutdown? True + * Shutdown mode graceful + (graceful, graceful with takeover, forced) B. confirm that all resources defined in HACMP, such as ip id, file system, volume group, and application service, have been stopped. C. Run the lssrc-g cluster command as the root user to check that the HACMP software service process has been stopped. # Lssrc-g clusterSubsystem Group PID Status 2. Run the smitty remove command as the root user to delete all "cluster. *" file sets. (Note: if it is on the operating system of AIX4.3.3 on a non-SP node, you can also delete all "rsct. *" file sets .) # Smitty removeRemove Installed SoftwareType or select values in entry fields. Press Enter AFTER making all desired changes. [Entry Fields] * SOFTWARE name [cluster.adt.client.de> + PREVIEW only? (Remove operation will NOT occur) no + REMOVE dependent software? Yes + EXTEND file systems if space needed? No + DETAILED output? No + 3. Run the smitty chinet command as the root user and set each node to boot with a service IP address. # Smitty chinetChange/Show a Standard Ethernet InterfaceType or select values in entry fields. press Enter AFTER making all desired changes. [Entry Fields] Network Interface Name en0INTERNET ADDRESS (dotted decimal) [9.16.3.21] Network MASK (hexadecimal or dotted decimal) [255.255.255.0] Current STATE up + Use Address Resolution Protocol (ARP )? Yes + broadcast address (dotted decimal) [] 4. Run the smitty chvg command as the root user to set the volume groups owned by each node to be automatically activated when the system starts. # Smitty chvgChange a Volume GroupType or select values in entry fields. press Enter AFTER making all desired changes. [Entry Fields] * volume group name datavg * Activate volume group AUTOMATICALLY yes + at system restart? * A quorum of disks required to keep the volume no + group on-line? Convert this VG to Concurrent Capable? No + Change to big VG format? No + LTG Size in kbytes 128 + Set hotspare characteristics n + Set synchronization characteristics of stale n + partitions 5. run the smitty chfs command as the root user to set the file system owned by each node to be automatically mounted when the system starts. # Smitty chfs --> Change/Show Characteristics of a Journaled File System --> Mount AUTOMATICALLY at system restart? Yes + 6. if a Network File System is set in the system, run the smitty nfs command as the root user to set the Network File System to be shared or mounted when the system starts. # Smitty nfs --> Network File System (NFS) --> Change/Show Attributes of an Exported Directory * PATHNAME of Directory to Export/newfs * MODE to export directory read-write + HOSTS & NETGROUPS allowed client access [] Anonymous UID [-2] HOSTS allowed root access [] HOSTNAME list. if exported read-mostly [] Use secure option? No + Public filesystem? No + * CHANGE export now, system restart or both + PATHNAME of alternate Exports file [] 7. configure the application service to be started when the system starts. For example, you can add a line with the Application Service Startup Script in the file/etc/inittab. 8. On each HACMP node, clear boot address identifiers that are no longer used in the/etc/hosts file. 9. On each HACMP node, if the/. rhosts file is no longer needed, delete the file.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.