Re: [Pacemaker] Openais: Corosync Executive couldn't openconfiguration component 'openaisserviceenable'

2009-12-07 Thread Frank DiMeo
AFAIK, this version uses /etc/corosync/corosync.conf.  I get the impression 
this things are in flux right now, but once you find the right 
directories/files to use, it works.  I'm sure that after some cleanup these 
seemingly conflicting elements will be removed.

-Frank

> -Original Message-
> From: Martin Gombac( [mailto:mar...@isg.si]
> Sent: Friday, December 04, 2009 9:29 AM
> To: pacemaker@oss.clusterlabs.org; sd...@redhat.com
> Cc: pacema...@clusterlabs.org
> Subject: Re: [Pacemaker] Openais: Corosync Executive couldn't
> openconfiguration component 'openaisserviceenable'
> 
> Thank you all for your help.
> 
> I guess this will work, but it wants to use another config.
> 'cause i'm using openais and not corosync, i want to use
> /etc/ais/openais.conf and not /etc/corosync/corosync.conf.
> Or is openais actually corosync?
> 
> Regards,
> M.
> 
> Steven Dake wrote:
> > Please note, we are aware of this bug upstream.  A fix is in the
> > upstream repo, and will be making a new release which resolves the
> init
> > script problem hopefully this week.
> >
> > What Frank suggests is essentially what we have done in the repo.
> >
> > Regards
> > -steve
> >
> > On Thu, 2009-12-03 at 12:31 -0500, Frank DiMeo wrote:
> >> Try replacing the existing exported symbol in your
> /etc/init.d/openais
> >> file with:
> >>
> >>
> >>
> >> export
> >>
> COROSYNC_DEFAULT_CONFIG_IFACE="openaisserviceenableexperimental:corosyn
> c_parser"
> >>
> >>
> >>
> >> -Frank
> >>
> >>
> >>
> >> From: Shravan Mishra [mailto:shravan.mis...@gmail.com]
> >> Sent: Thursday, December 03, 2009 10:18 AM
> >> To: pacemaker@oss.clusterlabs.org
> >> Subject: Re: [Pacemaker] Openais: Corosync Executive couldn't
> >> openconfiguration component 'openaisserviceenable'
> >>
> >>
> >>
> >>
> >> check if /usr/libexec/lcrso/openaisserviceenable.lcrso exisits on
> your
> >> machine.
> >>
> >>
> >>
> >>
> >> Regards
> >>
> >>
> >> Shravan
> >>
> >> On Thu, Dec 3, 2009 at 7:00 AM, Martin Gombac( 
> wrote:
> >>
> >> Hi guys,
> >>
> >> i just installed openais from clusterlabs repo. Configured it, but
> am
> >> unable to start it. The error doesn't really tell me anything. Can
> >> someone point me in the right direction?
> >>
> >>
> >> /etc/init.d/openais start
> >> Starting OpenAIS (corosync): corosync [MAIN  ] Corosync Cluster
> Engine
> >> ('1.1.2'): started and ready to provide service.
> >> corosync [MAIN  ] Corosync built-in features: nss rdma
> >> corosync [MAIN  ] Corosync Executive couldn't open configuration
> >> component 'openaisserviceenable'
> >> corosync [MAIN  ] Corosync Cluster Engine exiting with status -9 at
> >> main.c:900.
> >>   [FAILED]
> >>
> >>
> >> Config:
> >>
> >> totem {
> >>version:2
> >># Disable encryption
> >>secauth:off
> >># How many threads to use for encryption/decryption
> >>threads:0
> >># How long before declaring a token lost (ms)
> >>token:  1
> >># How many token retransmits before forming a new
> configuration
> >>token_retransmits_before_loss_const: 20
> >># How long to wait for join messages in the membership
> protocol
> >> (ms)
> >>join:   60
> >># How long to wait for consensus to be achieved before
> starting
> >> a new round of membership configuration (ms)
> >>consensus:  4800
> >># Turn off the virtual synchrony filter
> >>vsftype:none
> >># Number of messages that may be sent by one processor on
> >> receipt of the token
> >>max_messages:   20
> >># Limit generated nodeids to 31-bits (positive signed
> integers)
> >>clear_node_high_bit: yes
> >># Optionally assign a fixed node id (integer)
> >>#nodeid:1234
> >>interface {
> >>  

Re: [Pacemaker] Openais: Corosync Executive couldn't openconfiguration component 'openaisserviceenable'

2009-12-04 Thread

Thank you all for your help.

I guess this will work, but it wants to use another config.
'cause i'm using openais and not corosync, i want to use 
/etc/ais/openais.conf and not /etc/corosync/corosync.conf.

Or is openais actually corosync?

Regards,
M.

Steven Dake wrote:

Please note, we are aware of this bug upstream.  A fix is in the
upstream repo, and will be making a new release which resolves the init
script problem hopefully this week.

What Frank suggests is essentially what we have done in the repo.

Regards
-steve

On Thu, 2009-12-03 at 12:31 -0500, Frank DiMeo wrote:

Try replacing the existing exported symbol in your /etc/init.d/openais
file with:

 


export
COROSYNC_DEFAULT_CONFIG_IFACE="openaisserviceenableexperimental:corosync_parser"

 


-Frank

 

From: Shravan Mishra [mailto:shravan.mis...@gmail.com] 
Sent: Thursday, December 03, 2009 10:18 AM

To: pacemaker@oss.clusterlabs.org
Subject: Re: [Pacemaker] Openais: Corosync Executive couldn't
openconfiguration component 'openaisserviceenable'


 


check if /usr/libexec/lcrso/openaisserviceenable.lcrso exisits on your
machine.

 



Regards


Shravan

On Thu, Dec 3, 2009 at 7:00 AM, Martin Gombac(  wrote:

Hi guys,

i just installed openais from clusterlabs repo. Configured it, but am
unable to start it. The error doesn't really tell me anything. Can
someone point me in the right direction?


/etc/init.d/openais start
Starting OpenAIS (corosync): corosync [MAIN  ] Corosync Cluster Engine
('1.1.2'): started and ready to provide service.
corosync [MAIN  ] Corosync built-in features: nss rdma
corosync [MAIN  ] Corosync Executive couldn't open configuration
component 'openaisserviceenable'
corosync [MAIN  ] Corosync Cluster Engine exiting with status -9 at
main.c:900.
  [FAILED]


Config:

totem {
   version:2
   # Disable encryption
   secauth:off
   # How many threads to use for encryption/decryption
   threads:0
   # How long before declaring a token lost (ms)
   token:  1
   # How many token retransmits before forming a new configuration
   token_retransmits_before_loss_const: 20
   # How long to wait for join messages in the membership protocol
(ms)
   join:   60
   # How long to wait for consensus to be achieved before starting
a new round of membership configuration (ms)
   consensus:  4800
   # Turn off the virtual synchrony filter
   vsftype:none
   # Number of messages that may be sent by one processor on
receipt of the token
   max_messages:   20
   # Limit generated nodeids to 31-bits (positive signed integers)
   clear_node_high_bit: yes
   # Optionally assign a fixed node id (integer)
   #nodeid:1234
   interface {
   ringnumber: 0
   bindnetaddr: 192.168.0.1
   mcastaddr: 226.94.1.1
   mcastport: 5405
   }
   interface {
   ringnumber: 1
   bindnetaddr: 189.9.21.16
   mcastaddr: 226.94.1.1
   mcastport: 5405
   }
}

logging {
   debug: on
   timestamp: on
   fileline: off
   to_syslog: yes
   to_stderr: no
   syslog_facility: daemon
}

amf {
   mode: disabled
}

 service {
   # Load the Pacemaker Cluster Resource Manager
   name: pacemaker
   ver:  0
 }

 aisexec {
   user:   root
   group:  root


___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


 



___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker



___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] Openais: Corosync Executive couldn't openconfiguration component 'openaisserviceenable'

2009-12-03 Thread Steven Dake
Please note, we are aware of this bug upstream.  A fix is in the
upstream repo, and will be making a new release which resolves the init
script problem hopefully this week.

What Frank suggests is essentially what we have done in the repo.

Regards
-steve

On Thu, 2009-12-03 at 12:31 -0500, Frank DiMeo wrote:
> Try replacing the existing exported symbol in your /etc/init.d/openais
> file with:
> 
>  
> 
> export
> COROSYNC_DEFAULT_CONFIG_IFACE="openaisserviceenableexperimental:corosync_parser"
> 
>  
> 
> -Frank
> 
>  
> 
> From: Shravan Mishra [mailto:shravan.mis...@gmail.com] 
> Sent: Thursday, December 03, 2009 10:18 AM
> To: pacemaker@oss.clusterlabs.org
> Subject: Re: [Pacemaker] Openais: Corosync Executive couldn't
> openconfiguration component 'openaisserviceenable'
> 
> 
>  
> 
> check if /usr/libexec/lcrso/openaisserviceenable.lcrso exisits on your
> machine.
> 
>  
> 
> 
> Regards
> 
> 
> Shravan
> 
> On Thu, Dec 3, 2009 at 7:00 AM, Martin Gombac(  wrote:
> 
> Hi guys,
> 
> i just installed openais from clusterlabs repo. Configured it, but am
> unable to start it. The error doesn't really tell me anything. Can
> someone point me in the right direction?
> 
> 
> /etc/init.d/openais start
> Starting OpenAIS (corosync): corosync [MAIN  ] Corosync Cluster Engine
> ('1.1.2'): started and ready to provide service.
> corosync [MAIN  ] Corosync built-in features: nss rdma
> corosync [MAIN  ] Corosync Executive couldn't open configuration
> component 'openaisserviceenable'
> corosync [MAIN  ] Corosync Cluster Engine exiting with status -9 at
> main.c:900.
>   [FAILED]
> 
> 
> Config:
> 
> totem {
>version:2
># Disable encryption
>secauth:off
># How many threads to use for encryption/decryption
>threads:0
># How long before declaring a token lost (ms)
>token:  1
># How many token retransmits before forming a new configuration
>token_retransmits_before_loss_const: 20
># How long to wait for join messages in the membership protocol
> (ms)
>join:   60
># How long to wait for consensus to be achieved before starting
> a new round of membership configuration (ms)
>consensus:  4800
># Turn off the virtual synchrony filter
>vsftype:none
># Number of messages that may be sent by one processor on
> receipt of the token
>max_messages:   20
># Limit generated nodeids to 31-bits (positive signed integers)
>clear_node_high_bit: yes
># Optionally assign a fixed node id (integer)
>#nodeid:1234
>interface {
>ringnumber: 0
>bindnetaddr: 192.168.0.1
>mcastaddr: 226.94.1.1
>mcastport: 5405
>}
>interface {
>ringnumber: 1
>bindnetaddr: 189.9.21.16
>mcastaddr: 226.94.1.1
>mcastport: 5405
>}
> }
> 
> logging {
>debug: on
>timestamp: on
>fileline: off
>to_syslog: yes
>to_stderr: no
>syslog_facility: daemon
> }
> 
> amf {
>mode: disabled
> }
> 
>  service {
># Load the Pacemaker Cluster Resource Manager
>name: pacemaker
>ver:  0
>  }
> 
>  aisexec {
>user:   root
>group:  root
> 
> 
> ___
> Pacemaker mailing list
> Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> 
>  
> 
> 
> ___
> Pacemaker mailing list
> Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker


___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


Re: [Pacemaker] Openais: Corosync Executive couldn't openconfiguration component 'openaisserviceenable'

2009-12-03 Thread Frank DiMeo
Try replacing the existing exported symbol in your /etc/init.d/openais file 
with:

 

export 
COROSYNC_DEFAULT_CONFIG_IFACE="openaisserviceenableexperimental:corosync_parser"

 

-Frank

 

From: Shravan Mishra [mailto:shravan.mis...@gmail.com] 
Sent: Thursday, December 03, 2009 10:18 AM
To: pacemaker@oss.clusterlabs.org
Subject: Re: [Pacemaker] Openais: Corosync Executive couldn't openconfiguration 
component 'openaisserviceenable'

 

check if /usr/libexec/lcrso/openaisserviceenable.lcrso exisits on your machine.

 

Regards

Shravan

On Thu, Dec 3, 2009 at 7:00 AM, Martin Gombac(  wrote:

Hi guys,

i just installed openais from clusterlabs repo. Configured it, but am unable to 
start it. The error doesn't really tell me anything. Can someone point me in 
the right direction?


/etc/init.d/openais start
Starting OpenAIS (corosync): corosync [MAIN  ] Corosync Cluster Engine 
('1.1.2'): started and ready to provide service.
corosync [MAIN  ] Corosync built-in features: nss rdma
corosync [MAIN  ] Corosync Executive couldn't open configuration component 
'openaisserviceenable'
corosync [MAIN  ] Corosync Cluster Engine exiting with status -9 at main.c:900.
  [FAILED]


Config:

totem {
   version:2
   # Disable encryption
   secauth:off
   # How many threads to use for encryption/decryption
   threads:0
   # How long before declaring a token lost (ms)
   token:  1
   # How many token retransmits before forming a new configuration
   token_retransmits_before_loss_const: 20
   # How long to wait for join messages in the membership protocol (ms)
   join:   60
   # How long to wait for consensus to be achieved before starting a new 
round of membership configuration (ms)
   consensus:  4800
   # Turn off the virtual synchrony filter
   vsftype:none
   # Number of messages that may be sent by one processor on receipt of the 
token
   max_messages:   20
   # Limit generated nodeids to 31-bits (positive signed integers)
   clear_node_high_bit: yes
   # Optionally assign a fixed node id (integer)
   #nodeid:1234
   interface {
   ringnumber: 0
   bindnetaddr: 192.168.0.1
   mcastaddr: 226.94.1.1
   mcastport: 5405
   }
   interface {
   ringnumber: 1
   bindnetaddr: 189.9.21.16
   mcastaddr: 226.94.1.1
   mcastport: 5405
   }
}

logging {
   debug: on
   timestamp: on
   fileline: off
   to_syslog: yes
   to_stderr: no
   syslog_facility: daemon
}

amf {
   mode: disabled
}

 service {
   # Load the Pacemaker Cluster Resource Manager
   name: pacemaker
   ver:  0
 }

 aisexec {
   user:   root
   group:  root


___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

 

___
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker