[Pacemaker] Fw: Fw: Fw: Cluster resources failing to move

Jake Smith jsmith at argotec.com
Tue Mar 5 16:13:07 CET 2013


I just wanted to reiterate one thing that I think got lost at the bottom of my first response - might be helpful... 

You don't need these colocation and order statements if you have the resources grouped. The group is a syntax shortcut for writing order and colocation statements so the group is enforcing an order of ip then asterisk and a colocation of asterisk with ip. The colocation you had originally looked like it was backwards too. 




Jake 
----- Original Message -----

From: "Tommy Cooper" <tomcooper83 at yahoo.com> 
To: pacemaker at oss.clusterlabs.org 
Sent: Tuesday, March 5, 2013 9:42:52 AM 
Subject: [Pacemaker] Fw: Fw: Fw: Cluster resources failing to move 



Thank you all for helping me, the problem appears to be solved 





----- Forwarded Message ----- 
From: emmanuel segura <emi2fast at gmail.com> 
To: Tommy Cooper <tomcooper83 at yahoo.com>; The Pacemaker cluster resource manager <pacemaker at oss.clusterlabs.org> 
Sent: Tuesday, March 5, 2013 12:21 AM 
Subject: Re: [Pacemaker] Fw: Fw: Cluster resources failing to move 


try with this 


primitive p_asterisk ocf:heartbeat:asterisk \ 
meta migration-threshold="1" \ 
params user="root" group="root" maxfiles="65536" \ 
op start interval="0" timeout="30s" \ 
op monitor interval="10s" timeout="30s" \ 
op stop interval="0" timeout="30s" 


2013/3/5 Tommy Cooper < tomcooper83 at yahoo.com > 





This config did not work 


primitive p_asterisk ocf:heartbeat:asterisk \ 
params user="root" group="root" maxfiles="65536" \ 
meta migration-threshold="1" \ 
op start interval="0" timeout="30s" \ 
op monitor interval="10s" timeout="30s" \ 

crm(live)configure# verify 
error: text2role: Unknown role: Start 
error: get_target_role: voip: Unknown value for target-role: Start 
error: text2role: Unknown role: Start 
error: get_target_role: voip: Unknown value for target-role: Start 
error: text2role: Unknown role: Start 
error: get_target_role: p_asterisk: Unknown value for target-role: Start 
Errors found during check: config not valid 






----- Forwarded Message ----- 
From: emmanuel segura < emi2fast at gmail.com > 
To: Tommy Cooper < tomcooper83 at yahoo.com >; The Pacemaker cluster resource manager < pacemaker at oss.clusterlabs.org > 


Sent: Monday, March 4, 2013 11:50 PM 
Subject: Re: [Pacemaker] Fw: Cluster resources failing to move 




it's should be 


primitive p_asterisk ocf:heartbeat:asterisk \ 
params user="root" group="root" maxfiles="65536" \ 
meta migration-threshold="1" \ 
op start interval="0" timeout="30s" \ 
op monitor interval="10s" timeout="30s" \ 



2013/3/4 Tommy Cooper < tomcooper83 at yahoo.com > 

<blockquote>



Is this the correct way to do it? 


primitive p_asterisk ocf:heartbeat:asterisk \ 
params user="root" group="root" maxfiles="65536" \ 
op start interval="0" timeout="30s" \ 
op monitor interval="10s" timeout="30s" \ 
op stop interval="0" timeout="30s" migration-threshold="1" 

I tried stopping the asterisk service using service asterisk stop. I repeated that for at least 4 times but the service keeps restarting on the same node 





----- Forwarded Message ----- 
From: emmanuel segura < emi2fast at gmail.com > 
To: Tommy Cooper < tomcooper83 at yahoo.com >; The Pacemaker cluster resource manager < pacemaker at oss.clusterlabs.org > 


Sent: Monday, March 4, 2013 11:05 PM 
Subject: Re: [Pacemaker] Cluster resources failing to move 





More information about the Pacemaker mailing list