Project branch for development of Registry replication


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5857 a612230a-c5fa-0310-af8b-88eea846685b
initialize merge tracking from main and retarget externals to this branch

git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5858 a612230a-c5fa-0310-af8b-88eea846685b
add queue limit to OsServerTask startup debug log

git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5861 a612230a-c5fa-0310-af8b-88eea846685b
[XRR-82] [XRR-85] header files and init restructuring for Registry HA
- Header files for new registry objects, in some cases with stub
  implementations.
- Refactored initialization of the top level objects.
  The OsConfigDb object created by main is now made available to all
  major objects in the constructors, and each object reads what it
  needs from the configuration.  This greatly simplifies the main
  module and SipRegistrar top level object, since they don't have to
  read configuration for other objects.
- Added configuration item for XMLRPC port
- Minor documentation improvements to ResultSet and XmlRpcRequest
- Log clarification in SipUserAgent for messages in queue after
  garbage collection.



git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5862 a612230a-c5fa-0310-af8b-88eea846685b
[XRR-86] (partial) implement RegistrarPeer
http://track.sipfoundry.org/browse/XRR-86

This implements the object, with stubs for the methods it calls in
RegistrarSync and RegistrarTest.

I still need to do the methods in SipRegistrar for getting these.



git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5863 a612230a-c5fa-0310-af8b-88eea846685b
Distinguish primary registrar name vs. calling registar name in the pullUpdates method signature.  Make some other changes to align the naming in the spec with the naming in the code.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5871 a612230a-c5fa-0310-af8b-88eea846685b
Fix a spelling mistake


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5876 a612230a-c5fa-0310-af8b-88eea846685b
A boatload of changes for registry HA.  The most important one is a not-yet-tested implementation of the XML-RPC method "pullUpdates" used in registry synchronization.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5877 a612230a-c5fa-0310-af8b-88eea846685b
[XRR-86] add configuration of and access to RegistrarPeer objects
With a bare-bones unit test.

http://track.sipfoundry.org/browse/XRR-86


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5879 a612230a-c5fa-0310-af8b-88eea846685b
Add lastSentUpdateNumber to pushUpdates to avoid the problem that Dale pointed out due to resets in one direction crossing pushUpdates in the other direction.
Add a section on protocol interoperability.
Clarify the explanation of how the reset method works.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5883 a612230a-c5fa-0310-af8b-88eea846685b
Add lastSentUpdateNumber to the pushUpdates method per the spec change to accommodate the problem that Dale identified


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5884 a612230a-c5fa-0310-af8b-88eea846685b
Reorganize SyncRpc methods to make individual method classes public
Implement registrarSync.pullUpdates and  registrarSync.pushUpdates (untested)
Add framework for initial synchronization


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5886 a612230a-c5fa-0310-af8b-88eea846685b
HA: now that HA configuration works, record the configured registrar name as the primary registrar name for registrations processed locally.
Check in the beginning of a test for HA synchronization.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5901 a612230a-c5fa-0310-af8b-88eea846685b
minor tweaks


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5908 a612230a-c5fa-0310-af8b-88eea846685b
Check in a few minor HA-related changes to provide an unmodified sandbox for merging main


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5909 a612230a-c5fa-0310-af8b-88eea846685b
Merge from main via "mergefrom main2registry_ha 5855-5907"


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5910 a612230a-c5fa-0310-af8b-88eea846685b
clarify log message for ssh handshake errors

git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5911 a612230a-c5fa-0310-af8b-88eea846685b
Remove these comments about the registration DB from Redirection.txt because this is no longer true:

    You can read the in-memory database directly using the
    sipdbtest utility found in the sipXcommserverLib.
    file.

We took this feature out of sipdbtest because it was an obstacle to implementing HA (high availability).


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5914 a612230a-c5fa-0310-af8b-88eea846685b
Defined the internal methods in RegistrarInitialSync that are the
   statup phase steps.
Implemented SyncRpcReset::invoke
 (client side of registrarSync.reset XML-RPC method)
Re-ordered a couple of things in SipRegistrar initialization
 to get the dependencies correct.
Changed a couple of interfaces to always pass the primary name
 as a const char* (we won't normally be manipulating these, so this is
   easier than passing UtlString)


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5916 a612230a-c5fa-0310-af8b-88eea846685b
Take the hardwired URL path for XML-RPC, "/RPC2", and make it a public string constant, XmlRpcDispatch::DEFAULT_URL_PATH


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/registry_ha@5921 a612230a-c5fa-0310-af8b-88eea846685b