Reference Guide

Table Of Contents
Format
svc_node [-h][-d] {status,power_on,power_off,reboot,shutdown}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-d, --debug Increase the logging level to debug and print logs to the console.
Actions
Action Description
status
Provides the network connectivity status and power status of the peer node.
power_on
Power on the peer node.
power_off
Turn off power to a node. This action is equivalent to an abrupt or hard power off.
reboot
Reboot the node.
NOTE: This action causes the node to restart immediately.
shutdown
Shut down a node by cleanly powering it off. All services are stopped in the appropriate order.
Turn a node off (svc_node power_off)
This service script is used to turn off power to a node. This script is the equivalent of a hard power off action.
Format
svc_node power_off [-h] [-d] [-f] {local,peer}
Optional arguments
Qualifier
Description
-h, --help Show the help message and exit.
-d, --debug Initiate verbose logging for debug.
-f, --force
Skip any prepower off node checks and user confirmation prompts.
Positional arguments
Qualifier
Description
local
Specify this argument to indicate that you want to turn off the local, or primary, node of an appliance.
peer
Specify this argument to indicate that you want to turn off the peer, or secondary, node of an appliance.
Service Commands 71