Configuring N+1

Ruckus IoT Controller N+1 high availability (HA) feature ensures high system availability, reliability and scalability of the controller, and also enables load balancing, backup, and failover. To configure an HA cluster, all the hosts in the cluster must have access to the same shared storage, which allows virtual machines (VMs) on a given host to fail over to another host without any downtime in the event of a failure.

Before beginning to use N+1, pay attention to the following prerequisites for configuring the master and slave:
  • The master and slave must be in the same subnet and reachable.
  • The master and slave must be configured with static IP addresses.
  • The master and slave must be running the same version.
  • The master and slave must have a synchronized date and time.
  • The master and slave must have different host names.
  • The slave services must be started for N+1 to work.

Configuring Static Addresses for Master and Slave

The static IP addresses of the master and slave can be configured in two ways:
  • From the Ruckus IoT Controller main menu, select Admin > VM Configurations.
  • Set the static address of the master and slave on the Initialization page. Refer to Logging In to Ruckus IoT Controller.

Configuring the N+1 Feature

After configuring the static IP addresses for master and slave, N+1 can be enabled by performing the following steps.
  1. Log in to the console of the Ruckus IoT Controller.
  2. Enter 5 in the Enter Choice field.
    Figure 1. Ruckus IoT Controller Main Menu
  3. Enter 1 to continue the configuration.
    Figure 2. Continuing the Configuration
  4. To configure the master, enter 1 and type the IP address of the slave in the Enter Slave IP field.
    Figure 3. Configuring the Master
  5. Type the preferred IP address in the Enter preferred Virtual IP field.
    Note: The Preferred Virtual IP should not be same as master or slave IP.
    Figure 4. Entering the Preferred Virtual IP Address
  6. Enter Y to continue with the N+1 configuration.
    Figure 5. Completing the Master Configuration
    After the master configuration has completed, the slave configuration begins.
    Figure 6. Continuing with the Slave Configuration
    Figure 7. N+1 Configuration Completed
    You have configured N+1 successfully.
  7. To verify the IP addresses of the master or active master, and the slave or active slave, enter 5 in the Enter Choice field.
    Figure 8. Verifying the IP Address of the Active Master
    Figure 9.
  8. To replace the slave , enter 3.
    Figure 10. Replacing the Slave IP Address
    Figure 11. Successful Completion of Replacing the Node
  9. To enable Forced Fallback, enter 3 and y to continue the configuration.
    Figure 12. Configuring Forced Fallback
  10. To replace the master, enter 3.
    Figure 13. Replacing the Master
  11. Enter the IP address of the master.
    Figure 14. Continuing with Replacing the Master
    Replacing the master has been successfully completed.
    Figure 15. Completion of Replacing the Master