How can I verify that a remote machine is part of a Veritas cluster?
I just created the following ssh command to verify if the remote machine is a VRTS cluster or a Linux availability Red Hat cluster
LinuxTSR=198.23.12.5
ssh LinuxTSR "ls /usr/sbin/clustat /opt/VRTS 2>/dev/null" | wc -l
If I get number that is different from 0, it is a VRTS or Red Hat cluster. But this approach isn't so elegant. Please help me to find more elegant way in order to verify if the remote machine is in a cluster.