Use the following instructions to remove a high availability environment from a cluster. Mention of nn.nn in any filepath refers to the major and minor version numbers of Data Mover.
-
From the active daemon in the /opt/teradata/client/nn.nn/datamover/failover/ directory, run the following command:
./dmcluster configactivemq -e false
-
From the standby daemon in the /opt/teradata/client/nn.nn/datamover/failover/ directory, run the following command:
./dmcluster configactivemq -e false
-
On the active daemon, find the active monitor server by running the following command:
./dmcluster status
-
From the active monitor server in the /opt/teradata/client/nn.nn/datamover/failover/ directory, run the following command:
./dmcluster stopmonitor
-
On both the active and standby daemons in the /etc/opt/teradata/datamover directory, edit the daemon.properties, tdmrest.properties, and agent.properties files with the following values:
- cluster.enabled = false
- broker.url = localhost
-
Edit the commandline.properties file with the following values:
dm.rest.endpoint=https://localhost:1443/datamover
- From the /opt/teradata/datamover/sync/nn.nn/ directory, run ./dmsync dropconfig to remove the synchronization service from the active to standby repository, see Dropping Existing Synchronization Service.
-
From the active daemon, edit the following properties in the failover.properties file as localhost in the /etc/opt/teradata/datamover directory:
- local.daemon.host
- remote.daemon.host
- local.monitor.host
- local.repository.host
- remote.repository.host
- local.agents.host
- remote.agents.host
-
On both the active and standby daemon, restart the tdactivemq, daemon, REST, and agent services.
/etc/init.d/tdactivemq stop/etc/init.d/tdactivemq start/etc/init.d/dmdaemon stop/etc/init.d/dmdaemon start/etc/init.d/dmagent stop/etc/init.d/dmagent start/etc/init.d/tdmrest stop/etc/init.d/tdmrest start
- On both the active and standby daemon, run the datamover list_agents command to verify the daemon is connected to ActiveMQ and running on localhost.