11
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

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

Embed Size (px)

Citation preview

Page 1: 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

MMS Minnesota 2014

Advanced MP Authoring and Design

Getting outside of the wizard and into the MP code with VSAE

Nathan ForemanJonathan Almquist

#MMSSCOM

Page 2: 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

MMS Minnesota 2014

Where to Start?

• Fundamentals of MP Operation• Breakdown of SCOM Workflows• Inter-Module data transfer• Things to keep in mind while authoring• Designing MP Structure

Page 3: 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

MMS Minnesota 2014

Fundamentals of MP Operation

•Workflows are Executed on the System Hosting the Class• Discoveries Drive Monitoring• Discovered Class Properties are Leveraged for Monitoring•Multiple Workflows can benefit from CookDown• Agentless Monitoring has some Additional Steps

Page 4: 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

MMS Minnesota 2014

Inside the Workflow (Modules)

• Data Source• Generates Output base on External Source / Trigger

• Probe Action• Has a Single Input Steam and Output Stream• Collects Data from External Sources (when triggered)

• Condition Detection• Has One or More Input Streams and One Output• Also used for Consolidation • Does Not use External Data

• Write Action• One Input and Optionally one Output• Only Write Actions should Change External States/Data

Page 5: 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

MMS Minnesota 2014

Intra-Module Data Transfer

•Move Between modules as DataItem XML• Xpath Queries are Used to Extract the Data• <XPathQuery Type="Integer">Property[@Name='OldestAge']</XPathQuery>

Page 6: 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

MMS Minnesota 2014

Things to Keep in Mind While Authoring•Will this need Elevated Privileges?• Should Overrideable Parameters be Added?•Will this be used in a Remotable Workflow?•Will this be Impactful to the Host?•Will this Leverage Cookdown?

Page 7: 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

MMS Minnesota 2014

Designing the MP Structure

• Scenario:• File base EDI System• Input and Output Queue• We already have a base class from our Service Model• How old are files in the Queue• How many files are in the Queue• Know the current state of the Queues• Alerting option for age and count

Page 8: 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

MMS Minnesota 2014

Designing the MP Structure (Continued)• Class Structure• Do We Need an Additional Class? Or Two?• What Properties Will we need?

•Monitoring Design• Rules to Collect Performance• Monitors to Drive State • We’ll alert off of the rules or monitor state changes

Page 9: 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

MMS Minnesota 2014

Demo

• Demo

Page 10: 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

MMS Minnesota 2014

Questions

Any questions?

Page 11: 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

Session Title

EvaluationsPlease provide session feedback by clicking the Eval button in the scheduler app. One lucky winner will get a free ticket to the next MMS!

Visit all of our sponsors in the expo area and online!

Platinum Sponsors:

Gold Sponsors:

MMS Minnesota 2014

Nathan ForemanJonathan Almquist

#MMSSCOM