Using Solaris Scripts
Scripts that are provided for all NMC-RX application components are located in the <NMC-RX installation directory>/utils directory. The allnmcrx script starts the NMC-RX database and all NMC-RX components.
To start an individual component, select the appropriate script from Table 5.
NOTE: All script names are one word, lowercase, and are located in the <NMC-RX installation directory>/utils directory.
Script Parameters
The scripts accept the following parameters: start, stop, restart, console, status, help or ?, which are described in the following sections.
Start
This parameter is the default behavior of each script. If the script is called without any parameters, it starts the appropriate application. If this application is already running, it reports this fact to you, and the script does not try to start the application again.
In scripts that affect multiple applications, pauses are added to be sure that the database is started before the system tries to start the next application in line. Each application is checked for status, and if the application is already running, that application is not started again.
Stop
This parameter checks the status of the application. If the application is running, it is shut down. If the application is not running, you are notified that it is not running.
In the scripts for multiple applications, the status of each application is checked. The applications that are running are shut down, and those that are not running display a message that they are not running. You are then notified whether the application was successfully stopped or not. NMC-RX clients are not shut down.
Restart
This parameter checks the status of the application that you want to restart. If the application is running, it is stopped and then started again. If it is not running, it is started at this point.
In the scripts that pertain to multiple applications, all applications are stopped. NMC-RX clients are not stopped and restarted. Any clients currently running are notified that the database connection is lost and needs a restart.
Console
When this parameter is present on the command line, a new dtterm terminal window is started with the name of the application. The application console output appears in this window.
Status
This parameter reports whether or not an application is running. For multiple application scripts, this parameter displays the status for each application checked.
Help or ?
Each of the parameters displays the command-line parameters of the script.