[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    Re: [Linux-ha-dev] HB V2. Conf File
From:       Guochun Shi <gshi () ncsa ! uiuc ! edu>
Date:       2005-12-19 20:00:20
Message-ID: 43A71154.80306 () ncsa ! uiuc ! edu
[Download RAW message or body]

That comes from ipfail. Right now ipfail does not work with crm yet, so 
you should remove ipfail in ha.cf
if you enable crm

-Guochun

enrico fanti wrote:

>Hi I obtained the cib.xml file from pyton utility, and now I play with
>the IP alias only.
>When I start the heartbeat without "crm yes" in haresources file it
>works OK, but when I enable the crm I obtain the follow error messages:
>
>lrmd[13647]: 2005/12/13_13:30:18 info: Started.
>crmd[13648]: 2005/12/13_13:30:18 info: mask(control.c:register_with_ha):
>FSA Hostname: fly11.rm.it.flycell.net
>crmd[13648]: 2005/12/13_13:30:18 info: mask(control.c:do_startup):
>Register Signal Handler
>crmd[13648]: 2005/12/13_13:30:18 info: G_main_add_SignalHandler: Added
>signal handler for signal 15
>crmd[13648]: 2005/12/13_13:30:18 info: G_main_add_TriggerHandler: Added
>signal manual handler
>crmd[13648]: 2005/12/13_13:30:18 info: mask(control.c:do_startup): Init
>server comms
>crmd[13648]: 2005/12/13_13:30:18 info: mask(control.c:do_startup):
>Creating CIB object
>cib[13645]: 2005/12/13_13:30:18 info: mask(main.c:cib_register_ha): FSA
>Hostname: fly11.rm.it.flycell.net
>crmd[13648]: 2005/12/13_13:30:18 info: G_main_add_SignalHandler: Added
>signal handler for signal 17
>heartbeat[13634]: 2005/12/13_13:30:18 ERROR: api_process_request: bad
>request [getrsc]
>stonithd[13646]: 2005/12/13_13:30:18 info: Signing in with heartbeat.
>heartbeat[13634]: 2005/12/13_13:30:18 ERROR: MSG: Dumping message with 5
>fields
>heartbeat[13634]: 2005/12/13_13:30:18 ERROR: MSG[0] : [t=hbapi-req]
>heartbeat[13634]: 2005/12/13_13:30:18 ERROR: MSG[1] : [reqtype=getrsc]
>heartbeat[13634]: 2005/12/13_13:30:18 ERROR: MSG[2] :
>[dest=fly11.rm.it.flycell.net]
>heartbeat[13634]: 2005/12/13_13:30:18 ERROR: MSG[3] : [pid=13643]
>heartbeat[13634]: 2005/12/13_13:30:18 ERROR: MSG[4] : [from_id=ipfail]
>
>Can you help me to understand where I'm wrong ???
>
>Thak you
>
>
>
>Sun Jiang Dong wrote:
>
>  
>
>>enrico fanti wrote:
>>
>>    
>>
>>>Hi to all.
>>>
>>>First, sorry for my english.
>>>
>>>I worked with heartbeat V1, but it's seems very good idea to monitor the
>>>resources by heartbeat..
>>>
>>>I tried somethinks, but now I'm not sure if I understand the setup
>>>complitely.
>>>
>>>Can you tell me if I'm wrong in some steps I followed, please?
>>>
>>>1) fron configuration file V1, I obtain cib.xml file by the pyton
>>>utility. I put this file in /var/lib/heartbeat direcory
>>>      
>>>
>>should be /var/lib/heartbeat/crm/
>>
>>    
>>
>>>2) I add th "crm yes" row in ha.cf file.
>>>
>>>It'OK ?
>>>      
>>>
>>Thes step is right.
>>
>>    
>>
>>>If I would to use the new Monitor feature, I have to add the "monitor"
>>>option in my /etc/init.d/xxxd scripts ?, But We have some example about
>>>      
>>>
>>If you use the the scripts under /etc/init.d/xxxd, you need replace
>>some of
>>the class=heartbeat to class=lsb in the cib.xml which you got with the
>>pyton
>>utility.
>>
>>    
>>
>>>the monitor option?
>>>      
>>>
>>Donnot need, it's ok if they support "status" operation.
>>
>>You can go ahead and welcome to post your result here.
>>Good luck. :-)
>>
>>    
>>
>>>Thank you
>>>
>>>Enrico
>>>
>>> 
>>>
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________________
>>>Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
>>>http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
>>>Home Page: http://linux-ha.org/
>>>      
>>>
>>    
>>
>
>  
>
>_______________________________________________________
>Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
>http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
>Home Page: http://linux-ha.org/
>  
>

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic