Re: [Pacemaker] [pacemaker][openais]the intention of /etc/init.d/openais stop
Hi, I have another problem. https://bugzilla.redhat.com/show_bug.cgi?id=706289 how to fix it? Thanks a lot. Zhuyj On 03/13/2013 04:45 PM, Andrew Beekhof wrote: Thats a package version, not the name of a distribution (eg. fedora) On Wed, Mar 13, 2013 at 4:30 PM, zhuyj zyjzyj2...@gmail.com wrote: openais-1.1.4 On 03/13/2013 08:47 AM, Andrew Beekhof wrote: Which distro is this? On Tue, Mar 12, 2013 at 2:05 PM, zhuyj zyjzyj2...@gmail.com wrote: Hi, all I am using the linux cluster. When I run /etc/init.d/openais stop, I found that it just checks the status of corosync, if corosync exists, then it will return. Who can tell me why? openais does not make corosync exit? Thanks a lot. Zhu Yanjun ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
[Pacemaker] [openais]when openais disappear
hi, all I have a problem. When does openais disappear? who replace the function of openais? pacemaker or corosync? Thanks a lot. Zhuyj ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
Re: [Pacemaker] [openais]when openais disappear
On 03/13/2013 05:46 PM, Andrew Beekhof wrote: On Wed, Mar 13, 2013 at 8:13 PM, zhuyj zyjzyj2...@gmail.com wrote: hi, all I have a problem. When does openais disappear? who replace the function of openais? pacemaker or corosync? The interesting parts were spun off to create corosync. The SAF APIs were deemed to be not very useful and set on a course to be deprecated. Hi, thanks for your reply. I have a problem. How does pacemaker manage resource ? I mean that how pacemaker cleanup resource when resource is obsolete. Thanks Zhuyj ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
[Pacemaker] [pacemaker][openais]the intention of /etc/init.d/openais stop
Hi, all I am using the linux cluster. When I run /etc/init.d/openais stop, I found that it just checks the status of corosync, if corosync exists, then it will return. Who can tell me why? openais does not make corosync exit? Thanks a lot. Zhu Yanjun ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
[Pacemaker] [pacemaker][openais]timer_attributes.type is missing
Hi, If req_lib_tmr_timerreschedule-timer_attributes.type is SA_TIME_ABSOLUTE, an absolute time value must be higher than the current absolute time.According to the type, we will compare the current time with an absolute time. If the type is SA_TIME_ABSOLUTE, we will compare. Or else, we do nothing; diff -urpN a/services/tmr.c b/services/tmr.c --- a/services/tmr.c +++ b/services/tmr.c @@ -442,7 +442,8 @@ static void message_handler_req_lib_tmr_ current_time = (SaTimeT)(api-timer_time_get()); -if (current_time req_lib_tmr_timerreschedule-timer_attributes.initialExpirationTime) { +if ((SA_TIME_ABSOLUTE == req_lib_tmr_timerreschedule-timer_attributes.type) +(current_time req_lib_tmr_timerreschedule-timer_attributes.initialExpirationTime)) { error = SA_AIS_ERR_INVALID_PARAM; goto error_put; } diff -urpN a/test/testtmr.c b/test/testtmr.c --- a/test/testtmr.c +++ b/test/testtmr.c @@ -86,8 +86,8 @@ int main (void) SaTmrHandleT handle; SaSelectionObjectT select_obj; SaTmrTimerAttributesT attrs; -SaTmrTimerAttributesT attrs_a = { SA_TIME_DURATION, TMR_30_SECONDS, 0 }; -SaTmrTimerAttributesT attrs_b = { SA_TIME_DURATION, TMR_30_SECONDS, 0 }; +SaTmrTimerAttributesT attrs_a = { SA_TIME_DURATION, TMR_30_SECONDS, TMR_30_SECONDS }; +SaTmrTimerAttributesT attrs_b = { SA_TIME_DURATION, TMR_30_SECONDS, TMR_30_SECONDS }; SaTmrTimerAttributesT new_attrs_a = { SA_TIME_DURATION, TMR_10_SECONDS, TMR_10_SECONDS }; SaTmrTimerAttributesT new_attrs_b = { SA_TIME_DURATION, TMR_20_SECONDS, TMR_20_SECONDS }; SaTmrTimerIdT id_a; ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
[Pacemaker] [HELP] hi, can I discuss openais here?
On 02/28/2013 02:45 PM, zhuyj wrote: ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org