1 / 13

CMDB in Snow Issues with data synchronisation

CMDB in Snow Issues with data synchronisation. Zhechka Toteva IT/DI-SM. Today’s topics. D ata sources for devices in the computer centre Current mapping to snow Some other issues. Context. Only the part of the Snow CMDB related to the CERN Computer Centre

kina
Download Presentation

CMDB in Snow Issues with data synchronisation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CMDB in SnowIssues with data synchronisation Zhechka Toteva IT/DI-SM

  2. Today’s topics • Data sources for devices in the computer centre • Current mapping to snow • Some other issues

  3. Context • Only the part of the Snow CMDB related to the CERN Computer Centre • LANDB, HWDB, PUPPET_DB, CDB -> Snow

  4. LANDB • Incremental pull from an Oracle database view • Snapshot – reported inconsistencies between the view and the network.our.org • Synchronised device types • ROUTER, SWITCH, IP_PHONE, PDU, TELEPHONE, PRINTER, PLOTTER, COMPUTER,VISITOR_DEVICE • COMPUTER contains both servers and desktop machine – we insert in the server table in Snow ONLY if a server with the same name already exists • LANDB.serial_number = HWDB.id (PK) = Snow.Asset_tag(PK) • BUT serial number is not a primary key for all devices in LANDB Name Install Status Asset Tag PO Manufacturer Model Main/Responsible User/Group Location Rack OS OS Version LANDB

  5. LANDB (II) • Does not contain information about disk arrays • OS and OS version view does not have “last updated” column -> full synchronisation • Network devices - synchronised daily at 05:40 • Operating systems - synchronised daily at 03:00 • Several manual sanity clean-ups • Delete all items with no tickets and reimport Name Install Status Asset Tag PO Manufacturer Model Main/Responsible User/Group Location Rack OS OS Version LANDB

  6. HWDB • Scripted middleware in the Snow MID server • Compares the latest downloaded list of servers with the previously processed list -> executes incremental update of Snow • Hosts - synchronised hourly at XX:30 • Warranties - synchronised daily at 03:30 • Retired flag per warranty only Asset Tag Name Vendor Warranty Serial Number LANDB HWDB

  7. HWDB (II) Asset Tag Name Vendor Warranty Serial Number LANDB HWDB If name changes, retire the machines with the same name and empty asset tags Thanks Daniel

  8. Puppet_db • Essential - synchronised hourly at XX:35 • Insert machine if it does not exits • Cluster - synchronised hourly at XX:40 • Only updates the machine if it exists • Search by name – for VMs do we have hwdb.id? • Synchronisation on demand if an event arrives for non-existing machine Name Cluster Is Essential LANDB PUPPETDB

  9. CDB Name Contract ty Cluster Importance Department Vendor Warranty Model number Contract type LANDB CDB • Incremental pull from an Oracle database view • Only the CDB hosts; information for puppet hosts not synchronised via CDB anymore • Hosts - synchronised daily at 04:00 • Reported problems with new hosts installed with CDB, e.g. disk arrays, itstor821 • Warranties - no scheduled synchronisation • Manual clean up in snow of expired warranties with no supported machines.

  10. Duplicated hosts • select * From cdb_node where hostname in (Select hostname From puppet_node); • --- 32 hosts • select clustername || '/' || clustersubname From CDB_NODE where HOSTNAME = 'lxfsrc2101‘ • --- c2cms/archive • And in Puppet • ---- { "certname" : "lxfsrc2101.cern.ch",   "name" : "hostgroup",   "value" : "castor/c2cms/diskserver/archive“ }

  11. Duplicated hosts list • pcids14 • winosbck01 • cernwssdb50 • cernlyncdb10 • search50 • search56 • search57 • search58 • cernwssdb51 • indicomobile • lxfsrb53a07 • cernlyncdb11 • lxfsrf07c05 • lxfsrf09c04 • lxfsrf11c04 • lxfsrf13c04 • search52 • search51 • cernis18 • mig003 • voatlas404 • search53 • cernlyncdb21 • search54 • search55 • pdu-bf13-02 • cernlyncdb20 • pcids13 • cernis25 • lxfsrc2101 • cert-syslog • lxfsrc1902

  12. CMDB CI info in Snow incident • Can we drop the server information from the incident description? • Reasoning – the information might not be complete at incident creation time • Solution – we already have the CMDB CI tab in the incident form

  13. THANKS TO • Daniel • Contact Daniel.Garcia.MartinezNOSPAMcern.ch for any further urgent matters

More Related