09-22-2008 07:35 AM
I have 2 ciscoworks LMS 3.1 systems. They are set up as Master - Slave. On the master system all the devices in the DCR are managed by all the apps, as desired. On the slave system I would also like to have all devices manged by all apps, but only some are manged. I have Enable Auto Mode and Manage All Devices checked off in RME. Do I need to do something else?
Solved! Go to Solution.
09-25-2008 06:09 AM
Do this. Set the slave's DCR mode to standalone. Shutdown Daemon Manager on both servers. Reinitialize all of the databases on the slave one more time. On the master, remove these two lines from dcr.ini:
DCR_SLAVES_COUNT=1
SLAVE-1=HQ1MA139-DCR-4306780^HQ1MA139\:443^2545^0^0^
Restart Daemon Manager on both servers. Re-set the slave's DCR status to slave. The two should sync up.
09-22-2008 08:13 AM
Nothing else is required. If the devices are in DCR, then the applications should manage them. You should check the Common Services homepage on the RME server to make sure the expected number of devices are showing up. You can also go to RME > Devices > Device Management > RME Devices, and select Add Devices to see if there are any devices pending for which RME did not receive an update.
09-22-2008 12:06 PM
The expected number of devices is not showing up on the slave server. It only shows 152 devices whereas the Master server shows 497 devices. There are no pending devices showing on the slave server.
09-22-2008 12:14 PM
There may be a communication issue between the master and slave. Enable DCR debugging on both under Common Services > Server > Admin > CS Log Configurations. Then, add a new device to the DCR master, and post the dcr.log and dcrclient.log from both servers.
09-23-2008 08:57 AM
09-23-2008 03:02 PM
It looks like there is a problem with the cmf database on the slave. I recommend you reinitialize the LMS databases on the slave. This should allow you to resync with the master, but you will lose any information for existing devices. If you want to do this, let me know what apps you have installed on the slave.
09-23-2008 04:10 PM
Yes, I would like to do this. These are the apps I have installed on the slave:
Common Services
Campus Manager
CiscoView
DFM
IPM
RME
Thanks.
09-23-2008 07:28 PM
First, stop Daemon Manager, then run:
NMSROOT/bin/perl NMSROOT/bin/dbRestoreOrig.pl dsn=cmf dmprefix=CMF
NMSROOT/bin/perl NMSROOT/bin/dbRestoreOrig.pl dsn=rmeng dmprefix=RME
NMSROOT/bin/perl NMSROOT/bin/dbRestoreOrig.pl dsn=dfmInv dmprefix=INV
NMSROOT/bin/perl NMSROOT/bin/dbRestoreOrig.pl dsn=dfmEpm dmprefix=EPM
NMSROOT/bin/perl NMSROOT/bin/dbRestoreOrig.pl dsn=dfmFh dmprefix=FH
NMSROOT/bin/perl NMSROOT/bin/dbRestoreOrig.pl dsn=ani dmprefix=ANI
NMSROOT/bin/perl NMSROOT/bin/dbRestoreOrig.pl dsn=ipm dmprefix=Ipm
Then delete NMSROOT/objects/smarts/local/repos/icf/DFM*.rps
Then restart Daemon Manager.
09-23-2008 08:29 PM
OK, I have followed the procedure and restarted Daemon Manager. On the slave CS homepage I now see 225 devices. Should this match the number on the master(498) instantly or will it take some time? I'll check tomorrow morning and update with any change. Thanks.
09-23-2008 08:31 PM
It will take time to synchronize all the devices from master to slave. It doesn't happen instantaneously.
09-24-2008 04:52 AM
still stuck at 225 this morning
09-24-2008 12:56 PM
Please post the new DCR logs.
09-24-2008 06:18 PM
09-24-2008 06:24 PM
I see no errors here. According to the log, the slave has successfully synced with the master. Are either of these servers integrated with ACS?
09-24-2008 06:34 PM
Also, please post NMSROOT/lib/classpath/com/cisco/nm/dcr/dcr.ini.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide