[ClusterLabs Developers] CIB daemon up and running

Jan Pokorný jpokorny at redhat.com
Mon Aug 13 15:39:15 UTC 2018


On 13/08/18 10:19 -0500, Ken Gaillot wrote:
> 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.

IOW. the plain poling mentioned in my previous reply
https://lists.clusterlabs.org/pipermail/developers/2018-July/001271.html

Have you missed that, Rohit?  What's your ultimate objective?

-- 
Nazdar,
Jan (Poki)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/developers/attachments/20180813/91703b4f/attachment-0003.sig>


More information about the Developers mailing list