House of tails dogs charity All donations go 100% to the charity #MMSGIVEBACK

Preview:

Citation preview

House of tails dogs charity

All donations go 100% to the charity#MMSGIVEBACK

Advanced Data Collectionwith System Center 2012 Configuration Manager

Jason Sandys@jasonsandysblog.configmgrftw.com

Sherry KissingerTwitter Handlemofmistress.com

#MMSMOA

@jasonsandys

Principal Consultant 15+ Years

San Antonio, TX

Jason Sandys

Forums, Blog

#MMSMOA

Pretty Bird!

Systems Engineer

http://www.mnscug.org/blogs/sherry-kissinger

14 years experience with SMS / ConfigMgr

Microsoft MVP 2009-2015

Camping!

Sherry Kissinger

Speaker picturePersonal picture of your hobby or location picture

#MMSMOA

City, Country

Presenter 2 Name

A Brief Overview

To Store or Not to Store

Data Sources

Data Gathering

Now What

Database Comparison

ConfigMgr DBInventory

Compliance

Status

CMDBHistory

Process

Tracking

Ownership

Inventory

Compliance

Status

=/

J

What To Store in Configuration Manager

Yes Resident information on managed systems

Information about managed systems

No

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

Applications The InternetActive

DirectoryUser Input

J

Managed System Data Sources

Managed Systems

WMI

Registry

Event Logs

Anything you can script

S

Data Gathering Options in ConfigMgr

Hardware Inventory

Discovery

J

Hardware Inventory Overview

MP

J

The MOFs

Configuration.mof

• Defines data• Does not tell

ConfigMgr to do anything

• Compiled on each client when a change is detected

Sms_def.mof

• Defines from where and how data should be retrieved

• Instructional to ConfigMgr

• Stored in the DB

S

DemoHardware Inventory

DemoUser 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

Site ServerDDR

J

DemoActive Directory Discovery

DemoCustom 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

Database

Ad-hoc Queries Reports

S

DemoCustom Data Use

DemoDirect Data from PowerShell

Hints, Allegations & Things Left Unsaid

Challenges

• User-specific data

• Architecture specific data

• Finding the data

Ramifications

• DB Bloat• Bandwidth

Good Practices

• Delete after use

• Don’t extend without a requirement

• Use custom classes and (WMI) namespaces

S

Takeaways

Data can from multiple sources

Custom data has multiple uses

ConfigMgr is not a CMDB

WMI, PowerShell, & SQL are your friends

J

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!Session Title:

Discuss…

Ask your questions-real world answers!Plenty of time to engage, share knowledge.

SPO

NSO

RS

Recommended