Advanced Data Collection

Download Report

Transcript Advanced Data Collection

House of tails dogs charity
All donations go 100% to the charity
#MMSGIVEBACK
Advanced Data Collection
with System Center 2012 Configuration Manager
Jason Sandys
@jasonsandys
blog.configmgrftw.com
Sherry Kissinger
Twitter Handle
mofmistress.com
Jason Sandys
@jasonsandys
San Antonio, TX
Principal
Consultant
#MMSMOA
15+ Years
Forums, Blog
Sherry Kissinger
Pretty Bird!
Camping!
Systems
Engineer
#MMSMOA
14 years
experience
with SMS /
ConfigMgr
http://www.mnscug.
org/blogs/sherrykissinger
Microsoft MVP
2009-2015
Presenter 2 Name
City, Country
#MMSMOA
A Brief Overview
To Store or Not to Store
Data Sources
Data Gathering
Now What
Database Comparison
=
/
ConfigMgr DB
Inventory
CMDB
History
Process
Tracking
Compliance
Ownership
Inventory
Status
J
Compliance
Status
What To Store in Configuration Manager
Resident information on
managed systems
Information about
managed systems
Information intended for direct ConfigMgr use
Information from other
databases
Information not related
to managed systems
Lots of data; e.g., frequent perf samples
S
Data Sources for Custom Data
Managed
Systems
J
Applications
The Internet
Active Directory
User Input
Managed System Data Sources
WMI
Registry
Event Logs
Managed
Systems
S
Anything you can script
Data Gathering Options in ConfigMgr
Hardware Inventory
Discovery
J
Hardware Inventory Overview
MP
J
The MOFs
S
Configuration.mof
Sms_def.mof
• Defines data
• Does not tell ConfigMgr
to do anything
• Compiled on each
client when a change is
detected
• Defines from where and
how data should be
retrieved
• Instructional to
ConfigMgr
• Stored in the DB
Demo
Hardware Inventory
Demo
User Input
Custom Hardware Inventory Gotchas
By default, users cannot create object instances.
Providers may be linked to root\cimv2.
Configuration.mof and sms_def.mof are different
Registry keys & values from 32-bit apps on 64-bit systems
J
Discovery Overview
DDR
J
Site Server
Demo
Active Directory Discovery
Demo
Custom Data Discovery Records
Custom DDR Gotchas
A malformed DDR can crash SMS_Executive.
Can’t PXE boot to systems created with a custom DDR.
No “supported” way to delete new fields added.
Set the name attribute on the correct fields.
J
Using Custom Data
Console
Queries
Collections
Ad-hoc Queries
Reports
Database
S
Demo
Custom Data Use
Demo
Direct Data from PowerShell
Hints, Allegations & Things Left Unsaid
Challenges
• User-specific
data
• Architecture
specific data
• Finding the data
S
Ramifications
• DB Bloat
• Bandwidth
Good Practices
• Delete after use
• Don’t extend
without a
requirement
• Use custom
classes and
(WMI)
namespaces
Takeaways
Data can from multiple sources
Custom data has multiple uses
ConfigMgr is not a CMDB
WMI, PowerShell, & SQL are your friends
J
Discuss…
Ask your questions-real world answers!
Plenty of time to engage, share knowledge.
Evaluations: Please provide session feedback by clicking the EVAL button in the scheduler app (also
download slides). One lucky winner will receive a free ticket to the next MMS!
SPONSORS
Session Title: