A scheduled outage is planned to happen and recurs at regular
intervals for maintenance. You can define a scheduled node outage
using two scheduled task policies:
The first scheduled task policy defines the following:
Start date and time
Managed node, external node, or node group to put into
scheduled outage
Whether to delete or acknowledge messages during outage
Whether to enable or disable heartbeat polling during
outage
The second scheduled task policy defines the following:
End date and time
Managed node, external node, or node group to move out of
scheduled outage
Both policies use the ovownodeutil command line
tool.
To schedule an outage for a managed node, external node, or
node group
Create a scheduled task policy.
In the Task tab, choose Command as task
type.
Select the %OvInstallDir%\bin\ovownodeutil.cmd
command line tool with the following options:
Managed nodes or node groups:
-outage_node
Sets the outage state for the node.
-node_name <node_name> or -node_id
<node id>
The primary name or the ID of the node to move into scheduled
outage mode.
-group_path <hierarchy path> or
-group_id <group id>
The hierarchical path or the ID of the node group to move into
scheduled outage mode.
-scheduled
Sets the scheduled outage state.
-on
Enables the outage state for the node or node group.
-delete_msgs
Specifies that messages from the node are deleted during the
scheduled outage.
-disable_heartbeat
Specifies heartbeat polling to be switched off during the
scheduled outage.
External nodes or node groups:
-outage_exnode
Sets the outage state for the external node or node group.
-exnode_path <external node hierarchical
path> or -exnode_id <node id>
The hierarchical path or the ID of the external node to move
into scheduled outage.
-group_path <hierarchy path> or
-group_id <group id>
The hierarchical path or the ID of the node group to move into
scheduled outage mode.
-scheduled
Sets the scheduled outage state.
-on
Enables the outage state for the external node or node
group.
-delete_msgs
Specifies that messages from the external node are deleted
during the scheduled outage.
In the Schedule tab, specify the start date and time for
the outage.
Save the policy.
Create a second scheduled task policy.
In the Task tab, choose Command as task
type.
Select the %OvInstallDir%\bin\ovownodeutil.cmd
command line tool with the following options:
Managed nodes or node groups:
-outage_node
Sets the outage state for the node or node group.
-node_name <node_name> or -node_id
<node id>
The primary name or the ID of the node to move out of scheduled
outage mode.
-group_path <hierarchy path> or
-group_id <group id>
The hierarchical path or the ID of the node group to move out
of scheduled outage mode.
-off
Disables the outage state for the node or node group.
External nodes or node groups:
-outage_exnode
Sets the outage state for the external node or node group.
-exnode_path <external node hierarchical
path> or -exnode_id <node id>
The hierarchical path or the ID of the external node to move
out of scheduled outage mode.
-group_path <hierarchy path> or
-group_id <group id>
The hierarchical path or the ID of the node group to move out
of scheduled outage mode.
-off
Disables the outage state for the external node or node
group.
In the Schedule tab, specify the end date and time for
the outage.
Save the policy.
Deploy both policies to the management server node.