2012/8/27 PARAM KRISH <mkparam@xxxxxxxxx>
Just noticed that disable and enable of that service works fine(clusvcadm -d WEB and clusvcadm -e WEB) on both the nodes but the relocate does not.Aug 27 20:57:18 node2 rgmanager[1771]: Stopping service service:WEBAug 27 20:57:19 node2 rgmanager[23541]: Stopping Service apache:WEBAug 27 20:57:19 node2 rgmanager[23561]: Checking Existence Of File /var/run/cluster/apache/apache:WEB.pid [apache:WEB] > Failed - File Doesn't ExistAug 27 20:57:19 node2 rgmanager[23581]: Stopping Service apache:WEB > SucceedAug 27 20:57:19 node2 rgmanager[1771]: Service service:WEB is disabledAug 27 20:57:32 node2 rgmanager[1771]: Starting disabled service service:WEBAug 27 20:57:33 node2 rgmanager[23716]: Adding IPv4 address 192.168.18.50/24 to eth0Aug 27 20:57:37 node2 rgmanager[23882]: Starting Service apache:WEBAug 27 20:57:37 node2 rgmanager[23937]: Query failed: Invalid argument (/cluster/rm/service[@name="WEB"]/ip[2]/@address)Aug 27 20:57:39 node2 rgmanager[1771]: Service service:WEB startedAug 27 20:58:35 node2 rgmanager[1771]: Stopping service service:WEBAug 27 20:58:36 node2 rgmanager[24554]: Stopping Service apache:WEBAug 27 20:58:37 node2 rgmanager[24579]: Stopping Service apache:WEB > Failed - Application Is Still RunningAug 27 20:58:38 node2 rgmanager[24599]: Stopping Service apache:WEB > FailedAug 27 20:58:38 node2 rgmanager[1771]: stop on apache "WEB" returned 1 (generic error)Aug 27 20:58:38 node2 rgmanager[24648]: Removing IPv4 address 192.168.18.50/24 from eth0Aug 27 20:58:48 node2 rgmanager[1771]: #12: RG service:WEB failed to stop; intervention requiredAug 27 20:58:48 node2 rgmanager[1771]: Service service:WEB is failedAug 27 20:58:48 node2 rgmanager[1771]: #70: Failed to relocate service:WEB; restarting locallyAug 27 20:58:48 node2 rgmanager[1771]: #43: Service service:WEB has failed; can not start.Aug 27 20:58:48 node2 rgmanager[1771]: #2: Service service:WEB returned failure code. Last Owner: node2.localdomainAug 27 20:58:48 node2 rgmanager[1771]: #4: Administrator intervention required.Aug 27 20:59:13 node2 rgmanager[1771]: Stopping service service:WEBAug 27 20:59:13 node2 rgmanager[24841]: Stopping Service apache:WEBAug 27 20:59:14 node2 rgmanager[24861]: Checking Existence Of File /var/run/cluster/apache/apache:WEB.pid [apache:WEB] > Failed - File Doesn't ExistAug 27 20:59:14 node2 rgmanager[24881]: Stopping Service apache:WEB > SucceedAug 27 20:59:14 node2 rgmanager[1771]: Service service:WEB is disabledAug 27 21:01:06 node2 rgmanager[1771]: #43: Service service:WEB has failed; can not start.What could be missing ?On Mon, Aug 27, 2012 at 3:01 PM, PARAM KRISH <mkparam@xxxxxxxxx> wrote:
HiI think i am almost there. I have started using RHEL6 hoping it would not give me any night-mare this time to setup a 2 Node Cluster for a Apache cluster service. and i think i have done pretty much everything.In short,1. Two nodes having private IP's eth0 configured with 192.168.18.10 and 192.168.18.112. Nodes are named as node1.localdomain, node2.localdomain, /etc/hosts taken care3. I created the cluster, added two nodes, added the service WEB ( added the child :IP and :apache to it)4. Cluster is in quorum and detects other node going offline fantastically5. Tested the start/stop of this resource WEB using "rg_test" , it worked just fine on both the nodes.6. But, for some reasons, its not starting or failing over to other node when i manually test(using clusvcadm -e WEB) or do a reboot or whatever.7. Please let me know how do i verify the cluster startup and failover manually to make sure everything works8. What is it i am missing that makes this not work now ? Please assist.Please go through the output of all the commands attached herewith.Let me know if there is still required.Param
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster
--
esta es mi vida e me la vivo hasta que dios quiera
-- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster