Schedule an outage for a service


A scheduled outage is planned to happen and recurs at regular intervals for maintenance. You can define a scheduled service outage using two scheduled task policies:

Both policies use the ovowserviceutil command line tool.

To schedule an outage for a service

  1. Create a scheduled task policy.
  2. In the Task tab, choose Command as task type.
  3. Select the %OvInstallDir%\bin\ovowserviceutil.cmd command line tool with the following options:
    -outage_service
    Sets the outage state for the service.
    -service_name <service_name>
    The name of the service to move into scheduled outage.
    -scheduled
    Sets the scheduled outage state.
    -on
    Enables the outage state for the service.
    -delete_msgs
    Specifies that messages from the service are deleted during the scheduled outage.
  4. In the Schedule tab, specify the start date and time for the outage.
  5. Save the policy.
  6. Create a second scheduled task policy.
  7. In the Task tab, choose Command as task type.
  8. Select the %OvInstallDir%\bin\ovowserviceutil.cmd command line tool with the following options:
    -outage_service
    Sets the outage state for the service.
    -service_name <service_name>
    The name of the service to move into scheduled outage.
    -off
    Disables the outage state for the service.
  9. In the Schedule tab, specify the end date and time for the outage.
  10. Save the policy.
  11. Deploy both policies to the management server node.

Related Topics: