Class: IControl::System::Failover
- Inherits:
-
Base
- Object
- Base
- IControl::System::Failover
- Defined in:
- lib/icontrol/system/failover.rb,
lib/icontrol/system.rb
Overview
The Failover interface enables you to manipulate a device’s fail-over states. For example, you can get the state, active or standby, in which a device is running in a redundant configuration. You can also switch a device’s state from active to standby.
Defined Under Namespace
Classes: FailoverMode, FailoverModeSequence, FailoverState, FailoverStateSequence
Instance Method Summary collapse
-
#failover_mode ⇒ FailoverMode
Gets the current fail-over mode that the device is running in.
-
#failover_state ⇒ FailoverState
Gets the current fail-over state that the device is running in.
-
#is_redundant ⇒ boolean
Checks to see if this device is part of a redundant pair.
-
#peer_address ⇒ String
Gets the peer IP address(es) in a redundant pair.
-
#set_failback ⇒ Object
Restores an active-active device configuration after a failure.
-
#set_offline ⇒ Object
Sets the device to "forced offline“ state.
-
#set_offline_release ⇒ Object
Sets the device to release the "forced offline“ state.
-
#set_standby ⇒ Object
Sets the device to standby mode.
-
#version ⇒ String
Gets the version information for this interface.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class IControl::Base
Instance Method Details
#failover_mode ⇒ FailoverMode
Gets the current fail-over mode that the device is running in.
22 23 24 |
# File 'lib/icontrol/system/failover.rb', line 22 def failover_mode super end |
#failover_state ⇒ FailoverState
Gets the current fail-over state that the device is running in.
33 34 35 |
# File 'lib/icontrol/system/failover.rb', line 33 def failover_state super end |
#is_redundant ⇒ boolean
Checks to see if this device is part of a redundant pair.
65 66 67 |
# File 'lib/icontrol/system/failover.rb', line 65 def is_redundant super end |
#peer_address ⇒ String
Gets the peer IP address(es) in a redundant pair. There will be a primary address and possibly a secondary address. The primary will be the first entry in the returned list.
46 47 48 |
# File 'lib/icontrol/system/failover.rb', line 46 def peer_address super end |
#set_failback ⇒ Object
Restores an active-active device configuration after a failure. You can only use this command after the DB key "Failover.ManFailBack“ has been created, and set to a value of "enable”.
77 78 79 |
# File 'lib/icontrol/system/failover.rb', line 77 def set_failback super end |
#set_offline ⇒ Object
Sets the device to "forced offline“ state.
87 88 89 |
# File 'lib/icontrol/system/failover.rb', line 87 def set_offline super end |
#set_offline_release ⇒ Object
Sets the device to release the "forced offline“ state.
97 98 99 |
# File 'lib/icontrol/system/failover.rb', line 97 def set_offline_release super end |
#set_standby ⇒ Object
Sets the device to standby mode.
107 108 109 |
# File 'lib/icontrol/system/failover.rb', line 107 def set_standby super end |
#version ⇒ String
Gets the version information for this interface.
54 55 56 |
# File 'lib/icontrol/system/failover.rb', line 54 def version super end |