19.03.2015 Views

www.it-ebooks.info

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2<br />

The following UBBCONFIG file shows the two-machine (MP mode) configuration<br />

along w<strong>it</strong>h the most important parameters. I have added the NETWORK and ROUTING<br />

sections to give you a real-life example:<br />

*RESOURCE<br />

IPCKEY 80952 # key for well known address<br />

DOMAINID My_Domain<br />

UID<br />

0777 # use <strong>it</strong> for inter process communication<br />

GID 007 # use <strong>it</strong> for inter process communication<br />

PERM 0707 # Access permissions for inter process<br />

communication<br />

MAXSERVERS 40 # Number simultaneous servers<br />

MAXSERVICES 50 # Number of services can be publish w<strong>it</strong>hin same<br />

domain<br />

MAXGTT 25 # Number of simultaneous global transactions<br />

MASTER SITE1<br />

SCANUNIT 10<br />

SANITYSCAN 12<br />

BBLQUERY 180<br />

BLOCKTIME 30<br />

OPTIONS LAN,MIGRATE<br />

MODE MP # single or Multi node configuration<br />

LDBAL Y # To set the load balancing<br />

#<br />

*MACHINES<br />

machUnix LMID=SITE1 TUXDIR="/usr/tuxbin"<br />

MAXACCESSERS=20<br />

APPDIR="/usr/Biru/apps/MyApps"<br />

ENVFILE="/usr/Biru/apps/MyApps/ENVFILE"<br />

TLOGDEVICE="/usr/Biru/apps/MyApps/TLOG"<br />

TLOGNAME=TLOG<br />

TUXCONFIG="/usr/Biru/apps/MyApps/tuxconfig"<br />

ULOGPFX="/usr/Biru/apps/MyApps/ULOG"<br />

machNT<br />

LMID=SITE2 TUXDIR="C:\Biru\apps\MyApps\tuxbin"<br />

MAXACCESSERS=20<br />

MAXWSCLIENTS=25<br />

APPDIR="C:\Biru\apps\MyApps"<br />

ENVFILE="C:\Biru\apps\MyApps\ENVFILE"<br />

TLOGDEVICE="C:\Biru\apps\MyApps\TLOG"<br />

TLOGNAME=TLOG<br />

TUXCONFIG="C:\Biru\apps\MyApps\TLOG\tuxconfig"<br />

[ 23 ]<br />

<strong>www</strong>.<strong>it</strong>-<strong>ebooks</strong>.<strong>info</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!