SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Assign Multiple IPs
Author Message
Post Assign Multiple IPs 
My Bacula server sits between a internet facing domain and a secured data domain. The server that is hosting Bacula has 2 NICs, one for each domain. How do I assign both IPs to the Director, FD and SD?

I tried to follow the instructions here:
http://www.bacula.org/en/dev-manual/main/main/Configuring_Director.html

But I guess I was not able to figure it out properly. They are both ipV4 addy's

I tried it like so:

DirAddress = {
ip = { addr = *.*.*.* }
ip = { addr = *.*.*.* }
}
}

and also:

DirAddress = {
ip = { addr = *.*.*.* }
ip = { addr = *.*.*.* }
}

Any help would be appreciated. Thank you!

View user's profile Send private message
Post  
I guess I did not read the instructions well enough.

DirAddresses = {
ip = { addr = 1.2.3.4; port = 1901 }
ip = { addr = 10.2.3.4; port = 1901 }
}
}

The commented out the DIRport = 1901

works like a charm except now my webmin console doesn't like the fact that there are 2 assigned IP address.

Any one know a work around for that?

View user's profile Send private message
Post  
If anyone has had an issue with the Bacula Webmin module after assigning multiple IP addys and knows a fix, feel free to post it here.

After adding the second IP address, I get this error in the Bacula Webmin modules:

The Bacula console command /usr/bin/bconsole could not communicate with the Bacula director. Make sure the password in /etc/bacula/bconsole.conf is correct.

HTTP/1.0 500 Perl execution failed Server: MiniServ/1.570 Date: Tue, 20 Dec 2011 18:14:18 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed

Too many section ends at line 30 at ./bacula-backup-lib.pl line 102.


View user's profile Send private message
Post  
Okay, adding the multiple IPs has the director restarting correctly, but breaks everything else. BAT cannot connect to it, and neither can the webmin add-on.

So going from:

Director { # define myself
Name = ubunback-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 1
Password = "****************************" # Console password
Messages = Daemon
DirAddress = 192.9.200.97
}

to:

Director { # define myself
Name = ubunback-dir
# DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 1
Password = "****************************" # Console password
Messages = Daemon
DirAddresses = {
ip = { addr = 192.9.200.97; port = 9101 }
ip = { addr = 10.128.50.8; port = 9101 }
}
}

will still have the director restart just fine, but break everything else.

Any help would be greatly appreciated.

View user's profile Send private message
Post Assign Multiple IPs 
On Wed, Dec 21, 2011 at 4:12 PM, DMS <bacula-forum < at > backupcentral.com> wrote:
Okay, adding the multiple IPs has the director restarting correctly, but breaks everything else. BAT cannot connect to it, and neither can the webmin add-on.

So going from:

Director {                            # define myself
 Name = ubunback-dir
 DIRport = 9101                # where we listen for UA connections
 QueryFile = "/etc/bacula/scripts/query.sql"
 WorkingDirectory = "/var/lib/bacula"
 PidDirectory = "/var/run/bacula"
 Maximum Concurrent Jobs = 1
 Password = "****************************"         # Console password
 Messages = Daemon
 DirAddress = 192.9.200.97
}

to:

Director {                            # define myself
 Name = ubunback-dir
#  DIRport = 9101                # where we listen for UA connections
 QueryFile = "/etc/bacula/scripts/query.sql"
 WorkingDirectory = "/var/lib/bacula"
 PidDirectory = "/var/run/bacula"
 Maximum Concurrent Jobs = 1
 Password = "****************************"         # Console password
 Messages = Daemon
 DirAddresses = {
      ip = { addr = 192.9.200.97; port = 9101 }
      ip = { addr = 10.128.50.8; port = 9101 }
      }
}

will still have the director restart just fine, but break everything else.


Doesn't 0.0.0.0 work for dir address? Or is this a security risk?

What ip address do you have bat connecting on in you bat.conf? If it's
127.0.0.1 or local host that will not work with your previous config.

John

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

View user's profile Send private message
Post  
Thank you so very much! the 0.0.0.0 did the trick!

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB