Upload
lekiet
View
230
Download
3
Embed Size (px)
Citation preview
IT‐Symposium 2008 04.06.2008
www.hp‐user‐society.de
CMDB nach ISO 20000/ITIL –zu teuer für den Mittelstand?
Oder …mit HP‐SIM zur CMDB
Datum: 04.06.2008, 12:30 UhrOrt: Raum LerchesbergSheraton Congress Hotel Frankfurt am Main
Vortrag: 1D03Julian Godleyjdgodley@icis‐inst.co.uk
Tagesordnung
1. Umfrage2. ITIL / CMDB3. HP System Insight Manager4. Welche Daten stehen der SIM zur Verfügung?5. Erstellung einer Systemdatenbank als Datenbasis für die CMDB6. „Hands On“: Auszug der CMDB Datenbank aus HP SIM
Bitte stellen Sie Ihre Fragen sofort – ich habe zwei Kinder…
IT‐Symposium 2008 04.06.2008
www.hp‐user‐society.de
Tagesordnung
1. Umfrage2. ITIL / CMDB3. HP System Insight Manager4. Welche Daten stehen der SIM zur Verfügung?5. Erstellung einer Systemdatenbank als Datenbasis für die CMDB6. „Hands On“: Auszug der CMDB Datenbank aus HP SIM
Umfrage
Wer kennt:1.ISO 20000 / ITIL2.CMDB3.HP System Insight Manager
IT‐Symposium 2008 04.06.2008
www.hp‐user‐society.de
Tagesordnung
1. Umfrage2. ITIL / CMDB3. HP System Insight Manager4. Welche Daten stehen der SIM zur Verfügung?5. Erstellung einer Systemdatenbank als Datenbasis für die CMDB6. „Hands On“: Auszug der CMDB Datenbank aus HP SIM
Was ist IT Infrastructure Library (ITIL)
Software Asset Management
D
PRINCE2 ‐ PM
IT‐Governance
D
D
D
D
HP‐ITSM
Microsoft
IBM‐ITPM
SunTone
D
D
D
D
D
D
Am Beispiel von „Version 2“
IT‐Symposium 2008 04.06.2008
www.hp‐user‐society.de
Service Support
Prozesse
ManagementTools
CMDB
CMDB‐ReportsCMDB‐StatistikPolicy / StandardsAudit‐Reports
Kundenzu‐friedenheits‐
abfrage
Service‐ReportsIncidentstatistikAudit‐Reports
ProblemstatistikTrendanalyseProblem‐ReportProblem‐ReviewsDiagnosehilfenAudit‐Reports Change‐Termine
CAB‐ProtokolleChange‐StatistikChange‐ReviewsAudit‐Reports
Release‐ZeitplanRelease‐StatistikRelease‐ReviewsTeststandardsAudit Reports
Incidents
ReleasesIncidents
Releases
ChangesIncidents
CI´sBeziehungen
ProblemsKnown Errors
Service‐Desk
Geschäftsanforderungen Endbenutzer / User
IncidentsAnfragenRückfragen
KommunikationStatus
Workaround
ChangeManagement
ReleaseManagement
ConfigurationManagement
Changes
IncidentManagement
Problem Management
Service Delivery
Prozesse
Management‐Tools und
Infrastruktur
Service‐Level‐Management
Continuity‐Management
IT‐Kontinuitäts‐pläne, Risiko‐
Analyse, Leitstellen,Berichte,
DR‐Verträge
SLRs, SLAs, OLAs,Servicebereiche,
Ausnahmeberichte,Servicekatalog Auditberichte,
Kapazitäts‐planung, CDB,Zeitpläne,
Ziele/Schwellenwerte
Capacity‐Management
Finanzplan, Modelle, Budget, Kosten, Rechnungsstellung
Prognosen, Berichte,
Finance‐Management
AnfragenRückfragen
Kommunikation,Status,Berichte
Unternehmen, Kunden und Benutzer
Erfordernisse,Ziele, erbrachte
Leistung
Availability‐Management
Verfügbarkeits‐Plan, Entwicklungs‐
kriterien,Auditberichte
Warn‐signale
IT‐Symposium 2008 04.06.2008
www.hp‐user‐society.de
Tagesordnung
1. Umfrage2. ITIL / CMDB3. HP System Insight Manager4. Welche Daten stehen der SIM zur Verfügung?5. Erstellung einer Systemdatenbank als Datenbasis für die CMDB6. „Hands On“: Auszug der CMDB Datenbank aus HP SIM
Warum brauche ich HP SIM
IT‐Symposium 2008 04.06.2008
www.hp‐user‐society.de
Warum brauche ich HP SIM
Die „MX“‐Datenbank
Warum brauche ich HP SIM
… somit script‐bar
IT‐Symposium 2008 04.06.2008
www.hp‐user‐society.de
Warum brauche ich HP SIM
ITIL – CI‐Ebene
Warum brauche ich HP SIM
HP SIM •wird von HP gepflegt und weiterentwickelt;•wird mit jedem HP Server kostenlos geliefert
IT‐Symposium 2008 04.06.2008
www.hp‐user‐society.de
Warum brauche ich HP SIM
Tagesordnung
1. Umfrage2. ITIL / CMDB3. HP System Insight Manager4. Welche Daten stehen der SIM zur Verfügung?5. Erstellung einer Systemdatenbank als Datenbasis für die CMDB6. „Hands On“: Auszug der CMDB Datenbank aus HP SIM
IT‐Symposium 2008 04.06.2008
www.hp‐user‐society.de
Welche Daten stehen der HP SIM zur Verfügung?
CIM_Chassis table .............................................................................. 177CIM_ComputerSystem table ................................................................. 180CIM_IPRoute table ............................................................................... 181CIM_LogicalDevice table ...................................................................... 182CIM_LogicalDisk table ......................................................................... 184CIM_MediaAccess table ...................................................................... 185CIM_NetworkAdapter table ................................................................. 188CIM_OperatingSystem table ................................................................. 193CIM_PhysicalElement table ................................................................... 199CIM_PhysicalMedia table .................................................................... 201CIM_PhysicalMemory table .................................................................. 207CIM_PowerSupply table ....................................................................... 210CIM_Process table ............................................................................... 215CIM_Processor table ............................................................................ 218CIM_Rack table .................................................................................. 224CIM_Sensor table ............................................................................... 225CIM_SoftwareElement table .................................................................. 226ClusterInfo table .................................................................................. 229ClusterNodeInfo table .......................................................................... 230DB_DeviceInfo table ............................................................................ 232DB_DeviceInfoEx table ......................................................................... 232dc_ProliantHost table ........................................................................... 233DeviceNames table ............................................................................. 235Devices table ...................................................................................... 236
DeviceProtocolInfo table ....................................................................... 237NodeTypesEnum table ......................................................................... 239NodeTypesSubEnum table ................................................................... 239DeviceSnmpSettings table .................................................................... 239HPUX_BaseKernelParameter table ......................................................... 241HPUX_Bundle table ............................................................................. 241HPUX_DNSService table ...................................................................... 245HPUX_Fileset table .............................................................................. 246HPUX_HFS table ................................................................................. 254HPUX_LogicalVolume table ................................................................... 256HPUX_NISServerService table ............................................................... 257HPUX_NTPService table ....................................................................... 259HPUX_PhysicalVolume table ................................................................. 259HPUX_Product table ............................................................................. 260HPUX_VolumeGroup table ................................................................... 265IPAddress table ................................................................................... 266IPXAddress table ................................................................................. 266NodeSnapshot table ............................................................................ 267notices table ....................................................................................... 267noticeTypes table ............................................................................... 269Snapshot table ................................................................................... 269
Quelle: HP SIM Systemhandbuch – 400 Seiten Doku
Dokumentationsbeispiel einer Datentabelle: DevicesDevices tableThe Devices table contains discovered system information. This is the primary table used to define system related data. The Devices fields are defined in the following table.Column Name Data Type DescriptionThe DeviceKey associates asystem with its collected set ofdata. System information islinked to the device table usingthe DeviceKey.DeviceKey INTName CHAR (255) The name of the device.Globally Unique Identifier, aunique key used to identify thisdevice on the network in theevent that it changes its networkaddress. This requires that asystem support retrieval of thisvalue in order for it to be storedhere.GUID CHAR (128)The date and time that thedevice was discoveredrepresented as the number ofmilliseconds since 1970 UTC.Discovered BIGINT236Using Default ToolsColumn Name Data Type DescriptionThe product type for this item.See the nodeTypesEnum table,which is best viewed using thedeviceSubTypesEnum view, foradditional information.ProductType INTA string representation of theproduct type. See thenodeTypesEnum table, which isbest viewed using thedeviceTypesEnum view, foradditional information.
ProductTypeStr Char(32)The subtype if any, see theNodeSubTypesEnum table,which is best viewed using thedeviceSubTypesEnum view, foradditional mapping information.ProductSubType CHAR(32)Product name (such as ProLiant1500).ProductName CHAR (100)Indicates the overall status of thesystem:● 0 = UNKNOWN● 1 = NORMAL● 2 = WARNING● 3 = MINOR● 4 = MAJOR● 5 = CRITICAL● 10 = NO STATUS (occursfor new systems or on startupbefore polling).OverallStatus INTIndicates whether product typeand/or name are locked so thatdiscovery cannot change them.● 0 = Nothing is locked.LockFlags INTRESERVED. The last time somesystem information was updatedin the database, not just in thistable.Timestamp BIGINTFullDNSName VARCHAR (90) The full DNS name of the systemThe HP Systems Insight Manageruniquely assigned identifier forthis system.MxGUID CHAR(32)
IT‐Symposium 2008 04.06.2008
www.hp‐user‐society.de
SQL‐code für Data Collection reportSQL query used to generate the data in the table: Inventory
select R_Inventory.DeviceName, R_Inventory.IPAddress, R_Inventory.DeviceStatus, R_Inventory.ProductType, R_Inventory.ProductSubType, R_Inventory.ProductId, R_Inventory.ProductName, R_Inventory.SerialNumber, R_Inventory.AssetTag, R_Inventory.MemorySize, R_Inventory.ROMVersion, R_Inventory.OSName, R_Inventory.OSVendor, R_Inventory.ServerRole, R_Inventory.Location, R_Inventory.DeviceOwner, R_Inventory.DeviceBootTime, R_Inventory.IPXAddress from R_Inventory WHERE ((R_Inventory.SnapShotID=‐1) OR (R_Inventory.SnapShotID is NULL)) AND DeviceKey in (select devices.deviceKey from devices JOIN notices ON devices.deviceKey = notices.deviceKey and notices.NoticeType = 1 LEFT OUTER JOIN DB_deviceInfoEx ON devices.deviceKey = DB_deviceInfoEx.deviceKey LEFT OUTER JOIN IPAddress ON devices.deviceKey = IPAddress.deviceKey and IPAddress.ipIndex = 0 LEFT OUTER JOIN IPXAddress ON devices.deviceKey = IPXAddress.deviceKey and IPXAddress.ipxIndex = 0 LEFT OUTER JOIN associated_device_data ON devices.deviceKey = associated_device_data.deviceKey LEFT OUTER JOIN deviceProtocolInfo ON devices.deviceKey = deviceProtocolInfo.deviceKey LEFT OUTER JOIN DeviceStatusValue ON devices.deviceKey = DeviceStatusValue.deviceKey and DeviceStatusValue.StatusSourceId= 6 JOIN consolidatedNodeAuths ON devices.mxGuid = consolidatedNodeAuths.NodeId and consolidatedNodeAuths.userID = '00000000864162de0000000400000007' WHERE ( LOWER(devices.Name) = 'neupdc' ) ) order by R_Inventory.DeviceName ASC
SQL query used to generate the data in the table: Installed Controllers
select R_InstalledBoards.DeviceName, R_InstalledBoards.Slot, R_InstalledBoards.BoardName, R_InstalledBoards.BoardRevision, R_InstalledBoards.BoardModel, R_InstalledBoards.BoardFirmware, R_InstalledBoards.BoardSerial, R_InstalledBoards.Location from R_InstalledBoards WHERE ((R_InstalledBoards.SnapShotID=‐1) OR (R_InstalledBoards.SnapShotID is NULL)) AND DeviceKey in (select devices.deviceKey from devices JOIN notices ON devices.deviceKey = notices.deviceKey and notices.NoticeType = 1 LEFT OUTER JOIN DB_deviceInfoEx ON devices.deviceKey = DB_deviceInfoEx.deviceKey LEFT OUTER JOIN IPAddress ON devices.deviceKey = IPAddress.deviceKey and IPAddress.ipIndex = 0 LEFT OUTER JOIN IPXAddress ON devices.deviceKey = IPXAddress.deviceKey and IPXAddress.ipxIndex = 0 LEFT OUTER JOIN associated_device_data ON devices.deviceKey = associated_device_data.deviceKey LEFT OUTER JOIN deviceProtocolInfo ON devices.deviceKey = deviceProtocolInfo.deviceKey LEFT OUTER JOIN DeviceStatusValue ON devices.deviceKey = DeviceStatusValue.deviceKey and DeviceStatusValue.StatusSourceId= 6 JOIN consolidatedNodeAuths ON devices.mxGuid = consolidatedNodeAuths.NodeId and consolidatedNodeAuths.userID = '00000000864162de0000000400000007' WHERE ( LOWER(devices.Name) = 'neupdc' ) ) order by R_InstalledBoards.DeviceName ASC
SQL query used to generate the data in the table: Operating System Information
select R_OperatingSystem.DeviceName, R_OperatingSystem.Description, R_OperatingSystem.Version, R_OperatingSystem.OSType, R_OperatingSystem.SubDesc, R_OperatingSystem.OSVendor from R_OperatingSystem WHERE ((R_OperatingSystem.SnapShotID=‐1) OR (R_OperatingSystem.SnapShotID is NULL)) AND DeviceKey in (select devices.deviceKey from devices JOIN notices ON devices.deviceKey = notices.deviceKey and notices.NoticeType = 1 LEFT OUTER JOIN DB_deviceInfoEx ON devices.deviceKey = DB_deviceInfoEx.deviceKey LEFT OUTER JOIN IPAddress ON devices.deviceKey = IPAddress.deviceKey and IPAddress.ipIndex = 0 LEFT OUTER JOIN IPXAddress ON devices.deviceKey = IPXAddress.deviceKey and IPXAddress.ipxIndex = 0 LEFT OUTER JOIN associated_device_data ON devices.deviceKey = associated_device_data.deviceKey LEFT OUTER JOIN deviceProtocolInfo ON devices.deviceKey = deviceProtocolInfo.deviceKey LEFT OUTER JOIN
Devices Table
IT‐Symposium 2008 04.06.2008
www.hp‐user‐society.de
Tagesordnung
1. Umfrage2. ITIL / CMDB3. HP System Insight Manager4. Welche Daten stehen der SIM zur Verfügung?5. Erstellung einer Systemdatenbank als Datenbasis für die CMDB6. „Hands On“: Auszug der CMDB Datenbank aus HP SIM
mx‐db
Datenbasis für die CMDB – HP System Insight Manager
HP SIM
Systemdaten „Snapshot“ in der HP SIM eigenen „mx“‐Datenbank
Mehrere Systemdaten „Snapshots“ermöglichen die Offline‐Analyse & ‐Trendermittlungen
Automatische periodische Daten‐„Dumps“
IT‐Symposium 2008 04.06.2008
www.hp‐user‐society.de
Entnahme einzelner Tabellen aus den Systemdaten „Snapshots“ zur Erstellung einer Systemdatenbank mit SIM‐Daten als Basis der CMDB. Bereitstellung einer Change‐DB & ‐Funktion zur Erfassung von Asset‐, Request‐ & Freigabedaten
Datenbasis für die CMDB – HP System Insight ManagerSystemdatenbank
IT‐Symposium 2008 04.06.2008
www.hp‐user‐society.de
Nach Freigabe der Asset‐Daten werden diese in der „mx“‐Datenbank überspielt ‐> die Änderungen sind dann auch in HP SIM sichtbar.
Datenbasis für die CMDB – HP System Insight ManagerÜberspielung der erfassten und freigegebenen „Change“ Asset‐Daten
in HP‐SIM.
mx‐db
HP SIM
Tagesordnung
1. Umfrage2. ITIL / CMDB3. HP System Insight Manager4. Welche Daten stehen der SIM zur Verfügung?5. Erstellung einer Systemdatenbank als Datenbasis für die CMDB6. „Hands On“: Auszug der CMDB Datenbank aus HP SIM
IT‐Symposium 2008 04.06.2008
www.hp‐user‐society.de
„Hands On“:Beispiel der SQL Code zur Verlinkung der einzelnen
Tabellen
IT‐Symposium 2008 04.06.2008
www.hp‐user‐society.de
SELECT [DevicesL0].name, [DevicesL0].guid, [DevicesL0].discovered, [DevicesL0].productsubtype, [DevicesL0].overallstatus, [DevicesL0].producttype, [DevicesL0].producttypestr, [DevicesL0].productname, [Db_deviceinfoL0].description, [Db_deviceinfoL0].location, [Db_deviceinfoL0].contact, [Db_deviceinfoexL0].totalmemory, [Db_deviceinfoexL0].romversion, [Db_deviceinfoexL0].serialnumber, [Db_deviceinfoexL0].assettag, [Db_deviceinfoexL0].osname, [Db_deviceinfoexL0].ostype, [Db_deviceinfoexL0].osversion, [Db_deviceinfoexL0].clustername, [Db_deviceinfoexL0].osdescription, [Db_deviceinfoexL0].osvendor, [Db_deviceinfoexL0].truststatus, [Db_deviceinfoexL0].productid, [DeviceextendedattributesL0].assettype, [DeviceextendedattributesL0].assetclass, [DeviceextendedattributesL0].sysadmin, [DeviceextendedattributesL0].sysdepartment, [DeviceextendedattributesL0].syssupplier, [DeviceextendedattributesL0].warrantytext, [DeviceextendedattributesL0].servicedate, [DeviceextendedattributesL0].servicecontract, [DeviceextendedattributesL0].servicecontact, [DeviceextendedattributesL0].purchasedate, [DeviceextendedattributesL0].comments, [DeviceextendedattributesL0].applications, [DevicesL1].name AS name_DevicesL1, [DevicesL1].guid AS guid_DevicesL1, [DevicesL1].discovered AS discovered_DevicesL1, [DevicesL1].productsubtype AS productsubtype_DevicesL1, [DevicesL1].overallstatus AS overallstatus_DevicesL1, [DevicesL1].producttype AS producttype_DevicesL1, [DevicesL1].producttypestr AS producttypestr_DevicesL1, [DevicesL1].productname AS productname_DevicesL1, [Db_deviceinfoL1].description AS description_Db_deviceinfoL1, [Db_deviceinfoL1].location AS location_Db_deviceinfoL1, [Db_deviceinfoL1].contact AS contact_Db_deviceinfoL1, [Db_deviceinfoexL1].totalmemory AS totalmemory_Db_deviceinfoexL1, [Db_deviceinfoexL1].romversion AS romversion_Db_deviceinfoexL1, [Db_deviceinfoexL1].serialnumber AS serialnumber_Db_deviceinfoexL1, [Db_deviceinfoexL1].assettag AS assettag_Db_deviceinfoexL1, [Db_deviceinfoexL1].osname AS osname_Db_deviceinfoexL1, [Db_deviceinfoexL1].ostype AS ostype_Db_deviceinfoexL1, [Db_deviceinfoexL1].osversion AS osversion_Db_deviceinfoexL1, [Db_deviceinfoexL1].clustername AS clustername_Db_deviceinfoexL1, [Db_deviceinfoexL1].osdescription AS osdescription_Db_deviceinfoexL1, [Db_deviceinfoexL1].osvendor AS osvendor_Db_deviceinfoexL1, [Db_deviceinfoexL1].truststatus AS truststatus_Db_deviceinfoexL1, [Db_deviceinfoexL1].productid AS productid_Db_deviceinfoexL1, [DeviceextendedattributesL1].assettype AS assettype_DeviceextendedattributesL1, [DeviceextendedattributesL1].assetclass AS assetclass_DeviceextendedattributesL1, [DeviceextendedattributesL1].sysadmin AS sysadmin_DeviceextendedattributesL1, [DeviceextendedattributesL1].sysdepartment AS sysdepartment_DeviceextendedattributesL1, [DeviceextendedattributesL1].syssupplier AS syssupplier_DeviceextendedattributesL1, [DeviceextendedattributesL1].warrantytext AS warrantytext_DeviceextendedattributesL1, [DeviceextendedattributesL1].servicedate AS servicedate_DeviceextendedattributesL1, [DeviceextendedattributesL1].servicecontract AS servicecontract_DeviceextendedattributesL1, [DeviceextendedattributesL1].servicecontact AS servicecontact_DeviceextendedattributesL1, [DeviceextendedattributesL1].purchasedate AS purchasedate_DeviceextendedattributesL1, [DeviceextendedattributesL1].comments AS comments_DeviceextendedattributesL1, [DeviceextendedattributesL1].applications AS applications_DeviceextendedattributesL1, [DevicesL2].name AS name_DevicesL2, [DevicesL2].guid AS guid_DevicesL2, [DevicesL2].discovered AS discovered_DevicesL2, [DevicesL2].productsubtype AS productsubtype_DevicesL2, [DevicesL2].overallstatus AS overallstatus_DevicesL2, [DevicesL2].producttype AS producttype_DevicesL2, [DevicesL2].producttypestr AS producttypestr_DevicesL2, [DevicesL2].productname AS productname_DevicesL2,[Db_deviceinfoL2].description AS description_Db_deviceinfoL2, [Db_deviceinfoL2].location AS location_Db_deviceinfoL2, [Db_deviceinfoL2].contact AS contact_Db_deviceinfoL2, [Db_deviceinfoexL2].totalmemory AS totalmemory_Db_deviceinfoexL2, [Db_deviceinfoexL2].romversion AS romversion_Db_deviceinfoexL2, [Db_deviceinfoexL2].serialnumber AS serialnumber_Db_deviceinfoexL2, [Db_deviceinfoexL2].assettag AS assettag_Db_deviceinfoexL2, [Db_deviceinfoexL2].osname AS osname_Db_deviceinfoexL2, [Db_deviceinfoexL2].ostype AS ostype_Db_deviceinfoexL2, [Db_deviceinfoexL2].osversion AS osversion_Db_deviceinfoexL2, [Db_deviceinfoexL2].clustername AS clustername_Db_deviceinfoexL2, [Db_deviceinfoexL2].osdescription AS d i ti Db d i i f L2 [Db d i i f L2] d AS d Db d i i f L2 [Db d i i f L2] t t t t AS
„Hands On“:Auszug der CMDB Datenbank aus HP SIM
‐> Beispiel DB in MS Access