Problem restoring LMS 2.6 data to LMS 4.0

Hello,
I'm trying to migrate from LMS 2.6 on a Windows 2003 server to LMS 4.0 on Windows 2008 R2.
Two things I'll note here which might help future people attempting to use the LMS 4.0 backup/restore scripts as detailed in the migration document:
1) Make sure nobody has installed cygwin on the server before you run the backup scripts. If they have, remove it and the reg keys.
2) On the target server make sure to run the restore script CMD session using runas or disable UAC on Windows 2008 or the restore scripts will fail
My next problem I can't get past. I've been running the restore since yesterday morning and it still hasn't finished. It hasn't moved from 40% complete migrating the IPM data but in the last 24 hours it has eaten up 6Gb more RAM.
C:\Users\zadmkovesa>e:\sw\CSCOpx\bin\perl.exe e:\Sw\CSCOpx\bin\restorebackup.pl
-d e:\lmsbackup\ -t e:\lmsbackup\temp
Restore started at : 2011/03/15 11:21:12
Please see 'E:\Sw\CSCOpx\log\restorebackup.log' for status.
     USER ID is ..................................... : zadmkovesa
     OS of the backup archive is..................... : Windows
     WARNING: The temp directory e:\lmsbackup\temp\tempBackupData is not empty.
              An earlier instance of restore operation might have been interrupt
ed before completion.
              If you proceed with the restore operation, this directory and its
sub directories will be deleted.
              Do you want to continue?  (y-continue or n-quit, y/n)?y
     Generation to be restored is ................... : 0
     Backup taken from............................... : e:\lmsbackup\
     Common Services version in the backup data is... : 3.0.6
     Common Services is installed in................. : E:\Sw\CSCOpx
     The temp folder for this restore program........ : e:\lmsbackup\temp\tempBa
ckupData
     Applications installed on this machine ......... : [Common Services][Campus
Manager][Resource Manager Essentials][Device Fault Manager][cvw][cwlms][cwporta
l][ipm][upm]
     Applications in the backup archive ............. : [Common Services][Campus
Manager][Resource Manager Essentials][Device Fault Manager][cvw][ipm]
     WARNING: The list of applications installed on this CiscoWorks server does
not match the list of
              applications in the backup archive. If you restore data from this
backup archive,it may
              cause problems in the CiscoWorks applications.
              Do you want to continue the restore operation?  (y-continue or n-q
uit, y/n)?y
     Applications to be restored are................. : [Common Services] [Campu
s Manager] [Resource Manager Essentials] [Device Fault Manager] [cvw] [ipm]
     Available disk space in NMSROOT................. : 237023900 Kb
     Required disk space in NMSROOT.................. : 38857544 Kb
     (The temp and NMSROOT are on same device, therefore this required disk spac
e includes temp space)
  Copying the backup files to the temporary location [e:\lmsbackup\temp\tempBack
upData]
  preRestore of [Common Services] has started.
  preRestore of [Common Services] has completed.
  preRestore of [Campus Manager] has started.
  preRestore of [Campus Manager] has completed.
  preRestore of [Resource Manager Essentials] has started.
  preRestore of [Resource Manager Essentials] has completed.
  preRestore of [Device Fault Manager] has started.
  preRestore of [Device Fault Manager] has completed.
  preRestore of [cvw] has started.
  preRestore of [cvw] has completed.
  preRestore of [ipm] has started.
Not all data from IPM 2.6 will be migrated to LMS 4.0. For information on the d
ata that is migrated, see the "Migrating Data From LMS 2.6 or 2.6 SP1" section i
n the "Migrating Data to CiscoWorks LAN Management Solution 4.0" chapter in the
LMS4.0 Installation Guide for details. Do you want to continue[Y/N]:[Y]y
Do you want the IPM 2.6 collectors present in the backup to be DELETED from the
source routers [Y/N]:[Y]n
  preRestore of [ipm] has completed.
  doRestore of [Common Services] has started.
          License check started.
             WARNING: The license details in the server are different from the b
ackup data.
                      After restoring, please check the license available in the
server.
             WARNING: Your current license count is lower than your earlier lice
nse count.
                      If you restore the data now, devices that exceed the curre
nt licence count
                      will be moved to Suspended state.
          License check completed.
          Restoring certificate.
             WARNING: Cannot evaluate the hostname, hence the certificate
                      may be from this host or another host.
                      [  Certificate not overwritten  ]
          Restored Certificate.
          Restoring Common Services database.
          Restored Common Services database.
          Restoring CMIC data.
          Restored CMIC data.
          Restoring CMC data.
          Restored CMC data.
          Restoring Security Settings.
                INFO:
                Backup Mode is ACS. In LMS we are not supporing ACS for AAA.
                Setting Login Mode to CiscoWorks Local.
          Restored Security Settings.
          Restoring DCR data.
          Restored DCR data.
          Restoring Certificate key store.
          Restored Certificate key store.
          Restoring JAAS configuration.
          Restored JAAS configuration.
          JRM Job Migration started.
          JRM job Migration done.
  doRestore of [Common Services] has completed.
  doRestore of [Campus Manager] has started.
  doRestore of [Campus Manager] has completed.
  doRestore of [Resource Manager Essentials] has started.
10% of RME  Restore completed
30% of RME  Restore completed
50% of RME  Restore completed
70% of RME  Restore completed
100% of RME  Restore completed
  doRestore of [Resource Manager Essentials] has completed.
  doRestore of [Device Fault Manager] has started.
10% of DFM Restore completed
30% of DFM Restore completed
50% of DFM Restore completed
80% of DFM Restore completed
Going to modify Eight PM report
Modified Sucessfully Eight PM report
100% of DFM Restore completed
  doRestore of [Device Fault Manager] has completed.
  doRestore of [cvw] has started.
  doRestore of [cvw] has completed.
  doRestore of [ipm] has started.
10% of IPM migration completed
20% of IPM migration completed
30% of IPM migration completed
40% of IPM migration completed
>>>
The restore log is more than 8Mb in size so I won't upload it unless someone really wants to see it. Here is a snip from the end of it showing no clues I can make sense of:
INFO: Getting message                                                                                                    
INFO: Connect the database dsn=ipmdb
INFO: Connected the Database
INFO: Command Executed
INFO: Connecting the Database ipmdb
INFO: Company=Cisco Systems;Application=NMTG;Signature=010fa55157edb8e14d818eb4fe3db41447146f1571g32125eb777a87cbf8b29a954f559d4221b792ff8
INFO: Preparing AUTH cmd
INFO: AUTH Executed
INFO: AUTH cmd finished
INFO: Stopping the Database engine ipmdb
INFO: E:\Sw\CSCOpx/objects/db/conf/ConfigureDB.LOCK released for the future operations...
INFO: File not exists.[Tue Mar 15 13:17:30 2011] Successfully registered the database with DM
[Tue Mar 15 13:17:30 2011] Successfully configured IPMDB database !..
10% of IPM migration completed
INFO: Start changing password for database 'ipm'...
    Starting database engine ipmEng
INFO: New userinfo updated into database successfully.
    Stopping database engine ipmEng
SQL Anywhere Command File Hiding Utility Version 10.0.1.4051
INFO: Password changed in odbc template file for database 'ipm'.
INFO: Password changed for ODBC registry 'ipm'.
INFO: Password changed for Property file E:\Sw\CSCOpx\lib\classpath\com\cisco\nm\cmf\dbservice2\DBServer.properties.
INFO: Database password successfully changed.
INFO: Process created
INFO: Started the Database engine : ipmEng Retry 0
INFO: Started the Database engine : ipmEng Retry 1
INFO: Started the Database engine : ipmEng Retry 2
INFO: Started the Database engine : ipmEng Retry 3
INFO: Started the Database engine : ipmEng Retry 4
INFO: Getting message                                                                                                    
INFO: Connect the database DSN=ipm
INFO: Connected the Database
INFO: Command Executed
INFO: File not exists.[Tue Mar 15 13:18:08 2011] Updated IPM 2.6 DB password into IPM 5.0 DB
20% of IPM migration completed
The CiscoWorks Daemon Manager service is starting.
The CiscoWorks Daemon Manager service was started successfully.
[Tue Mar 15 13:18:12 2011] Waiting for all daemons to start completely...
[Tue Mar 15 13:20:12 2011] Successfully stated daemon manager
30% of IPM migration completed
[Tue Mar 15 13:20:12 2011] Checking if IPM Process is up and running
INFO:Daemon Manager is processing other tasks in the queue.Please try again later.
[Tue Mar 15 13:25:12 2011] Process IPMProcess is not running or never started
[Tue Mar 15 13:25:12 2011] Will check after 60 seconds
INFO:Daemon Manager is processing other tasks in the queue.Please try again later.
[Tue Mar 15 13:31:12 2011] Process IPMProcess is not running or never started
[Tue Mar 15 13:31:12 2011] Will check after 60 seconds
[Tue Mar 15 13:34:54 2011] Process IPMProcess is running normally
[Tue Mar 15 13:34:54 2011] Let's proceed further..
40% of IPM migration completed
[Tue Mar 15 13:39:54 2011]  delete flag is  0
[Tue Mar 15 13:39:54 2011]  Data passed to MigrMain : 2.6 5.0 E:\Sw\CSCOpx E:\Sw\CSCOpx e:\lmsbackup\temp\tempBackupData Migration e:\lmsbackup\temp\tempBackupData 0
Should I just wait? Is this something that might take days if I've got a lot of IPM data or is it broken? I don't really care about keeping IPM data so could I do something to complete the data migration for everything else? Any advice appreciated.
regards,
Aaron

The restore can take a long time if you have a lot of data.  The problem is the database needs to be completely unloaded and reloaded to convert from ASA 9 to ASA 10.  However, if you do not care about IPM data, and you still have LMS 2.6 running, you can take a new LMS backup not using the wrapper.pl script (this will keep IPM from being backed up).

Similar Messages

  • Problem Restoring to Correct Backup Date

    I want to restore my iphone to my most recent backup. However, when I right click my iphone in itunes and choose restore to backup it says a different backup date (Feb 14th 2012 12;15 am) than what my summary page says (Feb 13th 10:15pm). The last backup I did was Feb 13th at 10:15 and thats want I want to restore to.
    Note: Even if I try to restore to the Feb 14th it says, cannot restore because backup did not complete.

    Im experiencing the same issue. Was having some problems syncing music to iPhone 4 so, backed up data, and restored software.
    Now, the backup I made (30 mins prior to restoring) restores but incompletely and doesn't have any of my apps or data. Has all standard apps.
    For some strage reason, attempting to restore a backup creates a new backup.

  • LMS 4.2 data migratiom from LMS3.2 SP1

    Hi,
    We would like to do data migration.
    The lms4.2 is a soft appliance version. The lms3.2 is windows version.
    The restore process exits and the log file shows the rme.db file copy is failed.
    But the backup contains rmeeng.db file instead of rme.db.
    The data migration is possible based on lms 4.2 data migration doc but restore script is bad.
    Has anybody got same experience?
    How can we do data migration?
    Regards

    Hi,
    I shared
    https://supportforums.cisco.com/servlet/JiveServlet/downloadBody/38973-102-1-94844/restorebackup.log.zip
    thx,

  • Not able to fetch some network switches data in LMS 4.0

    Hi Experts,
     we have LMS 4.0 and we found one problem that some network switches data are not able to fetch with LMS.
    what could be the reason to happen this type of problem?
    please assist with best solution to resolve this issue..
    Suhas B.

    Hi,
    I am facing below problem
    Config Archival Status
    No. of Devices
    Successful
    48
    Failed
    1
    Partially Successful
    0
    Total
    1345
    Configuration Never Collected
    1338
    So I look up a device in the Device Center, here is its Reachability Status:
    SNMPv1 Read
    Success
    SNMPv2c Read
    Success
    SNMPv1 Write
    Failed
    SNMPv2c Write
    Failed

  • Problem with user tracking in cisco prime Lms

    i attach my senario pic ,
    i use snmp v3 for my switch ,,
    discover -- ok
    synchronization  ---- ok
    net config and config edit ----- ok
    but my problem is
    report / inventory / user tracking / quick report ---------------------------------------- i take this notification for all report : no end hosts found
    i install UTU but this program can not found any record too .
    please help me

    NMS servers access the Bridge-MIB data from devices, to get the MAC/CAM table. Because MAC-address or CAM table is maintained on device/VLAN basis, so query needs to be made per VLAN based.
    In snmp v1/v2c SNMP Community String Indexing is used. Where vlan is polled by adding VLAN number after community string after @ sign. Example to see all the mac-address table from VLAN 1, if the community is test123, device would be polled like :
    snmpwalk -v2c -c test123@1  10.10.10.1
    The syntax is [community string]@[instance number].
    For snmp v3 this is not an option, as it cant use SNMP community string indexing. So all the MAC/CAM table needs to made snmp v3 context aware, which exposes BRIDGE-MIB data to SNMP v3.
    You must use contexts to get per-VLAN data from the BRIDGE-MIB with SNMPv3.Not all the IOS switches support this. In general, if the device supports the "show snmp context" command, contexts will work. If not, an upgrade is needed. However, some switches (e.g. 2950 series) will never support SNMPv3 contexts. You must use v1/v2c with these switches.
    Very simply, you need to add the context to the SNMP group to allow your users to poll the given context. For example, to allow users to poll the BRIDGE-MIB for context vlan-6, you would add something like:
    snmp-server group v3group v3 auth context vlan-6 read
    You should add all those exact name after context which you see in output of show snmp context.
    Also, about UTU, it is just a small utility tool to access the LMS User Tracking DB externally to show the UT data, so unless LMS has UT data in its DB, UTU won't a difference either.
    -Thanks
    Vinod
    **Encourage Contributors. RATE Them.**

  • I'm waiting for my new iPhone 5s to be delivered. I lost my iPhone 5 but did have it backed up on my MacBook Pro. I was using iOS6 at the time. Will I have a problem restoring the data to my new iPhone 5s assuming it will come with iOS7?

    I'm waiting for my new iPhone 5s to be delivered. I lost my iPhone 5 but did have it backed up on my MacBook Pro. I was using iOS6 at the time. Will I have a problem restoring the data to my new iPhone 5s assuming it will come with iOS7?

    No, you should not.  There are problems trying to go the other way, but updating a newer iOS release from a backup of an older iOS release has always been supported and is the basic means of setting up a new device from a previous one.

  • Release date of LMS 4.1?

    What is the expected release date for LMS 4.1?
    -David

    Hi David,
         New releases of LMS typically have come out around the May / June time frame , but so far I haven't seen anything definitive regarding the date when LMS 4.1 will be released. Do you have an urgent requirement ?  I'd suggest you keep watching this forum / re-post you question in say 3 months time.
    Regards
    Derek Clothier

  • Migrating DFM data from LMS 3.1 to LMS 4.2.3

    Hello, I need to migrate DFM alarm settings data from LMS 3.1 to LMS 4.2.3 and I want to use this method, http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_device_fault_manager/3.1/user/guide/useAAD.html#wp1433848 , to extract the data from 3.1 and then inport it into 4.2.3.
    I successfully performed it for IP settings, it was easy since the data format was the same.
    But the format differs quite alot for Interface and Port data, here is an example:
    export from LMS 3.1
    IF-hostname/17 [Gi0/0.524] [10.55.254.3]; INTERFACE:;IF-hostname/17; MANAGED_STATE:;EXPLICITLY_UNMANAGED
    export from LMS 4.2.3
    INTERFACE:IF-hostname/17 MANAGED_STATE:MANAGED GigabitEthernet0/0.524
    It looks like I have convert interface names, sort and delete stuff to make it look the same.
    Have anyone done this before and can give me some advice?
    BR /Crille

    Just want to report back that I found an answer to this, it is enough to import this string:
    INTERFACE:IF-hostname/17 MANAGED_STATE:MANAGED (or EXPLICITLY_UNMANAGED).
    So what i did was use Notepad++ and regexp to filter out the needed data:
    Search for: ^.+(INTERFACE.+$)
    Replace with: \1
    and then another replace for ";" with nothing.
    Then I ended up with:
    INTERFACE:IF-hostname/17 MANAGED_STATE:EXPLICITLY_UNMANAGED
    which could be imported with the mentioned scripts in my original post.

  • Migrating data from LMS 3.2 to LMS 4.2

    I`m trying to migrate data from LMS 3.2 (windows) to LMS 4.2 (linux) I have run the backup job which contains many directories, I have created a .tar file to be able to ftp to LMS 4.2 but cannot get it to un-tar. Anyone been in this same scenario before?

    Share more details on what error do you see. Do you still have the old backup files, without tar? What tar utility are you using?
    I can suggest to use the tar utility available within LMS. Go to NMSROOT/bin directory and use:
    1. To create tar : tar -cv <filename> <source_files>
    2. To untar : tar -xvf <file_name>
    Being the same utility it may be good. Anyways, this seems less of an LMS issue. If possible use an WINSCP and copy the entire directory without compressing.
    -Thanks
    Vinod

  • Thunderbird runs very slowly after latest round of 11 updates from Microsoft, restoring computer to earlier date fixes problem.

    Thunderbird version 24.4.0
    Windows 7 Professional Service Pack 1
    Microsoft uploaded 11 new updates ( 7 updates for Windows 7 and 4 for Office 2010) on 9 April 2014. After automatically installing updates on my computer Thunderbird runs very slowly, i.e., every time anything is selected, Thunderbird give error "Thunderbird fails to response" which takes about 1 minute to clear. I restored computer to earlier date that did not have these updates and Thunderbird works OK.
    Also updates changed default search engine in Firefox 28.0 from Google to Bing ! ! !
    Marti Sarigul-Klijn, Ph.D.

    Appears that you are right.
    McAfee was running a scan continuously. I uninstalled it. Then ran all of the Microsoft updates. Finally I reinstalled McAfee and turned off real time scanning of e-mail.
    Thunderbird appears to be working OK now.
    Thanks for your help.
    Marti

  • How can I restore 3rd party app data from my backup in the cloud

    First a brief history. I use the iCloud to backup my iPad 2 and hardly ever synch it to itunes on my computer. I got the new iPad and restored the backup of my iPad 2 onto it.  All was fine except that an issue I had on my iPad 2's Safari had transferred over to my new iPad. That's is for another discussion. Anyhow I went to the genius bar and they said to just setup my new iPad as a new device and then manually install everything back on it. Stuff like mail, contacts, etc, would be reloaded from the cloud. So I did and I noticed that one of my 3rd party apps, MadPad, had none of my saved data. Does anyone know of a way to restore 3rd party app data from the iCloud? Is there some sort of utility out there that would do this?  I don't want to restore it from my previous iPad 2 backup because it will reintroduce the Safari problem back onto my new iPad.
    Thanks!

    Assuming that you even have a backup with the data in it, you have no choice but to use a backup in order to restore that data. That is the idea behind backing up to iCloud. If that is the only backup that you have - then that is the one that you have to use.
    But if the backup is bad - or had corrupt data - then you will end up with the corrupt data again. You cannot selectively restore app data from a backup. you restore all settings and data - or nothing at all.

  • I just bought a brand new iPhone 4s from a Three store. When I used the cloud restore to put the data from my old 3gs onto the device, it's prompting me for an Apple ID login with an email address that isn't mine!

    I just got a brand new iPhone 4S on a contract from my local Three store. When I used the cloud restore to put the data from my old 3GS onto the device, it's prompting me for an Apple ID login with an email address (hotmail) that isn't mine! My old phone has NEVER had any Apple ID other than mine log into it, and the new one's a sealed box that I've opened and set up from scratch. Can anyone please explain this? I'm worried there's some kind of problem with my iCloud data being mixed with someone else's or something... Since I logged in with my own ID, it's downloaded the data perfectly fine, but I just got the Apple ID prompt again a moment ago with this same hotmail address in it... I'd be very grateful for any explanation!

    In iTunes on your computer, select the Purchased section under STORE in the left column. Click on the first track and choose "Get Info" from the "File" menu.
    In the "Summary" tab you'll see details of the purchaser of the track. Click Next to go through all your purchased music one by one until you find the ones you need to get rid of.
    Unfortunately, there are no smart playlist rules that can filter tracks by the purchaser that I know of.

  • Using Time Machine to restore external hard drive data

    I have been using a Mac Mini running 10.6.8 for years as a media server.  I have always been very careful to maintain backups of everything, and the inevitable did happen - the hard drive containing all my media did fail.
    To clarify my set up, my Mac Mini internal hard drive is insufficient to store all my media, so I have been using an external 2TB drive to store it.  I then set up Time Machine to back up both the Mac Mini and the 2TB external drive to a second 3TB external drive.  Now that the 2TB drive with my media has failed, I seem to be having problems restoring all the media from 3TB drive.  This is because the Time Capsule interface is designed to display finder windows at various points in time so you can go back to when your missing files existed and restore them.  The problem is that I need the entire contents of the dead 2TB drive restored to a new drive, but I can't open a Time Capsule window that shows the contents of the old drive.  I have tried opening /Volumes in a finder window, then invoking Time Machine, but my dead hard drive does not show up in the list of volumes.  When I open the 3TB drive in a Finder window I can clearly see that it has backups of the 2TB drive, but they are spread out among 83 different snapshots of various dates.
    How can I use Time Machine to easily restore the entire contents of the dead 2TB external drive to a new external drive?

    This web site might answer all of your Time machine questions:
    http://pondini.org/OSX/Home.html
    Ciao.

  • Problems restoring Ipad 3

    I am having problems with my Ipad 3. I went to use it and suddenly i wasnt able to input my password in the unlock screen. I could press the numbers but nothing would seem to show up in the 4 slots to input my password. The screen wasnt frozen and i could slide the banners and the screen would highlight the numbers as i pushed them but would not show them in the slots. I have now tried to restore my Ipad from a backup after whiping it but have now reached a new problem. I have mangaed to "restore" my ipad from my last backup but my itunes shows my ipad restored and all my data on it but the screen on my ipad shows the connect to itunes screen. It also showed a pop up saying ibooks wasnt installed on mu ipad if that helps narroe anything down. I am trying the restore prosses again and am going to see what happens.
    Help

    Try recovery mode again and see if it will work. Quit iTunes and restart your computer and them try again. Are you using the latest version of iTunes on your computer?

  • OSX Journaled-Can I use journal to return/restor settings to specified date

    OK, so I've got my drive set to journaled mode. How to I make use of this.
    Let's say for example, I wake up one morning and I'm told by my iPhoto that it can't find my iPhoto Library(it was there the night before)...Unstead of all this round about investigative work and two hours on the phone with Apple support and dozens of posts and replies in Apple Discussions, not to mention, untold hours and hours and hooouuuurrrrssss of searching my computer, draging...coping...rebuilding...ARRRGGGHHH!!!
    Can't I simply "ask" my journaled drive to return/restore itself(settings and data) to it's original condition (based on giving it a specific time and/or date) as it had been the night before...before the evil computer gremlins plied their dasterdly deeds to my iMac while I slept!
    Am I being nieve to imagine that the solution to so many and varied problems could actually be that simple...just go back in time?

    Can't I simply "ask" my journaled drive to
    return/restore itself(settings and data) to it's
    original condition
    NO.
    You are confusing journaling with the future Leopard Time machine's feature.
    http://en.wikipedia.org/wiki/Journalingfilesystem
    The only way to get back your data is backup them
    Alberto

Maybe you are looking for

  • Unable to generate PDF file from reports

    Hi, After running the report when I tried to generate the output to pdf file, I see the number of pages being generated again, I dont see any file being created although it prompts for the file name. Any suggestions Thanks in Advance

  • Form values are not submitting to ActionForm class

    Hi All, I have a problem with <html:form> tag. When i am submitting the form using the submit button it is going to the Struts-config.xml file and getting the action mapping for the HazSummary.do. It is getting the HazardSummaryAction class and getti

  • Web Service visible in WS navigator

    I have developed web service and is deployed in to SAP EP (.PAR file). Iu2019m able to access wsdl through url and also able to access web services through our web service client but This web service not listed in the WS navigator of SAP EP System Ho

  • Region handles in piano roll-where are they?

    Hey! In Logic 9's piano roll, there were handles on either end of the regions so you could drag the region ends to make them longer or shorter. I see no handles to do that in Logic Pro X.  Where are they? In Logic Pro X the only way I can see to leng

  • HDR problems, inconsistant results and camera response curves

    So, I'm doing some HDR panoramas, and every once in a while I'll get one  set of merged files looking completely different than the rest of them, usually brighter and with higher contrast.  When I look at the 32 bit HDR processing option, I notice th