[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


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.





Table 5: Scripts for Solaris 
Script
Function

allnmcrx

Affects the Database, Polling Service, Config Sync Services, and the NMC-RX application

NOTE: This script is the recommended way to start all NMC-RX Services on Solaris.

allservices

Affects the database, Polling Service, and Config Sync Services

configsync

Affects the Config Sync Services

NOTE: All Config Sync Services parameters require that you specify either a particular service ID or the parameter all. If you specify all, the requested operation is applied to all Config Sync Services at this location.

For example: configsync start <serviceID> or configsync start all

nmcrx

Affects the NMC-RX application (has only start and console options)

nmcrxdb

Affects the NMC-RX database

nmcrxdemodb

Affects the NMC-RX Demo database

polling

Affects the Polling Service

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.

NOTE: The NMC-RX script does not support this option.


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.

NOTE: The NMC-RX script does not support this option.


Help or ?

Each of the parameters displays the command-line parameters of the script.


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]