Guide for converting a netLD virtual appliance installation into a redundant configuration.


This document will explain the steps required in order to convert a set of standalone virtual appliances into a master/slave redundant installation.


Overview

  1. Convert netLD virtual appliance into a master server
  2. Convert a second netLD virtual appliance into a slave server
  3. Managing redundant servers

1. Convert netLD server to master server

Follow these steps to convert an existing netLD virtual appliance to a master server.

  1. Connect to the netLD server via SSH. The default credentials are: 
    Username: tcadmin
    Password: netldtcadmin

     

  2. Convert the server to a redundant master by running the following commands: 
    cd /usr/share/netld
    sudo su
    ./radmin master <slave-ip-address>
    # (the <slave-ip-address> should be the IP address of the server that the redundant slave will run on.)

     

  3. Reboot the netLD server by running the following command: 
    reboot

     

  4. Confirm that the system is configured for redundancy by logging into the netLD server via SSH and run the following command from the /usr/share/netld directory to check the current redundancy status: 
    ./radmin status


  5. The results of the command will contain the following:
    Role: master 
    Replication: configured 
    PostgreSQL: configured (not streaming) 
    Slave Host: <IP Address>



2. Convert netLD server to slave server

Follow these steps to convert the second netLD virtual appliance to a slave server.

  1. Connect to the netLD server via SSH. 
  2. Convert the server to a redundant slave by running the following commands: 
    cd /usr/share/netld 
    sudo su 
    ./radmin slave <master-ip-address> 
    # (the <master-ip-address> should be the IP address of the server that the redundant master will run on.) 
    # You will be asked to confirm overwriting the local database and for the master server's admin password 


  3. Reboot the netLD server by running the following command:
    reboot


  4. Confirm that the system is configured for redundancy by logging into the netLD server via SSH and run the following command from the /usr/share/netld directory to check the current redundancy status: 
    ./radmin status


  5. The results of the command will contain the following:
    Role: slave 
    Replication: configured 
    PostgreSQL: configured (streaming: 0/2468ACE1) 
    Slave Host: <IP Address>

3. Managing Redundant Servers

Redundant server management article