1827283 Members
3792 Online
109717 Solutions
New Discussion

MC ServiceGuard

 
SOLVED
Go to solution
Leoanrdo Bowens
Advisor

MC ServiceGuard

ServiceGuard question.

When I issue the cmviewcl command on the primary node I get an error message: Cannot read the cluster configuration. Either it does not exist, or it is corrupted, or is empty.
Excuses are tools of the incompetent.
5 REPLIES 5
Sean OB_1
Honored Contributor

Re: MC ServiceGuard

Make sure the config file exists in /etc/cmcluster and that it is readable and not corrupt.

In the mean time run the cmviewcl on one of the other nodes.

Joaquin Gil de Vergara
Respected Contributor

Re: MC ServiceGuard

check the /etc/cmcluster/cmclnodelist in all nodes nodes contain names of all nodes...

if not you must recompile your cluster

# cmapplyconf -k -v -C
(cluster must be completely stopped!!)

Good Luck!
Teach is the best way to learn
Jerome Baron
Respected Contributor
Solution

Re: MC ServiceGuard

Hi,

MC/ServiceGuard makes use of ARPA services to ensure secure communication
among the cluster nodes. This requires identification of the nodes in the
cluster that permit access by the root user on other nodes.

MC/Serviceguard uses either the /.rhosts file or the alternate
/etc/cmcluster/cmclnodelist file to validate access within an
MC/ServiceGuard cluster. Check the entries in either .rhosts or
cmclnodelist on each node to make certain there are correct entries
for each node in the cluster.

NOTE To use the security enhancement of the alternate /cmclnodelist
file instead of using .rhosts to validate access within the cluster,
requires MC/ServiceGuard version A.10.10 or higher for HPUX 10.20 or
version A.11.0 or higher for HPUX 11.0. MC/ServiceGuard will use the
cmclnodelist file if it exists; otherwise, the .rhosts file will
be used.

All nodes in the cluster must be listed either in .rhosts or the
alternate cmclnodelist file, and the file should exist on each node
in the cluster.

The following example shows correct .rhosts or cmclnodelist
file entries for a two-node cluster:

system1 root
system2 root


Fully qualified names for the nodes (system1.fff.yyy.com) are not required
or recommended. Should only use the nodename, not the full domain name.

NOTE For MC/ServiceGuard version A.10.11 or later on HP-UX 10.20 and
version A.11.04 or later on HPUX 11.0, access can also be provided for a
non-root user to run the cmviewcl command.

There are two ways in which a non-root user can run the MC/ServiceGuard
command cmviewcl. To enable a specific user to run a command, add
the user name next to the host name in the cmclnodelist file.
To allow every user to run the command, add "+" to the end of the
cmclnodelist file. Here are some examples for a two-node cluster:

The following example allows user1 and user2 to run cmviewcl on
system1 and allows user3 to run cmviewcl on system2.

system1 root
system1 user1
system1 user2
system2 root
system2 user3

The following example allows any non-root user to run cmviewcl.

system1 root
system2 root
+

Regards,
Jerome
Ashwani Kashyap
Honored Contributor

Re: MC ServiceGuard

Does the config file cmclconfig exist in the /etc/cmcluster directory . If not then edit your cluster ascii file and the do a cmapplyconf on that file . I will create the config file .
Leoanrdo Bowens
Advisor

Re: MC ServiceGuard

Thanks for the quick response to my question. The command is working now.
Excuses are tools of the incompetent.