SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
HSNUOffline



Joined: Aug 29, 2007
Posts: 15

Status: Offline
Posted: Apr 02, 2008 - 09:37 AM Reply with quote Back to top
Hi,all
My purpose is make the proxy high available.

I setup two proxy(active and standby) server with openSER, and I set the db_mode to "1".

I want to backup the needed the data of usrloc from the memory of active proxy to another standby proxy by openAIS, an open-source for achieving high availability.

So I need to modify the source code of openSER. I need to figure out the data structure of the "usrloc", so I can replicate the data and let the standby proxy read it when active proxy failed.

I don't know what's the least needed data in usrloc that I should backup.

Thanks for your help!
View user's profile Send private message
x-consoleOffline
Site Admin


Joined: Aug 01, 2006
Posts: 1131
Location: Leeds UK
Status: Offline
Posted: Apr 02, 2008 - 10:38 AM Reply with quote Back to top
i'm afraid you will just have to sit down with the code and work that one out for yourself. Check out doxygen linked on www.openser.org. Dont forget its not just usrloc data-structures, but all the timer's that maintain valid registration bindings as well. Most people implement the HA within their RDMS, and use OpenSER with db_mode=3 to achieve this. Another possibility is t_replicate() function, but this does not scale (and also requires another openser acting as the 'passive' server.
View user's profile Send private message Yahoo Messenger
HSNUOffline



Joined: Aug 29, 2007
Posts: 15

Status: Offline
Posted: Apr 03, 2008 - 02:50 AM Reply with quote Back to top
OK, Thanks for your reply!
Thank you!
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2006 VoIP User.

No part of this site may be reproduced without our prior consent.