01-11-2006 11:14 AM
Is there a way to completely remove all device entries and configuration from LMS 2.51? I wan to start off with a completely clean system and then re-import my devices. There seems to be lots of files with references to devices still there if the devices are removed through the GUI (Common Services, Device Management, Delete).
I seem to remember one of NMS guys using some command line stuff (pearl scripts?) to purge all data. Don't worry this is a test system and I want to avoid a re-build.
Thanks
Andy
01-11-2006 11:43 AM
Windows or Solaris?
01-11-2006 06:39 PM
For Solaris:
/etc/init.d/dmgtd stop
cd /opt/CSCOpx/campus/bin
./reinitdb.pl -restore
cd /opt/CSCOpx/bin
./dbRestoreOrig.pl dsn=cmf dmprefix=Cmf
./dbRestoreOrig.pl dsn=dfmEpm dmprefix=EPM
./dbRestoreOrig.pl dsn=dfmInv dmprefix=INV
./dbRestoreOrig.pl dsn=dfmFh dmprefix=FH
./dbRestoreOrig.pl dsn=rmeng dmprefix=RME
/etc/init.d/dmgtd start
For Windows (commands are case sensitive):
net stop crmdmgtd
cd CSCOpx\campus\bin
..\..\bin\perl reinitdb.pl -restore
cd CSCOpx\bin
perl dbRestoreOrig.pl dsn=cmf dmprefix=Cmf
perl dbRestoreOrig.pl dsn=dfmEpm dmprefix=EPM
perl dbRestoreOrig.pl dsn=dfmInv dmprefix=INV
perl dbRestoreOrig.pl dsn=dfmFh dmprefix=FH
perl dbRestoreOrig.pl dsn=rmeng dmprefix=RME
net start crmdmgtd
01-12-2006 02:53 AM
Hi nhabib,
please correct me if I am wrong but I think it is also necessary to reinitialize the ANI DB as of all the Discovery and UserTracking information that is stored inside.
The comand for Solaris:
cd /opt/CSCOpx/campus/bin
./reinitdb.pl
for Windows
cd CSCOpx\campus\bin
perl .\reinitdb.pl
regards,
MArtin
01-12-2006 04:31 AM
Yes, you are correct. I had provided the commands in my post as well.
01-12-2006 03:09 AM
Thanks for the reply. It seems to have worked, although I am now left in a bit of a situation with regards to the server. If I attempt to access the Common Services Device & Credentials page I get the following message box:
The Device Management operation is not allowed on slave DCA server.
If I attempt to access the Admin page I get the message:
Internal error in communication channel.
I assume this is something to do with the hostname? Where do I fix this?
Thanks
Anfy
01-12-2006 03:32 AM
OK, worked it out. I was using SSL and this wasn't enabled in Common Services. Strangely though the original links still worked (SSL), which I thought would have been disabled since it wasn't using SSL?
Andy
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