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

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

Embed Size (px)

Citation preview

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

House of tails dogs charity

All donations go 100% to the charity#MMSGIVEBACK

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

Advanced Data Collectionwith System Center 2012 Configuration Manager

Jason [email protected]

Sherry KissingerTwitter Handlemofmistress.com

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

#MMSMOA

@jasonsandys

Principal Consultant 15+ Years

San Antonio, TX

Jason Sandys

Forums, Blog

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

#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

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

Speaker picturePersonal picture of your hobby or location picture

#MMSMOA

City, Country

Presenter 2 Name

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

A Brief Overview

To Store or Not to Store

Data Sources

Data Gathering

Now What

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

Database Comparison

ConfigMgr DBInventory

Compliance

Status

CMDBHistory

Process

Tracking

Ownership

Inventory

Compliance

Status

=/

J

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

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

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

Data Sources for Custom Data

Managed Systems

Applications The InternetActive

DirectoryUser Input

J

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

Managed System Data Sources

Managed Systems

WMI

Registry

Event Logs

Anything you can script

S

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

Data Gathering Options in ConfigMgr

Hardware Inventory

Discovery

J

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

Hardware Inventory Overview

MP

J

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

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

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

DemoHardware Inventory

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

DemoUser Input

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

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

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

Discovery Overview

Site ServerDDR

J

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

DemoActive Directory Discovery

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

DemoCustom Data Discovery Records

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

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

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

Using Custom Data

Console

Queries Collections

Database

Ad-hoc Queries Reports

S

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

DemoCustom Data Use

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

DemoDirect Data from PowerShell

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

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

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

Takeaways

Data can from multiple sources

Custom data has multiple uses

ConfigMgr is not a CMDB

WMI, PowerShell, & SQL are your friends

J

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

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

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