In this section:
The SBC SWe provides a configurable system administrative CLI command, ctrlAltDelete, to perform an SBC SWe switchover when the keys "Ctrl+Alt+Del" are entered the configurable N number of times (ctrAltDelCount value) within the configurable time period T (ctrAltDelCountPerSec value).
Thus, the administrator enters the “Ctrl+Alt+Del” keyboard command N times within T seconds on either the active or standby node.
- If this command is issued to the active node and the standby is running, a switchover occurs.
- If the command is issued to the standby node, a restart occurs with no service impact.
- If the command is issued to the active node without running/syncing the standby, service is impacted because the active node goes for an application restart.
If the application is down and this feature is enabled, the application restarts without checking the current role of that node.
This feature is used in HW Auto-Healing scenarios to allow the SBC SWe to switchover safely before a Nova evacuate action is performed on the SBC.
If Ctrl+Alt+Delete is pressed more than seven times in two seconds, the server reboots. This is the default behavior of the system which occurs whether the feature is enabled or disabled.
This feature is applicable only to SBC SWe (all environments). Not applicable to hardware platforms.
Command Syntax
When the ctrlAltDelete object is enabled, it manages when to switch over the SBC SWe node when "Ctrl+Alt+Del" is pressed N times within T seconds.
% set system admin <system_Name> ctrlAltDelete ctrlAltDeleteMode <disabled | enabled> ctrAltDelCount <3-6> ctrAltDelCountPerSec <1-6>
Command Parameters
Parameter | Length/Range | Default | Description | M/O |
---|---|---|---|---|
ctrlAltDeleteMode | N/A | disabled | Set this parameter to "enabled" to perform an SBC SWe node switchover when the admin presses the keyboard command "Ctrl+Alt+Del" N (ctrAltDelCount) times within T (ctrAltDelCount) number of seconds. Note: When enabled, the default values are set upon initial use of this feature. Otherwise, the parameters will equal the values previously configured. When "Ctrl+Alt+Del" is pressed on either the active or standby SBC SWe node, the application restarts without checking the current role of that node.
| Optional |
ctrAltDelCount | 3-6 | 5 | Specify the number of Ctrl+Alt+Del keyboard entries to perform within (ctrAltDelCountPerSec) number of seconds to start an SBC switchover for the node of interest. If the system does not receive (ctrAltDelCount) number of keyboard entries within the set (ctrAltDelCountPerSec) timeframe, this feature is ignored. | |
ctrAltDelCountPerSec | 1-6 seconds | 1 | Specify time window (number of seconds) to enter (ctrAltDelCount) number of Ctrl+Alt+Del keyboard commands to activate this feature. Once activated, an SBC SWe switchover occurs for the node of interest (active or standby). If the system does not receive (ctrAltDelCount) number of keyboard entries within the set (ctrAltDelCountPerSec) timeframe, this feature is ignored. |
Configuration Example
The following example depicts how to enable and configure the ctrlAltDelete
object to start a switchover of an active SBC SWe when "Ctrl+Alt+Del" is entered 4 times within 5 seconds.
set system admin vsbcSystem ctrlAltDelete ctrlAltDeleteMode enabled ctrAltDelCount 4 ctrAltDelCountPerSec 5 commit