Tanti Technology

My photo
Bangalore, karnataka, India
Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments I have 4.5+ years experience in AIX system Administration field. This site will be helpful for system administrator in their day to day activities.Your comments on posts are welcome.This blog is all about IBM AIX Unix flavour. This blog will be used by System admins who will be using AIX in their work life. It can also be used for those newbies who want to get certifications in AIX Administration. This blog will be updated frequently to help the system admins and other new learners. DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility. If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.

Wednesday 23 November 2016

How to stop and start the hacmp cluster in aix?


How to stop and start the hacmp cluster in aix?


1. Ground work:

/usr/es/sbin/clu*/utiI/clRGinfo      --> To check the RG online status
lssrc -ls clstrmgrES                          --> To check the cluster manager is stable on both nodes
cat /var/hacmp/clverify/clverify.log  --> To check and confirm the log file has no errors. 


Take a snapshot of the cluster

smitty hacmp
            extended configuration
                        snapshot configuration
                                    Create snapshot of the cluster configuration
                                                cluster snapshot name / Cluster snapshot description

The above will create .odm and .info file.
Take all the basic outputs

2. Stop the cluster services

smitty hacmp
            system management (C-Spoc)
                        Stop cluster services
                                    (Provide necessary details) stop now / provide node names/  Bring RG offline.

3. Validation

./clRGinfo                                 --> To check the RG online status
lssrc -ls clstrmgrES                   --> To check the cluster manager is stable on both nodes


4. Start cluster services

smitty hacmp
            system management (C-Spoc)
                        Start cluster services
                                    (Provide necessary details) start now / provide node names/  Choose Automatic for manage RG 


5. Validation

/clRGinfo      --> To check the RG online status
lssrc -ls clstrmgrES                   --> To check the cluster manager is stable on both nodes
cat /tmp/hacmp.out                --> To check the HA services and RG status. 

No comments:

Post a Comment