Right... I think I've done that... over and over again I've double and triple
checked it.
Okay, here we go with the specifics.
$ cat /etc/bacula/tray-monitor.conf
#
# Bacula Tray Monitor Configuration File
#
Monitor {
Name = bacula-mon
Password = "4rTwfHAmE80IhecI0kFqLMo0eYFhrGl13" # password for the
Directors
RefreshInterval = 300 seconds
}
Client {
Name = bacula-fd
Address = bacula
FDPort = 9102
Password = "bvfHxDTjmM2sQBCwnt8pjOlUPm30kx3HqsgOc" # password for
FileDaemon
}
### Note that the host with the dir doesn't have a SD on it.
#Storage {
# Name = bacula-sd
# Address = bacula
# SDPort = 9103
# Password = "800d69mYSS6b9juhT10o7Yi090jIlWDXd5F25sdTv" # password
for StorageDaemon
#}
### And here I want to monitor the SD on host "server8"
Storage {
Name = server8
Address = server8
SDPort = 9103
Password = "server8monitorpasswd"
}
Director {
Name = bacula-dir
DIRport = 9101
address = bacula
}
So now I want to look at the passwords in server57's bacula-sd.conf, right?
Make sure they match:
Here is the relevant section, I believe...
Director {
Name = adac8mon-sd
Password = "server8monitorpasswd"
Monitor = yes
}
And no... that doesn't work. Then I had an "aha!" moment, and I grokked what
you'd written.
EACH of the different bacula daemons on EACH host must have the SAME director
and monitor passwords as the one contained in your bacula-dir.conf file on
the machine with the director.
See, what I was doing wrong was trying to have different monitor passwords for
each sd and fd daemon and thinking that matching them in the
tray-monitor.conf file was the way to grant it access. *BUZZ* Now I got it.
I'll try to find time to document this clearly on the Bacula WIKI later today.
Tnx for the mental kick-start.
--Tim
On Tuesday 27 November 2007 5:40:31 am Chris Sarginson wrote:
> Make sure that the following lines in your bacula-fd.conf has passwords
> that correspond to those in your bacula-dir.conf
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users