Uninstalling nsmq – HP Integrity NonStop H-Series User Manual
Page 27

ALTER SERVER BRK1-M, PROGRAM
<NSJ7_installation>/nssjava/jdk170_h70/bin/oss64/java
ALTER SERVER BRK1-S, PROGRAM
<NSJ7_installation>/nssjava/jdk170_h70/bin/oss64/java
The above lines sets the JAVA program of the broker BRK1. Similarly, for changing the
JAVA program for BRK2, enter the following commands:
ALTER SERVER BRK2-M, PROGRAM
<NSJ7_installation>/nssjava/jdk170_h70/bin/oss64/java
ALTER SERVER BRK2-S, PROGRAM
<NSJ7_installation>/nssjava/jdk170_h70/bin/oss64/java
Alternatively, after creating the cluster and before adding brokers to the cluster, you can change
the JAVACMD parameter in the <NSMQ-Installation-folder>/bin/global.rsp file to
point to 64–bit Java.
Configuring the JDBC connection pool-size
In the activemqPersistent.template file, increase the maxPoolSize and minPoolSize
of the "sqlmx-ds" bean definition as required. For optimal performance, ensure the maxpoolsize
value is same as the minpoolsize value.
For example, you can set the values as shown:
...
NOTE:
The values cannot be changed dynamically. For changes to take effect, stop all the brokers
and modify their <NSMQ-Installation-folder>/<broker_name>/conf/activemq.xml
files, and then restart the brokers. HP recommends setting the same configuration for all the brokers.
Configuring the JRE heap values
The -Xms and -Xmx values are present in the
file. By default, the values are set to 256M and 512M respectively. If you are changing these
values, you must do it before installing NSMQ.
To change the -Xms and -Xmx values, edit the nsmq.properties file by changing the
NSMQ_OPTS values to the required values.
For more information about these values, see the NonStop Server for Java 6.0 Programmer's
Reference and the NonStop Server for Java 7.0 Programmer's Reference manuals.
NOTE:
HP recommends that you increase the
element in the activemqNonPersistent.template and activemqPersistent.template
files. However, you can change the
If it is changed after installation, the activemq.xml file present in the
<NSMQ-Installation-folder>/<broker_name>/conf/
folder must be changed to tune
the settings. It is mandatory to restart the broker if any changes are made to the activemq.xml
file, else the changes are not reflected.
Uninstalling NSMQ
1.
Go to the location where the pax file is extracted.
Installing NSMQ from the CD
27