Hi Rasto,<br><br>I created a user &quot;john&quot; which has sudo access.<br><br>When I add a host and type john as username and select &quot;use sudo&quot; i immediatly get the following error:<br><br>Failed.<br>Command failed.1<br>
<br>And in the console is see: <br><br>[john@192.168.0.12:~#] /usr/local/bin/drbd-gui-helper-0.8.12 all<br>DRBD MC sudo pwd: <br>[john@192.168.0.12:~#]<br><br>Shouldn&#39;t there be a &quot;sudo&quot; command before /usr/local/etc.....<br>
<br>Because when I type the command in an ssh shell it works (but only with the sudo command):<br><br>$ sudo /usr/local/bin/drbd-gui-helper-0.8.12 all<br><br>net-info<br>eth0 192.168.0.12 00:30:48:f3:2f:d4 255.255.255.0<br>
eth0:0 192.168.0.30 00:30:48:f3:2f:d4 255.255.255.0<br>eth0:1 192.168.0.31 00:30:48:f3:2f:d4 255.255.255.0<br>eth0:2 192.168.0.32 00:30:48:f3:2f:d4 255.255.255.0<br>eth0:3 192.168.0.33 00:30:48:f3:2f:d4 255.255.255.0<br>eth2 10.0.0.1 00:15:17:eb:a6:b5 255.255.255.0<br>
eth3 10.0.1.1 00:15:17:eb:a6:b4 255.255.255.0<br>eth4 10.0.2.1 00:15:17:eb:a6:b7 255.255.255.0<br>eth5 10.0.3.1 00:15:17:eb:a6:b6 255.255.255.0<br>disk-info<br>/dev/md0 rl:/dev/md0 size:976762496<br>/dev/md1 rl:/dev/md1 size:976762496<br>
/dev/md2 rl:/dev/md2 size:976762496<br>/dev/md3 rl:/dev/md3 size:976762496<br><br>Kind regards,<br><br>Caspar Smit<br>Systemengineer<br>True Bit Resources B.V.<br>Ampèrestraat 13E<br>1446 TP  Purmerend<br><br>T: +31(0)299 410 475<br>
F: +31(0)299 410 476<br>@: <a href="mailto:c.smit@truebit.nl" target="_blank">c.smit@truebit.nl</a><br>W: <a href="http://www.truebit.nl" target="_blank">www.truebit.nl</a><br><br>
<br><br><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>
&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>
&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>
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>