We have been looking into some of the issues in our blog so for. Today we are going to look into the plugins in AR Server and how to fine tune.
There are two plugin server technologies, C
and Java.
Some plugins will run as C plugins under
arplugin (arplugin.exe ) executable.
Some plugins will run as Java plugins. The Java
Plugin server runs as a Java Virtual Machine.
In a default ITSM environment there are 4
Java Plugin servers installed; the primary Java Plugin server, the Full-Text
Search Engine Plugin server, and 2 CMDB Java Plugin servers.
The C Plugin server is configured through the ar.cfg file, while the Java Plugin servers are configured through
pluginsvr_config.xml file. The primary
Java Plugin server is located under the <ARSystem_Install_Dir>\pluginsvr
and the pluginsvr_config.xml
there are 3 types of plugins, AREA, ARDBC,
and ARF in ITSM.
1) AREA is used for Authentication. Example: LDAP, SSO, or customer plugins.
2) ARDBC is used for Vendor forms such as the
Overview Console
3) ARF is used to call Filter APIs such as
with the CAI plugin and the Web Services plugin.
To Configure AR Server for the Plugins, one has to look out for the following details in ar.cfg
Plugin-ARDBC-Threads:
Plugin-Filter-API-Threads:
Plugin-AREA-Threads:
Plugin-Loopback-RPC-Socket:
Private-RPC-Socket:
Server-Plugin-Default-Timeout:
And in pluginsvr_config.xml
<numCoreThreads>5</numCoreThreads>
<numSelectorThreads>2</numSelectorThreads>
Note: Before making any changes to the above properties, make sure the following details are taken care
1) Whether the environment has enough bandwidth for plugins, hardware to accommodate the changes.
2) Backup of ar.cfg file
3) Backup the pluginsvr_config.xml
Following numbers are reasonably good in an environment
For ar.cfg
Plugin-ARDBC-Threads: 4 12
Plugin-Filter-API-Threads: 4 12
Plugin-AREA-Threads: 4 12
Plugin-Loopback-RPC-Socket: 390626
Private-RPC-Socket: 390626 4 12
Server-Plugin-Default-Timeout: 180
For pluginsvr_config.xml
<numCoreThreads>30</numCoreThreads>
<numSelectorThreads>2</numSelectorThreads>
- The
number of selector threads should always be 2 regardless of what it’s running.
- For FTS, The number of core threads should be the same as the high
watermark for list threads on the AR server. Look at the ar.conf/ar.cfg file
(“Private-RPC-Socket: 390635 8 12” ). If the value is 12 then set the
<numCoreThreads>12</numCoreThreads>
- For the Main Java Plugin Server, since it uses Fast and List Operations,
this should be the high watermark of Fast/List/Private threads. Setting the Core threads to 30 is recommended
for the main Java Plugin server
- For the 2 CMDB Java Plugin servers (NE
and Shared) leave the CoreThreads set to the default of 5