From: Mateus I. <p.z...@gm...> - 2007-10-22 15:44:43
|
On Mon, 22 Oct 2007 15:17:32 +0000, Mateus Interciso wrote: > On Fri, 19 Oct 2007 15:51:24 +0200, Viktor Radnai wrote: > >> Hi there, >> >> On 10/18/07, Arno Lehmann <al...@it...> wrote: >> >>> You can do this even if the SD is inside your firewall, you'll need >>> port forwarding or a proxy on the firewall then. With separate DNS >>> zones inside and outside, resolving the SD hostname either as the >>> internal or the external IP, this can be seamlessly integrated with >>> your internal Bacula setup. >>> >>> Arno >> >> I think in this case, /etc/hosts is your friend :-) >> >> Configure your storage daemon with a hostname, and specify that >> hostname in /etc/hosts to be either the internal or the external >> address, as required. And you don't need to return different results >> from your internal DNS server. Dead simple and works well. >> >> HTH, >> >> Cheers, >> Vik >> -- >> My other sig is hilarious >> >> > ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Still grepping through >> log files to find problems? Stop. Now Search log events and >> configuration files using AJAX and a browser. Download your FREE copy >> of Splunk now >> http://get.splunk.com/ > > Ok, but how do I configure the storage daemon with a hostname? > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Still grepping through > log files to find problems? Stop. Now Search log events and > configuration files using AJAX and a browser. Download your FREE copy of > Splunk now >> http://get.splunk.com/ Sorry, I should have sayd more... when I try to put the Address config on the sd, like this: Storage { # definition of myself Name = test-sd Address = Storage-Server SDPort = 9103 # Director's port WorkingDirectory = "/var/lib/bacula" Pid Directory = "/var/run" Maximum Concurrent Jobs = 20 } I get this error when I start bacula-sd 22-Oct 14:11 bacula-sd: ERROR TERMINATION at parse_conf.c:889 Config error: Keyword "Address" not permitted in this resource. Perhaps you left the trailing brace off of the previous resource. : line 15, col 10 of file /etc/bacula/bacula-sd.conf Address = Storage-Server :( Mateus |