[Pacemaker] Unable to execute crm(heartbeat/pacemaker) commands

2011-08-22 Thread rakesh k
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 st

Re: [Pacemaker] [pacemaker] Error while executing crm_attribute command from command line

2011-05-16 Thread Rakesh K
Andrew Beekhof writes: > > # CIB_file=./cib.xml crm_attribute -N mysql3 -n master-Mysql:0 -l > forever -v 3 -V > crm_attribute[23703]: 2011/05/10_08:42:59 info: Invoked: crm_attribute > -N mysql3 -n master-Mysql:0 -l forever -v 3 -V > crm_attribute[23703]: 2011/05/10_08:42:59 ERROR: Type ID does

[Pacemaker] Error while performing crm attribute operation. and cl_status commands

2011-05-16 Thread Rakesh K
Hi All I had configured Mysql as multi-state resource in HA I had configured HA cluster consisting of two nodes and one Mysql multistate resource crm_attribute --type rsc_location --node mysql2 --get-value score non-option ARGV-elements: score scope=rsc_location value=(null) Error performi

[Pacemaker] [pacemaker] Error while executing crm_attribute command from command line

2011-05-06 Thread rakesh k
Hi All while i am executing crm_attribute command from the command line, it is throwing the following error *bash-3.2# crm_attribute -N mysql3 -n master-Mysql:0 -l forever -v 3 Error setting master-Mysql:0=3 (section=nodes, set=nodes-87b8b88e-3ded-4e34-8708-46f7afe62935): Update does not conform

[Pacemaker] [pacemaker] configuring Multi state resource in pacemaker/HA

2011-05-05 Thread rakesh k
Hi All I had configured Mysql process in Linux Ha framework. Please find the HA configuration for mysql process. primitive Mysql ocf:heartbeat:mysql \ params binary="/usr/bin/mysqld_safe" config="/etc/my.cnf" datadir="/var/lib/mysql" user="mysql" pid="/var/lib/mysql/mysql.pid" socket="/v

Re: [Pacemaker] [pacemaker] unable to execute commands like crm configure show.crm resource stop

2011-04-27 Thread Rakesh K
Dejan Muhamedagic writes: > > Hi, > > On Wed, Mar 16, 2011 at 10:58:16AM +0530, rakesh k wrote: > > Hi All > > > > I had installed pacemaker,heartbeat on my unix machine, I had created an SSH > > user who can access my unix machine remotely. > >

Re: [Pacemaker] [pacemaker]Notification alerts when fail-over take place from one node to other node in cluster.

2011-04-26 Thread Rakesh K
ript on nagios exchange, it's not ideal, but again, since this functionality doesn't come with pacemaker yet, you would have to invent your own wheel ;) > > Cheers, > Vadym > On Apr 25, 2011 1:15 AM, "Rakesh K" wrote:> Vadym Chepkov ...> writes: > >

Re: [Pacemaker] [pacemaker]Notification alerts when fail-over take place from one node to other node in cluster.

2011-04-24 Thread Rakesh K
Vadym Chepkov writes: > You can colocate your resource with a MailTo pseudo resource : > > # crm ra meta MailTo > Notifies recipients by email in the event of resource takeover (ocf:heartbeat:MailTo) > > Vadym > > ___ > Pacemaker mailing list: Pacem

[Pacemaker] [pacemaker]Notification alerts when fail-over take place from one node to other node in cluster.

2011-04-21 Thread rakesh k
Hello Every body We had configured HA/pacemaker,even we can migrate the resources between the nodes in a cluster frame work, when there is a failure occurs for certain process, My concerns here at any given point of time in cluster frame work, when a resources/processes configured in HA fails it

Re: [Pacemaker] [pacemaker] need some help regarding network failure setup in pacemaker.

2011-04-20 Thread Rakesh K
Jelle de Jong writes: Hi Jelle de Jong > > On 20-04-11 11:44, rakesh k wrote: > > How can we detect network failure in pacemaker configuration. > > http://www.clusterlabs.org/wiki/Pingd_with_resources_on_different_networks > http://www.woodwose.net/thatremindsme/2011/

[Pacemaker] [pacemaker] need some help regarding network failure setup in pacemaker.

2011-04-20 Thread rakesh k
Hello Everybody How can we detect network failure in pacemaker configuration. where my to nodes in cluster frame work are as follows two network routers connected via switch as mediator for communication. how can we detect network failure and stop the heartbeat processes, when i shutdown the

Re: [Pacemaker] Ordering set of resources, problem in ordering chain of resources

2011-04-20 Thread Rakesh K
Andrew Beekhof writes: Hi Andrew thanks for giving replies sorry for troubling you frequently here is the out put of crm configure show xml

Re: [Pacemaker] Ordering set of resources, problem in ordering chain of resources

2011-04-19 Thread Rakesh K
Andrew Beekhof writes: > > There is nothing in this config that requires tomcat2 to be stopped. > > Perhaps: >colocation Tomcat2-with-Tomcat inf: Tomcat1 Tomcat2VIP > was intended to be: >colocation Tomcat2-with-Tomcat inf: Tomcat2 Tomcat1 > > The only other service active is httpd, wh

Re: [Pacemaker] Unable to stop Multi state resource

2011-04-19 Thread Rakesh K
Rakesh K writes: Hi Andrew FSR is a File system replication script which adheres to ocf cluster frame work, the script is similar to Mysql ocf script, which is a multi state resource, where in master ssh server would be running and in slave there are rsync scripts which uses to synchronize

Re: [Pacemaker] Ordering set of resources, problem in ordering chain of resources

2011-04-19 Thread Rakesh K
Andrew Beekhof writes: Hi Andrew thanks for giving reply. The version of pacemaker i am using is pacemaker-1.0.9.1 Regards Rakesh ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Pro

[Pacemaker] Ordering set of resources, problem in ordering chain of resources

2011-04-19 Thread rakesh k
Hi All I had configured Heartbeeat, pacemkaer on my two VM's Cluster with two nodes, two nodes are running *cent-os* as operation systems. Cluster configured with 8 resources and defined order, taking reference pacemaker explained please find the order and co-location constraints, taken from ci

Re: [Pacemaker] Unable to stop Multi state resource

2011-04-14 Thread Rakesh K
Andrew Beekhof writes: Hi Andrew FSR is file system replication, like Mysql multi-state resource, it replicates the files from master to all the slaves in the cluster frame work. ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.

[Pacemaker] Unable to stop Multi state resource

2011-04-14 Thread rakesh k
Hi All I had configure heartbeat with 2 node cluster and 7 resources The list of resources are Tomcat,apachehttpd,Mysql and FSR where mysql and FSR are multi-state resource. and i had given order and co-location constraints please find the crm configuration for order and co-location *colocation

[Pacemaker] [pacemaker] To start all the resources on one node when HA starts in 2 node configuration.

2011-03-30 Thread rakesh k
Hi All Here is my description regarding this While configuring HA i used this CLI command *crm configure location HTTPD Httpd rule id="HTTPD-rule" 100: \#uname eq hatest1rule id="HTTPD-rule1" 200: \#uname eq hatest2* where Httpd is resource and given score 100 for hatest1 and score

Re: [Pacemaker] Is there any way to reduce the time for migration of the resource from one node to another node in a cluster on failover.

2011-03-25 Thread Rakesh K
Andrew Beekhof writes: Hi Andrew Beekhof I measured the time, when heart beat recognize the process had failed on first node to the process and VIP has created on the second node . i calculated the time using the heartbeat log files which logs the messages with time. _

[Pacemaker] How to send email-notification on failure of resource in cluster frame work

2011-03-23 Thread Rakesh K
Hi ALL Is there any way to send Email notifications when a resource is failure in the cluster frame work. while i was going through the Pacemaker-explained document provided in the website www.clusterlabs.org There was no content in the chapter 7 --> which is sending email notification events.

[Pacemaker] Is there any way to reduce the time for migration of the resource from one node to another node in a cluster on failover.

2011-03-22 Thread rakesh k
Hi All I am providing you the configuration I used for testing the resource migration. - Node-1 resource failed . - Message sent to node-2 - the log message i found in ha-debug file (pengine: [15991]: notice: common_apply_stickiness: Tomcat1 can fail 99 more times on mysql3 before

[Pacemaker] unable to migrate resource between nodes in cluster

2011-03-16 Thread rakesh k
Hi All I am unable to migrate apache resource between the nodes 1) To monitor apache resource i had used status url and reg-ex pattern is * "*"* which find the exact pattern in statusurl, for monitoring and fail-over conditions for apache script . 2) on node1 i manually edited the status url and

[Pacemaker] [pacemaker] unable to execute commands like crm configure show.crm resource stop

2011-03-15 Thread rakesh k
Hi All I had installed pacemaker,heartbeat on my unix machine, I had created an SSH user who can access my unix machine remotely. I had given permissions for that user by editing *sudoers *file so that he can perform all the opertaions related to *crm* The configuration i used is as follows in su

Re: [Pacemaker] build Issue while configurin g the cluster glue in CENT OS

2011-03-08 Thread rakesh k
Vladislav Bogdanov writes: Hi Vladislav Bogdanov When i listed down all the packages in CentOS i found this package is already isntalled i used rpm-qa for listing down the packages is there any alternative for building cluster glue in my CENT OS through code base since this an urgent requi

Re: [Pacemaker] build Issue while configurin g the cluster glue in CENT OS

2011-03-08 Thread rakesh k
Larry Brigman writes: Hi Larry Thanks for you suggestion the when i tried to install e2fsprogs-libs-1.39-23.el5_5.1 rpm file it says it is uptodate and again i tried to install cluster glue using make command . which thrown me the same error. [root@low-house lib]# rpm -qf /lib/libuuid.so.1

Re: [Pacemaker] build Issue while configurin g the cluster glue in CENT OS

2011-03-08 Thread rakesh k
displays that the rpm file is already installed and using latest version ...i had retried to configure and install cluster glue i am getting the similar issue again .. regards Rakesh On Tue, Mar 8, 2011 at 12:16 PM, Larry Brigman wrote: > On Mon, Mar 7, 2011 at 10:02 PM, rakesh k > wrote:

Re: [Pacemaker] build Issue while configurin​g the cluster glue in CENT OS

2011-03-07 Thread rakesh k
.1 file in /usr/lib please help me regarding this issue .. Regards Raki On Mon, Mar 7, 2011 at 6:24 PM, rakesh k wrote: > Hi All > > > I got the errors like this while compiling cluster glue: > > ../.libs/libplumb.so: undefined reference to `uuid_parse' > ../.libs/lib

[Pacemaker] build Issue while configurin​g the cluster glue in CENT OS

2011-03-07 Thread rakesh k
Hi All I got the errors like this while compiling cluster glue: ../.libs/libplumb.so: undefined reference to `uuid_parse' ../.libs/libplumb.so: undefined reference to `uuid_generate' ../.libs/libplumb.so: undefined reference to `uuid_copy' ../.libs/libplumb.so: undefined reference to `uuid_is_nu