[Linux-cluster] failover domain and service start

Paras pradhan pradhanparas at gmail.com
Fri Dec 20 21:34:50 UTC 2013


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 at gmail.com> 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 at gmail.com>
>
>> 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 at gmail.com>wrote:
>>
>>> What do you see in your log?
>>>
>>>
>>> 2013/12/20 Paras pradhan <pradhanparas at gmail.com>
>>>
>>>> Yes
>>>>
>>>>
>>>> On Fri, Dec 20, 2013 at 12:23 PM, emmanuel segura <emi2fast at gmail.com>wrote:
>>>>
>>>>> did you setting RGMGR_OPTS="-d" and restarted rgmanager in every
>>>>> cluster node?
>>>>>
>>>>>
>>>>> 2013/12/20 Paras pradhan <pradhanparas at gmail.com>
>>>>>
>>>>>> that is gfs2
>>>>>>
>>>>>>
>>>>>> On Fri, Dec 20, 2013 at 12:02 PM, emmanuel segura <emi2fast at gmail.com
>>>>>> > 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 at gmail.com>
>>>>>>>
>>>>>>>> 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 at gmail.com> 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 at gmail.com>
>>>>>>>>>
>>>>>>>>>> -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 at gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> clusvcadm -e -M vm:guest1
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 2013/12/19 Paras pradhan <pradhanparas at gmail.com>
>>>>>>>>>>>
>>>>>>>>>>>> Thats a success.
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> [root at 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 at gmail.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> *rg_test test /etc/cluster/cluster.conf start vm guest1*
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 2013/12/19 Paras pradhan <pradhanparas at gmail.com>
>>>>>>>>>>>>>
>>>>>>>>>>>>>> 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 at gmail.com> 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 at gmail.com>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 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 at gmail.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> yes i think that too
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 2013/12/19 Digimer <lists at alteeve.ca>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 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?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Linux-cluster mailing list
>>>>>>>>>>>>>>>>>> Linux-cluster at redhat.com
>>>>>>>>>>>>>>>>>> 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 at redhat.com
>>>>>>>>>>>>>>>>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Linux-cluster mailing list
>>>>>>>>>>>>>>>> Linux-cluster at redhat.com
>>>>>>>>>>>>>>>> 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 at redhat.com
>>>>>>>>>>>>>>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Linux-cluster mailing list
>>>>>>>>>>>>>> Linux-cluster at redhat.com
>>>>>>>>>>>>>> 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 at redhat.com
>>>>>>>>>>>>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Linux-cluster mailing list
>>>>>>>>>>>> Linux-cluster at redhat.com
>>>>>>>>>>>> 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 at redhat.com
>>>>>>>>>>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Linux-cluster mailing list
>>>>>>>>>> Linux-cluster at redhat.com
>>>>>>>>>> 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 at redhat.com
>>>>>>>>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Linux-cluster mailing list
>>>>>>>> Linux-cluster at redhat.com
>>>>>>>> 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 at redhat.com
>>>>>>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Linux-cluster mailing list
>>>>>> Linux-cluster at redhat.com
>>>>>> 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 at redhat.com
>>>>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>>>>
>>>>
>>>>
>>>> --
>>>> Linux-cluster mailing list
>>>> Linux-cluster at redhat.com
>>>> 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 at redhat.com
>>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>>
>>
>>
>> --
>> Linux-cluster mailing list
>> Linux-cluster at redhat.com
>> 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20131220/6c5b8c5c/attachment.htm>


More information about the Linux-cluster mailing list