7
CMDB in Snow Part 2 Zhechka Toteva IT/DI-SM

CMDB in Snow Part 2 Zhechka Toteva IT/DI-SM. Conclusions from last meeting Snow table column Snow table Source for Puppet Source for CDB From where CommentsHowon

Embed Size (px)

Citation preview

Page 1: CMDB in Snow Part 2 Zhechka Toteva IT/DI-SM. Conclusions from last meeting Snow table column Snow table Source for Puppet Source for CDB From where CommentsHowon

CMDB in SnowPart 2Zhechka Toteva

IT/DI-SM

Page 2: CMDB in Snow Part 2 Zhechka Toteva IT/DI-SM. Conclusions from last meeting Snow table column Snow table Source for Puppet Source for CDB From where CommentsHowon

Conclusions from last meetingSnow table column

Snow tableSource for Puppet

Source for CDB

From where

Comments How on demand

Cluster

Server/Cluster/Cluster Node

Puppet_nodes

CDB foreman   push single  

Importance ServerPuppet_nodes

CDB Puppet_dbYes/no for puppet

push single  

Last Modified in CDB

Server - CDBNot need in the future for push

Push! Via ? JSON. Pull of a single host information from hwdb.

Location Server CDB? CDBLANDB->INFOR

Better from LANDB. Later from INFOR.

pull database view

 

Name ServerPuppet_nodes

CDB LANDB  pull database view

 

Rack Server/Rack LANDB CDBLANDB->INFOR

Null for VM ?

pull database view

 

Serial Number

Server CDB CDB hwdb   ?take from HWDB

Vendor Server - CDB hwdb? Script by ServiceNow

?take from HWDB

Warranty Server CDB CDB hwdb   ?take from HWDB

Discussion last

meeting

Page 3: CMDB in Snow Part 2 Zhechka Toteva IT/DI-SM. Conclusions from last meeting Snow table column Snow table Source for Puppet Source for CDB From where CommentsHowon

Conclusions from last meetingSnow table column

Snow table

Source for Puppet

Source for CDB

From where

Comments

Howon demand

Status

Cluster

Server/Cluster/Cluster Node

Puppet_nodes CDB foreman   push single   Not started

Importance Server Puppet_nodes CDB Puppet_db Yes/no for

puppet push single   Not started

Last Modified in CDB

Server - CDBNot need in the future for push

Push! Via ? JSON. Pull of a single host information from hwdb. Not started

Location Server CDB? CDB LANDB->INFOR

Better from LANDB. Later from INFOR.

pull database view

  Done

Name Server Puppet_nodes CDB LANDB  

pull database view

  Done

Rack Server/RackLANDB CDB LANDB->INFOR

Null for VM ?

pull database view

  Done

Serial Number Server CDB CDB hwdb   ? take from

HWDB Partially

Vendor Server - CDB hwdb ? Script by ServiceNow ? take from

HWDB Partially

Warranty Server CDB CDB hwdb   ? take from HWDB Partially

Retired flag Server hwdb Not started

Status today

Page 4: CMDB in Snow Part 2 Zhechka Toteva IT/DI-SM. Conclusions from last meeting Snow table column Snow table Source for Puppet Source for CDB From where CommentsHowon

HWDB -> Snow: Status Manual pull of HEDB data via personal certificate

Java in-house built code for transforming JSON to CSV

Manual push of the CSV file with host information in Snow and automatic data mapping to the Snow Server CI

Automatic push via the Snow JSON interface using basic authentication – partially done in dev. No show stoppers

Automatic pull via the HWDB JSON interface using authentication – maybe will be done, not clear yet

ServiceNow provided JSON consumer with certificates – Not planned for the moment. Enhancement request open on behalf of CERN

Done

Done

Done

To be finished

Maybe

Probably not

Full data pull on regular basis

Page 5: CMDB in Snow Part 2 Zhechka Toteva IT/DI-SM. Conclusions from last meeting Snow table column Snow table Source for Puppet Source for CDB From where CommentsHowon

HWDB -> Snow: Future plan

TO BE FINISHED: the push via JSON to Snow and consuming the HWDB via certificate (?)

Pull the warranty information

Pull the retired flag

NEW NEEDED: Pull the last updated date

Try to consume directly the Snow JSON from HWDB (?)

Try to create a SOAP based Proxy for Snow to pull HWDB data on demand (e.g. when an alarm for non-existing machine is raised)

Data push on demand

Data pull on demand

Page 6: CMDB in Snow Part 2 Zhechka Toteva IT/DI-SM. Conclusions from last meeting Snow table column Snow table Source for Puppet Source for CDB From where CommentsHowon

Puppet/Forman -> Snow: Future plan Try to consume directly the Snow JSON from Puppet (?)

Data push on demand

Page 7: CMDB in Snow Part 2 Zhechka Toteva IT/DI-SM. Conclusions from last meeting Snow table column Snow table Source for Puppet Source for CDB From where CommentsHowon

Discussion last meeting – full tableSnow table column

Snow table

Source for Puppet

Source for CDB

From where

Comments Howon demand

Cluster

Server/Cluster/Cluster Node

Puppet_nodes

CDB foreman   push single  

Contract Type

ServerPuppet_nodes

CDB  Can it disappear? Rename?

Department ServerPuppet_nodes

CDB/SDB    

Importance ServerPuppet_nodes

CDB Puppet_dbYes/no for puppet

push single  

IT Contact ServerPuppet_nodes

CDB/SDB    

Last Modified in CDB

Server - CDBNot need in the future for push

Push! Via ? JSON. Pull of a single host information from hwdb.

Location Server CDB? CDBLANDB->INFOR

Better from LANDB. Later from INFOR.

pull database view

 

Hardware Model

Server - CDB    

Name ServerPuppet_nodes

CDB LANDB  pull database view

 

Operating System

ServerPuppet_nodes

CDB   Not needed.

Rack Server/Rack LANDB CDBLANDB->INFOR

Null for VM ?

pull database view

 

Serial Number

Server CDB CDB hwdb   ?take from HWDB

Vendor Server - CDB hwdb? Script by ServiceNow

?take from HWDB

Warranty Server CDB CDB hwdb   ?take from HWDB