Restarting the plug-in server using the Set Server Info command
When any changes such as C plug-in or Java plug-in-related changes, binary updates that take place during installation, plug-in related updates to the ar.conf file, or changes to the pluginsvr_config.xml file are done to the C plug-in or Java plug-in files, you are able to restart only the plug-in server instead of restarting the AR System server.
To restart the plug-in server using the Set Server Info command
- Double-click the driver.exe file. The file is located in the following path:
- (Windows) <ARInstallationFolder>\Arserver\api\driver
(UNIX) <ARInstallationFolder>/bin
Note
On UNIX, set the
LD_LIBRARY_PATH
environment variable to the directory where the arserver.exe is located. For example,export LD_LIBRARY_PATH=/C:/Program Files/BMC Software/ARSystem/bin
.
- To initialize, enter the
init
command. - To log on, enter the
log
command and provide details such as user name, password, and server name. For more information about the driver.exe commands, see Using the driver program from the command line. - If you are not using the port mapper, enter the
ssp
(Set Server Port) command and then enter the server port number. - Enter 0 or a blank for Using private socket.
- Enter the
ver
command to verify the login information. - Enter the
ssi
(Set Server Info) command and perform the following:- Enter 1 for the Number of server info operations that you want to perform.
- Enter 348 as the Operation number to forcefully shut down the plug-in server.
- Enter 2 for integer as the Datatype.
- Enter 0 or 1 as the Integer Value.
When the AR monitor detects that the plug-in server is down, it checks if any changes are made to the ar.cfg file. If the changes are detected, the recent ar.cfg is loaded before the stopped plug-in server is automatically restarted.
Comments
clarification on step 2:
If you are not using portmapper, do the following:
enter command init
and finally - what is the actual integer value to be passed? 1?
Hi Jonas,
Thank you for your comment. The content is now updated to clarify the steps further.
-Ashwini
There is concern regarding this command and its impact on the FTS Plugin. Step 7b states that it forcefully shuts down the server. Does that mean that it doesn't do a graceful shutdown and just kills the process, or does it do a graceful shutdown of all plugins in the server?
https://communities.bmc.com/docs/DOC-30686
Hi LJ,
Yes, it kills the process and not do a graceful shutdown.
Regards,
Ashwini
Ashwini,
That seems to contradict what was said by Mark Walters in the commend on my document on Communities, can you confirm?