On 9/26/2012 11:13 AM, shockwavecs wrote:
> We have two NAS boxes that sync all data over DRBD. When NAS1 goes down I 
> want NAS2 to automatically become the system to backup to tape.
>
> If NAS1 is up, then backup NAS1, else NAS2 becomes backup source for NAS1.
>
> Is this possible? Any reason not to? DRBD is in master-slave config so data 
> <i>should</i> never be served from two places at once.

This is beyond the scope of Bacula. Basically, use Corosync/Pacemaker 
(see http://www.clusterlabs.org/) to setup NAS as a high availability 
cluster service with NAS1 and NAS2 as the cluster nodes. The DRBD 
storage, bacula-fd, and a virtual IP address will be under cluster 
control, meaning all will run on only one server at a time and the IP is 
only assigned to one server at a time.  Alternatively, setup a single 
virtual machine on the DRBD storage that also runs bacula-fd, then use 
Corosync/Pacemaker to run the VM on only one node at a time. Either way, 
it just looks like a single NAS box with a single IP address to Bacula 
and doesn't require anything fancy from Bacula.


------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to