How to Ensure Your Landscape Data is Up-to-Date – House-Keeping in the LMDB
Introduction
http://wiki.scn.sap.com/wiki/display/SMSETUP/Delete_Managed_Systems
Scenarios
Prerequisite Steps
- Technical systems:
- Configure SLD Data Suppliers: This is done in the technical system; technical system data is then regularly updated in the SLD by the data supplier. See Data Handling in the SLD – Step-By-Step
- Install Host Agents: Details on operation system and database are sent to the LMDB. See Agent Data in the LMDB
- SLD:
- Maintain CIM/CR_Content: Technical system are described following the CIM Model; technical system types and products are described in the
CR_Content (for Component Repository or software catalog) – both need to be up-to date to describe the latest state of SAP software. See Step-by-Step Description of Data Handling in the SAP NetWeaver System Landscape Directory > Part 2.
- Maintain CIM/CR_Content: Technical system are described following the CIM Model; technical system types and products are described in the
- LMDB:
- Configure the (full automatic) content sync with the SLD. See SLD-LMDB Topology – Connections, Valid, and Invalid Data Exchange Between SLD and LMDB of SAP Solution Manager
- Configure the hoot agents. See Agent Data in the LMDB
- Create and verify product systems. See Product System Editor in LMDB of SAP Solution Manager SP5
.
Avoiding Problems
- The majority of technical systems, which are most important here, are loaded from the SLD. Make sure all technical systems register in the SLD wherever possible. Only where no data supplier is available, technical systems should be created manually in the LMDB.
- Usually, automatically delivered data should not be changed manually.
.
.
Correcting Data
Rule of Thumb
- Do changes to data where they originally occur
- Change data that stem from the SLD in the SLD – by full automatic synchronization all changes will turn up in the LMDB automatically, including deletions.
- For a description of what you can do in the SLD, see How-to Manage House-Cleaning in the System Landscape Directory – Duplicate System Entries.
- SAP Note 1727294 describes how system duplicates can be handled automatically by SLD, requiring the documented minimal version of SLD.
- If you would change data read from the SLD in the LMDB you will probably run into conflicts. The situation is described for two SLD
systems, but the LMDB will work exactly like the higher-ranked SLD: SAP NetWeaver System Landscape Directory: Conflicts and Ranks in Full Automatic Content Synchronization
- Change data that you created in the LMDB in the LMDB. What should be done is:
- Delete outdated product systems that are no longer used in logical components or solutions (this is checked during deletion)
- Delete outdated technical scenarios
- Change data that stem from the SLD in the SLD – by full automatic synchronization all changes will turn up in the LMDB automatically, including deletions.
.
.
Consistent Deletion of Managed Systems — System Decommissioning
The SCN Wiki document Delete_Managed_Systems (http://wiki.scn.com/wiki/display/SMSETUP/Delete_Managed_System) describes the steps necessary for consistent handling of deletion of technical system data depending on your version of SAP Solution Manager.
.
.
Correcting Technical System Data that are Correct in the SLD but Wrong in LMDB
Clean-Up of Data in SMSY
Upgrading SAP Solution Manager 7.0 to 7.1
Product Systems
- created manually in the LMDB (see Product System Editor in LMDB of SAP Solution Manager SP5 )
- corrected – this could be done prior to the upgrade using Landscape Verification.
- … or deleted.
Technical Systems
Logical Components
Clean-Up of LMDB Data after a Data Center Move
- Monitoring configuration, extractors, etc.
- Incident Management, Service Desk, etc.(based on IObjects in iBase which correspond to LMDB entities)
- Logical components
In a data center migration it is instead recommendable to treat this in the same way as any other system move. This means if the systems are using virtualized host names, you should try to ensure that the systems use the same configuration afterwards. With host names, SIDs and installation numbers of the systems remaining stable, the will just report to SLD as usual and update the system descriptions in SLD and LMDB automatically.
Cleaning-Up of Change Log Data in the LMDB
Further Information
For more information on SAP’s product model, SLD, LMDB, verification of landscape data, etc., see Landscape Descriptions @ SCN.
.
.
.
is there any facility for mass clean up of systems in LMDB? With our constant landscape changes we have many systems that get stale and unused, cleaning them up one at a time is rather time consuming .
Thanks.
Bernie
Dear Bernie,
at the moment, you have read what we can offer - there are some thoughts, however, to improve here and I'll update things in teh SCN once this is more concrete - and your question reminds me of that topic...
Thanks and Best Regards,
Wolf Hengevoss
SAP SE
Hello.
I have a question about systems that exist only in LMDB, for example an MS IIS Server. In my knowledge, MS IIS only exists in LMDB.
When we do a manual change to add technical Instances for an MS IIS, these changes are overwritten by the Data Supplier every time it updates LMDB.
Is there a way to avoid this situation?
Thank you.
Foivos Gkourogiannis
Hi Wolf,
we have a problem in updating HANA DB in SLD. sldreg.xml created but it is not updating in Sld.
Is there any way in which we can import this sldreg.xml in SLD so that it can be synced to LMDB automatically to perform MSS setup.
Thanks,
Kiran