Re: failover domain and service start

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



both rg_test and xm migrate works no issue at all. I don't think its a xen error. I think it is rgmanger or cluster tools.

-Paras.


On Fri, Dec 20, 2013 at 3:03 PM, emmanuel segura <emi2fast@xxxxxxxxx> wrote:
Paras :)


1: rg_test on node3 to see what is the error
2: xm migrate --live guest1 work?

If vm work on two nodes and one not, i think this xen configuration error


2013/12/20 Paras pradhan <pradhanparas@xxxxxxxxx>
I get the following error. Looks like my node3 can't manage services. When all nodes are up and I try to start a service on node 3, the service will start on other nodes even the priority on fd is number 1.

--
Dec 20 14:13:38 cvtst3 clurgmgrd[19883]: <notice> Starting stopped service vm:guest1 
Dec 20 14:13:38 cvtst3 clurgmgrd[19883]: <notice> start on vm "guest1" returned 1 (generic error) 
Dec 20 14:13:38 cvtst3 clurgmgrd[19883]: <warning> #68: Failed to start vm:guest1; return value: 1 
Dec 20 14:13:38 cvtst3 clurgmgrd[19883]: <notice> Stopping service vm:guest1 
Dec 20 14:13:45 cvtst3 clurgmgrd[19883]: <notice> Service vm:guest1 is recovering 
Dec 20 14:13:45 cvtst3 clurgmgrd[19883]: <warning> #71: Relocating failed service vm:guest1 
Dec 20 14:13:45 cvtst3 clurgmgrd[19883]: <notice> Service vm:guest1 is stopped 
-




On Fri, Dec 20, 2013 at 12:54 PM, emmanuel segura <emi2fast@xxxxxxxxx> wrote:
What do you see in your log?


2013/12/20 Paras pradhan <pradhanparas@xxxxxxxxx>
Yes 


On Fri, Dec 20, 2013 at 12:23 PM, emmanuel segura <emi2fast@xxxxxxxxx> wrote:
did you setting RGMGR_OPTS="-d" and restarted rgmanager in every cluster node?


2013/12/20 Paras pradhan <pradhanparas@xxxxxxxxx>
that is gfs2 


On Fri, Dec 20, 2013 at 12:02 PM, emmanuel segura <emi2fast@xxxxxxxxx> wrote:
Hello Paras,

what kind of filesystem are you using for this /vms_c? sorry maybe i missing

Thanks


2013/12/20 Paras pradhan <pradhanparas@xxxxxxxxx>
I have it in place. I found out this issue is only on one node. This is what I've tried. All three cluster nodes are in a single failover domain

case1: 
stop all cluster services on node1 and node2. start vm service on node3. Fails

case2:
stop all services on node2 and node 3. start vm service on node 1. Service starts !

case3:
stop all services on node1 and node3: start service on node2. Service starts

All the nodes are running the same kernel and same cluster packages. I changed the failover domain to this service but its the same .

May be node3 has some unknow issue and I am not sure if I should rebuild it.

-Paras.


On Thu, Dec 19, 2013 at 5:23 PM, emmanuel segura <emi2fast@xxxxxxxxx> wrote:
ok is clear, now the problem is that you can't start vm using the cluster

in /etc/sysconfig/cluster if doesn't exist create it, RGMGR_OPTS="-d" and restart rgmanager, after that, do the test


2013/12/19 Paras pradhan <pradhanparas@xxxxxxxxx>
-M is for migrate.

I think you meant this:

clusvcadm -M vm:guest1 -m cvtst3.uark.edu

but that failed.
Trying to migrate vm:guest1 to cvtst3.uark.edu...Temporary failure; try again



On Thu, Dec 19, 2013 at 4:28 PM, emmanuel segura <emi2fast@xxxxxxxxx> wrote:
clusvcadm -e -M vm:guest1


2013/12/19 Paras pradhan <pradhanparas@xxxxxxxxx>
Thats a success.

--
[root@cvtst3 log]# rg_test test /etc/cluster/cluster.conf start vm guest1
Running in test mode.
Starting guest1...
Management tool: xm
Virtual machine guest1 is not running
<debug>  xm create --path="/vms_c" guest1 _on_shutdown_="destroy" _on_reboot_="destroy" _on_crash_="destroy"
Using config file "/vms_c/guest1".
Using <class 'grub.GrubConf.GrubConfigFile'> to parse /grub/menu.lst
Started domain guest1
Start of guest1 complete
--




On Thu, Dec 19, 2013 at 3:59 PM, emmanuel segura <emi2fast@xxxxxxxxx> wrote:
rg_test test /etc/cluster/cluster.conf start vm guest1


2013/12/19 Paras pradhan <pradhanparas@xxxxxxxxx>
emmanuel that is what I've done. I don;t see anything other than start domian failure.




On Thu, Dec 19, 2013 at 3:26 PM, emmanuel segura <emi2fast@xxxxxxxxx> wrote:
set the log level to 7 and after incriment the config version and ccs_tool update /etc/cluster/cluster.conf

<rm log_level="7">


2013/12/19 Paras pradhan <pradhanparas@xxxxxxxxx>
Even If i set the log level to 0 , I can't see more logs than what I've pasted earlier. May be something wrong with my setup or what.

/proc/mounts is fine .

-Paras.


On Thu, Dec 19, 2013 at 11:18 AM, emmanuel segura <emi2fast@xxxxxxxxx> wrote:
yes i think that too


2013/12/19 Digimer <lists@xxxxxxxxxx>
On 19/12/13 08:52 AM, emmanuel segura wrote:
?

Sounds like classic spam to me.

--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without access to education?



--
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


--
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


--
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


--
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


--
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


--
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


--
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


--
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


--
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

-- 
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux