View Issue Details

IDProjectCategoryView StatusLast Update
0000455bareos-corefile daemonpublic2019-12-18 15:25
Reporterged Assigned Tojoergs  
PrioritylowSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Product Version14.2.4 
Summary0000455: Connect from File Daemon to Director Daemon
DescriptionNetwork scheme

many File Daemon on the client PC on different networks - many firewall client network - internet - Firewall - LAN of Storage Daemon and Director Daemon

Connecting from Director to File Daemon is impossible because of the need to configure a wide variety of firewalls.

To connect from File Daemon to the Director Daemon and Storage daemon there is no need to configure a firewall. Which is easier in a strictly firewalled environment.

Can be done to the client connects to the director and cached tasks and all options?
TagsNo tags attached.

Activities

mvwieringen

mvwieringen

2015-04-11 10:01

developer   ~0001682

I think you are talking about client initiated backups. That is something we
want to eventually implement. The director already has the first code to
detect if a client or a console is connecting to it. The idea is that when
the client connects it gets some restricted console commands that only allow
it to do things with it own data. Biggest problem is the restore process.
ged

ged

2015-08-19 19:27

reporter   ~0001806

Last edited: 2015-08-19 19:30

Very need backup data. Restore may be manuals configure, connect and etc.
Recovery it is the secondary task.Without a backup, it is not relevant.

maik

maik

2015-11-06 17:56

administrator   ~0001946

Maybe later.
joergs

joergs

2016-04-15 22:28

developer   ~0002237

Fix committed to bareos master branch with changesetid 6203.

Related Changesets

bareos: master 584939bb

2016-01-23 11:13

joergs

Ported: N/A

Details Diff
Added Client Initiated Connection feature

This feature allows a Client (File Daemon) to open
and keep a connection to the Director.
It identifies himself and do the authentication.
The Director will keep the connection in a waiting pool.
If a job starts that needs access to the client
and a waiting connection to this client exist,
the connection will be used and removed from the pool.
The Client notices that this connection is now used
and opens a additional one connection
(required for multiple simultaneous client commands,
e.g. cancel a running job).

Configuration to enable Client Initiated Connections:
bareos-dir.conf:
Client
ConnectionFromDirectorToClient = no
ConnectionFromClientToDirector = yes

bareos-fd.conf:
Director
Address
ConnectionFromDirectorToClient = no
ConnectionFromClientToDirector = yes

The "no" settings are not required, but gurantees that the
network connection will be only opened in the intended direction.

It is possible, to use Director Initiated Connections (default) and
Client Initiated Connection simultaneously. If a waiting connection
exists, it will be used, otherwise the Director tries to connect to the
client.

This patch also implements TCP Keepalive for Windows.

Fixes 0000455: Connect from File Daemon to Director Daemon
Affected Issues
0000455
mod - src/dird/authenticate.c Diff File
mod - src/dird/backup.c Diff File
mod - src/dird/dird.h Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/dird/job.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/restore.c Diff File
mod - src/dird/sd_cmds.c Diff File
mod - src/dird/socket_server.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_status.c Diff File
mod - src/dird/verify.c Diff File
mod - src/filed/authenticate.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/filed.c Diff File
mod - src/filed/filed.h Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/filed/protos.h Diff File
mod - src/filed/socket_server.c Diff File
mod - src/findlib/find.c Diff File
mod - src/include/jcr.h Diff File
mod - src/lib/Makefile.in Diff File
mod - src/lib/bnet_server_tcp.c Diff File
mod - src/lib/bsock.h Diff File
mod - src/lib/bsock_tcp.c Diff File
mod - src/lib/bsock_tcp.h Diff File
add - src/lib/connection_pool.c Diff File
add - src/lib/connection_pool.h Diff File
mod - src/lib/jcr.c Diff File
mod - src/lib/lib.h Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/protos.h Diff File
mod - src/lib/util.c Diff File
mod - src/lib/workq.c Diff File
mod - src/win32/lib/Makefile Diff File

Issue History

Date Modified Username Field Change
2015-04-09 22:48 ged New Issue
2015-04-11 09:59 mvwieringen Severity minor => feature
2015-04-11 09:59 mvwieringen Description Updated
2015-04-11 10:01 mvwieringen Note Added: 0001682
2015-08-19 19:27 ged Note Added: 0001806
2015-08-19 19:30 ged Note Edited: 0001806
2015-11-06 17:56 maik Note Added: 0001946
2015-11-06 17:56 maik Priority normal => low
2015-11-06 17:56 maik Status new => acknowledged
2016-03-29 13:18 joergs Assigned To => joergs
2016-03-29 13:18 joergs Status acknowledged => assigned
2016-04-15 22:28 joergs Changeset attached => bareos master 584939bb
2016-04-15 22:28 joergs Note Added: 0002237
2016-04-15 22:28 joergs Status assigned => resolved
2016-04-15 22:28 joergs Resolution open => fixed
2019-12-18 15:25 arogge Status resolved => closed