CiscoWorks LMS 4.0.1 - Database inconsistency

Hello all,
I have a problem with LMS 4.0.1.
In the Inventory / Device Administration, I see all the devices, monitoring works perfect (highutilization, operationallydown, etc.). User Tracking works fine for 85% of the devices (15% is the newer devices added recently).
In the topology services, I can't see the new devices.
I try to explain more detailed.
Let's assume we have 3 switches (SW1, SW2, SW3), and I just added SW4 and SW5 to LMS.
In the monitoring/inventory, 5 switches are fine.
User tracking works fine for the first 3 switches.
Topology works for the first 3 switches, I can't see the 2 new devices in the All Devices group.
I thought the LMS uses one database for devices, but it seems to be there are two (or more) databases.
How could I check the consistenxy and how could I solve the problem (SW4 and SW5 should be in All Devices Group..)
Thanks in advance, and please let me know if there is a good article about this...               

Since cisco has removed the possibility to filter devices from going to an application for LMS, hence all application are in auto allocation, there is nothing you can do to influence the devices to be present in any application.
They should just be in all applications. It should just work (automagically :-)
I don't have any larger network customer anymore, and only 2 small network customers with 28 and 43 devices where all devices, are still in all applications according to the collection summary, but I doubt it will last.
For all others failed + succeeded  does not match the number of managed devices and is different for the various collectors. This basically renders the view useless.
TAC solution is to clear the databases but it won't last long.
I hope cisco fixes this before migrating the LMS functionality into NCS.
Cheers,
Michel

Similar Messages

  • Extract Devices from Ciscoworks LMS 4.2 to Nagios database

    Hello everyone,
    I'm working on ciscoworks LMS 4.2 and as part of a project I need to extract all of my devices to a Nagios Database.
    Is it possible to do ?
    If yes, can you explain me how can I do that ?
    Perhaps with snmp traps, I don't know.
    Thank for your consideration and your help.
    Cordially.

    I am not an expert in Nagios, so no idea on what options does it have to import devices.
    In LMS, you have an option to export devices and its credentials list in .csv and xml format. Please check if you can use any one of those to get imported on Nagios.
    Check details on how to export from user guide here :
    http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/4.2/user/guide/inventory/mng_device.html#wp1132486
    Also, you can try to fetch database details from LMS using Open Database Connect. Use the following document for more details :
    http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/4.2/database_schema/dbviews_42.html#wp23144
    You should check the possible option on Nagios to import devices and than ask if that is available on LMS.
    -Thanks
    Vinod
    **Rating Encourages contributors, and its really free. **

  • User tracking not finding any hosts in Ciscoworks LMS 3.1

    L.S.
    Our test-configuration is as follows:
    Application versions:
    Ciscoworks LMS 3.1
    Ciscoworks Common Services 3.2.0
    Campus Manager 5.1.4
    We have 31 managed devices in Campus Manager (data has been collected on all),
    Edit: All of them show up green in the topology window.
    The device are: 2 6509 cores (running IOS s72033_rp-IPSERVICESK9_WAN-M version 12.2(18)SXF8), 1 ASA firewall (running ASA-OS version 8.0.5) and 29 switches (2960 and 3560 models both running ios version 12.2(52)SE). The switches are connected as follows:
    User tracking jobs are running normally, but aren't finding any end-hosts or IP phones at all (I suspect around 250-500 hosts+ on these switches)
    We are running SNMP v3 on the switches and have added the following configuration items to all the switches:
    snmp-server group readonly v3 auth context vlan-1
    <repeat for all present snmp-contexts as shown in show snmp context output>
    snmp-server group readonly v3 auth context vlan-83
    Debugging is enabled in CM->Admin->Debugging Options->User Tracking Server
    This is the UT.log file of the last major acquisition:
    messages will remian logged to file: D:\PROGRA~1\CSCOpx\log\ut.log
    2010/01/13 14:00:01 main MESSAGE ProcessInitializer: Properties will be read from D:\PROGRA~1\CSCOpx\campus\etc\cwsi\ut.properties
    I= 0value *.*.*.*
    I= 1value 6
    I= 2value 1
    2010/01/13 14:00:01 main MESSAGE DBConnection: Created new Database connection [hashCode = 10969598]
    PartialOrderNode tree dump: time base = VMPSMajor
    <root>
        VMPSMajor: <root>
        VMPSMajor:     VMPSMajor.GetXMLData
        VMPSMajor:         VMPSMajor.PingSweep
        VMPSMajor:         VMPSMajor.PopulateFromDCR
        VMPSMajor:             VMPSMajor.GetPortStatus
        VMPSMajor:                 VMPSMajor.GetBridgeTable
        VMPSMajor:             VMPSMajor.Sweep
        VMPSMajor:                 VMPSMajor.GetIpXlateTable
        VMPSMajor:                 VMPSMajor.GetIpv6XlateTable
        VMPSMajor:                     VMPSMajor.GenerateTable6
        VMPSMajor:                         VMPSMajor.GenerateTable
    SMFunction evaluation order: time base = VMPSMajor
      VMPSMajor.GetXMLData  Major
      VMPSMajor.PingSweep  Minor
      VMPSMajor.PopulateFromDCR  Major
      VMPSMajor.GetPortStatus  Minor
      VMPSMajor.Sweep  Major
      VMPSMajor.GetBridgeTable  Minor
      VMPSMajor.GetIpXlateTable  Minor
      VMPSMajor.GetIpv6XlateTable  Minor
      VMPSMajor.GenerateTable6  Major
      VMPSMajor.GenerateTable  Major
    Time base VMPSMajor has 5 major nodes and 3 minor traversals.
    log4j:ERROR No appenders could be found for category (CTM.common).
    log4j:ERROR Please initialize the log4j system properly.
    In classlist loader
    In classlist loader processing sub classes
    updation done
    In classlist loader completed
    2010/01/13 14:00:03 main MESSAGE DBConnection: Created new Database connection [hashCode = 12524859]
    Calling default
    Subnet to SubnetData Map Size :73
    2010/01/13 14:01:31 DBConnecton-Reaper MESSAGE DBConnection: Closed Database connection [hashCode = 12524859]
    2010/01/13 14:01:31 DBConnecton-Reaper MESSAGE DBConnection: Closed Database connection [hashCode = 10969598]
    2010/01/13 14:04:50 main MESSAGE DCRDevWrapper: Closing DCRProxy
    I'm slowly getting to a dead end here. What am I missing?

    Well, our problem was resolved finally through a weird coincendence after having a websession with a Cisco TAC engineer (TAC case SR 613376661)
    We changed the
    snmp-server group readonly v3 auth context vlan-xxxx
    commands in the switches to:
    snmp-server group writeonly v3 auth context vlan-xxxx
    that is: use the writestring in the snmp-server groups instead of the read string.
    After we changed that, all of the User Tracking mysteriously started working.
    As far as I know, the writestring should not be needed, but apparently it is....
    Is there any explanation for this?

  • Ciscoworks LMS 4.0 – Email Notifications Issue

    We currently use Ciscoworks LMS 4.0 with over 1000 devices in the database. I'm a LMS novice. And have been assigned the task of minimising the amount of email notification’s we receive, as if one device goes Operationally Down all devices off that switch also send alerts to the email notification group, which in turn overwhelms the mailbox.
    The ports are configured not to log or send snmp traps.
    no logging event link-status
    no snmp trap link-status
    So any advice on how we can limit these alerts being generated would be much appreciated.
    Thanks in advance.

    Hi Nessie,
    Go to Monitor > Fault Settings > Setup > Fault Device Details
    select the device and click on view  then Click on the hyperlink or the device name\ip address
    that will bring a new window from there click on Interface and chanaged the Managed state from ture to FLASE for those interfaces for which you do not want ALERTS.
    Thanks-
    Afroz
    [Do rate the useful post]

  • CiscoWorks LMS 3.2 Won't Start on Windows Server 2008 Enterprise

    All,
    I installed CiscoWorks LMS 3.2 RME on Windows Server 2008 Enterprise and the daemon manager won't start.  The server is a VMware ESX server 4.0.
    I've uninstalled and reinstalled and still nothing.
    I get message "The service is not responding to the control function"
    Has anyone had this issue?
    Stephanie

    There could be several reasons this happens.  Common one in Windows 2008 is the swap is not set properly as it defaults to "Automatically manage paging file size for all drives".  Try setting the swap to 8GB manually or whichever is the recommendation for your current device count as per:
    http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/3.2/install/guide1/prereq.html
    Also make sure the startup services are set this way:
    CiscoWorks ANI database engine: Manual
    CiscoWorks Daemon Manager: Automatic
    CiscoWorks RME NG database engine: Manual
    CiscoWorks Tomcat Servlet Engine: Manual
    CiscoWorks Web Server: Manual
    CWCS Cmf database engine: Manual
    CWCS rsh/rcp service: Automatic
    CWCS syslog service: Automatic
    CWCS tftp service: Automatic
    DFM dfmEpm database engine: Manual
    DFM dfmFh database engine: Manual
    DFM dfmInv database engine: Manual
    Set DEP for "Windows Essential Programs Only" and set an exclusion for CSCOpx in your anti-virus on-access scanning settings.  Note that Windows 2008 R2 versions are not supported.

  • What to backup on Ciscoworks lms 2.6 windows server

    Howdy,
    I need to do a file level backup of a Ciscoworks lms 2.6 windows server and want to know what i need to backup on the windows server file level?
    Basically what partitions, folders, files etc?
    Thanks..

    Application-wise, just backup NMSROOT (e.g. C:\PROGRA~1\CSCOpx).  To get the dynamic stuff, you will also need a full Windows Registry backup as well.
    Typically, when customers ask about FULL LMS server backups we recommend they first do an LMS data backup using the Common Services > Server > Admin > Backup interface.  Then, take the backup directory and back that up to your archive server.  Then do a full server backup (i.e. file system backup).
    On a restore, first restore your full server backup.  Then, use the LMS NMSROOT/bin/restorebackup.pl script to restore the LMS data backup you took.  This will ensure database integrity.

  • CISCOWORKS LMS and CISCOSECURE ACS Authenticate any user with HD role

    Hi:
    We are using CiscoSecure for authentication and authorization for differente apps.
    Specifically, any user already in the ACS database is authenticated to log in CiscoWorks LMS, with HD role (this happens although none of the CiscoWorks apps have been checked for this group). 
    Why is this happening?
    We don´t want that any user (although they are only permitted the HD role) could login.
    Thanks a lot
    Julio

    Follow the ACS integration guide to ensure the group you don't want to have access to LMS have the roles set to "NONE" instead of the default HD roles.
    http://www.cisco.com/en/US/partner/prod/collateral/netmgtsw/ps6504/ps6528/ps2425/prod_white_paper0900aecd80613f62.html

  • Migrating from CiscoWorks LMS 3.1 to Cisco Prime LMS 4.2

    Hi Everyone
    My client was formerly having CiscoWorks LMS 3.1. Recently, they purchased Cisco Prime Infrastructure v1.2, which comes with Cisco Prime LMS 4.2. Can I migrate the database (equipment list, usernames etc.) of the CiscoWorks LMS 3.1 to Cisco Prime LMS 4.2? If yes, how do I do this? Please kindly advice.
    Shown below, were the Part Numbers quoted to the end client.
    R-PI12-UP-K9
    LMS 2.x/3.x to Cisco Prime Infrastructure 1.2 Major Upgrade
    L-PI12-LF-1.5K-LIC
    Prime Infrastructure 1.2 - Lifecycle - 1.5K Device Lic PAK
    L-PILMS42-1.5K-U
    Prime Infrastructure LMS 4.2 - 1.5K Device Maj Upg Lic
    R-PI12-BASE-K9
    Prime Infrastructure 1.2 Base License and Software
    L-PI12-1.5K-UP
    LMS 2.x/3.x to Prime Infrastructure 1.2 Maj Upg 1.5K Device
    Regards,
    Ram

    Thanks Marvin for your advice. Just one last question, there's a statement in the URL that you've provided
    "Ensure that the passwords, HTTPS port and SMTP server details are same in both LMS 3.2 SP1, LMS 4.0.1 or LMS 4.1 server and LMS 4.2 server with Symantec Veritas implementation, while migrating data from non-HA to HA environment."
    Does this mean my client need to purchase Symantec Veritas, as well?

  • How do you install RSAC 4.3.2 when upgrading to ciscoworks LMS 3.2.1?

    We have ciscoworks LMS 3.2 which we have recently updated to ciscoworks 3.2.1 using the ciscoworks 3.2 Service Pack 1 patch file.  In the "Readme for CiscoWorks LAN Management Solution 3.2 Service Pack 1" document, it says that you have to install the Remote Syslog Collector 4.3.2 separately.  It says the file (setup.exe) is located at disk1/RSAC.  However, ciscoworks 3.2 Service Pack 1 only appears to be a patch file and when we ran the patch file on our Remote Syslog Collector server, the version remained at 4.3.0.  When I looked at the server where RME is installed (version 4.3.2), it says that Syslog Analyzer is 4.3.2 and Syslog Collector is version 4.3.0.  The patch file doesn't look like it has the installation files for RSAC 4.3.2 and there doesn't seem to be a directory that was created on the RME server to install the updated RSAC from, so how do you upgrade from RSAC 4.3.0 to RSAC 4.3.2?

    I opened up a TAC case, worked with TAC, and was able to update RSAC to version 4.3.2.  The procedure is:
    1. Download the ciscoworks LMS 3.2.1 patch file to the remote syslog server.
    2. Create a temporary directory on the remote syslog server (ex. c:\test)
    3. Go into the directory with the extracted LMS 3.2.1 patch file and type the command:
    Ciscoworks_LMS_3.2.1.exe /extract_all:c:\test
    4.  Go into the c:\test directory and find the RSAC folder.  In the RSAC folder is a setup file.  Run setup and install RSAC 4.3.2 over RSAC 4.3.0 (if you uninstall RSAC 4.3.0, you will get a message saying that RSAC 4.3.0 must be installed before installing RSAC 4.3.2)
    5. Check the installation by going to Common Services->Software Center->Software Update on the remote syslog server.  The version should be RSAC 4.3.2.

  • Database Inconsistency Nightmare

    As an avid user and supporter of Aperture since it's release, I now have an new issue. I am a pro photojournalist using Aperture every day for all my magazine assignment work and I feel like I know the program very well after 2+ years of heavy daily use.
    I have never had any serious problems with the program at all, until one week ago.
    The problems started when I launched aperture and got a database inconsistency dialog box. I was not too worried as I have had this once or twice in the past and I just relaunched the app with apple and option keys down and rebuilt the database. Everything seemed ok but then I noticed that 2,400 of my 12,000 referenced images were tagged as missing. I thought this was strange, and I used "Manage Referenced Files" to see what was going on and reconnect the missing files. I also noticed that 2 subjects had a second version not in a stack that contained the thumbnail for each image without metadata, while the normal version and stack with metadata had no thumbnail! On my FireWire drive 1 which holds a first copy of all referenced files in my library, each subject has a corresponding folder and I started to reconnect the offline and missing files. For most of the subjects everything went fine, but then there were 4 subjects where I encountered very unexpected problems. Firstly the names of the Master images for some subjects had been changed more that one year earlier, but the reconnect dialog box showed the original filename from the camera as the master filename. It did not want to "Reconnect All" so the only way is one by one!
    Then I notice that the smart folders set to show "Offline" and "Missing" masters are inaccurate for some reason.
    I even have a few "Managed" masters that will not export because the dialog box comes up to tell me that the image is "Offline" or "Unavailable". What? Ok so at this point I decide that since I have everything backed up on two separate Firewire drives and a server in California, that it may just be cleaner to reinstall Aperture and revert to a recent Vault. I did this and guess what, same problems plus a few more headaches reconnecting masters!
    The biggest problem at this point is that for two subjects, the captions and adjustments are in a version that has no thumbnail, shows the "Missing" tag in the Metadata panel listing the original filename from the camera as the Master Filename, while there is a new mysterious version 2 which has a thumbnail, no caption, the offline tag and and shows the correct Master Filename. If I reconnect the masters for these images it still shows as missing for the normal version which has the captions, keywords and adjustments.
    At this point I have decided that for two of the subjects One is Versailles 600 images and the other Cyprus 700 images, that I will probably end up having to just reimport these two subjects and manually move the caption for each image.
    This is all starting to make me call into question the stability of this type of system for archiving large amounts of images. True that with all the backups and the normal robustness of Aperture you should not loose images. But if the Masters get unlinked in a corrupt way from the database you CAN loose a large part of your post processing work. And the worst seams to be that this can happen even if you DO know what you are doing.
    This does not at all mean I am going to stop using Aperture, but it does make me feel a little more weary from an archival standpoint about keeping all metadata and adjustments separate from master images.

    Thanks for all your replies. And yes the Project container is a fantastic way to back things up. It is especially useful for moving a project from one Library to another without risk of overwriting files.
    Naturally if I could get my corrupt projects in order I would export the projects, including the masters and then reimport them. But Aperture is not going to let me do that with these corrupt Projects, as the masters are not be properly linked. I have tried everything I could think of.
    There are still some really weird things going on with the database in my library. One really strange thing is that some referenced images that DO have the master linked and show the normal reference tag, but will not Consolidate as the dialog comes up "The selection does not contain any referenced files".
    But then for the same image you can choose "Show in finder" and it goes straight to the master on it's external drive! How strange is that. For that matter it will also not "Relocate Master" for the image because it says that the master is "Offline or cannot be found". OK then here comes the weirdest part: It will export the image without a hitch! Managed referenced files shows these images as connected and black.
    Then the other really bad thing is that some of the managed images will not export or relocate as the dialog comes up "Offline or cannot be found". I have rebuilt the library and everything else to no avail.
    The thing that bothers me about this is that if this can happen to me, who spends untold hours on Aperture and on the computer in general and I believe I do know quite a lot about the program, what is going to happen to the many photographers who do not fully grasp the abstract file management of Aperture?
    Maybe it is more stable to run your Library as Managed, but for working photographers who are usually laptop users it is almost essential to keep the masters on an external Ruggged drive. If you put the Library on the external drive the performance which is already sometimes sluggish when you need to work very quickly (even with the most powerful MacBook Pro) becomes too beach ball when on an external drive.
    In any event I think that if I can ever get my Library back in order, in addition to the many backups of masters and vaults, I am going to export each project including masters and back that up too on a regular basis. Seems like a lot of work backing up to maintain the integrity of a database!
    Cheers

  • Cannot Activate data type in ABAP Database Inconsistent

    Hi,
    can you please help me on this? We could not activate the data type abap proxy in SPROXY.
    Here is the error:
    Database inconsistent: TABL XYZ not found.
    The object is inactive. Is there a way to delete the object in the backend?
    Or do you know other way to solve this?

    I already recreated the object in ESR, but we are still getting the error in SPROXY whether you regenerate, delete or activate proxy. If I checked the proxy name, it is in a form of a structure and is  activated but the data type in SPROXY is still in inactive mode.
    I could not remember how this error came up but it seems dependent objects for the data type are not generated properly that's why the error is TABL object is not found.
    Do you have other way on how to delete the inactive proxy in ABAP?

  • CiscoWorks LMS 2.6

    Dear All
    We are running CiscoWorks LMS 2.6
    I have scheduled a backup in Common Services > Server > Admin > Backup
    My question is, what does this backup actually do?
    Does it just backup the CW configuration?
    Or does it include data such as devices configuration archive, reports, jobs, device inventory etc
    If it does not, anyone have a suggestion of how this can be achieved?
    I am looking into DR scenario - i.e. how we can restore net devices if the device AND CW server is destroyed.
    Thanks
    Phil

    Phil;
      You may want to move this thread to the Network Infrastructure>Network Management community; they focus on LMS there.
    Scott

  • Custom device prompt in Ciscoworks LMS

    Hello,
    In emerging network infrastructure of our client we decided to use some custom promps at device VTY (SSH and Telnet). Console users are network authenticated by means of ACS, and in case ACS is not reachable, we decided to use login prompts as follows:
    Username(local):
    Password(local):
    In this local mode, when CiscoWorks LMS (3.1) tries to collect configuration of switches, VLAN configuration exactly, we got such error messages in LMS interface:
    TELNET: Failed to establish TELNET  connection to 10.52.0.1 - Cause: Authentication failed on device 3 times. VLAN  Config fetch is not supported using TFTP. Command failed VLAN Config fetch is  not supported using RCP.
    Of course, we have checked the possibility to got from LMS host to these devices by SSH and Telnet, credentials are correct, only login prompts are as described earlier.
    I conclude, we need to tell LMS to accept our custom prompts. Is there any possibility and how to achieve this?

    If you're sure the failure is due to the custom prompt, yes, you can simply follow the steps in the following document to let LMS know about that:
    http://www.cisco.com/en/US/products/sw/cscowork/ps2073/products_tech_note09186a00801442c9.shtml

  • Deleting all special GL can cause Database inconsistency?

    Hi Expert,
    With reference to the subject, I wonder deleting special GL indicators can cause database inconsistency.
    My Case:
    I deleted all of the SAP special GL indicator, and recreated those I want with my own naming convention, which some of them same with the standard come with SAP.  I did it in client 100, and not yet SCC1 to sandbox (client 120).
    After the deletion, when I run FB01, FB03, etc, I faced error:  Inconsistency in the length of DDIC data type "FBSEG ...
    I faced both problem in client 100 and 120 (I have not changed anything here).
    Question:
    Is it my deletion cause the database inconsistency?
    Why client 120 also have same error?
    Now, basis is figuring the problem, and suspect also the database issue, and not my special GL deletion.
    Kindly advise.
    Thanks and regards,
    sbmel

    Dear expert
        Instead of deleting special G/l indicator you can follow  "use transaction FB00, under Document Entry tab there is General Entry Option where select No Special G/L transaction"
    1329034 - "Correcting inconsistency
    check notes 707715, 929259
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21f0d1446011d189700000e8322d00/frameset.htm
    Regards
       Ajeesh.s

  • Next Number Maintenance - Database inconsistency

    Hi ,
    I did basic configurations in SAP ME. I also did Next number maintenance as a part of configuration. I have created few shop orders and completed successfully  with NC .
    Recently we have upgraded to SAP ME 5.2.4.3 from 5.2.4.1
    Now I have added some more materials to the same plant  and trying to create inventory for those materials in Inventory Receipt.
    I am getting the following message.
    Database inconsistency: "Invalid Next Number return" (Message 1006)
    I am able to create inventory for  the old materials even now.But not for the newly added materials.
    Did I miss something after patch upgrade? or is it  configuration problem?
    Regards,
    Guru.

    Hi,
    it looks weird. Could you look at the default trace? What is the stack trace behind the exception you get?
    What if you try just to copy old material under a new name? Does it work?
    Regards,
    Anton

Maybe you are looking for