3.3.1 Setting up automatic startup and automatic stop when a logical host operates in a non-cluster system (for Windows)
-
Use a text editor to add the following description to the start sequence definition file (JP1SVPRM.DAT):
Storage destination: Base-path\conf\boot\JP1SVPRM.DAT
[Jp1BaseEvent_logical-host-name] Name=JP1/BaseEvent_logical-host-name ServiceName=JP1_Base_Event logical-host-name [Jp1Base_logical-host-name] Name=JP1/Base_logical-host-name ServiceName=JP1_Base_logical-host-name StopCommand=jbs_spmd_stop.exe -h logical-host-name [JP1/IM-Manager DB Cluster Service_logical-host-name] Name=JP1/IM-Manager DB Cluster Service_logical-host-name ServiceName=HiRDBClusterService_JMn StopCommand=Manager-path\bin\imdb\jimdbstop.exe -h logical-host-name [Jp1IM-Manager_logical-host-name] Name=JP1/IM-Manager_logical-host-name ServiceName=JP1_Console_logical-host-name StopCommand=jco_spmd_stop.exe -h logical-host-name
JMn: For n, specify the same value as that specified for LOGICALHOSTNUMBER in the cluster setup information file.
The command specified by the StopCommand parameter is executed when JP1/Power Monitor shuts down the host.
- Important
-
When you use JP1/Power Monitor to start or stop the host on which JP1/IM - Manager starts, specify a command such as a batch file for executing net stop IM-database-service-name in the StopCommand parameter of the start sequence definition file of JP1/Base.