<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
For the /usr/sbin/clustat to work for the basic user you must set uid.<br>
<br>
chmod u+s /usr/sbin/clustat<br>
<br>
You do not need sudo for this command to work. Now for clusvcadm. I
would set up sudo for this, that way<br>
you can limit the users.<br>
<br>
Andrew Beekhof wrote:
<blockquote
 cite="mid:AANLkTimjg0ADMaiT+V6A2=EVUnUciiQhmQkhnOg4o2N=@mail.gmail.com"
 type="cite">
  <pre wrap="">On Thu, Jan 27, 2011 at 10:56 AM, Parvez Shaikh
<a class="moz-txt-link-rfc2396E" href="mailto:parvez.h.shaikh@gmail.com"><parvez.h.shaikh@gmail.com></a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I believe Pacemaker is not same as "RHCS"
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Correct. At least not yet anyway.
Thats why I called my reply a shameless plug since it was for a
competing project.

Pacemaker does ship in RHEL6 though.

  </pre>
  <blockquote type="cite">
    <pre wrap="">or do they share code?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
A Pacemaker installation shares almost all the underlying
infrastructure of what you know as RHCS - it just replaces the
rgmanager part.

  </pre>
  <blockquote type="cite">
    <pre wrap="">If yes, in which version of RHCS would this feature would be available?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
We can't comment on future releases sorry.

  </pre>
  <blockquote type="cite">
    <pre wrap="">I require to enable service, disable service, and get status. I am using CLI
tools and any scripting trick can help me running clusvcadm and/or clustat.

su -c "clusvcadm...." require entering password, can this also be eliminated
using sudoers?

Thanks

On Wed, Jan 26, 2011 at 3:22 PM, Andrew Beekhof <a class="moz-txt-link-rfc2396E" href="mailto:andrew@beekhof.net"><andrew@beekhof.net></a> wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">[Shameless plug]

The next version of Pacemaker (1.1.6) will have this feature :-)
The patches were merged form our devel branch about a week ago.

[/Shameless plug]

On Tue, Jan 25, 2011 at 10:39 AM, Parvez Shaikh
<a class="moz-txt-link-rfc2396E" href="mailto:parvez.h.shaikh@gmail.com"><parvez.h.shaikh@gmail.com></a> wrote:
      </pre>
      <blockquote type="cite">
        <pre wrap="">Hi all

Is it possible to run cluster tools like clustat or clusvcadm etc. using
non-root user?

If yes, to which groups this user should belong to? Otherwise can this
be
done using sudo(and sudoers) file.

As of now I get following error on clustat -

Could not connect to CMAN: Permission denied


Thanks,
Parvez

--
Linux-cluster mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</a>

        </pre>
      </blockquote>
      <pre wrap="">--
Linux-cluster mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</a>
      </pre>
    </blockquote>
    <pre wrap="">
--
Linux-cluster mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->
--
Linux-cluster mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</a>

  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Bennie Thomas
Sr. Information Systems Technologist II
Raytheon Company

972.205.4126
972.205.6363 fax
888.347.1660 pager
<a class="moz-txt-link-abbreviated" href="mailto:Bennie_R_Thomas@raytheon.com">Bennie_R_Thomas@raytheon.com</a>


DISCLAIMER: This message contains information that may be confidential and privileged. Unless you are the addressee (or authorized to receive mail for the addressee), you should not use, copy or disclose to anyone this message or any information contained in this message. If you have received this message in error, please so advise the sender by reply e-mail and delete this message. Thank you for your cooperation.

Any views or opinions presented are solely those of the author and do not necessarily represent those of Raytheon unless specifically stated. 
Electronic communications including email may be monitored by Raytheon
for operational or business reasons.


</pre>
</body>
</html>