Data Mover provides automatic failover support when multiple Data Mover servers are configured in a dual environment. Automatic failover configuration must meet the following requirements:
- Two additional monitoring severs are available to monitor the active and standby components. It is highly recommended that you use a Viewpoint multi-purpose server for this configuration.
- Each monitoring server must be local to the site and ideally be attached to the same network as the components being monitored to avoid automatic failovers caused by network partitions.
- The DMFailover package must be installed on all servers, including the active and standby daemon, monitoring, and agent servers that are part of the cluster.
If additional monitoring servers are not available, you can enable failover by using the Data Mover synchronization service. The synchronization service alone does not support automatic failover and requires manual intervention to enable failover from active to standby components. If configuring the synchronization service without configuring automatic failover, see Configuring the Synchronization Service without Automatic Failover.
When using the synchronization service with failover, use the public IP address of the system, not the localhost hostname or the 127.0.0.1 IP address.
The following files, located in the /opt/teradata/client/nn.nn/datamover/failover/ folder, are required when using the monitoring service. Where nn.nn in the filename refers to the major and minor version numbers of Data Mover.
File | Description |
---|---|
/etc/opt/teradata/datamover/failover.properties | Specifies the active and standby components to be monitored. |
/opt/teradata/client/nn.nn/datamover/failover/dmcluster | Script for setting up SSH log on, configuring the servers in active and standby modes, starting and stopping the monitoring service, and checking the status of the active and standby components. |
/opt/teradata/client/nn.nn/datamover/failover/DMFailover.jar | Executable binary file used for automatic failover. |
/etc/opt/teradata/datamover/monitor.properties | Specifies if Server Management alerts need to be sent if the monitoring service detects a failure. This file is used only on the monitoring server. |
The following tasks must be performed to configure automatic failover:
- Verifying Data Mover Package Installation
- Setting Up Host Files or DNS
- Verifying Required Ports Open
- Defining Unique Data Mover Agent Names
- Synchronizing the Active and Standby Repositories
- Configuring ActiveMQ Broker URL Settings
- Configuring the Sync Service
- Configuring the Cluster and Starting the Monitoring Service
- Checking the Status of Active and Standby Components
- Starting the Synchronization Service
- Verifying Failover Configuration