www.it-ebooks.info
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Oracle Tuxedo Joining the Exalogic Family<br />
Start/stop tux_msgq_mon<strong>it</strong>or<br />
As we just discussed, tux_msgq_mon<strong>it</strong>or should be started before booting the Oracle<br />
Tuxedo application. The tux_msgq_mon<strong>it</strong>or function is responsible for starting<br />
Msgq_daemon and checking <strong>it</strong>s running status. Before starting tux_msgq_mon<strong>it</strong>or,<br />
ensure that the environment variables TUXCONFIG, LD_LIBRARY_PATH, and TUXDIR<br />
are properly set. If Msgg_daemon terminates abnormally for some reason or other, <strong>it</strong><br />
restarts using tux_msgq_mon<strong>it</strong>or. One mon<strong>it</strong>or can only serve one Oracle Tuxedo<br />
application on one logical machine.<br />
Start tux_msgq_mon<strong>it</strong>or<br />
The following command is an example to start tux_msgq_mon<strong>it</strong>or:<br />
Prompt> tux_msgq_mon<strong>it</strong>or -i -d -M -K < key><br />
The following are the attributes of this command:<br />
• -i – This IPoIB address should be equal to the RDMADAEMONIP parameter in in<br />
the UBBCONFIG file.<br />
• -d – This port number should be the same number as that mentioned in<br />
RDMADAEMONPORT in the UBBCONFIG file.<br />
• -M – The shared memory gets allocated as you start Msgq_daemon. So, <strong>it</strong> is<br />
very important for you to estimate the size of the shared memory. You can<br />
get the memory size by using tmloadcf -c ubb.<br />
• -K – This is the key number to access the shared memory by Msgq_daemon.<br />
When tux_msgq_mon<strong>it</strong>or is running, you should check and make sure that the tux_<br />
msgq_mon<strong>it</strong>or and Msgq_daemon processes are running. After starting tux_msgq_<br />
mon<strong>it</strong>or successfully, you can boot the Tuxedo application.<br />
You can also use a shell script that helps you start all the processes in the master<br />
node, that is, tux_msgq_mon<strong>it</strong>or and a Tuxedo application. Please make sure<br />
that the environment variables TUXCONFIG, LD_LIBRARY_PATH, and APPDIR are<br />
set properly before you run this command. So, to be very specific, the following<br />
script starts up tux_msgq_mon<strong>it</strong>or, executes tmboot to start the Oracle Tuxedo<br />
application, and starts tlisten if the option -l is specified:<br />
Prompt> tmboot.sh –i daemon_ip –d daemon_port –M shm_size –K shm_key<br />
[-l nlsaddr]<br />
[ 134 ]<br />
<strong>www</strong>.<strong>it</strong>-<strong>ebooks</strong>.<strong>info</strong>