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 5<br />
It is the same as the GWTDOMAIN's NWADDR configuration in the<br />
DMCONFIG file.<br />
2. You need to put an add<strong>it</strong>ional Java option in the WLS start-up command<br />
as follows:<br />
-Djava.net.preferIPv4Stack=true<br />
java command-line<br />
Databases<br />
There is nothing special you need to do to use the database or XA interface, as<br />
this standard is widely supported on all the major database vendor products. You<br />
may want to use SDP for Oracle database invocations, but again, you don't need to<br />
perform anything special in a Tuxedo application. You do however need to configure<br />
the database to support InfiniBand. You can set the two parameters in /etc/<br />
modprobe.conf on the server node for better performance (for example, options<br />
ib_sdp sdp_zcopy_thresh=0 recv_poll=0). It's default value is 64 KB, but the<br />
recommendation is to set <strong>it</strong> w<strong>it</strong>h zero.<br />
The EXALOGIC_MSGQ_CACHE_SIZE variable<br />
The EXALOGIC_MSGQ_CACHE_SIZE environment variable can be used to improve<br />
the performance of the Tuxedo application. This value can be set between 32 and<br />
2,048. One thing to notice is that increasing the number can improve Tuxedo's<br />
performance, but Msgq_daemon consumes more shared memory. So, setting this<br />
environment variable will help you to get better performance during the process<br />
of sending multiple messages to many queues.<br />
Please read the following recommendation from Oracle:<br />
If there are 40 remote Oracle Tuxedo servers providing the same service and clients<br />
call the service 100 times, setting EXALOGIC_MSGQ_CACHE_SIZE to a value<br />
equal to or greater than 40 on the client improves performance.<br />
If there are 50 WSHs, and each WSH receives response messages from the same<br />
remote server, setting EXALOGIC_MSGQ_CACHE_SIZE to a value equal to or<br />
greater than 50 on the server environment improves performance.<br />
Running Oracle Tuxedo<br />
In this section, we will discuss how to start and stop Tuxedo and the tools that are<br />
available for various administrative purposes. There are some differences in running<br />
Tuxedo on a non-Exalogic platform w<strong>it</strong>h RDMA features. The tux_msgq_mon<strong>it</strong>or<br />
function must be started before booting a Tuxedo application.<br />
[ 133 ]<br />
<strong>www</strong>.<strong>it</strong>-<strong>ebooks</strong>.<strong>info</strong>