setonline and setoffline
You can use one of these commands to make a workstation available or unavailable for jobs to run, or to set an event source online or offline.
Overview
You can use the setoffline command when you plan not to run a job on specific workstations. You can use the setonline command to bring back the same workstation online.
You can also use the setoffline command to set an event source offline. An offline event source does not receive any event. You can use the setonline command to set an offline event source back online.
Syntax and command line options
- Workstation
-
You can enter the command as follows. To make a workstation available to run the jobs, use the following command:
ocli plan setonline| seton workstation
Run the following command to set a workstation unavailable:ocli plan setoffline| setoff workstation
You must also specify the workstation name. After the command runs, the jobs on the offline workstation are displayed as
READY
and run after the workstation is available.
- Event source
-
You can enter the command as follows. To make an event source able to receive events, use the following command:
ocli plan setonline| seton eso eventsource
Run the following command to set a workstation unavailable:ocli plan setoffline| setoff eso eventsource
You must also specify the event source name. After the commands run, the event source status and actual status are displayed.
Examples
- Workstation
-
- Run the following command to make the
WS_AGT_0
workstation available:ocli plan setonline /WS_AGT_0
- Run the following command to make the
WS_AGT_0
workstation unavailable:ocli plan setoffline /WS_AGT_0
- Run the following command to make the
- Event source
-
- Run the following command to make the
MY_SOURCE
event source able to receive events:ocli plan setonline eso /MY_SOURCE
- Run the following command to make the
MY_SOURCE
workstation unable to receive events:ocli plan setoffline eso /MY_SOURCE
- Run the following command to make the