Operating System - HP-UX
1833778 Members
2061 Online
110063 Solutions
New Discussion

Query: Serviceguard cmapplyconf

 
vilius_m
Occasional Advisor

Serviceguard cmapplyconf

Hello,

HP-UX version 11.31(Itanium), Serviceguard version 11.19.

Planning to change Serviceguard cluster configuration using cmapplyconf.
After cmapplyconf execution if cluster not working properly - can I go back to previous configuration simply by replacing previously backed up version of /etc/cmcluster/cmclconfig file on all nodes ?

Thanks,
Vilius M.

2 REPLIES 2
georgek_1
HPE Pro

Re: Serviceguard cmapplyconf

Hello Vilius,

Replacing the binary with OLD binaries from backup will not help .
Ideally you should generate the ascii file of current cluster / package (if you do not have a backup or not able to find one)  be by running cmgetconf .
Run cmcheckconf using the ascii file you have / created and make sure that it is not showing any issue - if so fix them and confirm it is working as expected and keep it safe as backup .
Now you may make copy of the ascii file and make the modification you want to make with cluster/pkg .
Check the changes using cmcheckconf before applying the changes and it should work .

To revert, you should get the ascii file which you kept as backup , run cmcheckconf and cmapplyconf to get the cluster running with OLD configuration .

 

I work for HPE/ I am an HPE Employee (HPE Community)



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
support_s
System Recommended

Query: Serviceguard cmapplyconf

Hello,

 

Let us know if you were able to resolve the issue.

If you are satisfied with the answers then kindly click the "Accept As Solution" button for the most helpful response so that it is beneficial to all community members.

 

 

Please click on "Thumbs Up/Kudo" icon to give a "Kudo".


Accept or Kudo