Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[Archive] DB Replication problem in NSM 2007.2 and higher



Article ID: KB10465 KB Last Updated: 04 Jun 2010Version: 8.0
DB Replication problem in NSM 2007.2 and higher
NSM 2007.2 or higher does not replicate the database from Active server to Standby server in HA environment

Starting with 2007.2 version NSM uses internal DB replication. This keeps the DB on peer servers in sync all the time. 

If you see the database is "dirty"  when issuing the command #/usr/netscreen/HASvr/utils/haStatus  - or - you do not see DB_EVENT_REP_STARTUPDONE message in guiDaemon.0 file on Standby Server, then the database on the servers are not in sync. 

To force replication from scratch you can do following on Standby Gui Server:

  1. Login to Standby Server
  2. Delete all the files under /usr/netscreen/GuiSvr/var/xdb/data; except DB_CONFIG file
  3. Delete all files in the /usr/netscreenGuiSvr/var/xdb/init directory
  4. Delete all files in the /usr/netscreen/GuiSvr/var/xdb/log directory
  5. Restart HA Services on Standby Server.

Monitor the file /usr/netscreen/GuiSvr/var/errorLog/guiDaemon.0 and watch for message DB_EVENT_REP_STARTUPDONE. This indicates the DB has been replicated successfully.

You can also verify the folder size of /usr/netscreen/GuiSvr/var/xdb/data on both the servers - they should be approximately same. 

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search