Page 1 of 1

Rsync scripting advice

Posted: Fri Oct 18, 2013 3:51 pm
by benhank
Hey all,

The Problem:
Every week, I do a backup of my primary server, and restore the backup to the secondary server, which is fired up if primary goes down.

The Good:
We have a server that can take temporarily over if there is an issue with the Primary until the primary is repaired.


The Bad:
when the Secondary gets fired up, it is missing a weeks worth of perfdata, acknowledgments, etc..
(we can live with losing a weeks worth of DB data)

The Ugly:
We have both servers running live with all checks enabled (notifications are disabled on secondary (I am not THAT dumb...))
but for the life of me I can't figure out why I set it up like that... Oh, wait I remember now.

Is there a way, or is it advisable to do the following:
I want to disable all checks on the secondary, since it's data will be overwritten anyway.
Have the perfdata fol...ahem I mean, directory, sync from Primary to Secondary automatically on a set schedule.
I understand that I will have to exclude the perfdata that my backup will contain, but shocking as it is, I think i can handle that...

So does this make sense? Is it doable?

Re: Rsync scripting advice

Posted: Mon Oct 21, 2013 9:54 am
by abrist
You could disable active checks system-wide on the backup server. Then create a netmount for the perfdata, copy the perfdata to the netmount, and then mount the same share to both file systems. When the primary fails, enable checks on the secondary and the perfdata should still be available to be read and updated by the secondary XI server. If you do try this, please do it in a test environment first, and make sure that you do a full XI backup before implementing the share. My only concern with this method is that you may have i/o issues if your network share is not fast enough, but implementation and testing is the only way to know for sure.

Re: Rsync scripting advice

Posted: Tue Oct 22, 2013 12:13 pm
by benhank
Thanks man I will try it, sorry for the late response man.

Re: Rsync scripting advice

Posted: Tue Oct 22, 2013 12:15 pm
by slansing
Let us know what bumps you run into "if you do."

Re: Rsync scripting advice

Posted: Tue Oct 22, 2013 1:15 pm
by benhank
Hey, it's me, what could happen?

Re: Rsync scripting advice

Posted: Tue Oct 22, 2013 1:18 pm
by abrist
*readies tin foil hat*
*checks non-perishables in bunker*