Configuring the appquery plugin for a private RPC server queue
To assist with improving performance, you can create a private RPC server queue and configure the appquery plugin to support it.
To create a private RPC server queue
- In the AR System Administration Console, select System > General > Server Information >Ports and Queues.
- Use the private RPC program number from one of the following ranges (for example, 390685):
- 390621 - 390634
- 390636 - 390669
390680 - 390694
- Change Min Threads to 4 and Max Threads to 6.
You can configure Min Threads and Max Threads based on server load and the number of concurrent users. Use the preceding values to start. An administrator can tune these parameters later, depending upon the server load. - Click Apply.
- Confirm that the ar.cfg contains the RPC program number that you just added:
- Open the ar.cfg file by using a text editor. The default path for ar.cfg is C:\Program Files\BMC Software\ARSystem\Conf\ar.cfg.
- Verify the RPC program number that you just added (for example, 390685) in the ar.cfg file.
- If the corresponding changes are not reflected, add them manually in the text editor:
To configure the appquery (conquery) plugin
- Stop the AR System server.
- Open the pluginsvr_config.xml file.
The default path for this file is C:\Program Files\BMC Software\ARSystem\pluginsvr\ pluginsvr_config.xml. Change the Private-RPC-Socket value which the same as the RPC program number in step 3 of the previous procedure.
<plugin>
<name>REMEDY.ARDBC.APPQUERY</name>
<type>FilterAPI</type>
<code>JAVA</code>
<filename>C:\Program Files\BMC Software\ARSystem\pluginsvr\qry\conquery.jar</filename>
<classname>com.bmc.itsm.conquery.ardbc.conquery.Query</classname>
<pathelement type="location">C:\Program Files\BMC Software\ARSystem\pluginsvr\qry\conquery.jar</pathelement>
<pathelement type="location">C:\Program Files\BMC Software\ARSystem\pluginsvr\foundation_shared\ITSMCommonUtils.jar</pathelement>
<pathelement type="path">C:\Program Files\BMC Software\ARSystem\pluginsvr\qry</pathelement>
<userDefined>
<server_name>vw-pun-asp-pr20</server_name>
<server_port>0</server_port>
<Private-RPC-Socket>390685</Private-RPC-Socket>
</userDefined>
</plugin>
<plugin>- Restart the AR System server.
- Verify the private RPC queue:
- In the AR System Administration Console, and select System > General > Server Information.
- Select the Port and Queues tab.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*