2011/3/30 <[email protected]>: > Dear all, > > > > I have a similar question to that on > http://oss.clusterlabs.org/pipermail/pacemaker/2011-March/009750.html. > > > > At the moment I start corosync and pacemaker, the monitoring status by > executing crm_mon is: > > ************************************************* > > ============ > > Last updated: Wed Mar 30 21:51:49 2011 > > Stack: openais > > Current DC: NONE > > 2 Nodes configured, 2 expected votes > > 4 Resources configured. > > ============ > > > > Node alpha1: OFFLINE > > Node alpha2: OFFLINE > > ************************************************* > > > > After around 1 min. the monitor status becomes: > > ************************************************* > > ============ > > Last updated: Wed Mar 30 21:52:54 2011 > > Stack: openais > > Current DC: alpha1 - partition with quorum > > Version: 1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3 > > 2 Nodes configured, 2 expected votes > > 4 Resources configured. > > ============ > > > > Node alpha1: online > > Disk:0 (ocf::linbit:drbd) Master > > ClusterIP (ocf::heartbeat:IPaddr2) Started > > FS (ocf::heartbeat:Filesystem) Started > > WebSite (ocf::heartbeat:apache) Started > > Node alpha2: online > > Disk:1 (ocf::linbit:drbd) Slave > > ************************************************* > > > > My questions are: > > 1. Why does the pacemaker warm-up behavior spend some time? Is it > controlled by a configuration value?
man crmd <-- dc-deadtime > > 2. At the warm-up time, how can I detect that the node status becomes > online? Using a shell script to parse crm_mon result periodically until the > "online" sub-string? crmadmin -S `uname -n` <-- look for S_IDLE or S_NOT_DC > > > > Thanks for your help in advance,. > > > > Chia-Feng Kang > > > > > > > > > > 本信件可能包含工研院機密資訊,非指定之收件者,請勿使用或揭露本信件內容,並請銷毀此信件。 > This email may contain confidential information. Please do not use or > disclose it in any way and delete it if you are not the intended recipient. > _______________________________________________ > Pacemaker mailing list: [email protected] > 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker > > _______________________________________________ Pacemaker mailing list: [email protected] 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
