Re: [Bacula-users] One SD two subnets

2011-08-09 Thread Geert Stappers
Op 20110806 om 02:40 schreef Andre Ruiz:
 On Tue, Aug 2, 2011 at 10:31, Simone Martina
 smart...@noc.skylogicnet.com wrote:
  Goodevening,
  I got a little problem: I have a bacula director on a server with two
  NIC interfaces, each of one got a different subnet: 172.20.60.0/24 and
  172.20.61.0/24 and I could only use a single LTO-4 tape reader.
  Now, the problem is howto configure storage section in director
  configuration file, because the differnt client (from the two nets)
  should receive two different IP to contact SD.
 
  Now I have tried this storage config:
  Storage {
   Name = TAPECORP
   Address = 172.20.60.1
   SDPort = 9103
   Password = foobar1
   Device = TAPE
   Media Type = LTO-4
   Maximum Concurrent Jobs = 20
  }
 
  Storage {
   Name = TAPECUST
   Address = 172.20.61.1
   SDPort = 9103
   Password = foobar2
   Device = TAPE
   Media Type = LTO-4
   Maximum Concurrent Jobs = 20
  }
 
  172.20.60.1 and 172.20.61.1 are, respectively, the IPs of BaculaDIR/SD
  for each net (DIR and SD are located onto the same physical server).
 
  Is it the right way to configure it?
 
  Thanks in advance for your suggestions,
 
  Simone
 
 
 Hi Simone.
 
 The way I see it, you put 0.0.0.0 on the listening IP of the daemons
 that would be receiving connections from more than one network and it
 will listen on both interfaces. If the _name_ and password of the
 other end matches, they will comunicate.
 
 I have mine set this way (and it's confirmed working), and I have a
 client in a different network (dir and sd on the same machine):
 
 In bacula-dir.conf:
 
 Director {
   ...
   DirAddress = 0.0.0.0
   DirPort = 9101
   ...
 }
 
 In bacula-sd.conf
 
 Storage {
   ...
   SDAddress = 0.0.0.0
   SDPort = 9103
   ...
 }
 
 In bacula-fd.conf:
 
 FileDaemon {
   ...
   FDAddress = 0.0.0.0
   FDport = 9102
   ...
 }
 
 These are the addresses that they will listen on, not to be confused
 with the addresses where to connect to indicated in the other daemons.
 
 Andre
 

Please allow people to read in the discussion order.

In other words: Reply _below_ the question.


Cheers
Geert Stappers

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] One SD two subnets

2011-08-09 Thread Geert Stappers
Op 20110808 om 14:51 schreef Andre Ruiz:
 On Mon, Aug 8, 2011 at 07:45, Martin Simmons mar...@lispworks.com wrote:
  On Tue, 02 Aug 2011 15:31:39 +0200, Simone Martina said:
 
  I got a little problem: I have a bacula director on a server with two
  NIC interfaces, each of one got a different subnet: 172.20.60.0/24 and
  172.20.61.0/24 and I could only use a single LTO-4 tape reader.
  Now, the problem is howto configure storage section in director
  configuration file, because the differnt client (from the two nets)
  should receive two different IP to contact SD.
 
  Now I have tried this storage config:
  Storage {
    Name = TAPECORP
    Address = 172.20.60.1
 
  The best option is to use
 
  Address = baculaserver
 
  and then use the resolver (DNS or /etc/hosts) to map baculaserver to the
  correct IP address on each machine.
 
  __Martin
 
 
 That is on the clients, indeed the best option is that.
 
 But he was talking about on which IP the server would listen (from
 what I could understand), and the 0.0.0.0 address will make it listen
 on all interfaces.
 
 Note that I mean client and server from the TCP connection
 perspective, not bacula client and bacula server.
 
 Andre


Please allow people to read in the discussion order.

In other words: Reply _below_ the question.


Cheers
Geert Stappers
--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] One SD two subnets

2011-08-09 Thread Martin Simmons
 On Mon, 8 Aug 2011 09:51:18 -0300, Andre Ruiz said:
 On Mon, Aug 8, 2011 at 07:45, Martin Simmons mar...@lispworks.com wrote:
  On Tue, 02 Aug 2011 15:31:39 +0200, Simone Martina said:
 
  I got a little problem: I have a bacula director on a server with two
  NIC interfaces, each of one got a different subnet: 172.20.60.0/24 and
  172.20.61.0/24 and I could only use a single LTO-4 tape reader.
  Now, the problem is howto configure storage section in director
  configuration file, because the differnt client (from the two nets)
  should receive two different IP to contact SD.
 
  Now I have tried this storage config:
  Storage {
    Name = TAPECORP
    Address = 172.20.60.1
 
  The best option is to use
 
  Address = baculaserver
 
  and then use the resolver (DNS or /etc/hosts) to map baculaserver to the
  correct IP address on each machine.
 
  __Martin
 
 That is on the clients, indeed the best option is that.
 
 But he was talking about on which IP the server would listen (from
 what I could understand), and the 0.0.0.0 address will make it listen
 on all interfaces.

There is no special action to take, because 0.0.0.0 is the default in Bacula.


 Note that I mean client and server from the TCP connection
 perspective, not bacula client and bacula server.

Yes, I know what you mean, but I think you misread the original post -- it was
about the director config file, so is not related to which IP the storage
daemon would listen on.

The Storage { Address = } option in the director config tells the client how
to contact the storage daemon.

__Martin

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] One SD two subnets

2011-08-08 Thread Martin Simmons
 On Tue, 02 Aug 2011 15:31:39 +0200, Simone Martina said:
 
 I got a little problem: I have a bacula director on a server with two
 NIC interfaces, each of one got a different subnet: 172.20.60.0/24 and
 172.20.61.0/24 and I could only use a single LTO-4 tape reader.
 Now, the problem is howto configure storage section in director
 configuration file, because the differnt client (from the two nets)
 should receive two different IP to contact SD.
 
 Now I have tried this storage config:
 Storage {
   Name = TAPECORP
   Address = 172.20.60.1

The best option is to use

Address = baculaserver

and then use the resolver (DNS or /etc/hosts) to map baculaserver to the
correct IP address on each machine.

__Martin

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] One SD two subnets

2011-08-08 Thread Andre Ruiz
That is on the clients, indeed the best option is that.

But he was talking about on which IP the server would listen (from
what I could understand), and the 0.0.0.0 address will make it listen
on all interfaces.

Note that I mean client and server from the TCP connection
perspective, not bacula client and bacula server.

Andre

On Mon, Aug 8, 2011 at 07:45, Martin Simmons mar...@lispworks.com wrote:
 On Tue, 02 Aug 2011 15:31:39 +0200, Simone Martina said:

 I got a little problem: I have a bacula director on a server with two
 NIC interfaces, each of one got a different subnet: 172.20.60.0/24 and
 172.20.61.0/24 and I could only use a single LTO-4 tape reader.
 Now, the problem is howto configure storage section in director
 configuration file, because the differnt client (from the two nets)
 should receive two different IP to contact SD.

 Now I have tried this storage config:
 Storage {
   Name = TAPECORP
   Address = 172.20.60.1

 The best option is to use

 Address = baculaserver

 and then use the resolver (DNS or /etc/hosts) to map baculaserver to the
 correct IP address on each machine.

 __Martin

 --
 BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 The must-attend event for mobile developers. Connect with experts.
 Get tools for creating Super Apps. See the latest technologies.
 Sessions, hands-on labs, demos  much more. Register early  save!
 http://p.sf.net/sfu/rim-blackberry-1
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users




-- 
Andre Ruiz  andre.r...@gmail.com
Curitiba, PR, Brasil

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] One SD two subnets

2011-08-05 Thread Andre Ruiz
Hi Simone.

The way I see it, you put 0.0.0.0 on the listening IP of the daemons
that would be receiving connections from more than one network and it
will listen on both interfaces. If the _name_ and password of the
other end matches, they will comunicate.

I have mine set this way (and it's confirmed working), and I have a
client in a different network (dir and sd on the same machine):

In bacula-dir.conf:

Director {
  ...
  DirAddress = 0.0.0.0
  DirPort = 9101
  ...
}

In bacula-sd.conf

Storage {
  ...
  SDAddress = 0.0.0.0
  SDPort = 9103
  ...
}

In bacula-fd.conf:

FileDaemon {
  ...
  FDAddress = 0.0.0.0
  FDport = 9102
  ...
}

These are the addresses that they will listen on, not to be confused
with the addresses where to connect to indicated in the other daemons.

Andre


On Tue, Aug 2, 2011 at 10:31, Simone Martina
smart...@noc.skylogicnet.com wrote:
 Goodevening,
 I got a little problem: I have a bacula director on a server with two
 NIC interfaces, each of one got a different subnet: 172.20.60.0/24 and
 172.20.61.0/24 and I could only use a single LTO-4 tape reader.
 Now, the problem is howto configure storage section in director
 configuration file, because the differnt client (from the two nets)
 should receive two different IP to contact SD.

 Now I have tried this storage config:
 Storage {
  Name = TAPECORP
  Address = 172.20.60.1
  SDPort = 9103
  Password = foobar1
  Device = TAPE
  Media Type = LTO-4
  Maximum Concurrent Jobs = 20
 }

 Storage {
  Name = TAPECUST
  Address = 172.20.61.1
  SDPort = 9103
  Password = foobar2
  Device = TAPE
  Media Type = LTO-4
  Maximum Concurrent Jobs = 20
 }

 172.20.60.1 and 172.20.61.1 are, respectively, the IPs of BaculaDIR/SD
 for each net (DIR and SD are located onto the same physical server).

 Is it the right way to configure it?

 Thanks in advance for your suggestions,

 Simone

 --
 BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 The must-attend event for mobile developers. Connect with experts.
 Get tools for creating Super Apps. See the latest technologies.
 Sessions, hands-on labs, demos  much more. Register early  save!
 http://p.sf.net/sfu/rim-blackberry-1
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users




-- 
Andre Ruiz  andre.r...@gmail.com
Curitiba, PR, Brasil

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] One SD two subnets

2011-08-02 Thread Simone Martina
Goodevening,
I got a little problem: I have a bacula director on a server with two
NIC interfaces, each of one got a different subnet: 172.20.60.0/24 and
172.20.61.0/24 and I could only use a single LTO-4 tape reader.
Now, the problem is howto configure storage section in director
configuration file, because the differnt client (from the two nets)
should receive two different IP to contact SD.

Now I have tried this storage config:
Storage {
  Name = TAPECORP
  Address = 172.20.60.1
  SDPort = 9103
  Password = foobar1
  Device = TAPE
  Media Type = LTO-4
  Maximum Concurrent Jobs = 20
}

Storage {
  Name = TAPECUST
  Address = 172.20.61.1
  SDPort = 9103
  Password = foobar2
  Device = TAPE
  Media Type = LTO-4
  Maximum Concurrent Jobs = 20
}

172.20.60.1 and 172.20.61.1 are, respectively, the IPs of BaculaDIR/SD
for each net (DIR and SD are located onto the same physical server).

Is it the right way to configure it?

Thanks in advance for your suggestions,

Simone

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users