a Flo + a Blog = a Flog my ブログ

16Aug/110

Big Brother client installation on UNIX/Linux

Following procedure explains the steps for installing Big Brother client on UNIX/Linux servers and information about all the supported files. I could not really find this anywhere easily broke down, I hope this helps a few...

Installation Steps
Create user bb on the server to be monitored.Assign 1984 uid to the Big Brother user.

useradd -u 1984 -c "Big Brother monitoring" bb

Copy the latest BB client tar file from your repository to bb home directory of the monitored server.

su - bb
scp root@yourrepo:/home/bb/software/BBCLT-aix6.1-bbc4.30-bbpe.tar .

Decompress the tar file in the bb home directory

In the bb home directory
tar -xvf BBCLT-aix6.1-bbc4.30-bbpe.tar

Exit from bb home directory as the BB client should be installed using root account.
From root user go to /home/bb/bbc4.30-bbpe/install and execute bbconfig file.After executing bbconfig file, it will ask to accept the License agreement.
After accepting the License agreement, the installation process will ask to enter a few details.

OS [aix] is the default so you can hit enter directly
It will ask for the userid for Big Brother which will be "bb".

The installation process will add a service in /etc/init.d which will start at boot.

At this point the BB client is not started as bb-hosts file is missing or empty.

Information about bb-hosts file
The bb-hosts file in present in /home/bb/bbc4.30-bbpe/etc.This file holds the information about the host and the BBDisplay,BBPAGER and BBNET.
BBDISPLAY is the server which will display all the monitored servers.
BBPAGER is the server which sends email alerts.
BBNET is the server which performa all Network tests.

Sample bb-hosts file.If the first line or name of the monitored host does not match the entry in the bb-hosts file then the bb client will not start.

0.0.0.0         monitoredsrv #must name uname -n
0.0.0.0         displaysrv # BBNET BBDISPLAY BBPAGER

Once all the changes are done then we are good to start the BB client.
The entry of the monitored server in bb-hosts file should also match with the entry in BB server's bb-hosts file.

I forgot to mention that to start and stop BB you can use the following:

su - bb -c "cd /home/bb/bbc4.30-bbpe;./runbb.sh start"

su - bb -c "cd /home/bb/bbc4.30-bbpe;./runbb.sh stop"

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.