<div class="gmail_quote">2011/2/9 Rasto Levrinc <span dir="ltr">&lt;<a href="mailto:rasto.levrinc@linbit.com">rasto.levrinc@linbit.com</a>&gt;</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>
&gt; Hi,<br>
&gt;<br>
&gt;<br>
&gt; I&#39;m using the DRBD-MC more and more and getting really enthuasiastic.<br>
&gt; Keep<br>
&gt; up the good work :)<br>
&gt;<br>
&gt; I would like to give a colleague access to the DRBD-MC but I don&#39;t want<br>
&gt; him having root privileges on the cluster nodes. Is this possible by using<br>
&gt; sudo? I saw an option named sudo at the host configuration wizard.<br>
&gt;<br>
&gt; What commands does his account need to run under sudo? (like cibadmin,<br>
&gt; drbdadm, etc)<br>
&gt;<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&#39;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&#39;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">
&gt; Another question: is it possible to start the DRBD-MC in operator and/or<br>
&gt; 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&#39;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 &#39;=&#39; )<br><br>Now it&#39;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">
&gt;<br>
&gt; And another: is it possible to disable the &quot;check for drbd-mc update&quot;<br>
&gt; feature?<br>
<br>
</div>Yes, there is --no-upgrade-check option and --no-plugin-check option, if<br>
you don&#39;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>