Hitachi

JP1 Version 12 JP1/Performance Management Reference


Service automatic start script file (jpcw_start)

Organization of this page

Function

The service automatic start script file is the script file for automatically starting all PFM - Web Console services on the physical host when UNIX starts.

To enable automatic startup of services, copy the model file to the script file's storage location, change the file's name to jpc_start, and then change its permissions. You can also modify the contents of the script as needed.

For details about how to configure automatic startup of services, see the chapter that describes starting and stopping Performance Management in the JP1/Performance Management User's Guide.

Files

jpcw_start (Service automatic start script file)

jpcw_start.model (Model file for the service automatic start script file)

Location

The model file for the service automatic start script file is stored in the following directory:

In UNIX:

/opt/jp1pcwebcon/

Timing of applying definition information

No procedure is required to apply the script. When UNIX starts, the file jpcw_start is read from the directory where the file is stored.

Notes

By using this script file, you can start services on the physical host only. You cannot start services on the logical host.

How to modify

See Procedure for modifying the service automatic start script file (jpcw_start).

Definition example

This example sets the LANG environment variable for Performance Management.

At startup, Performance Management is subject to the LANG environment variable set in the environment where it operates. To set the LANG environment variable for Performance Management, edit the script file as follows:

LANG=LANG-environment-variable-to-set
export LANG#
nohup /opt/jp1pcwebcon/tools/jpcwstart

#: A line to be added to the script file. For details on the LANG environment variable values you can use with Performance Management, see the chapters on installation and setup in the JP1/Performance Management Planning and Configuration Guide and the manuals for PFM - Agent or PFM - RM.