3.3.2 Setting up automatic startup and automatic stop when a logical host operates in a non-cluster system (for AIX)
-
Use the mkitab command to add the following description to the /etc/inittab file:
# mkitab -i hntr2mon "jp1base:2:wait:/etc/opt/jp1base/jbs_start.cluster logical-host-name" # mkitab -i jp1base "jp1cons:2:wait:/etc/opt/jp1cons/jco_start.cluster logical-host-name"
Adding this description executes JP1 service startup processing during system startup.
-
Use a text editor to add the following description after the description of the product that requires JP1/Base and JP1/IM - Manager in /etc/rc.shutdown:
test -x /etc/opt/jp1cons/jco_stop.cluster && /etc/opt/jp1cons/jco_stop.cluster logical-host-name test -x /etc/opt/jp1base/jbs_stop.cluster && /etc/opt/jp1base/jbs_stop.cluster logical-host-name test -x /opt/hitachi/HNTRLib2/etc/D002stop && /opt/hitachi/HNTRLib2/etc/D002stop
Adding this description executes JP1 service stop processing during system stop.