IBM Version 52 Computer Accessories User Manual


 
3 - Complete the current business process.
What to do next
Important: A soft stop does not stop all JVMs and system processing. To fully
stop the system, you must perform a hard stop after the soft stop is complete. For
instructions, see “Hard Stop of Sterling B2B Integrator” on page 120.
Soft Stop opscmd Commands
You can use opscmd commands to run commands from the command line for each
step of the soft stop process.
The following opscmd commands allow you to run commands from the command
line for each step of the soft stop process. The chart shows the UNIX command.
For Windows, use the opscmd.cmd command with the same parameters.
Action Command
Marking a node
unavailable
opscmd.sh -cMarkNodeUnavailable -pname=node_name
Marking a node
available
opscmd.sh -cMarkNodeAvailable -pname=node_name
Block a queue or all
queues
opscmd.sh -cBlockQueue -pname=node_name -pid={queue_id | all}
[ -pbpCompletionPolicy={1 | 2 | 3} ]
queue_id can be 1-9 or (for all queues).
Unblock a queue or
all queues
opscmd.sh -cUnblockQueue -pname=node_name -pid={queue_id |
all}
Drain a queue or all
queues
opscmd.sh -cDrainQueue -pname=node_name -pid={queue_id | all}
[-pbpDrainPolicy={1 | 2 | 3 | 4}]
Note: If the business process completion policy is the default value
of Finish Business Process (pbpCompletionPolicy=1), then the
specified drain policy will be honored. If the business process
completion policy is Finish Current Step (pbpCompletionPolicy=2)
or Finish Current Execution Cycle (pbpCompletionPolicy=3), then
the drain policy will be Drain ALL BPs.
Note: This is an asynchronous command. Use the
cGetDrainQueueStatus command to see the status of the queue
draining.
See the status of the
queue draining
opscmd.sh -cGetDrainQueueStatus -pname=node_name
-pid={queue_id | all}
Move Schedules to
another node and
stop the scheduler
opscmd.sh -cStopScheduler -pname=node_name
[-pFailoverNodeName=node_name]
Note: If the failover node is not specified, the system will
automatically pick one for you, if possible.
Signal adapters for
softstop
opscmd.sh -cPrepareStopAllAdapters -pname=node_name
Stop all adapters
Note: You can also
shut down adapters
using the graceful
adapter shutdown
tool. For more
information, see
Graceful Adapter
Shutdown.
opscmd.sh -cStopAllAdapters -pname=node_name
[-pTimeoutForAdapters=time_out_in_seconds]
Performance Management 117