...
...
...
Switching to GRHA Mode
Info |
---|
|
This feature is not configurable during software installation nor is it changeable during an upgrade. |
Include Page |
---|
| GRHA_not_in_SWe_Cloud |
---|
| GRHA_not_in_SWe_Cloud |
---|
|
Accomplish the following steps to switch to GRHA mode:
- Upgrade the SBC application either using LSWU or Platform Manager.
As user root, stop the standby server using the following command:
Code Block |
---|
|
# service sbx stop |
Note |
---|
The services on standby SBC server must be stopped before switching to GRHA mode since the switch to GRHA mode causes a temporary HA link outage. The script will verify the state of the servers and make the necessary changes. |
From the CLI command prompt, perform one of the steps below, depending on your configuration. For example, in SBC Core, set bond monitoring type to network-connect
and leader election algorithm type to enhanced
:
Code Block |
---|
> request system admin sbx1 setHaConfig bondMonitoring network-connect leaderElection enhanced |
Verifying GRHA Mode
Accomplish the following step to verify GRHA mode:
Code Block |
---|
|
> show table system haConfig
LEADER BOND
SERVER NAME ELECTION MONITORING
--------------------------------------------------
sbx1.eng.Ribbonnet.com enhanced network-connect
sbx2.eng.Ribbonnet.com enhanced network-connect
|
Switching Out of the GRHA Mode
To set bond monitoring type to direct-connect
and leader election algorithm type to standard
, enter the following command:
Code Block |
---|
> request system admin sbx1 setHaConfig bondMonitoring direct-connect leaderElection standard |
Verifying non-GRHA Mode
Accomplish the following step to verify non-GRHA mode:
Code Block |
---|
|
> show table system haConfig
LEADER BOND
SERVER NAME ELECTION MONITORING
--------------------------------------------------
sbx1.eng.Ribbonnet.com standard direct-connect
sbx2.eng.Ribbonnet.com standard direct-connect
|
On the standby server, execute the following command:
Code Block |
---|
|
# geoRedundHa.sh enable |
On the active server, execute the following command:
Code Block |
---|
|
# geoRedundHa.sh enable |
...
Code Block |
---|
|
# service sbx start |
Note |
---|
The standby server comes up and reconnects as standby with the GRHA mode enabled on both the machines. |
Verifying GRHA Mode
Accomplish the following steps to verify GRHA mode:
...
Code Block |
---|
|
# service sbxbond status |
...
Code Block |
---|
|
***** pbond0 status *****
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
ARP Polling Interval (ms): 100
ARP IP target/s (n.n.n.n form): 169.254.66.8 |
Checking the openclovis sys.latest
log.
After switching to GRHA mode and reconnecting to SBC, a log entry appears.
For example,
...
...