Chris,

If you have an IP resource, run a script on both boxes, check for the
IP, if it exists do the backup, if it doesn't exist don't do the
backup.  You could also use any other resource that you know is on the
active node - DRBD for example.

HTH's,

Iain.

2008/7/31 Chris Willard <[EMAIL PROTECTED]>:
> Hello All,
>
> I am setting up my first linux-ha system and have a question.
>
> I want to use duplicity to create regular off-site backups by using it
> with cron. Is there a way to check if the node is the active one so I
> can put the script on both nodes but it will only run on one?
>
> Thanks,
>
>
>
> Chris.
>
> --
> [ "Ascension Sunday.Ascension Sunday!" -- Rimmer                       ]
>
> --
> This message was scanned by ESVA and is believed to be clean.
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>



-- 
Iain Miller
[EMAIL PROTECTED]
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to