[Linux-cluster] failover domain and service start

emmanuel segura emi2fast at gmail.com
Thu Nov 21 22:40:32 UTC 2013


sorry for the typo

export OCF_RESKEY_name="guest1" ; OCF_RESKEY_path="/vms_c"

set -x
/usr/share/cluster/vm.sh start
set +x


2013/11/21 emmanuel segura <emi2fast at gmail.com>

> try with this following commands
>
> name="guest1" path="/vms_c"
>
> export OCF_RESKEY_name="guest1" ; OCF_RESKEY_path="/vms_c"
>
> set -x
> /usr/share/cluster/vm.sh start
> set +x
>
>
>
> 2013/11/21 Paras pradhan <pradhanparas at gmail.com>
>
>> cluster.conf looks like: http://pastebin.com/vvGFQYFe
>>
>>
>> On Thu, Nov 21, 2013 at 4:16 PM, Paras pradhan <pradhanparas at gmail.com>wrote:
>>
>>> Says:
>>>
>>> Running in test mode.
>>> No resource guest1 of type service found
>>>
>>> -Paras.
>>>
>>>
>>> On Thu, Nov 21, 2013 at 4:07 PM, emmanuel segura <emi2fast at gmail.com>wrote:
>>>
>>>> rg_test test /etc/cluster/cluster.conf start service guest1
>>>>
>>>>
>>>> 2013/11/21 Paras pradhan <pradhanparas at gmail.com>
>>>>
>>>>> Hi,
>>>>>
>>>>> My failover domain looks like this:
>>>>>
>>>>> <failoverdomain name="myfd1" nofailback="1" ordered="1" restricted="0">
>>>>>                                 <failoverdomainnode name="vtst1"
>>>>> priority="1"/>
>>>>>                                 <failoverdomainnode name="vtst3"
>>>>> priority="2"/>
>>>>>                                 <failoverdomainnode name="vtst2"
>>>>> priority="3"/>
>>>>>
>>>>>
>>>>>                         </failoverdomain>
>>>>>
>>>>>
>>>>> I have vm service that uses this failover domain. If my node vtst1 is
>>>>> offline, the service doesnot start on vtst3 which is 2nd in the priority.
>>>>>
>>>>> I tried to start it with: clusvcadm -e vm:guest1   and even with -F
>>>>> and -m option.
>>>>>
>>>>> All i see is this error:
>>>>>
>>>>> Nov 21 15:40:29 vtst3 clurgmgrd[13911]: <notice> start on vm "guest1"
>>>>> returned 1 (generic error)
>>>>> Nov 21 15:40:29 vtst3 clurgmgrd[13911]: <warning> #68: Failed to start
>>>>> vm:guest1; return value: 1
>>>>> Nov 21 15:40:29 vtst3 clurgmgrd[13911]: <notice> Stopping service
>>>>> vm:guest1
>>>>> Nov 21 15:40:35 vtst3 clurgmgrd[13911]: <notice> Service vm:guest1 is
>>>>> recovering
>>>>> Nov 21 15:40:35 vtst3 clurgmgrd[13911]: <warning> #71: Relocating
>>>>> failed service vm:guest1
>>>>> Nov 21 15:40:35 vtst3 clurgmgrd[13911]: <notice> Service vm:guest1 is
>>>>> stopped
>>>>>
>>>>>
>>>>> How do I debug?
>>>>> Thanks!
>>>>> Paras.
>>>>>
>>>>> --
>>>>> 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
>



-- 
esta es mi vida e me la vivo hasta que dios quiera
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20131121/e6f74b91/attachment.htm>


More information about the Linux-cluster mailing list