Job Management Partner 1/Integrated Management - Manager Configuration Guide
This subsection describes the procedure for implementing automatic startup and stopping of JP1/IM - Manager at the time the host is started and stopped.
- Organization of this subsection
- (1) In Solaris
- (2) In AIX
(1) In Solaris
To set automatic startup and automatic stop:
- Copy the automatic startup and automatic stop scripts.
# cd /etc/opt/jp1cons
# cp -p jco_start.model jco_start
# cp -p jco_stop.model jco_stop
(2) In AIX
To set automatic startup and automatic stop:
- Copy the automatic startup and automatic stop scripts.
# cd /etc/opt/jp1cons
# cp -p jco_start.model jco_start
# cp -p jco_stop.model jco_stop
- Specify the automatic startup settings.
Use the mkitab command to add the startup entries for JP1/Base and JP1/IM - Manager to the /etc/inittab file. Perform this step in the following order:
# mkitab -i hntr2mon "jp1base:2:wait:/etc/opt/jp1base/jbs_start"
# mkitab -i jp1base "jp1cons:2:wait:/etc/opt/jp1cons/jco_start"
After you have added the above settings, use the lsitab command to check the settings.
# lsitab -a
init:2:initdefault:
brc::sysinit:/sbin/rc.boot 3 >/dev/console 2>&1 # Phase 3 of system boot
:
:
hntr2mon:2:once:/opt/hitachi/HNTRLib2/etc/D002start
jp1base:2:wait:/etc/opt/jp1base/jbs_start
jp1cons:2:wait:/etc/opt/jp1cons/jco_start
#
The settings are correct if the added entries are specified in the order of hntr2mon (Hitachi Network Objectplaza Trace Library (HNTRLib2)), jp1base, and jp1cons.
- Specify the automatic stop settings.
Use a text editor to add the stop entries for JP1/Base and JP1/IM - Manager to the /etc/rc.shutdown file.
Perform this step in the following order:
File name: /etc/rc.shutdown
:
test-x
/etc/opt/jp1cons/jco_stop
&&
/etc/opt/jp1cons/jco_stop
test-x
/etc/opt/jp1base/jbs_stop
&&
/etc/opt/jp1base/jbs_stop
:
Note:
The /etc/rc.shutdown script detects an error and cancels shutdown processing when the termination code of the last command executed is anything other than zero. Therefore, we recommend that you add a code such as the following at the end of the /etc/rc.shutdown script:
exit 0
The automatic startup and stop scripts are now enabled.
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.