A small summary:

The FDAddress option works perfect to restrict listening to a single
or multiple IPs bound to the local host.

In the below output .196 is a cluster virtual ip running a bacula-fd
concerned with the cluster applications data (i.e. bacula database)
only, and .193 is the bacula-fd responsible for the cluster nodes
operating system.

[EMAIL PROTECTED] ~]# netstat -na | grep LIST | grep 910
tcp        0      0 0.0.0.0:9101                0.0.0.0:*
     LISTEN
tcp        0      0 192.168.10.196:9102         0.0.0.0:*
     LISTEN
tcp        0      0 192.168.10.193:9102         0.0.0.0:*
     LISTEN
tcp        0      0 0.0.0.0:9103                0.0.0.0:*
     LISTEN

Note: configure sets the working directory relative to $prefix, but
not the pid directory.
if the pid directories overlap, it seems bacula-fd will silently die
after issueing a successful startup. also the /etc/init.d/bacula-fd
script will kill then both daemons which is how i stumbled over the
solution
As soon as these are separate both fds can run concurrently.

I also tested that bacula-dir and bacula-sd accept this and the more
versatile DirAddresses statement, it worked as far as I remember.
Though I wonder if it's legitimate to declare both. :)


# for reference
 ./configure --prefix=/mnt/new/bacula/apps/bacula --enable-static-cons
--enable-static-fd --enable-ipv6
--with-mysql=/mnt/new/bacula/apps/mysql --with-openssl
--with-dir-user=bacula --with-dir-group=bacula --with-sd-user=bacula
--with-sd-group=disk --with-fd-user=root --with-fd-group=bacula &&
make
(thank You for not pointing out that /mnt/new is a stupid path)


So long and thanks to all that helped!

Florian

2007/2/4, Florian Heigl <[EMAIL PROTECTED]>:
> Hi,
>
> I'm currently working on clustering bacula (howto follows as all
> quirks are removed)
> My requirement is running a bacula fd on each of the cluster nodes,
> and one for the cluster package. If someone thinks, this makes no
> sense, I'd be also glad to hear why.
>
> For the meantime I'm mostly concerned with making bacula listen to a
> specific ip.
> # netstat -na | grep LISTE | grep 910
> [...]
> tcp        0      0 0.0.0.0:9101                0.0.0.0:*
>      LISTEN
> tcp        0      0 0.0.0.0:9102                0.0.0.0:*
>      LISTEN
> tcp        0      0 0.0.0.0:9103                0.0.0.0:*
>      LISTEN
>
> I haven't found out where I could influence that, how do I achieve this?
>
> Florian
>
> --
> 'Sie brauchen sich um Ihre Zukunft keine Gedanken zu machen'
>


-- 
'Sie brauchen sich um Ihre Zukunft keine Gedanken zu machen'

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to