On 8/8/07, Takenaka Kazuhiro <[EMAIL PROTECTED]> wrote:
> Hi All.
>
> I installed Heartbeat 2.1.2 into my cluster and tried
> the new way to invoke a cluster recommended in the following URL.
>
> http://www.linux-ha.org/v2/faq/cib_changes_detected?highlight=%28v2/faq/%2
>
> It works sanely, so I think I'd better to take it the
> formal procedure of invoking my cluster that I am planning
> to test for.
>
> On the adoption of the new way, I want to know a proper
> timing to execute 'cibadmin -R -x cib.xml'. In other words,
> I want to know how to detect a cluster ready to respond
> client command's requests.
>
> If there is some command which enbales to detect the timing,
> it must be best.
>
> I think 'crm_mon -s' might be what I want.
>
> If 'crm_mon -s' shows 'Ok' at 1st field of it's report,
> I suppose that is a ready sign of a cluster for operators
> requests.
>
> Am I right?
the best way, is to run:
crmadmin -D # find out which node is the DC
crmadmin -S {uname_of_dc} # find out what status it's in
if it says S_IDLE, then now is a good time to make changes
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems