Author Archive
Endian Firewall 2.4.0 Upgrade – Kernel Panic – Esx(i)
After upgrading your Endian Firewall from 2.3.0 to 2.4.0 via the efw-upgrade process, you can encounter some problem booting your virtual machine.
The problem is probabily related to a missing driver for the LSI Logic controller
In order to permit the Firewall to complete the boot process, you need to edit manually the .vmx file of your virtual machine , reconfiguring the hard disk from SCSI to IDE.
Find the configuration of the scsi hard disk and controller
scsi0.present = “TRUE”
scsi0.sharedBus = “none”
scsi0.virtualDev = “lsilogic”
scsi0:0.present = “TRUE”
scsi0:0.fileName = “Endian Firewall.vmdk”
scsi0:0.deviceType = “scsi-hardDisk”
Comment it out :
#scsi0.sharedBus = “none”
#scsi0.virtualDev = “lsilogic”
#scsi0:0.present = “TRUE”
#scsi0:0.fileName = “Endian Firewall.vmdk”
#scsi0:0.deviceType = “scsi-hardDisk”
Create a new HardDisk in IDE mode that point on the original vmdk files :
ide0:0.present = “TRUE”
ide0:0.fileName = “Endian Firewall.vmdk”
Thats all.
Enjoy your Endian Firewall 2.4.0
If you have any question, please feel free to post a comment !!!!
Centos 5.5 available
The CentOS team is pleased to announce the availability of CentOS 5.5. Major changes in CentOS 5.5 compared to CentOS 5.4 include:
OpenOffice.org Update to version 3.1.1
Samba3x in version 3.3.8
PostgreSQL84 in version 8.4
Freeradius2
The latter three aren’t installed by default, but they can be used to upgrade from the still included older versions of these packages.
Other upgrades include newer version of the wireless drivers suite, including newer versions of the ath9k driver and the iwlwifi drivers. The GNU Debugger gdb, Valgrind and SystemTap also have been updated.
Installing and Configuring Bacula Client 5.0.2 on a Centos 5.4 machine
For the instalation of the Bacula Server, please refer to THIS post.
DOWNLOAD AND INSTALL BACULA
Download bacula and extract it :
wget http://sourceforge.net/projects/bacula/files/bacula/5.0.2/bacula-5.0.2.tar.gz/download
tar -zxf bacula-5.0.2.tar.gz
cd bacula-5.0.2
Configure Bacula for compiling :
CFLAGS="-g -Wall" \
./configure \
--sbindir=/usr/share/bacula/bin \
--sysconfdir=/usr/share/bacula/etc \
--with-pid-dir=/usr/share/bacula/bin/working \
--with-subsys-dir=/usr/share/bacula/bin/working \
--with-working-dir=/usr/share/bacula/bin/working \
--enable-client-only
Compile and install bacula :
make
make install
CONFIGURE SYSTEM FOR AUTOMATIC STARTUP
Copy the start-stop script from /usr/share/bacula/bin to /etc/init.d
cp /usr/share/bacula/bin/bacula /etc/init.d
cp /usr/share/bacula/bin/bacula-fd /etc/init.d
Modify the bacula startup script(/etc/init.d/bacula) , adding this line at the top (so the bacula init script is chkconfig compatible) :
# chkconfig: - 87 26
NOTE : The script modified need to be something like this
#! /bin/sh
# chkconfig: - 87 26
#
# bacula This shell script takes care of starting and stopping
# the bacula daemons.
#
# This is pretty much watered down version of the RedHat script
# that works on Solaris as well as Linux, but it won't work everywhere.
#
# description: It comes by night and sucks the vital essence from your computers.
Run the following command :
chkconfig bacula on
service bacula start
CONFIGURE THE FIREWALL
Configure the firewall to permit access to webmin server (suppose the default config with https port on 10000) by editing /etc/sysconfig/iptables config file. Add a line like this before the REJECT line :
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 9102 -j ACCEPT
Restart the firewall
service iptables restart
CONFIGURE BACULA
Go to /usr/share/bacula/etc and edit (vi) bacula-fd.conf
Find the first entry Director and then, after the Name directive, put an Address directive with the IP of the bacula server or with the fqdn of bacula server
Address = XXX.XXX.XXX.XXX
or
Address = fully.qualified.domain.name
Comment out the second Director entry, leave the FileDaemon unchanged
Modify the Messages section to point to the bacula server.
#director = bacula-client.yyyyyy.it-dir = all, !skipped, !restored
director = bacula-srv.yyyyyy.it-dir = all, !skipped, !restored
This is an example of the bacula-fd configure script working :
#
# Default Bacula File Daemon Configuration file
#
# For Bacula release 5.0.2 (28 April 2010) -- redhat
#
# There is not much to change here except perhaps the
# File daemon Name to
#
#
# List Directors who are permitted to contact this File daemon
#
Director {
Name = bacula-srv.xxxxx.it-dir
Address = XXX.XXX.XXX.XXX
Password = "RANDOM PASSWORD"
}
#
# "Global" File daemon configuration specifications
#
FileDaemon { # this is me
Name = bacula-client.xxxxxx.it-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = /usr/share/bacula/bin/working
Pid Directory = /usr/share/bacula/bin/working
Maximum Concurrent Jobs = 20
}
# Send all messages except skipped files back to Director
Messages {
Name = Standard
director = bacula-srv.xxxxxx.it-dir = all, !skipped, !restored
}
CONFIGURE THE BACULA SERVER WITH bacula-dir.conf
Now, we need to check in the bacula server the definition of the Storage Device.
Look at the Address directive … change it from localhost to the ip address of the NIC (or the fqdn of the server)
Address = XXX.XXX.XXX.XXX
or
Address = fully.qualified.domain.name
ADDING A CLIENT ON THE BACULA SERVER
Restart the bacula both on Server and Client machine
service bacula restart
Via WebMin, add a new backup client, please make sure to use the password in the bacula-fd.conf file of the client.












