Hi,

24.04.2009 11:17, Ralf Brinkmann wrote:
> Is it in any way possible to give the file-daemon an alias name to
> represent the DNS alias name of that server?

I guess I must misunderstand the request, because it seems too simple: 
Just set the name in the conf file to whatever you like.

If you want this done automatically at each FD start, put a construct 
like this:

cd /usr/local/demo-bacula/etc
rm -f dynamic-fd.conf
h=`hostname`
sed -e "s/@@HOSTNAME@@/${h}/g" >dynamic-fd.conf <hostname-fd.conf
../sbin/bacula-fd -c dynamic-fd.conf

into your startup script and use

FileDaemon {                          # this is me
   Name = @@HOSTNAME@@
   FDport = 59001                  # where we listen for the director
   WorkingDirectory = /var/demo-bacula
   Pid Directory = /var/run
   Maximum Concurrent Jobs = 20
}

in your configuration file template.

Untested...

Arno

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

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to