Re: [Bacula-users] SD on 2 IP addresses
2010-07-15 09:00:20
daveb93 wrote:
> My bacula server is multi-homed.
> I am needing port 9102 to answer on all of the IP addresses on the server in
> order to service all of the subnets attached to the machine
>
> I looked at taking care of this on the network routing level but it just
> would not be practical
>
> Any help would be greatly appreciated
Dave,
this is how I do it (bacula 2.2.8):
bacula-sd.conf:
Storage { # definition of myself
Name = stat-sd
SDAddresses = {
ip = { addr = 1.2.3.4; port = 9103; }
ip = { addr = 10.20.30.40; port = 9103; }
}
WorkingDirectory = "/var/db/bacula"
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 8
}
Autochanger {
Name = ArcVault
Device = ArcVaultDrive
Changer Command = "/usr/local/share/bacula/mtx-changer %c %o %S %a %d"
Changer Device = /dev/pass1
}
bacula-dir.conf:
Storage {
Name = OverlandViaNet1
Address = 1.2.3.4 # N.B. Use a fully qualified name here
SDPort = 9103
Password = "XXXX"
Device = ArcVault
Media Type = LTO3
Autochanger = yes
Maximum Concurrent Jobs = 10
}
Storage {
Name = OverlandViaNet2
Address = 10.20.30.40 # N.B. Use a fully qualified name
here
SDPort = 9103
Password = "XXXX"
Device = ArcVault
Media Type = LTO3
Autochanger = yes
Maximum Concurrent Jobs = 10
}
Job {
Name = "Some Job"
Client = "Some Client on Net1"
Storage = "OverlandViaNet1"
....
}
Job {
Name = "Some Other Job"
Client = "Some Other Client on Net2"
Storage = "OverlandViaNet2"
....
}
IIRC there were some reasons (I already forgot) to do it this complicated way.
HTH
Attila
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|