1833758 Members
2929 Online
110063 Solutions
New Discussion

cmclnodelist

 
SOLVED
Go to solution
SSP_1
Regular Advisor

cmclnodelist

Hi Experts,

I want to add permission to view cluster status to some normal users. These users [10 Nos] are grouped as "sysadmin" group. Would I be able to grant a permission to a group instead of individual users.

I believe the file is "/etc/cmcluster/cmclnodelist" but after I add the users to it then also it's not happening. Any services to restart?

Please help
Shripad
Obstacles exist to challenge you to keep going. Not to quit.
7 REPLIES 7
Sridhar Bhaskarla
Honored Contributor
Solution

Re: cmclnodelist

Hi Sripad,

If you are using 11.16 version, then cmclnodelist and .rhosts entries will no more be applicable. For earlier versions, make sure you configure this file with the actual names of the servers you specified in your cluster configuration file. Try with different combinations (IP address, fully qualified domain name, short name ) and see which works. You cannot specify a group in this file. The format is " "

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Slawomir Gora
Honored Contributor

Re: cmclnodelist

Hi,

You can also use sudo command to grant
a permission to a group for cmviewcl command.
Bharat Katkar
Honored Contributor

Re: cmclnodelist

Shripad,
Do not add the entire group to access the CM related command..it's not recommended..
Identify couple of resposible users and add then to cmnodelist file as suggested earlier.
Regards,
You need to know a lot to actually know how little you know
Geoff Wild
Honored Contributor

Re: cmclnodelist

If 11.15 or older:

In /etc/cmcluster/cmclnodelist:

servername userid

If 11.16, in the cluster ascii file:

# Example: to configure a role for user john from node noir to
# administer a cluster and all its packages, enter:
USER_NAME john
USER_HOST noir
USER_ROLE FULL_ADMIN

For monitor,

USER_ROLE monitor


Then cmapplyconf

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Prashant Zanwar_4
Respected Contributor

Re: cmclnodelist

Yes, I will also suggest the same. Try with one user first with whatsoever combinations you want to try. Work out your list of reasonable users and apply the above to it.
Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
melvyn burnard
Honored Contributor

Re: cmclnodelist

Have a read of the Managing Serviceguard manual available at:
http://docs.hp.com/hpux/ha
Pick the manual for the version you are running and look in the manual for the methodology of configuring non-root users to do cmviewcl
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
SSP_1
Regular Advisor

Re: cmclnodelist

Hi All ,

Thanks a lot for your valuable support . I am able to solve the problem of cmclnodelist. It requires entries in individual ids and not in group .
Obstacles exist to challenge you to keep going. Not to quit.