Skip to content

How to restart viewpoint DCS (data collector services) in Cluster environment?

To restart viewpoint DCS (data collector services) in cluster environment, you have to follow below steps:
1) Check which viewpoint server is active and standby.

Viewpoint1:~#cat /etc/opt/teradata/viewpoint/distributed.cluster.properties

#Tue, 19 Jan 2016 11:46:11 -0500
#
# Distributed viewpoint cluster properties.
#
active.database.host=viewpoint1 <<<active
standby.database.host=viewpoint2 <<standby
2) Run below command on standby viewpoint server to stop DCS.

Viewpoint2:~#/etc/init.d/dcs stop
Shutting down DCS done
3) Now run below commands to stop and then start DCS in primary server.

Viewpoint1:~#/etc/init.d/dcs stop
Shutting down DCS done

Viewpoint1:~#/etc/init.d/dcs start
Starting DCS done
4) Now check the status of DCS to make sure its running in primary server.

Viewpoint1:~#/etc/init.d/dcs status
Checking for DCS: running
5) Run below command to start DCS in secondary server and verify that its running now.

Viewpoint2:~#/etc/init.d/dcs start
Starting DCS done

Viewpoint2:~#/etc/init.d/dcs status
Checking for DCS: running