Job Management Partner 1/Integrated Management - Event Gateway for Network Node Manager i Description, User's Guide and Reference

[Contents][Glossary][Index][Back][Next]


2.4.3 Setting automatic startup and automatic termination

You must start the JP1/Base services before you can start the services of JP1/IM - EG for NNMi. The services of JP1/IM - EG for NNMi must be stopped before you stop the JP1/Base services.

If you set automatic startup and termination of JP1/IM - EG for NNMi, you can specify in advance the service start and termination sequences. Set automatic startup and termination when necessary.

The settings for automatic startup and termination depend on the OS.

Organization of this subsection
(1) In Windows
(2) In UNIX

(1) In Windows

In Windows, use JP1/Base's startup control to set automatic startup and termination of JP1/IM - EG for NNMi. Startup control starts and stops services according to a predefined sequence. For details about startup control, see the Job Management Partner 1/Base User's Guide.

Setting automatic startup
You set automatic startup by specifying the definition of JP1/IM - EG for NNMi in JP1/Base's start sequence definition file (JP1SVPRM.DAT). The following shows the definition of JP1/IM - EG for NNMi:
[Jp1IMEGforNNMi]
Name=JP1/IM - EG for NNMi
ServiceName=JP1_IM-EG_for_NNMi
StopCommand=<JP1/IM - EG for NNMi Path>\bin\jegn_spmd_stop.exe
At the time of a new installation, these lines are commented out by inclusion of a hash mark (#) at the beginning of each line. Delete these hash marks.
The services are started in the order specified. If you edit the start sequence definition file, make sure that you enter the definition of JP1/IM - EG for NNMi after the definition of JP1/Base.

Setting automatic termination
In order to use JP1/Base's startup control to set automatic termination of JP1/IM - EG for NNMi, JP1/Power Monitor must be installed on the same computer. For details about JP1/Power Monitor, see the manual Job Management Partner 1/Power Monitor Description, User's Guide and Reference.
When JP1/Power Monitor is used to turn off the power, the services for which the termination command (StopCommand=) is specified are stopped in the reverse order of their startup among all the services specified in JP1/Base's start sequence definition file.
Express the termination command as an absolute path. It is specified as follows during the new installation:
StopCommand=JP1/IM-EG-for-NNMi-path\bin\jegn_spmd_stop.exe
Replace JP1/IM-EG-for-NNMi-path with the actual JP1/IM - EG for NNMi installation path.

(2) In UNIX

In UNIX, use an automated startup script and an automated stop script to set automatic startup and termination of JP1/IM - EG for NNMi.

Setting automatic startup
Execute the following command to copy the automated startup script (jegn_start):
# cd /etc/opt/jp1eg4nnmi
# cp -p jegn_start.model jegn_start
When you execute the above command, the automated startup script is called when the system starts and JP1/IM - EG for NNMi is started automatically. For details about the automated startup script, see jegn_start (UNIX only) in 7. Commands.

Setting automatic termination
Execute the following command to copy the automated stop script (jegn_stop):
# cd /etc/opt/jp1eg4nnmi
# cp -p jegn_stop.model jegn_stop
When you execute the above command, the automated stop script is called when the system is terminated and JP1/IM - EG for NNMi is terminated automatically. For details about the automated stop script, see jegn_stop (UNIX only) in 7. Commands.

[Contents][Back][Next]


[Trademarks]

All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.