ensuring bareos-fd connects over a specific TCP interface.

46 views
Skip to first unread message

Alfred Crumbleton

unread,
Sep 8, 2019, 7:26:07 PM9/8/19
to bareos-users
Hello All,

I have been implementing a bareos server and clients recently (All Centos 6 and 7) and have a question about multiple network interfaces:

Both the server and clients have at least two interfaces, one on the regular 1GBe network (for general access) and one on the 10GBe network (for server-to-server data movements).

When I ran the test backup of the client I noticed that while there was an initial connection on the 10GBe interface, the actual data transfer happened over the 1GBe interface.
I would like to know if there is a way to ensure that the bareos-fd connects and transfers data via the 10GBe network?

Basically our IP setup is thus:
1GBe network is 172.18.90.0/24
10GBe network is 172.18.100.0/24

I setup the client configuration on the server director using the IP address of the client:
Client {
  Name = NAME-10g
  Address = 172.18.100.86
  Password = <some big string>
}

One other note, I have checked the server director network and it has a broader mask for it's 1GBe network:
Could that be what is thwarting the 10GBe connection?

I have read up on the FDAddresses option, but the Docs did not indicate into which of the many files those parameters need to be written and if they are on the director server machine or the client or both.

Any help would be appreciated, thanks.

-Alfred

Andreas Rogge

unread,
Sep 9, 2019, 3:17:09 AM9/9/19
to bareos...@googlegroups.com
Hi Alfred,

if you're running with the default configuration (i.e. you did not
enable passive client) the connection scheme will be the following:
Director -> FD -> SD

So the data transfer happens with a connection that the FD on the Client
initiates to the SD. This happens with the address configured for the SD
in the director configuration (bareos-dir.d/storage/*.conf, Address
parameter).
If that address points to the 10 GBe interface of your SD, things should
work as you expect.

Best Regards,
Andreas

Am 09.09.19 um 01:26 schrieb Alfred Crumbleton:
> --
> You received this message because you are subscribed to the Google
> Groups "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bareos-users...@googlegroups.com
> <mailto:bareos-users...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bareos-users/74d395c9-175a-41c0-8894-3e490ac5cae3%40googlegroups.com
> <https://groups.google.com/d/msgid/bareos-users/74d395c9-175a-41c0-8894-3e490ac5cae3%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Andreas Rogge andrea...@bareos.com
Bareos GmbH & Co. KG Phone: +49 221-630693-86
http://www.bareos.com

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz

signature.asc

Alfred Crumbleton

unread,
Sep 10, 2019, 6:33:20 PM9/10/19
to bareos-users
Hello Andreas, 

Thank you for the explanation and advice, that worked to perfection.

I have now created two storage definitions and two associated default jobs, one for the 10GBe connections and one for the few 1Gbe connections that I also need to consider.
They are working fine.

Kind regards,
-Alfred.
Reply all
Reply to author
Forward
0 new messages