addmi 11-intro to-patterns
TRANSCRIPT
![Page 1: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/1.jpg)
© 2009 BMC Educational Services
Introduction to Patterns
How the Intelligence Works
![Page 2: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/2.jpg)
© 2010 BMC Educational Services
Outline
Pattern Basics What is a pattern? Where do I get new patterns? Pattern Controls
Demystifying Patterns Pattern components Patterns and the Model Patterns and Provenance
Simple Pattern Configuration
![Page 3: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/3.jpg)
© 2009 BMC Educational Services
Pattern Basics
![Page 4: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/4.jpg)
© 2010 BMC Educational Services
What Is a Pattern?
A way to customise Atrium Discovery so it can infer things in the datastore based upon data collected
Patterns are event driven Written in The Pattern Language (TPL) Common software types can recognised by built-in TKU (updated
monthly) Some organisations need their own custom written patterns
Extend discovery information collected Uncommon or custom software components Business Applications which are specific to the organization
![Page 5: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/5.jpg)
© 2010 BMC Educational Services
What Can Patterns Do?
Triggered during the discovery process A certain OS version is found A certain process is running
Can take the initial information collected and use it to collect new data Pattern matching details within the process arguments
May go back to the host and run other commands Collect configuration files Collect inventory information from databases Use very specific commands to discover version
Pattern management under the discovery tab Discovery -> Pattern Management
![Page 6: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/6.jpg)
© 2010 BMC Educational Services
Where Do I Get New Patterns?
The Knowledge Update (TKU) service Regular releases of a TKU
A TKU can contain New Patterns Updates to existing Patterns Updates to End of Life Data Updates to Hardware Reference Data
Updated every month, with new/updated patterns TKU-CORE-2009-06-1.zip
Core patterns for detecting Software Instances TKU-DBDETAILS-2009-06-1.zip
Deep database discovery TKU-SUPPORTDETAILS-2009-06-1.zip
Last dates for software support
![Page 7: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/7.jpg)
© 2010 BMC Educational Services
Upload and Activate Patterns
Upload a single pattern TPL files (.tpl) Forms a single Pattern Package
Upload batches of patterns In zip files The zip file is the Pattern Package
![Page 8: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/8.jpg)
© 2010 BMC Educational Services
Controlling Patterns
Patterns are grouped into packages, which are grouped into modules
Activate or deactivate patterns to change the behavior of discovery
![Page 9: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/9.jpg)
© 2010 BMC Educational Services
Deactivate and Delete
If a package or pattern is deactivated, it does not execute during Discovery Can reactivate to include in the next discovery run
Deleting a pattern or package of patterns: all data which was inferred based upon patterns in that package is also
deleted
![Page 10: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/10.jpg)
© 2009 BMC Educational Services
Demystifying Patterns
![Page 11: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/11.jpg)
© 2010 BMC Educational Services
Example Pattern
Each pattern must have a trigger If matched successfully this become the Primary Inference for
the SI or BAI Triggers are matched at the point of discovery
Triggered on DDD node
Finds a host node in the datastore
Infers a Software Instance node
![Page 12: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/12.jpg)
© 2010 BMC Educational Services
Triggers
Every pattern has a trigger Contained within the “triggers” declaration
When a pattern “fires” the trigger declaration has been met Example: the host has a certain process running Example: An SI has been created or modified
![Page 13: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/13.jpg)
© 2010 BMC Educational Services
Trigger Example
![Page 14: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/14.jpg)
© 2010 BMC Educational Services
Data Model
Discovery
Result
Discovery
Run
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Run
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Run
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Access
Discovery
Result
Discovery
Result
Host Host Host
Software
Instance
Software
Instance
Software
Instance
Software
Instance
Software
Instance
Business
Application
Business
ApplicationPattern
![Page 15: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/15.jpg)
© 2010 BMC Educational Services
Data Model – Provenance
Provenance is the source of all inferred information and is automatically tracked Stored with Inference relationships Referred to by the role of the evidence node
The three core roles: Primary Contributor Associate
Superseded relationships – marked destroyed
![Page 16: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/16.jpg)
© 2010 BMC Educational Services
Data Model – Maintainer and Request
Maintainer and Request inference relationships are a specific type of provenance
Every node created or update by a pattern is linked back to the pattern that is responsible for it’s maintenance:
Every pattern based discovery request, successful or not, is linked back to the pattern that requested it
Business
ApplicationPattern
Maintainer
Discovery
ResultPattern
Request
![Page 17: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/17.jpg)
© 2010 BMC Educational Services
Data Model – Current Live Provenance
Discovery
Result
Discovery
Run
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Run
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Run
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Access
Discovery
Result
Discovery
Result
Host Host Host
Software
Instance
Software
Instance
Software
Instance
Software
Instance
Software
Instance
Business
Application
Business
ApplicationPattern
![Page 18: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/18.jpg)
© 2010 BMC Educational Services
Data Model – Old Superseded Provenance
Discovery
Result
Discovery
Run
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Run
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Run
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Access
Discovery
Result
Discovery
Result
Host Host Host
Software
Instance
Software
Instance
Software
Instance
Software
Instance
Software
Instance
Business
Application
Business
ApplicationPattern
![Page 19: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/19.jpg)
© 2010 BMC Educational Services
Data Model – Maintainer
Discovery
Result
Discovery
Run
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Run
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Run
Discovery
Access
Discovery
Result
Discovery
ResultDiscovery
Result
Discovery
Access
Discovery
Result
Discovery
Result
Host Host Host
Software
Instance
Software
Instance
Software
Instance
Software
Instance
Software
Instance
Business
Application
Business
ApplicationPattern
![Page 20: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/20.jpg)
© 2010 BMC Educational Services
SI Provenance Example
![Page 21: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/21.jpg)
© 2010 BMC Educational Services
Host Provenance Example
Use the “Show Provenance” button to show
Provenance is defined as: The records or documents authenticating such an object or the history
of its ownership.
![Page 22: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/22.jpg)
© 2010 BMC Educational Services
SI Version Provenance
How we know the full version of java? Click through the provenance link to the DiscoveredCommandResult
node
![Page 23: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/23.jpg)
© 2010 BMC Educational Services
SI Version Provenance Results
Answer: The java version was determined as the result of running the java
command with the “-fullversion” flag
![Page 24: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/24.jpg)
© 2010 BMC Educational Services
Maintaining Pattern
![Page 25: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/25.jpg)
© 2009 BMC Educational Services
Pattern Configuration
![Page 26: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/26.jpg)
© 2010 BMC Educational Services
Why Have Configurations?
Allows changes to behaviour using the UI Without pattern editing, or reactivation
Typical uses Turn pattern options on/off Update paths to find files or commands Any other parameters
![Page 27: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/27.jpg)
© 2010 BMC Educational Services
Where Does it Appear? (1)
If configuration blocks are defined in the pattern
![Page 28: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/28.jpg)
© 2010 BMC Educational Services
Where Does It Appear? (2)
On the “All pattern module configurations” page Discovery > Pattern Management > View Configuration of all Patterns
![Page 29: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/29.jpg)
© 2010 BMC Educational Services
How Changes Are Applied
User must have correct permission to edit: reasoning/pattern/config Otherwise can view readonly
Changes take place immediately Be careful if discovery is running Warning shown if this is the case
![Page 30: Addmi 11-intro to-patterns](https://reader035.vdocument.in/reader035/viewer/2022070318/557ae758d8b42a1a358b466c/html5/thumbnails/30.jpg)
© 2010 BMC Educational Services
Online Documentation: http://www.tideway.com/confluence/display/81/Pattern+Management http://www.tideway.com/confluence/display/Configipedia/Schedule+and+Roadmap
Further Resources