ConfigMgr State and Status Messages

Slides:



Advertisements
Similar presentations
What’s coming in Sccm 2007R2 aka Sccm 2007R2: 10 reasons to upgrade Kim Oppalfens SCUG.be.
Advertisements

Internet Based Client Management
Installation and Deployment in Microsoft Dynamics CRM 4.0
Chapter 12 - Backup and Disaster Recovery1 Ch. 12 – Backups and Disaster Recovery MIS 431 – Created Spring 2006.
Automating Microsoft Azure with PowerShell MMS Minnesota 2014 Trevor Sullivan and David O’Brien – #MMSMinnesota.
Advanced Infrastructures In System Center Configuration Manager 2012 R2 Jason blog.configmgrftw.com m Wally.
Patch and Settings Management in Microsoft System Center Configuration Manager 2012 Wally Mead Senior Program Manager Microsoft Corporation Mark Florida.
Deep Application Management with Microsoft System Center 2012 Configuration Manager Adwait Joshi Senior Product Marketing Manager Microsoft Corporation.
Your CMDB and PowerShell DSC: DevOps Techniques
Implementing High Availability
Patch Management Module 13. Module You Are Here VMware vSphere 4.1: Install, Configure, Manage – Revision A Operations vSphere Environment Introduction.
DB Audit Expert v1.1 for Oracle Copyright © SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.
ManageEngine ADAudit Plus A detailed walkthrough.
NovaBACKUP 10 xSP Technical Training By: Nathan Fouarge
1. 2 LXU800 User’s Manual 1.Installation – Windows XP UI Features Introduction Data Connection & Disconnection.
Module 16: Software Maintenance Using Windows Server Update Services.
Chapter 13: Sharing Printers on Windows Server 2008 R2 Networks BAI617.
Module 13 Automating SQL Server 2008 R2 Management.
A walkthrough of the SageQuest Mobile Control Online & ESC integration.
Overview Print and Document Services Print Management console Printer properties Troubleshooting.
© 2010 VMware Inc. All rights reserved Patch Management Module 13.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
AQS Web Quick Reference Guide Changing Raw Data Values Using Maintenance 1. From Main Menu, click Maintenance, Sample Values, Raw Data 2. Enter monitor.
Copyright ®xSpring Pte Ltd, All rights reserved Versions DateVersionDescriptionAuthor May First version. Modified from Enterprise edition.NBL.
Troubleshooting OS Deployment MMS Minnesota 2014 Johan Michael #MMSOSD.
VTP VLAN Trunking Protocol
Conditions and Terms of Use
CSI-E Computer Security Investigator – Enterprise.
Implementing Update Management
PowerShell DSC v. ConfigMgr Compliance Settings MMS Minnesota 2014 Greg Ramsey David O’Brien Sherry Kissinger #MMSMinnesota.
SCORCH – Fun Recipes for RunBooks MMS Minnesota 2014 Steve Jesok & Matthew #MMSSCOrch.
Maintaining File Services. Shadow Copies of Shared Folders Automatically retains copies of files on a server from specific points in time Prevents administrators.
Module 7: Fundamentals of Administering Windows Server 2008.
Service Models in SCOM with VSAE examples
Advanced MP Authoring and Design Getting outside of the wizard and into the MP code with VSAE MMS Minnesota 2014 Nathan Foreman Jonathan Almquist #MMSSCOM.
System Center Reporting Zero to Hero 15 minutes x 4 MMS Minnesota 2014 Samuel Erskine (Sam) Dieter Gasser (Didi) IT Driving Fellow Principal Consultant.
Windows Vista Inside Out Chapter 22 - Monitoring System Activities with Event Viewer Last modified am.
Learningcomputer.com SQL Server 2008 – Administration, Maintenance and Job Automation.
Yes, Applications DO work in task sequences!
1 Chapter Overview Defining Operators Creating Jobs Configuring Alerts Creating a Database Maintenance Plan Creating Multiserver Jobs.
SMS Software Distribution. Overview  Explaining How SMS Distributes Software  Managing Distribution Points  Configuring Software Distribution and the.
Microsoft Management Seminar Series SMS 2003 Change Management.
A ConfigMgr 2012 Site Review MMS Minnesota 2014 Kent Agerlund / Steve Thomson.
Are you Ready for Configuration Manager vNext?
Windows 10 Feature & Servicing Updates Options and Demystifying Steven Rachui
No On Premise OS “Ecks” SCCM Zed Yes On Premises OS “Ten” (OS X) ConfigMgr Zee Get It Right!
ConfigMgr! Intune! Azure!ConfigMgr! Intune! Azure! Understanding Cloud Based Management Options Steven Rachui
Managing Third Party Updates with Microsoft’s System Center Configuration Manager Secunia Integration, MMS 2015 Kent AgerlundSherry Kissinger.
Nano ServerNano Server The Future of Window Server Mikael Johan
House of tails dogs charity All donations go 100% to the charity #MMSGIVEBACK.
System Center Configuration Manager 2012 R2 Jodie Gaver Jodie Gaver Working with Configuration Manager since Working with Configuration Manager.
The Art of deploying Windows 10 With ConfigMgr 2012 R2 Johan Mikael
Midwest Management Summit MMSSQL – What are Your SQL Reporting Questions? #MMSMinnesot a #MMSSQL.
ConfigMgr 2012 SQL Refresher MMS Minnesota 2014 Matthew Teegarden/Steve Thompson.
ConfigMgr 2012 Jeopardy Quiz MMS Minnesota 2014 Kim Oppalfens & Kent Agerlund Microsoft MVP: Enterprise Client Management #MMSJeopardy.
Introduction to T-SQL – Part Deux Matthew Sherry Kissinger kissinger.
OS Deployment - LEVEL 500OS Deployment - LEVEL 500 Johan
App-V: An Overview MMS Minnesota 2014 Fred #MMSMinnesota #MMSAppV.
Server OS Deployment Deep Dive with two crazy guys and ConfigMgr 2012 R2 MMS Minnesota 2014 Greg Nash.
Sweet SUITE Imaging MMS Minnesota 2014 #MMSMinnesota #MMSConfigMgr #MMSLove Steven Rachui Premier Field Engineer Microsoft Corporation
WMUG Presents System Center 2012 Configuration Manager Software Updates Management Presented by Robert Marshall MVP ConfigMgr
Upgrading to System Center Configuration Manager
ITMT 1371 – Window 7 Configuration 1 ITMT Windows 7 Configuration Chapter 8 – Managing and Monitoring Windows 7 Performance.
Maintaining and Updating Windows Server 2008 Lesson 8.
Managing Microsoft SQL 2000 with MOM MOM Overview Why Monitor SMS 2003 with MOM 2005 The SMS 2003 Management Pack Inside The Management Pack Best.
ConfigMgr Discovering and Organizing Resources Mariusz Zarzycki, Phd, MCT, MCTS, MCITP, MCSE, MCSA.....
DFR Downloader Theo Laughner, PE Presented at GPA User Forum August 5, 2015.
Moving to Configuration Manager Current Branch
ConfigMgr State & Status messages A through Z
Implementing Update Management
Presentation transcript:

ConfigMgr State and Status Messages Under the Hood Greg Ramsey and Wally Mead @ramseyg @Wally_Mead #MMSMinnesota MMS Minnesota 2014

Are you confused? We’ll try to help! Once you learn, they are each pretty easy to understand Differences between state and status messages Components and features that use each of them Site systems involved Troubleshooting issues with them MMS Minnesota 2014

Some initial quick differences Status Messages State Messages Legacy Been around from the beginning Used by clients and site systems Less used by clients now Each status message is sent Newer As of Configuration Manager 2007 Mainly used by clients May use the FSP role Only sent if state changed MMS Minnesota 2014

Status Message Overview Been in the product since the beginning SMS 1.0 and is still used in Configuration Manager 2012 R2 Mainly used by legacy features and components For behavior and flow – “here’s what has occurred recently” Full status is maintained in the site Until aged out by site maintenance tasks Site system components report status Clients also generate some status messages Then processed by Status Manager into the site database when appropriate MMS Minnesota 2014

Status Message Creation All components and clients that generate status messages do so on demand There is no ‘schedule’ for creation of status messages All status messages are then forwarded on after creation There is no ‘schedule’ for forwarding of status messages to the site for processing There is no ‘official’ list of all status messages from the product group There was a list for a previous version, however never updated MMS Minnesota 2014

Status Message Processing Status Manager processes status messages SMS_Status_Manager is the component Statmgr.log is the log file Status message processing Receives .SVF files to statmsgs folder from components directly or from management point (from clients) Inbox structure discussed on next slide Status Manager sleeps one minute waiting for new files to process Batch inserts all processed into the database each cycle MMS Minnesota 2014

Status Message Processing (2) Status Manager inbox structure: Statmgr.box Futureq – messages waiting for site server’s clock to catch up to the status message time Outgoing – messages to be forwarded to another site Queue – messages waiting for processing (if many, such as in a backlog) Retry – messages waiting to retry if an issue (such as corrupt) Statmsgs – main inbox for messages to be processed Statmsgs\Bad – messages that can’t be processed Temp – temporary folder MMS Minnesota 2014

Status Message Processing (3) Status message summarization Provides administrators a ‘quick status’ of appropriate status areas SMS_Component_Status_Summarizer Results viewed in Monitoring/System Status/Component Status Compsumm.log SMS_Offer_Status_Summarizer Results viewed in Monitoring/Deployments for packages/programs Offersum.log SMS_Site_System_Status_Summarizer Results viewed in Monitoring/System Status/Site Status SiteStat.log Runs hourly by default MMS Minnesota 2014

Status Message and Site Systems All site systems and site components will generate status messages These are sent directly to the site server to the Statmsgs inbox Clients also generate status messages These are sent to the management point Then forwarded to the site server for processing Certainly the site server is involved in processing status messages And they wind up in the site database so the site database server is involved MMS Minnesota 2014

Status Message Historical Data Status messages are inserted into the site database at processing time Unless they are corrupt or bad They are maintained in the site database until aging occurs Status filter rules control life of the status message Normal status messages are maintained for 30 days Audit status messages are maintained for 180 days Both can be adjusted through modification of the appropriate status filter rule Site maintenance task deletes aged status messages Delete Aged Status Messages – runs daily from midnight to 5am MMS Minnesota 2014

Status Message Advantages/Disadvantages History is maintained Until aged out Can be viewed in Configuration Manager Console and Event Viewer If status filter rule configured to store there APIs to create custom status messages Disadvantages: Don’t scale well for large environments Can be confusing to figure out what the current ‘status’ is Querying/displaying messages can take time MMS Minnesota 2014

Demo Status Messages MMS Minnesota 2014

State Message Overview New as of Configuration Manager 2007 Designed to be less overhead in the database, less processing intense on the site server, and easier on the infrastructure Most new client features use state messages now All compliance – configuration items/baselines, software updates, health (both Client Health and daily management point check), Endpoint Protection Applications Client deployment (to the fallback status point if specified) Only last state is maintained in the site “Current” state of the object And maintained until the item is removed (client, CI, etc.) MMS Minnesota 2014

State Message Creation State messages are created on demand There is no ‘schedule’ for creation of state messages However, most are created after a scheduled event Application deployment, scheduled software update scan, etc. All state messages are then forwarded on after creation There is a ‘schedule’ for forwarding of state messages to the site for processing By default, this is every 15 minutes for most messages Endpoint Protection state is delivered immediately as are client deployment messages View the StateMessage.log on the client for creation and delivery of messages Look for “Successfully forwarded state messages to the MP” MMS Minnesota 2014

State Message Processing Client State Messages stored in Root\CCM\Statemsg:CCM_StateMsg StateSys Preps Message CCMExec Sends to MP (via BITS) MP MP_Relay receives state message, and writes to sms\mp\outboxes\statemsg.box Mpfdm moves from sms\mp\outboxes\statemsg.box to site server inboxes\auth\statesys.box\incoming\ Site Server Reads files from inboxes\auth\statesys.box\incoming\ Calls appropriate SP (SP_Process*) to insert data to database MMS Minnesota 2014

Handy Commands from the Client PowerShell Command Description $UpdatesStore = New-Object -ComObject "Microsoft.CCM.UpdatesStore" $UpdatesStore.RefreshServerComplianceState() Refreshes Update Compliance Status Get-CimInstance -ClassName CCM_StateMsg -Namespace root\ccm\statemsg List all state messages on client Get-CimInstance -ClassName CCM_StateMsg_SerialNum -Namespace root\ccm\statemsg Show Last State Serial Number MMS Minnesota 2014

State Message Processing State System processes state messages For the most part, only clients generate state messages A couple of site systems create state messages on behalf of mobile devices SMS_State_System Also processes Configuration Manager Console summarization For example, Deployments, Client Status, and so on State System inbox structure: Auth\Statesys.box Corrupt – messages that can’t be processed due to corruption Incoming – messages coming from clients (as .SMX files) Low, High, and Bad folders – priority based Outgoing – messages to be forwarded to other sites Process – messages currently being processed MMS Minnesota 2014

Handy Queries from Site Server DB SQL Query Description select * from v_StateNames Lists Topic Type, Description for each state select * from v_StateMessageStatistics Displays hourly Processing stats (primary sites only) SELECT v_StateMessageStatistics.StatDate, v_StateMessageStatistics.TopicType, v_StateMessageStatistics.StateID, v_StateMessageStatistics.TotalMsgs, v_StateMessageStatistics.TotalTime, v_StateNames.StateName, v_StateNames.StateDescription FROM v_StateMessageStatistics INNER JOIN v_StateNames ON v_StateMessageStatistics.TopicType = v_StateNames.TopicType AND v_StateMessageStatistics.StateID = v_StateNames.StateID where v_StateMessageStatistics.TopicType in (300,301,302) Show Software Update State MMS Minnesota 2014

Quick Pivot/Analysis MMS Minnesota 2014 Row Labels Sum of TotalMsgs Compliant 701828 Downloaded update(s) 222795 Downloading update(s) 139 Evaluation activated 5329 Evaluation failed 193961 Evaluation succeeded 4365387 Failed to download update(s) 6211 Failed to install update(s) 64304 Installing update(s) 25 Non-compliant 417693 Pending system restart 111315 Successfully installed update(s) 246782 Waiting for another installation to complete 19 Waiting for restart 177 (blank) Grand Total 6335965 MMS Minnesota 2014

State Message and Site Systems Clients generate state messages Normal state messages are sent to the management point Then forwarded to the site server for processing Some state messages are sent from clients to the fallback status point Client deployment/assignment messages Daily management point checks Highly recommended to have a FSP in each primary site Certainly the site server is involved in processing state messages And they wind up in the site database so the site database server is involved MMS Minnesota 2014

State Message Historical Data State messages are inserted into the site database at processing time They are maintained until the resource or object has been removed from the site No aging of them automatically like status messages as only the current ‘state’ of the client/object is maintained MMS Minnesota 2014

State Message Advantages/Disadvantages Great to see current ‘state’ Summarization is great – for example, the number of non- compliant clients Have priorities – higher priority messages will be processed more quickly than lower priority messages Scales well even in large environments Unicode Disadvantages: No history – can’t see how things processed previously MMS Minnesota 2014

Demo State Messages MMS Minnesota 2014