32 Configuration Management
Lecture 4:I. Configuration Management
I. Introduction
-
Definition (from Wikipedia): "Configuration
Management (CM)management is a process that tracks all of the individual configuration items(CIs) withinin an ITsystem.system,Thiswhichsystemmaycanberangeasfromsimple as a single servertoor as complex as an entire IT department." -
keyWhat istrackingaandmanagingthe components.
II. Core Concepts: Configuration Items (CIs) and the CMDB
Configuration Item (CI)
:?- Any component that needs to be managed to deliver an IT service.
This is the fundamental building block of CM. machinesmachines.- Can be tangible (physical hardware) or intangible (software, services).
- Large
Scale:organizationsAcanmaturehaveCMDBmillions of CIs inatheirlargeCMDB.
(VMs).organizationcan containmillionsof CIs.- Any component that needs to be managed to deliver an IT service.
-
CI Class: A category
or typeofCI.CIsThink of it like a folder structure.Example:(e.g., "Servers").isClassesacanCIhaveclass.child ChildclassesClasses:(e.g., "WindowsServers" andServers," "Linux Servers"could be child classes of "Servers"). This creates a hierarchy.
-
CI Records:Tables:- CIs are stored as records in the
tableCMDB_CIcmdb_ci(or one of its many extendedtables)tables. - Each CI class has its own
table.table - (this
Relationships:isThecrucialconfigurationforitem'srelationships).relationships.There are hundreds of out-of-box CMDB tables.
within ServiceNow. - CIs are stored as records in the
-
Configuration Management Database (CMDB):The database that stores all the CIs and their relationships. It's the heart of configuration management. CIRelationships:CIs are connected to each other through defined relationships. These connections are crucial for understanding dependencies.- CIs
Example:canAhaveserverfew or many relationships to other CIs. - Relationships are defined using
supportsverbsanthatemail service. "Supports" isdescribe therelationship.connection (e.g., "supports," "depends on," "used by"). Directionality:Relationships have direction:-
Upstream: Towards
applications orapplications/services (e.g., "supports"Server supports Email Service"). -
Downstream: Towards hardware
or infrastructure(e.g., "Email Service is supportedby"by Server").
-
Upstream: Towards
-
Complexity:CIs can have few or many relationships, depending on their role.
- CIs
III. Purpose and Benefits of a CMDBCMDB:
-
Dependency Views/Maps: Visual representations of CI
relationships.relationships,These are extremely powerful for understandingshowing howdifferenteverythingparts of the IT infrastructure areis connected. This is a key feature. -
Troubleshooting: Helps identify the root cause of incidents and problems
more quicklyby showing dependencies. -
Change Management: Reduces conflicts
during changesby showing thepotentialimpact of changes onotherrelatedsystems.CIs.
- No
maintainingeasyatask. - Options:
requires- Manual import (
people, tools, processes)spreadsheets). Data Population:CIs can be added to the CMDB through:Manual Import:Importing data from spreadsheets.Tools:Using discoverytoolslike(ServiceNowDiscovery orDiscovery, MicrosoftSCCM. These tools automatically find and populate CIs.SCCM).
-
Data Freshness:Crucial: ACMDB must be kept up-to-date to be valuable. Stale data leads to inaccurate information. Processesprocess for creating and updating CIsareisessential.essential to keep the CMDB accurate and valuable. A stale CMDB is not useful.
resources - Manual import (
IV.II. Demo: Configuration Management in ServiceNow (Practical Demonstration)
-
Configuration Application:
The main area within ServiceNow for managingHas theCMDB.mostIt has alotmodules ofmodulesanybecauseapplicationeachdue to the large number of CIclass often has its own module. Exploring CI Records:-
Application Servers (Example):
-
cmdb_ci_app_serverAll):module: Shows all CIs with a class ofApplication Server
(or its child classes). - CI Form View: Shows the properties of a specific CI (e.g., Name, Category, Version, Managed By, Support Group, TCP Ports).
-
Related Items: Shows relationships to other CIs
representing(thisapplicationisserversa critical section).
-
-
Servers (Example):
-
All
module: Shows all CIs with a class ofServer
. - CI Form View: More detailed hardware-specific properties (Asset Tag, Manufacturer, OS, RAM, CPU, etc.).
-
Related Items: Shows relationships (e.g., a
Javaphysical server supporting applicationserver)servers).The form view shows details like name, category, version, managed by, support group, and related items (relationships). Servers (cmdb_ci_server):Shows CIs representing physical servers. The form view includes hardware-specific details like asset tag, manufacturer, OS, RAM, CPU, etc.
-
Key ServiceNow Modules:-
CI Class Manager:
- A
centralsingleplaceinterface to view the CMDB hierarchyofandallconfigure CI classesand their configurations(fields, relationships, etc.). Provides a"singlehigh-levelpaneoverview.
ofglass." - A
-
CMDB Groups: Allows creating groups
offor managing CIs (e.g., a "ServersAdminAdmin"Group")group). -
CMDB Query Builder: A graphical tool for building
queriesCMDBto find specific CIs based on criteria.queries. -
Business Services:
- Services
essentialthatforthe businessoperationsrelies on (e.g.,email,Email,tradingTradingsoftware)Software). -
areNothigh-leveltheCIs.physicalThecomponents,dependencybutviewtheisserviceparticularly important at this level.itself. -
Dependency View
Button:(Crucial):Loads the dependency map, a visual representation ofShows the relationships betweenathe business service and otherCIs. Shows upstreamCIs (supported services)upstream anddownstreamdownstream).(supportingThisinfrastructure)isdependencies.a powerful visualization. The demo shows the Email service and its connections to servers, storage, etc.
These - Services
-
Mass Storage
Devices:Device (Example):Example- A CI representing a
low-levelstorageCIarea network (infrastructure)SAN). -
Dependency View: Shows how the storage device supports many other
CIs.CIsThe(emaildependencyservers, database servers, web servers). This demonstrates the bottom-up viewshowsofalldependencies.
ofthatthesystems that rely on this storage. - A CI representing a
-
CMDB Dashboards: Provide
visualchartsoverviewsandofgraphsthefor visualizing CMDB data (charts,requiresgraphs,sufficientstatistics)data to be meaningful). -
CMDB
Classifications:Classification Sections: The bulk of the Configuration application, listing modules for various CI classes (Application Servers, Servers, Clusters, Databases, etc.).Each has an "All" module to list all records of that type. -
Relationships
Section:Section (Important):Crucially important for defining the types of relationships between CIs.-
CI Relationship Types:
PredefinedDefines the verbs used for relationships (e.g., "depends on," "used by," "contains," "runs on"). Thesedefinearethepre-defined,typebutofcanconnectionbebetween CIs.customized. - CI User Relationship Types: Relationships between CIs and users.
-
CI GroupSuggested Relationships:RelationshipsPre-definedbetweenrelationshipsCIsthatandcangroups.be Suggested Relationships: Pre-configured, based on ServiceNow.applied.
-
CI Relationship Types:
-
CI Identifiers:
UniqueA list of identifiers for different CI typesof(eachCIs. Each identifier haswith its owntable.
-
CI Class Manager:
-
CreatingAdding CI RelationshipsManually:(Manually):Navigate toOn a CIrecordrecord,(e.g.,clickantheapplication+
server).button in the Related Items section.ClickThis opens the"+" button under "Related Items" to add a relationship.Use theRelationshipEditor:- Editor
- Shows existing relationships (
parent/child)Parent/Child). -
Suggested Relationship Types: Provides
suggesteda filter to find related CIs. - The relationship
typesis(e.g., "depends on," "runs on"). Allows selecting another CI to create the relationship.Displays the relationshipdescribed in both directions (e.g., "Asendsdependsdata toon B" and "Breceivesisdatausedfromby A").
SaveSaving therelationship.relationship Viewupdates theupdatedRelateddependencyItemsmap to seeand thenewDependencyconnection.View.
-
Application Servers (Example):
-
Automated
Relationship Creation (ServiceNow Discovery):RelationshipsA- Manually
advancedaddingtopic.relationships is impractical for large CMDBs. - ServiceNow Discovery can automatically create
relationships,relationshipswhich(moreisadvancedessentialtopic).
morefor large CMDBs where manual creation is impractical. - Manually
V. Key TakeawaysTakeaways:
ConfigurationManagement is about tracking and managing IT components (CIs).- The CMDB is
thea centraldatabaserepositoryforofstoringinformationCIsabout IT components and their relationships. - CI Classes and their hierarchy are fundamental to organizing the CMDB.
-
Relationships are
crucialkeyforto understandingdependencieshow CIs are connected and the impact ofchanges.changes or outages. - Dependency Views are a powerful visualization tool for understanding complex relationships.
-
ServiceNow provides tools for
managingbothCIs, defining relationships,manual andvisualizingautomateddependencies.CMDB management. AutomateddiscoveryMaintaining an accurate and up-to-date CMDB is essential forlarge-scaleeffectiveCMDBs.IT Keepingoperations.theThe CMDBup-to-dateiscriticala foundational element foritsIncident,effectiveness.Problem, and Change Management, as well as other ITIL processes.
This detailed summary breaks down the lecture into its core components, making it easier to understand and use as study material. It emphasizes the key concepts, the practical aspects within ServiceNow, and the overall importance of configuration management.