On Tue, Jan 31, 2012 at 4:57 PM, Besse Mickael
<mickael.be...@edipresse.ch> wrote:
> Hello
>
> In fact I'm not using directly crm_simulate I'm using linux cluster 
> management console which call crm_simulate.
> LCMC use the command: /usr/sbin/crm_simulate -S -VVVV -L

Oh well, ptest removed, crm_simulate crashing, I was hoping it will
not come to this. :)
Here is a workaround for LCMC:

----
cat <<EOF > /usr/sbin/ptest
#!/bin/sh

cibadmin -Ql|crm_simulate ${@#-L}
EOF
chmod +x /usr/sbin/ptest
----

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levr...@gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to