Hitachi

JP1 Version 12 JP1/Base User's Guide


7.2 Starting and stopping JP1/Base (in UNIX)

On a UNIX system, you can start and stop services using commands.

Table 7‒2: JP1/Base services that can be started and stopped by command (in UNIX)

Function

Start command

Stop command

Hitachi Network Objectplaza Trace Library (HNTRLib2)#1

hntr2mon -d &

hntr2kill

Event service

jevstart

jevstop

Process management including user management

jbs_spmd

jbs_spmd_stop

Log-file trap management daemon#2

jevlogdstart

jevlogdstop

JP1/Base

jbs_start.model#3#5#6

jbs_stop.model#4#5#6

#1: At JP1/Base installation, the Hitachi Network Objectplaza Trace Library (HNTRLib2) is set by default to start and end automatically.

#2: The log-file trap management daemon is required to perform log file trapping. You can shut down the JP1/Base system while the log-file trap management daemon is active.

#3: The jbs_start.model is stored in the /etc/opt/jp1base directory. Using the jbs_start.model, you can start all services other than the Hitachi Network Objectplaza Trace Library (HNTRLib2). Use this script to start JP1/Base in normal circumstances.

#4: The jbs_stop.model is stored in the /etc/opt/jp1base directory. Using the jbs_stop.model, you can stop all services other than the Hitachi Network Objectplaza Trace Library (HNTRLib2) and log-file trap management daemon. Use this script to stop JP1/Base in normal circumstances. In a system other than a cluster system, if you want to stop functionality other than HNTRLib2 without running JP1/Base on every logical host, execute the jbs_stop.model command after you execute jevlogdstop.

#5: jbs_start.model and jbs_stop.model are configured according to the encoding that was set in the LANG environment variable during installation. To use the commands with a different language to start and stop JP1/Base, change the configuration by using the following steps, rather than editing the model files:

1. Copy jbs_start.model and jbs_stop.model as files with different names.

2. Edit the copied files to change the LANG environment variable.

The LANG environment variable must be configured according to the language that is specified in jp1bs_env.conf and jp1bs_param.conf.

#6: If you change the LANG environment variable in jbs_start.model and jbs_stop.model, your changes are reset during an overwrite installation of JP1/Base. To prevent this, change the LANG environment variable by using steps described in #5.

For details on the above commands, see 15. Commands.

Note

JP1/Base may not start properly if the jbs_start or jbs_start.cluster command is executed at the same time as a jbs_spmd command. Do not execute these commands at the same time.

In UNIX, you can make process management (including user management), the event service, and the log-file trap management daemon all automatically start when the system starts up. You can also make process management and the event service automatically stop when the system shuts down.

The setup required for automatic start and stop control is explained below.

Organization of this section