Bacula-users

[Bacula-users] waiting for Client connect to Storage File - internal Baculaserver -Backup - external Webserver

2014-06-04 05:53:24
Subject: [Bacula-users] waiting for Client connect to Storage File - internal Baculaserver -Backup - external Webserver
From: backup-bacula <backup-bacula AT uni-landau DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 04 Jun 2014 11:30:35 +0200
my Baculaerver is located in a 192.168.50.0/24 network has been set up 
on a hypervisor .

- Hypervisor = PUBLIC static IP
-------- Baculaserver 192.168.50.4




Port Forwarding on the hypervisor
Forwarding # Activate fц ╪ r the IP
echo 1> / proc/sys/net/ipv4/ip_forward
iptables- t nat -A POSTROUTING -s '192 .168.50.0/24 '- o vmbr0 - j 
MASQUERADE

iptables- t nat -A PREROUTING -i vmbr0 - p tcp - dport 9103 -j DNAT - to 
192.168.50.4:9103
iptables- t nat -A PREROUTING -i vmbr0 - p tcp - dport 9102 -j DNAT - to 
192.168.50.4:9102
iptables- t nat -A PREROUTING -i vmbr0 - p tcp - dport 9102 -j DNAT - to 
192.168.50.4:9101

-------------------------------------------------- 
--------------------------------------

It is an external Web server with secured . This has a fixed public IP 
address .

bconsole / status / client " webserver externally "

Connecting to client -fd webserver at IP internt : 9102 = external webserver

webserver -fd Version: 5.2.5 (26 January 2012) x86_64 - pc-linux -gnu 
ubuntu 12:04
Daemon started 03 -Jun -14 20:41 . Jobs: run = 0 running = 0
Heap : heap = 274,432 smbytes = 34.077 = 34.224 Max_Bytes bufs = 78 = 79 
max_bufs
Sizeof : boffset_t = 8 size_t = 8 debug = 0 trace = 0
Running Jobs:
JobId 1 Job Job Webserver.2014 -06- 04_11.00.00_04 is running .
Full System Console or Job started: 04 -Jun -14 11:00
Files = 0 Bytes = 0 Bytes / sec = 0 Errors = 0
Files Examined = 0
SDSocket closed.
Director connected at: 04 -Jun -14 11:00
====

Terminated Jobs:
====

The Connect will take place . !

run job = job -webserver yes

It is performed no backup .
Job Webserver.2014 -06- 04_11.00.00_04 is waiting for Client to connect 
to Web server- fd Storage File

bacula- dir.conf

Director { # define myself
Name = bacula -dir
DirPort = 9101 # where we listen for UA connections
Query file = "/ etc / bacula / scripts / query.sql "
Working Directory = "/ var / lib / bacula "
PidDirectory = "/ var / run / bacula "
Maximum Concurrent Jobs = 20
Password = "password" # Console password
Messages = Daemon
DirAddress = 192.168.50.4
FD Connect Timeout = 20 minutes
Heartbeat Interval = 30 sec

----------------

Storage {
Name = File
# Do not use " localhost " here
# Address = localhost # N.B. Use a fully qualified name here
Address = 192.168.50.4
SDPort = 9103
Password = "Password"
Device = File Storage
Media Type = File
}


---------------------------------------

bacula- sd.conf

Storage { # definition of myself
Name = bacula -sd
SDPort = 9103 # Director's port
Working Directory = "/ var / lib / bacula "
Pid Directory = " / var / run / bacula "
Maximum Concurrent Jobs = 20
# SDAddress = 127.0.0.1
SDAddress = 192.168.50.4
Heartbeat Interval = 30 sec
Client Connect Wait = 120
}

unfortunately finds the Connect to bacula -sd not take place. NO BACKUP!

If someone has a tip ?

My connections

Proto Recv- Q Send -Q Local Address Foreign Address State Timer
tcp 0 0 bacula.psychoplan.l : ssh tsclient.psychopl : 63496 CONNECTED 
keepalive ( 4276.50 / 0/0)
tcp 0 0 bacula.psychoplan.l : ssh ec2 -184 -73- 3- 21.c : 51327 
CONNECTED keepalive ( 7225.62 / 0/0)
PID TTY STAT TIME COMMAND
13446 ? Ssl 0:00 / usr / sbin / bacula -dir -c / etc / bacula / bacula- 
u bacula- g - dir.conf bacula
13469 ? Ssl 0:00 / usr / sbin / bacula- fd- c / etc / bacula / bacula- 
fd.conf
13488 ? Ssl 0:00 / usr / sbin / bacula -sd -c / etc / bacula / bacula- u 
bacula- g - sd.conf tape

bacula 13446 0.0 0.1 148676 3072 ? Ssl 11:21 0:00 / usr / sbin / bacula 
-dir -c / etc / bacula / bacula- u bacula- g - dir.conf bacula
root 13469 0.0 0.0 64848 1388 ? Ssl 11:21 0:00 / usr / sbin / bacula- 
fd- c / etc / bacula / bacula- fd.conf
bacula 13488 0.0 0.0 136580 1960 ? Ssl 11:21 0:00 / usr / sbin / bacula 
-sd -c / etc / bacula / bacula- u bacula- g - sd.conf tape
root 13631 0.0 0.0 10900 884 pts / 0 S + 11:24 0:00 grep bacula

tcp 0 0 192.168.50.4:9101 0.0.0.0 : * LISTEN
tcp 0 0 127.0.0.1:9102 0.0.0.0 : * LISTEN
tcp 0 0 192.168.50.4:9103 0.0.0.0 : * LISTEN
tcp 0 0 192.168.50.4:9101 0.0.0.0 : * LISTEN 13446/bacula-dir
tcp 0 0 127.0.0.1:9102 0.0.0.0 : * LISTEN 13469/bacula-fd
tcp 0 0 192.168.50.4:9103 0.0.0.0 : * LISTEN 13488/bacula-sd

tcp 0 0 192.168.50.4:9101 0.0.0.0 : * LISTEN 13446/bacula-dir
tcp 0 0 127.0.0.1:9102 0.0.0.0 : * LISTEN 13469/bacula-fd
tcp 0 0 192.168.50.4:9103 0.0.0.0 : * LISTEN 13488/bacula-sd
tcp 0 0 0.0.0.0:80 0.0.0.0 : * LISTEN 1143/apache2



Thanks and best regards Mr. Graf

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>