Big Brother - BBClone

The $BBHOME/install/bbclone script allows you to replicate an existing BBClient and create an archive that can be installed on another machine of the same like.

Note: The machines MUST BE IDENTICAL. The same Operating system, release, user id, install path, etc..

To create the archive execute:

$BBHOME/install/bbclone

The BBCLONE archive will be saved as /tmp/BBCLONE.tar. Copy this archive to the target host server you'd like BB on, and unpack it:

tar xvf BBCLONE.tar

Then run the installation program

./bbclone-install

And provided that the ext/bbadd external script is running on your Big Brother server, your new client should appear within 5 minutes on the Big Brother display. In addition, to making the installation easier and faster you can even install your BBCLONE archive on your BBDISPLAY and use the wget command (http://www.gnu.org/software/wget) to bring the archive across to your clients, i.e.

On your BBDISPLAY:

cp BBCLONE.tar $BBHOME/www

On the client:

wget http://<BBServer>/bb/BBCLONE.tar

Warning: if you remove a client and re-install it, you will probably see this error on the BBDISPLAY server:

BBCD REGISTRATION FAILED AT (date) in BBOUT

To fix this problem, execute "uname -n" on the client, and remove the line containing that host name from the $BBHOME/etc/bbcdhosts file on your BB server.