Friday, July 15, 2016

How to upgrade HACMP version in aix?

How to upgrade HACMP - Cluster version in aix?


1. Ground work:

#lslpp -l|grep -i cluster.es.server.rte     --> To check the current version of the cluster
#./clRGinfo                            --> Check if the RG is online status.
#lssrc -ls clstrmgrES               --> check if the cluster manager is stable on both nodes
#smitty hacmp ->
    Extended configuration
      snapshot configuration
        Create a snapshot of the cluster configuration  (Mandatory -snap name and description)
             output: .info and .odm file created (Required this for restoration)

#/var/hacmp/clverify/clverify.log   --> check clverify has no errors
#emgr -l                                          --> Check if the emergency fixes there on the server
#emgr -rL                                          --> To remove the emergency fix.
Check Download the hacmp upgrade filesets from fixcentral and save it in rootvg directory.

2. Implementation steps

Stop the cluster services on both the nodes.
#lssrc -ls clstrmgrES                    --> check if the cluster manager is st_stable on both nodes
#smitty hacmp
     system management (c-spoc)
         manage hacmp services
             stop cluster services  (now, select node/noes and bring resource groups offline)

#lssrc -ls clstrmgrES                    --> Now the cluster manager demon should be ST_INIT
#lslpp -l|grep -i cluster.es.server.rte   --> To check the current version of hacmp
#cd <package_located directory>
#smitty update_all        -- > Do the preview first and commit next, once done follow below
#lslpp -l|grep -i cluster.es.server.rte    --> To confirm the version has been upgraded.
Reboot the node and perform the upgrade on the other node.
#smitty hacmp
     system management (c-spoc)
         manage hacmp services
             start cluster services  (now, select node/node names, automatically)

#/tmp/hacmp.out                      --> To check any error and warnings


3. Validation

#lslpp -l|grep -i cluster.es.server.rte    --> To confirm the version has been upgraded.
#lppchk –v                                           --> No output should displayed, only the prompt
#./clRGinfo                                         --> To check the RG is online as before.
#lssrc -ls clstrmgrES                            --> To check if the cluster manager is stable (ST_Stable)