BDRSuite Cluster Deployment Guide for Version 3.9
BDRSuite supports the deployment of multiple BDRSuite Server instances (Nodes) in a cluster for load balancing client requests. This document outlines the clustering process and provides guidance on setting up BDRSuite for version 3.9.
How BDRSuite Clustering Works:
Each BDRSuite Backup Server instance consists of BDRSuite Web Server and the BDRSuite Application. The Vembu BDR Web Server by default listens on port 6060 (and 6061 if HTTPS is enabled) and addresses the Web Service requests from the clients. The BDRSuite Application listens on port 32004 (and 32007 if SSL is enabled) and accepts the backup and restore requests from the clients. The BDRSuite Application of each Backup Server instance access a common RDBMS database and a common backup storage. This enables the BDRSuite Backup Server instances running from different systems to share the backend database and serve the backup/restore requests of the BDRSuite clients independently.
Recommendations:
- Install PostgreSQL with VembuBDR installer in a physical machine and dedicate it to PostgreSQL database alone in order to handle huge requests from clients separately rather than setting up a database in the same machine where the application is running. This would be helpful in extreme conditions when the main server goes down so database files would be safe.
- Also, keep the storage files of PostgreSQL in common location which helps to rebuild the PostgreSQL server if it goes down.
- Allocate static IP/DNS to all server nodes.
Configuring Master Node:
- Install BDR server and after the installation has completed, make sure that you uncheck Start BDR Server and Open Web Console in the installation wizard. This will never start 'VembuBDR' service.
- Navigate to <vembubdr installation="" location="">\Vembu\VembuBDR\conf\. Open SGConfiguration.conf file in any text editor.
- Search for Cluster Enabled="0" and replace it with attribute Cluster Enabled="1"
- Search for "ClusterName" and name your Cluster setup, say: ClusterName="BDRCluster"
- Search for "NodeLookupNameIP" and "InternalIPAddress" and configure master node IP address to it.
- Leave other cluster attribute like "AlgorithmType", "NodeAllocation" and "NodeHealthStatusTimeout" to its default value. For example: <cluster enabled="1" clustername="BDRCluster" nodelookupnameip="10.5.50.78" internalipaddress="10.5.50.78" algorithmtype="2" nodeallocation="0" nodehealthstatustimeout="600"/> Say, IP of the master node is 10.5.50.78.
- Search for the attribute “Database UseODBC” and replace all the attributes as shown below. Here, in the attribute “HostName” enter the IP of the dedicated PostgreSQL server. For example: <database useodbc="2" dsname="PostGreDBConnection" databasename="SGDatabase" hostname="10.5.50.75" username="postgres" password="admin" connectionpooling="1" splitdatabase="1" splitlevel="2"/> Say, IP of the PostgreSQL server is 10.5.50.75.
- Now edit config.php file in location: <vembubdr installation="" location="">\Vembu\VembuBDR\htmlgui\consumerweb\secure. Note: This file is edited to sync database string values that are mentioned in SGConfiguration.conf file. Values that needed to be changed are given below:
- define("ser_main_server_dns" , ‘10.5.50.78’); //IP Address of master node
- define("DB_SERVER" , ‘10.5.50.75’); // IP Address of PostgreSQL server
- define("DB_NAME" , "SGDatabase");
- define("DB_USER" , "postgres");
- define("DB_PASS" , "admin");
- define("DSN_NAME" , "PostGreDBConnection");
- Note: These settings should remain same across all cluster nodes.
- Save and exit the file.
- Open apiutility.php file from location: <vembubdr installation="" location="">\Vembu\VembuBDR\htmlgui\common\server
- Look for “if(S3_Enabled==1)” and replace it with “if(S3_Enabled==0)”. Save and close the file.
Configuring Failover Node:
Follow the first step in master node configuration and after that:
- Open SGConfiguration.conf file and make all the changes as mentioned above but in "NodeLookupNameIP" and "InternalIPAddress", enter the IP of the failover node i.e., enter the IP of the local machine.
- Make sure that the cluster name is same on all the nodes that are configured.
- After edit and save, SGConfiguration.conf file must be like: <cluster enabled="1" clustername="BDRCluster" nodelookupnameip="10.5.50.79" internalipaddress="10.5.50.79" algorithmtype="2" nodeallocation="0" nodehealthstatustimeout="600"/> Say, IP of the failover node is 10.5.50.79
- Search for the attribute “Database UseODBC” and replace all the attributes as shown below. Here, in the tag “HostName” enter the IP of the dedicated PostgreSQL server. For example: <database useodbc="2" dsname="PostGreDBConnection" databasename="SGDatabase" hostname="10.5.50.75" username="postgres" password="admin" connectionpooling="1" splitdatabase="1" splitlevel="2"/> Say, IP of the PostgreSQL server is 10.5.50.75
- After the above configuration, follow all the steps as mentioned in Master node configuration.
Configuring Database Connection Strings:
These configurations must be done in the machine that is dedicated for PostgreSQL database storage alone.
- Open Pg_hba.conf file using any text editor from location: <postgres installation="" location="">\Postgresql\Data\ Add the following lines under IPV4 local connections.
- With IP Address of both master node and failover node
- host all all 10.5.50.78/0 md5
- host all all 10.5.50.79/0 md5
- If there are any number of failover nodes, add the IP of all the nodes. After editing the file, save it and restart the PostgreSQL from services.msc.
Configuring Database Connector (ODBC):
- Search for ODBC Connection from Start and select ODBC Data Source (64 bit) or in the terminal, type “C:\Windows\System32\odbcad32.exe”
- Select SystemDSN tab.
- Choose 64-bit “PostGreDBConnection” and add the server as your PostgreSQL server’s IP address.
- If 10.5.50.75(PostgreSQL server) is your PostgreSQL IP address, You will see something similar to below pic
- Do a test connectivity, on success - save the configuration.
- Now do the same operation for the 32-bit connector. Open the command terminal and type C:\Windows\Syswow64\odbcad32.exe or search ODBC Data Source (32-bit)
- Choose 32-bit “PostGreDBConnection” and add the server as your PostgreSQL server’s IP address.
Note: The above settings should be followed in all the cluster nodes. VembuBDR cluster configuration is done. Now start the master node following all the failover nodes. Configuring Client:
These steps should be followed for any client (Vembu Network backup, Image backup or VMbackup clients) to be connected with VembuBDR Cluster. Consider network backup client here.
- In any Client, open SGConfiguration.conf file in any text editor from the location, <vembubdr installation="" location="">\Vembu\VembuNetworkBackup\conf\
- Search for the attribute “ServerLookup Enabled” and change the value as given below: <serverlookup enabled="1" sslenabled="1" httpport="6060" httpsport="6061"/>
Note: This has to be done in all the clients that connect with VembuBDR cluster.
BDRSuite OffsiteDR Cluster:
For BDRSuite OffsiteDR cluster, follow the exact same steps as in BDR.
- Before starting exe of VembuOffsiteDR, in SGConfiguration.conf file in location : <vembuoffsitedr installation="" location="">\Vembu\VembuOffsiteR\conf\, after changing the values for Cluster enabling, add an additional tag NodeProcessType = “1” Therefore, SGConfiguration.conf file must be like, <cluster enabled="1" clustername="ODRCluster" nodelookupnameip="10.5.50.80" internalipaddress="10.5.50.80" algorithmtype="2" nodeallocation="0" nodehealthstatustimeout="600" nodeprocesstype="”1”/"> Say, IP of the master node is 10.5.50.80 This must be done in all cluster nodes.Then start the master node followed by all failover nodes.
- For a BDR to replicate to OffsiteDR cluster, open SGConfiguration.conf file in VembuBDR and search for the attribute “ServerLookup Enabled”. Change the values as mentioned below: <serverlookup enabled="1" sslenabled="1" httpport="6060" httpsport="6061"/>
- OffsiteDR cluster has been configured. Now backups from the BDR are replicated to OffsiteDR cluster.
- Similarly, BDRSuite Cluster and BDRSuite OffsiteDR Cluster setups can also be configured by following the procedures mentioned above.
By following these procedures, both BDRSuite Cluster and BDRSuite OffsiteDR Cluster setups can be successfully configured.
Related Articles
BDRSuite Software Upgrade Guide
Overview The BDRSuite provides software updates as follows: Manual upgrade for BDRSuite Servers: BDRSuite Backup Server and Offsite DR Servers have to be manually upgraded when a new version is released. Users can upgrade servers by downloading the ...
Converting Standalone BDRSuite Server to Cluster Setup
KB ID: 102152 Objective: This guide outlines the steps to convert a Standalone BDRSuite Backup Server into a Cluster Setup. Note that the Standalone server can only be configured as a new Cluster setup, where it will function as both the Main Node ...
BDRSuite Automatic Software Update Guide
KB ID: 99 Overview: The BDRSuite offers software updates through manual upgrades for BDRSuite Servers (Backup Server and Offsite DR Servers) and automatic upgrades for BDRSuite Clients. This guide provides steps for upgrading each component to ensure ...
BDRSuite/ BDRCloud - Bulk Installation of Backup Agents - Group Policy Object (GPO) Deployment:
KB ID: 115216 Overview This guide provides step-by-step instructions for deploying the BDRSuite Delegation Service or BDRCloud Backup Agent to multiple endpoints using Group Policy Objects (GPO). It includes the process for generating MST files using ...
Addressing Credential Issues while Adding Hyper-V Cluster in BDRSuite
KB ID: 117042 Cause: The alert "Seems provided credentials do not have administrative privilege/Invalid credentials. Please provide proper credentials" occurs when users provide invalid credentials while attempting to add a Hyper-V Cluster in the ...