Updating the Distributed DDNS Data Node database cluster allows you to take advantage of new features, while maintaining support of your DDNS Data Node database cluster software. Performing a rolling update can be time consuming, depending on the size of the database and the number of nodes that exist in the cluster. During the database update, the cluster operates at a reduced capacity while nodes update.
Once you have upgraded the Distributed DDNS Application Node to v22.1, you can use the DDNS Deployment page to upgrade the other components.
- Switch DB—displays a list of all current database nodes in
the clusters as IP addresses. The list can take up to two minutes to populate when
selected. You can perform the following actions:
- Display which database node that the application node is currently connected to.
- Switch the database connection of the application node to a different database node.
—displays whether a new version of database node software is available for upgrade. The application node polls the node for the current software version to determine whether an updated version is available.
—displays whether a new version of service node software is available for upgrade. The application node polls the node for the current software version to determine whether an updated version is available.
—the application node cannot connect to the service node or database node.
Performing a rolling update of the database cluster
- Click the
next to the database node that you would like to upgrade. The Upgrade Database Node window opens.
- Within the Authentication section, select either Password or SSH and provide the corresponding authentication information.
- Under Repository, enter the following information:
- Image: enter the default URL for the database Docker image
- User and Password: enter your Quay or local repository username and password.
- Click Upgrade.
- Check for the current status of the database nodes in the database cluster, such as the total number of nodes and number of primary nodes.
- Check for the external client connections to the database node and show all client IP addresses.
- Check for the internal connections within the database node and display their process IDs.
The upgrade process displays any errors reported and successful messages. Once the node has successfully installed the updated software, you can verify the upgrade status from the Database Nodes page. Verify that the node has successfully joined the cluster and has synchronized by checking the MariaDB service logs. For more information, refer to Configuring MariaDB service.
If the node updated successfully and reconnected to the cluster, you can proceed to update the next node in the cluster.
After the upgrade
- Check the log files on the Distributed DDNS Application Node to verify that the update was successful. In particular, check the log of the MariaDB service on the DDNS Application.
- Check the status of the Auto Backup, Auto Scavenge, and Sync Data daemons on the updated Distributed DDNS Application Node. If the daemons do not start automatically on any data node, start them on any node in the cluster. The daemons only need to run on one of the Data Nodes in the cluster.
Performing a database schema update
- Click
. A window opens confirming the database schema upgrade.
- Click OK
The database schema upgrade starts. Once the database schema has been updated, the remaining nodes in the cluster install the updated schema through replication.