[ClusterLabs Developers] CIB daemon up and running

Ken Gaillot kgaillot at redhat.com
Mon Aug 13 11:19:20 EDT 2018

On Mon, 2018-08-13 at 05:36 +0000, Rohit Saini wrote:
> Gentle Reminder!!
> From: Rohit Saini 
> Sent: 31 July 2018 10:34
> To: 'developers at clusterlabs.org' <developers at clusterlabs.org>
> Subject: CIB daemon up and running
> Hello,
> After “pcs cluster start”, how would I know if my CIB daemon has come
> up and is initialized properly.
> Currently I am checking output of “cibadmin -Q” periodically and when
> I get the output, I consider CIB daemon has come up and initialized.
> Is there anything better than this? I am looking for some
> optimizations with respect to above.
> Thanks,
> Rohit

That's probably the best way available currently. You could copy the
source code of cibadmin and modify it to do the query in a loop until
successful, if you wanted to make it more convenient.
Ken Gaillot <kgaillot at redhat.com>

More information about the Developers mailing list