[Pacemaker] Unable to execute crm(heartbeat/pacemaker) commands
Dejan Muhamedagic
dejanmm at fastmail.fm
Thu Aug 25 09:34:07 CET 2011
Hi,
On Tue, Aug 23, 2011 at 11:15:09AM +0530, rakesh k wrote:
> Hi
>
> I am using Heartbeat(3.0.3) and pacemaker (1.0.9).
>
> We are facing the following issue. Please find the details.
>
> we had installed heartbeat and pacemaker,on the uinux BOX(CENT OS operation
> system).
>
> we had created a ssh user and provided it to one of the developers.
> please find the directory structure and the bash profile for that ssh user.
>
> bash-3.2# cat .bash_profile
> # .bash_profile
> # User specific environment and startup programs
> PATH=$PATH:/usr/sbin
> export PATH
> bash-3.2#
> but when one of the developer logs in to the box where heartbeat/pacemaker
> is
> installed through ssh .
> he is unable to execute crm configuration commands.
> say for example. while we are executing the following crm configuration
> commands .
> we are unable to execute crm configuration commands and the system is
> hanging
> while executing.
What is hanging? The crm shell? Does it react to ctrl-C? Can you
provide more details.
> Please find the crm configuration command we are using and the snapshot of
> the bash prompt while executing
>
> -bash-3.2$ crm configure primitive HttpdVIP ocf:heartbeat:IPaddr3 \
> params ip="10.104.231.78" eth_num="eth0:2"
> vip_cleanup_file="/var/run/bigha.pid" \
> op start interval="0" timeout="120s" \
> op stop interval="0" timeout="120s" \
> > params ip="10.104.231.78" eth_num="eth0:2"
> vip_cleanup_file="/var/run/bigha.pid" \
> op monitor interval="30s" > op start interval="0"
> timeout="120s" \
> > op stop interval="0" timeout="120s" \
> > op monitor interval="30s"
Do you actually type all this on the command line? Why would you
want to do that, why not use a file. There's no telling if and
how shell expansion would affect this.
Thanks,
Dejan
> can you please help me on this particular sceanrio.
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
More information about the Pacemaker
mailing list