Operating System - HP-UX
1837085 Members
2272 Online
110112 Solutions
New Discussion

Re: Backup service guard configs

 
SOLVED
Go to solution
tom edginton_1
Occasional Advisor

Backup service guard configs

Hi,

I am about to make changes to our SG setup.
My understanding is that i only need to backup the /etc/cmcluster directory, and that if i need to revert to my previous configuration, all i need do is restore this directory structure.

Can anyone confirm that this is correct ?

3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Backup service guard configs

You are essentially correct although before copying the contents back on /etc/cmcluster you would need to down the cluster. Because cmapplyconf distributes changes throughout the cluster, you would actually need to do this on all nodes. Generally, all that is really necessary is that you have a safe copies of your ascii configuration files so that all that is needed is to run cmapplyconf on the original files to restore the cluster to its previous state.

If it ain't broke, I can fix that.
tom edginton_1
Occasional Advisor

Re: Backup service guard configs

Thanks for the feedback.

I have just started preparing to implement the changeover. I ran cmgetconf to obtain up to date configs to backup, and it is gving me the following error on a vg i have just exported from node1 and imported successfully to node2:

# cmgetconf -v -c deviss deviss.200907.2
Gathering configuration information .
Gathering storage information ..
Found 58 devices on node mode1
Found 86 devices on node node2
Analysis of 144 devices should take approximately 9 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Found 3 volume groups on node node1
Found 3 volume groups on node node2
Analysis of 6 volume groups should take approximately 1 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
...... Done
Warning: Volume group /dev/vgeloq is configured differently on node node1 than on node node2
Warning: Volume group /dev/vgeloq is configured differently on node node2 than on node node1

I am concerned about the 2 warnings. Could you shed any light on them ?
tom edginton_1
Occasional Advisor

Re: Backup service guard configs

I have figured out what the issue was.
We have powerpath and had used vgexport with the "-s" option.

Have now completed vgimport referencing all the correct devices.

Thanks for your assistance.