Bacula-users

Re: [Bacula-users] Cancelling job on PASSIVE node

2009-09-30 15:26:57
Subject: Re: [Bacula-users] Cancelling job on PASSIVE node
From: Dajka Tamas <Dajka.Tamas AT upc DOT hu>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 30 Sep 2009 21:22:09 +0200
If I return non-zero, than it'll fail and not cancel, no? If fails, than it'll 
try again, etc, and I'll get failing emails, which I not want

________________________________________
Feladó: Arno Lehmann [al AT its-lehmann DOT de]
Küldve: 2009. szeptember 30. 20:34
Címzett: bacula-users AT lists.sourceforge DOT net
Tárgy: Re: [Bacula-users] Cancelling job on PASSIVE node

Hello,

30.09.2009 17:37, Dajka Tamas wrote:
> Hi,
>
> I've a lot of machines running heartbeat and DRBD - the machines
> are of course in pairs.
>
> I want to have a backup on the drbd partitions, but they are only
> mounted on the ACTIVE node. Is it possibe to cancel ( NOT fail )
> the backup job on the passive node somehow? Execute a script before
> job and give "cancellation" exit code or something like this?

Yes. Use a script run before - depending on your version of Bacula,
it's either "Client Run Before Job" or the Run Script resource with
the proper settings. You need to exit your script with a non-zero
return code on the passive node, and zero on the active on - that
should be all that's necessary.

> I cannot set up an FD on both nodes on the shared IP, because than
> the FD won't start on the passive node, since it cannot bind to the
> address. Or can I use FDAddress = *:9102 and same names/pass on
> both nodes?

I don't know... you'll have to try it, or ask someone who knows more
about heartbeat-based HA clustering than me :-)

Arno

> Thanks a lot,
>
>
> Tamas
>
> ------------------------------------------------------------------------------
>  Come build with us! The BlackBerry&reg; Developer Conference in
> SF, CA is the only developer event you need to attend this year.
> Jumpstart your developing skills, take BlackBerry mobile
> applications to market and stay ahead of the curve. Join us from
> November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________ Bacula-users
> mailing list Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

--
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users




This e-mail and any files transmitted with it are confidential and intended 
solely for the use of the individual/entity to which they are addressed. If you 
are not the intended recipient, you are notified that disclosing, copying, 
distributing or taking any action in reliance on the contents of this 
information is strictly prohibited. Additionally, please note that 
communication by e-mail guarantees neither the confidentiality, nor the 
completeness, or proper receipt of the messages sent. Furthermore, UPC 
Magyarország Kft., its affiliates and third parties retained by them may 
monitor, copy, use or forward to third parties any outgoing messages from and 
incoming messages to this email address.

Jelen e-mail és csatolt állományai bizalmasak, és kizárólag a címzett 
személynek/szervezeti egységnek szólnak. Amennyiben nem Ön a címzett, 
tájékoztatjuk arról, hogy a tartalmának felfedése, másolása, továbbítása, vagy 
bármely célból történő felhasználása szigorúan tilos. Megjegyezzük, hogy az 
e-mail útján történő közlések nem garantálják az elküldött üzenetek bizalmas 
jellegének és teljességének megőrzését, valamint az üzenetek megfelelő 
kézbesítését. A fentieken túlmenően, a UPC Magyarorszag Kft., annak kapcsolt 
vállalkozásai, illetve az általuk megbízott harmadik felek a jelen e-mail 
címről küldött, vagy arra érkező bármely üzenetet ellenőrizhetnek, 
lemásolhatnak, felhasználhatnak, vagy harmadik fél részére továbbíthatnak.
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>