Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

BackupInterval, how many copies stays on disk

Created: 26 Nov 2012 • Updated: 27 Nov 2012 | 3 comments
omiot's picture
This issue has been solved. See solution.

Hi,

I can't find infromation about number of copies leaved on disk when using BackupInterval parameters.

And second question, how to perform restore and disaster recovery whole VCS?

Regards,

Pawel

Comments 3 CommentsJump to latest comment

mikebounds's picture

Normally the VCS config should be closed and readonly and then this parameter is not relevent.  It becomes relevent when you open your VCS config to make a change like adding a resources or changing attributes on existing resources.  After you make this change, you should save & close your config, but if you don't then VCS will back it up after the amount of minutes the BackupInterval is set to.  While you are making changes to VCS the changes are simultaneously written to memory on ALL nodes in the cluster, so if you lost a node while changing the config, this doesn't matter as the config is in the memory of the remaining node(s).  If you lost all nodes while changing the config, then when the node came back up, I think they would start with the unchanged config, so you could stop VCS and copy the saved main.cf.autobackup (and types.cf.autobackup if you have change type attributes) to main.cf (and types.cf if necessary) and restart VCS, or just remake the changes manually.

So this is not to do with DR.  VCS contains all information in main.cf, *types.cf, llthosts, llttab, gabtab and so if you loose a node or the whole cluster, you can restore VCS from these files

Mike

 

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

omiot's picture

OK, but how many version of config backup stays on disk, I can't find this information in Admin Guide. Is there any procedure to backup and restore cluster on linux. I found on but for Ms Windows.

I'm asking this question because my clinet asks me about this things.

Regards.

Pawel

mikebounds's picture

This backup is like an autosave on word processors such as MS Word and OpenOffice where as you are making changes to doc, the document is periodically saved to a hidden file and if the computer crashes, then you have the option of using the autosaved hidden file or use the original unsaved version, but if the autosave, saved 10 times, you only have the latest save as it saves to the same file.  This is what VCS is like - it saves the latest version to main.cf.autobackup, but the recover procedure is manual my copying main.cf.autobackup to main.cf

However, VCS does save revisions of the main.cf, so everytime you MANUALLY save the config, the old version (IF changes have been made) is copied to main.cf.date and main.cf.previous.  The main.cf.previous will get overwritten, but the main.cf.date will stay on disk (in same directory as main.cf) indefinately, so effectively you have a revision history from the time the main.cf was recreated (also the *types.cf files also)

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

SOLUTION