Hello,

2014-05-23 12:23 GMT+02:00 Willi Fehler <willi.feh...@home24.de>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> is there any possibility to do Bacula backup jobs only in case a
> directory exists/is mounted?
>
> We are using DRBD on a 2 node cluster. Usually the first node is
> active and the backup job is running on this node. In case we have to
> do a failover we don't have a backup. I created a job for the second
> node but now we receive all the time warnings because the filesystem
> is only mounted when the second node will be promoted to DRBD-Primary.
>

In most HA clusters you should have a cluster service IP address (failover)
which is pointing to the active node (the node where cluster serice is
active). This IP address should failover with your cluster service. In this
case you can define a virtual bacula client (at cluster service IP address)
which will be responsible for cluster service backup. To assure your
virtual bacula client can successfully connect to the bacula service is to
define the same bacula client password for both nodes. See simple
configuration:

FD:
Node1:
- ip: 10.10.10.10
- passwd: baculapassword

Node2:
- ip: 10.10.10.20
- passwd: baculapassword

Cluster Service:
- ip: 10.10.10.30

DIR:

client { name=node1; address=10.10.10.10; password=baculapassword; }
client { name=node2; address=10.10.10.20; password=baculapassword; }
client { name=cluster1; address=10.10.10.30; password=baculapassword; }

I hope this help.
 best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to