Guide for converting a netLD installation into a redundant configuration.
This document will explain the steps required in order to convert a standalone Linux installation of Linux into a master/slave redundant installation on two Linux servers.
Convert an existing netLD server to use postgresql database
Configure standalone server as redundant master
Install netLD slave system
1. Convert netLD server to use postresql database
Note: For users of version 14.06, the latest full installer must be executed before performing this procedure. The online update mechanism in 14.06 didn't update all of the database tools so some of the steps might not function properly without having run the latest installer.
Stop the netLD service using the following command
service netld stop
Start the netld postgresql database service using the following command
service netld-pgsql start
- Convert the derby database to postgresql by running the following commands
cd /usr/share/netld ./dbutil -db=pgsql reset ./dbutil convert_derby_to_pgsql
Start the netld server using the following command
service netld start
- Confirm that the database was properly migrated by logging in to the netLD user-interface.
2. Configure standalone server as master
Now that the netLD server is configured to use postgresql, we can enable it as a redundant master server.
Stop the netld and netld-pgsql services by running the following commands
service netld stop service netld-pgsql stop
Convert the server to a redundant master by running the following commands
cd /usr/share/netld ./radmin master <slave-ip-address> # (the <slave-ip-address> should be the IP address of the server that the redundant slave will be run on.)
Restart the netld-pgsql and netld services by running the following commands
service netld-pgsql start service netld start
Confirm that the system was logging into the netLD user-interface. You can also run the following command from the /usr/share/netld directory to check the current redundancy status:
3. Install the netLD slave system
The final step is to install the netLD redundant slave.
- Run the netld installer for the slave on the desired server using the --slave installer switch
Enter the master server’s IP address when the installer asks for it
- The installer will then ask for the netld “admin” user’s password of the master server.
- The database will be copied from the master server to this new slave and the redundancy configuration will be automatically set up.
You can check the current redundancy status by running the following command from the /usr/share/netld directory