Ask Your Question
0

how to make one controller recovered from crash successfully ?

asked 2014-11-23 19:14:37 -0700

zhan_wu2001 gravatar image

Hello all,

how to make one controller recovered successfully with no data missing?

helium has ability to make data persiter,

but how to use it ??

1、make all the running data in data store?

2、when storeing data recovered, will the data be passed to NE?

3、when storeing data recovered,will listeners be notified like nomal?

edit retag flag offensive close merge delete

Comments

HI Zhan, As per my understanding this whole concept is related to high availabilty of opendaylight. Please refer clustering in opendaylight , it might help you for your task. -Devesh

devverma ( 2015-05-06 04:45:10 -0700 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2015-10-02 01:40:16 -0700

Muthukumaran gravatar image

Hi Zhan,

---- 1) make all the running data in data store?

Whatever you store in Config Datastore is persisted and its state is recovered during controller restart by default. Since Operational datastore represents network-state, it would be empty upon restart

---- 2) when storeing data recovered, will the data be passed to NE?

This is application-specific. Your app can detect that NE got connected by listening to Operational Datastore and push configuration reading them from Config Datastore. Refer forwarding-rules-manager app in OpenflowPlugin project to see how this is realized in Openflow context

---- 3) when storing data recovered,will listeners be notified like nomal

Assuming that you refer Data Change Listeners listening on COnfig Datastore, they do get the data change notification upon recovery. Your app can react to that notification as usual

You can refer more detailed design here - https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering

Hope this helps

  • Muthu
edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-11-23 19:14:37 -0700

Seen: 880 times

Last updated: Oct 02 '15