Re: Question about service init order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jason,
it looks like you are using quorum with corosync 1.4.x. Keep in mind that:
- none of quorum providers are fully tested and or finished in 1.4.x
(with 2.x, there is fully tested and completed votequorum)
- so you just need to use cman quorum to get correct results

Also IF you are developing new software, please consider to use
cpg/quorum/cfg/... API instead of service. Services are gone in 2.x.
Even 1.x will be supported for quite long time, no new features are
expected (there is master for that and in limited fashion also 2.x).
It's also MUCH easier to develop app on top of API instead of using
service. Also because only one service changed dramatically between 2.x
and 1.x is confdb (replaced by cmap) it should be perfectly possible to
use 1.x today and then migrate to 2.x later by simple recompile of app.

Regards,
  Honza

jason napsal(a):
> Hi All,
> One of our service wants to register quorum callback by calling
> api->quorum_register_callback() in it's exec_init_fn(). But according to
> corosync_service_default_link_and_init(), all external service such as
> openais are initialized before corosync internal service such as
> corosync_quorum, so the calling to api->quorum_register_callback() do
> nothing at all. What is the right thing we should do? Reorder the service
> init sequence or skip calling api->quorum_register_callback() in
> exec_init_fn()? Please give some advices .
> 
> 
> 
> 
> _______________________________________________
> discuss mailing list
> discuss@xxxxxxxxxxxx
> http://lists.corosync.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux