09-14-2011 05:29 AM
I have Cisco works LMS 3.2. When i take manual backup, it hits following error,
ERROR(1101): Database dfmInvDb backup failed.
Validation e:/backup_new\0\dfm\database\dfmInv.db failed.
[Wed Sep 14 15:53:41 2011] Validation e:/backup_new\0\dfm\database\dfmInv.db failed Validation e:/backup_new\0\dfm\database\dfmInv.db failed.
[Wed Sep 14 15:53:41 2011] Validation e:/backup_new\0\dfm\database\dfmInv.db failed.
Please suggest what to do to resolve this issue.
09-14-2011 12:29 PM
You are probably running into
CSCsx23656 DFM3.1.2: sm_server does not stop properly when stopped deamons
You can upgrade to LMS 32 SP for resolution
http://www.cisco.com/cisco/software/type.html?mdfid=282635181&flowid=16561&softwareid=280775102
or just stop LMS kill any instance of sm_server/brstart, then use dbbackup.pl
Search for "Backing Up"
http://www.cisco.com/en/US/prod/collateral/netmgtsw/ps6504/ps6528/ps2425/white_paper_c07-552114.html
09-15-2011 10:45 PM
Hi Thomas,
As per you, first i have to take backup and then Upgrade LMS 3.2.
But i could not take backup of DFM. it stuck with a error
\dfm\database\dfmInv.db failed.
[Wed Sep 14 15:53:41 2011] Validation e:/backup_new\0\dfm\database\dfmInv.db failed.
\dfm\database\dfmInv.db failed.
[Wed Sep 14 15:53:41 2011] Validation e:/backup_new\0\dfm\database\dfmInv.db failed.
I saw one of the discussion form of CISCO. in that they given to Reinitialize the DFM database but for reinitialize the DFM database, i will lose all DFM database.
So please suggest what to do?
09-16-2011 06:58 AM
This is a catch 22 , you need to apply a patch to fix a backup problem , yet you want to backup before applying a patch. This is where you will have to assume some risk, and apply the patch w/o a backup.
Go to Common Services -> Device and Credentials -> Device Mgmt and export the entire DCR (All devices) to a CSV file. Make sure you browse to someplace outside application space, I usually place the file at c:\. Also make sure you check mark the include credentials box, so you also have all your device passwords. This is your D/R plan, if things were to fail you will have your device list you can import in an emergency.
Or you can try the suggestion of clearing DFM to mitigate potential loss so you can get a good backup of the rest of LMS. Just be sure to view your notifications and cut/paste into note pad so they can be rebuilt. You will lose history and local customizations to Polling and Thresholds and DDV.
# net stop crmdmgt
kill any sm_* / brstart processes still running
# cd ...\CSCOpx\bin
# perl dbRestoreOrig.pl dsn=dfmInv dmprefix=INV
# perl dbRestoreOrig.pl dsn=dfmFh dmprefix=FH
# perl dbRestoreOrig.pl dsn=dfmEpm dmprefix=EPM
Use explorer to go to ...\CSCOpx\objects\smarts\local\repos\icf and delete all .rps files
perform the backup.
10-17-2011 02:39 AM
Hi
Thanks
I have reinitialize the DFM and it is working fine
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