<div class="gmail_quote">2011/2/9 Rasto Levrinc <span dir="ltr"><<a href="mailto:rasto.levrinc@linbit.com">rasto.levrinc@linbit.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
On Wed, February 9, 2011 10:53 am, Caspar Smit wrote:<br>
> Hi,<br>
><br>
><br>
> I'm using the DRBD-MC more and more and getting really enthuasiastic.<br>
> Keep<br>
> up the good work :)<br>
><br>
> I would like to give a colleague access to the DRBD-MC but I don't want<br>
> him having root privileges on the cluster nodes. Is this possible by using<br>
> sudo? I saw an option named sudo at the host configuration wizard.<br>
><br>
> What commands does his account need to run under sudo? (like cibadmin,<br>
> drbdadm, etc)<br>
><br>
<br>
</div>You can use the sudo, without any problems.<br>
<br>
you need /usr/local/bin/drbd-gui-helper* for sure. Note the wildcard,<br>
there's a suffix that changes with every version<br>
<br>
For pacemaker you need at least these I think:<br>
<br>
/usr/sbin/crm_attribute<br>
/usr/sbin/crm_mon<br>
/usr/sbin/crm_resource<br>
/usr/sbin/crm_standby<br>
<br>
Maybe I'll compile the whole list one day.<br>
<div class="im"><br></div></blockquote><div><br>Thanks, I will start testing right away.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">
> Another question: is it possible to start the DRBD-MC in operator and/or<br>
> read-only mode?<br>
</div>yes, the<br>
<br>
java -jar DMC-....jar --help<br>
<br>
gives you a list of options, so for example<br>
<br>
java -jar DMC-0.8.12.jar --op-mode=ro<br>
java -jar DMC-0.8.12.jar --op-mode=op<br>
<br>
starts it in readonly or operator mode and it is not possible to change it<br>
to the administrator mode.<br>
<div class="im"><br></div></blockquote><div><br>Great, couldn't get this to work at first because the correct syntax is:<br><br>java -jar DMC-0.8.12.jar --op-mode ro (without the '=' )<br><br>Now it's working :)<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
><br>
> And another: is it possible to disable the "check for drbd-mc update"<br>
> feature?<br>
<br>
</div>Yes, there is --no-upgrade-check option and --no-plugin-check option, if<br>
you don't want contact the linbit servers.<br>
<br></blockquote><div><br>Works like a charm, thanks :)<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Rasto<br>
<br>
--<br>
: Dipl-Ing Rastislav Levrinc<br>
: DRBD MC <a href="http://oss.linbit.com/drbd-mc/" target="_blank">http://oss.linbit.com/drbd-mc/</a><br>
: DRBD MC <a href="http://www.drbd.org/mc/management-console/" target="_blank">http://www.drbd.org/mc/management-console/</a><br>
: DRBD/HA support and consulting <a href="http://www.linbit.com/" target="_blank">http://www.linbit.com/</a><br>
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.<br>
<br>
<br>
_______________________________________________<br>
drbd-mc mailing list<br>
<a href="mailto:drbd-mc@lists.linbit.com">drbd-mc@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-mc" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-mc</a><br>
</blockquote></div><br>