Log Files
crashed. A site-specific variant might copy core files from the local temporary directory
to a global file system for subsequent analysis.
Tocreate a site-specific core file analysis script, copy the default script
/opt/rms/etc/core_analysisto /usr/local/rms/etc and modifyit as required.
9.5.3 Event Handling
The default event handlers check for the existence of a site-specific handler of the same
name in /usr/local/rms/etc. If such a script exists, it will be executed in preference
to the default handler.To make site-specific changes, copy the default scripts to this
directory and amend them to your needs. Use rmspost to test their correct operation.
9.5.4 Switch Manager Configuration
The switch network manager (swmgr) must be run on the node to which the switch
network control cable is connected. By default, this is the rmshost node. Depending on
the configuration of your system, you may need to change this default.
The swmgr process consumes CPU time while sampling the network for errors.
Therefore,it should ideally be run on a lightly loaded node that is not used to run
parallel jobs; for example, a management server. Use rcontrol to stop the running
swmgr, and run rmsquery to set the node that should run the swmgr, as follows:
#rcontrol stop server=swmgr
#rmsquery "update servers set hostname=’atlasms’ where name = ’swmgr’"
#rmsquery "select name,hostname from servers where name = ’swmgr’"
swmgr atlasms
#rcontrol start server=swmgr
If your system does not have a suitable management server, you should run the swmgr
on the rmshost node. If rmshost is an alias for one node ofa resilient pair, the swmgr
should run on the primarynode. Under these circumstances, youshould set the rate at
which the swmgr polls so as to reduce the impact on other processes, by changing the
polling interval from the default value (30 seconds) to 15 minutes. Use rcontrol to do
this, as follows:
#rcontrol create attribute name=swmgr-poll-intervalval=900
The change in polling frequency will take effect next time the swmgr is started. Toforce
the change to occur immediately,use rcontrol to stop and start the server,as described
above.
Setting up RMS 9-11