1752615 Members
4507 Online
108788 Solutions
New Discussion юеВ

cm commands?

 
Roger Baptiste
Honored Contributor

cm commands?

Hi,

There are certain Cm commands whose purpose seems similar.
For eg,
cmquerycl, cmgetconf, cmviewconf

all seem to generate "almost" similar
output, based on their options.

My question is, when do we
use one over the other? All
the docs specify the purpose
of the commands , but leave
the option of when to choose
one command or over other somewhat open. With such
a thin dividing line between
the functions of the commands,
it gets sort of confusing. (ofcourse,
i am relatively new to SG).

Would appreciate to hear expert's opinions.

thanks
raj

Take it easy.
2 REPLIES 2
melvyn burnard
Honored Contributor

Re: cm commands?

cmquerycl is certainly NOT similar to cmgetconf or cmviewconf.
It is primarily used to create an initial ascii file for editing prior to configuring a new cluster, but could also be used as a troubleshooting tool, as it looks at what the systems in the cluster can "see" is available to be used.

cmgetconf is used to build the ascii file from an EXISTING cluster binary file.

cmviewconf allows you to read the binary and see what is actually built into the cluster, and includes information kept nowhere else, including the MAC address of the various lan cards built into the cluster.

I would recommend taking the MC/ServiceGuard course if you are new to MC?SG as a lot of this would be explained to you in that course.
Also read the manuals available at:
http://www.docs.hp.com/hpux/ha
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Stephen Doud
Honored Contributor

Re: cm commands?

If you have access to the technical database, check out this article:
UXSGKBAN00000033 : ServiceGuard Quick Reference

It describes the function of each command as well as a summary of the syntax.

It also has other several other useful pieces of information.