Jakob Gottlieb Svendsen

advertisement
Jakob Gottlieb Svendsen
SCSM 2012 & Orchestrator 2012
Lessons learned from the real
world
Who am I
Jakob Gottlieb Svendsen - @JakobGSvendsen
Profession
•
•
•
Chief Developer, Coretech A/S, System Center Gold Partner
Titles
•
•
•
•
•
System Center Cloud and Data Center Management MVP
Windows Azure Pack / SMA
Orchestrator + Extensions for SCSM + SCOM
VBScript / PowerShell / VB.NET / C#.NET
Communities
•
•
•
Co-Founder of the danish PowerShell User Group (www.psug.dk)
Moderator on Microsoft TechNet Forums
Author
•
•
•
•
•
Service Manager 2012 Unleashed (contributing author – Release June 2014)
Mastering System Center Orchestrator 2012 – 3 day workshop
Windows Azure Pack - SMA Workshop/course (in development)
Advanced SCOM management pack design/development Workshop/course (in development)
Agenda
•
•
•
•
•
•
Intro
Design Top 3
Avoid the traps
Ideas & Tips
Administration & Tools
Real Life Example
Automate IT Processes
Runbook Automation Activity
Review Activity (Approval)
DESIGN
Design Top 3
• Lightweight
• Errors
• Modularity
Lightweight
•
•
•
•
Be as light as possible!
More runbooks = Less Activities in each!
Use sub runbooks!
Stages
• Resume
• Overview
DEMO
LIGHTWEIGHT & STAGES
Errors
• Make sure all errors are thrown!
• Add to Action Log (Private?)
• Custom Error:
• Use PowerShell
• Coretech Error Integration Pack
• Own Integration Pack
DEMO
ERRORS
Modularity
•
•
•
•
Save all within same folder
Easier transfer
Avoid library runbooks
Share within ”solution”
AVOID THE TRAPS
Set U.S. Locale!
• All Runbook Servers
• In Service Account Context!
Object ID Prefix
• Use correct prefix
• SR1234 or MA1234
• Use the {0} Token
• SR{0} or MA{0}
• Cannot be done manually on Activities!
• Use Coretech SCSM Extension IP
DEMO
OBJECT ID PREFIX
Approvals / Review Activity
• Set Approval Condition!
• Or it does not work in the Portal!
• Do not use AD groups
IDEAS & TIPS
Ideas & Tips
• Complete the runbook manually
• Offering Design
Complete the runbook manually
• Up to 5 minute performance increase
• The “Runbook Monitoring Rule” workflow runs
every 5 minutes by default
• Do not use when activity has been added
dynamically!
• Wait for the workflows instead
DEMO
COMPLETE THE RUNBOOK
Offering Design
• Mapping inputs
• Map to runbook activities
• Extend class (inputString01,02,03…)
• Use Query results as much as possible!
• Advanced Criteria via XML
ADMINISTRATION
Import - Export
• Runbook & Parameter IDs are replaced!
• Coretech Import Tool
• Custom Runbook Activity type
• All global settings are exported
• Parse Export
• Sanitize Export + Bulk PowerShell Script
DEMO
ADMINISTRATION TOOLS
Real Life Example
• Auto Approval on scheduled date
Submit Request
from Self-Service
Portal
Disable User
Wait x days
Delete User
Service
Manager
Orchestrator
DEMO
REAL LIFE EXAMPLE
WHAT’S NEXT
Service Management Automation
•
•
•
•
Introduced in Orchestrator R2
Part of Windows Azure Portal (#WAPack)
PowerShell Automation
Cireson – SMA Connector
Links
• Coretech Blogs about SCSM
•
•
•
Jakob Gottlieb Svendsen – http://blog.coretech.dk/JGS
Morten Meisler – http://blog.coretech.dk/MME
Brian Fahrenholtz – http://blog.coretech.dk/BFA
• Tools
Coretech
• Import Export Tool
http://blog.coretech.dk/jgs/scsm-sco-management-pack-transfer-tool-beta-2-freeware/
• SCSM Extension Integraiton Pack
http://blog.coretech.dk/jgs/scoscsm-2012-create-objects-with-activities-with-coretech-integration-packfor-scsm-2012-extension-beta-2/
• Ryan Andorfer’s Tools
• Parse Export
https://scorch.codeplex.com/releases/view/104915
• Sanitize Export
https://scorch.codeplex.com/releases/view/87676
• Custom Runbook Activity Type
https://scorch.codeplex.com/releases/view/104608
•
Please evaluate the session
before you leave

Download