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
- Convert netLD virtual appliance into a master server
- Convert a second netLD virtual appliance into a slave server
- Managing redundant servers
1. Convert netLD server to master server
Follow these steps to convert an existing netLD virtual appliance to a master server.
- Connect to the netLD server via SSH. The default credentials are:
Username: get master username from support Password: get master password from support
- 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.)
- Reboot the netLD server by running the following command:
reboot
- 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
- 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.
- Connect to the netLD server via SSH.
- 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
- Reboot the netLD server by running the following command:
reboot
- 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
- The results of the command will contain the following:
Role: slave Replication: configured PostgreSQL: configured (streaming: 0/2468ACE1) Slave Host: <IP Address>