Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Travis Wright - PS WF SMA SCSM SP

3,532 views

Published on

Published in: Technology, Business
  • Be the first to comment

Travis Wright - PS WF SMA SCSM SP

  1. 1. Travis Wright SCSM SSP WAP SMA PS How a Bunch of Letters Can Help Deliver Solutions Faster, with Fewer Issues, Save Money, Impress the Boss, and Get You a Promotion
  2. 2. Agenda • • • • • • PS: PowerShell WF: PowerShell Workflow SMA: Service Management Automation WAP: Windows Azure Pack SCSM: System Center – Service Manager SSP: Self-service portal
  3. 3. “Button pusher” is the new “pencil pusher”
  4. 4. Learn PowerShell or practice the phrase “Would you like fries with that?” -Don Jones, PowerShell MVP Blue Collar IT vs. White Collar IT Jeffrey Snover, Windows Server Lead Architect, Distinguished Engineer, Father of PowerShell http://www.youtube.com/watch?v=66cYDdmF9u0#t=64
  5. 5. Value of Automation • • • • • Lower costs Reduce time to completion Minimize human error Ensure processes are followed and documented Abstract away high security operations
  6. 6. INTRODUCING POWERSHELL WORKFLOWS (PS WF)
  7. 7. Introducing PowerShell Workflows • • • Workflows are a PS construct similar to a function or cmdlet They are converted to and executed as a Windows Workflow Foundation workflow at runtime Workflows are different from a function/script/cmdlet • • • • • • • • Some commands don’t work unless they are in an InlineScript block Workflows can execute commands in parallel or in sequence Variable lifetime is handled differently Workflows can persist state You can suspend/resume a workflow Workflows “survive” OS shutdowns or network outages Logging and retry are handled by workflow engine Runs activities. Cmdlets are run inside of an InlineScript block
  8. 8. HelloWorld PowerShell Workflow Workflow HelloWorld { “Hello World” }
  9. 9. Remote Execution
  10. 10. Run As
  11. 11. Executing Workflows as PowerShell Jobs
  12. 12. Retrieving Output of a Job
  13. 13. Creating Workflows Using the PowerShell ISE
  14. 14. Parameters • Parameter names can only be letters, numbers, hyphen, underscore • Hyphenated parameter names must be enclosed in quotes • Parameters can be mandatory • You can create parameter sets
  15. 15. InlineScript
  16. 16. Persistence • A checkpoint stores the current variable values, output, and current command to disk in the user profile of the user running the workflow • All checkpoints are removed when the workflow completes unless the –AsJob was used in which case it remains until the job is deleted • -PSPersist $true: creates a checkpoint after each activity • -PSPersist can also be passed to an individual activity • Checkpoint-Workflow activity can be used anywhere in the workflow
  17. 17. Parallelism: ForEach -Parallel • ForEach –Parallel can be used to For Each through a collection executing the commands contained by the For Each in parallel • Order is non-deterministic because it depends on each item’s variable completion time • Max degrees of parallelism: 5
  18. 18. Parallel/Sequence Block Example • Commands in a Parallel block execute in an indeterminate order at the “same” time • Max degree of parallelism: 5 • Commands in a Sequence block execute in order
  19. 19. Suspend/Resume
  20. 20. INTRODUCING SERVICE MANAGEMENT AUTOMATION (SMA)
  21. 21. Service Management Automation (SMA) • • • • • SMA is a component in the Orchestrator setup Browser-based runbook authoring integrated into the WAP Admin Portal Supports requirements for scale and high availability Import PS modules and create additional modules and runbooks for existing resources or to connect into 3rd party systems (ticketing system, billing system, etc.) Check out the Building Clouds Blog for an Introduction to SMA http://aka.ms/IntroToSMA
  22. 22. SMA Advantages Over Orchestrator • • • • • • • • • • 64-bit support Native PowerShell execution and PowerShell 3+ support Checkpoint/restart inside runbooks Runbook servers architecture is more scalable Ability to export selected variables, using the SMART tool Save drafts Versioned runbooks Schedule runbooks Parallel processing Text authoring vs. visual designer
  23. 23. SMA Architecture SCSM Console SCSM Workflows Cireson SMA Connector Windows Azure Pack Admin Portal SMA PowerShell Module/Cmdlets Service Management Automation Web Service API SMA Service Management Automation Runtime PowerShell Windows Workflow Foundation
  24. 24. Integration of Orchestrator and SMA • • System Center 2012 R2 Orchestrator supports both PowerShell Workflow and Graphical Authoring Call SMA from Orchestrator or call Orchestrator from SMA PoSh Authoring Interop Graphical Authoring http://bit.ly/1ciQZZc PoSh Workflow Engine UI Runbook Engine Process Automation
  25. 25. INTRODUCING WINDOWS AZURE PACK (WAP)
  26. 26. WAP At a Glance TENANT & ADMIN PORTALS SERVICE MANAGEMENT API WEBSITES DATABASES SERVICE BUS VIRTUAL MACHINES VIRTUAL NETWORKS
  27. 27. WAP Architecture Tenant Portal Service Admin Portal Service Management API PaaS Provisioning and Management Engine Service SQL Bus Server IIS Service Provider Foundation (Tenant, Admin, Usage) Virtual Machine Manager Orchestrator Hyper-V Windows Server Operations Manager
  28. 28. Microsoft Cloud OS Vision Microsoft Cloud Windows Azure Platform Windows Azure Pack 1 Windows Azure Pack Consistent Platform Private Cloud Service Providers
  29. 29. SMA/WAP DEMO
  30. 30. INTRODUCING SYSTEM CENTER – SERVICE MANAGER (SCSM)
  31. 31. SCSM Overview Connectors System Center – Configuration Manager System Center – Operations Manager System Center – Orchestrator System Center – Virtual Machine Manager Active Directory Exchange IT Service Management Solutions Service Management Automation (SMA)* Incident & Problem Management Service Request Fulfillment Change & Release Management Configuration Management CMDB Platform DW Workflow Knowledge Management Self-service Reporting Self-service Portal Service Catalog .NET API Notifications Asset Management* Console & Forms Security * Cireson Products
  32. 32. SCSM–SMA Integration (Cireson SMA Connector) Key Scenarios Include a SMA runbook activity in a work item process Example: New AD User service request/request offering Subscription workflows trigger SMA runbooks Example: Automated incident troubleshooting
  33. 33. SCSM-SMA Connector Key Design Points • Connector object • • • • • • • • • Derives from Activity Work Item class Can be included in parent work items just like any other activity work item Generic properties like SCO runbook activity (Text1..10, Boolean1..5, etc.) Stores mapping of properties to runbook parameters • • • Persisted, shared connector configuration Securely encrypts and stores credentials Doesn’t sync data into SCSM CMDB like other connectors Subscribe to create/update of any class of objects in CMDB • • • View Runbook View Runbook Job Start Runbook Now No “runbook” objects in CMDB like SCO integration – no “contract”! SMA Runbook Activity Work Item Class SMA runbook subscription workflow wizard Helpful Views and Console Tasks
  34. 34. SCSM-SMA INTEGRATION DEMO
  35. 35. INTRODUCING SELF-SERVICE PORTAL (SSP)
  36. 36. Self-Service Portal Features • Service Catalog • Make service requests • Report incidents • • • • View/update requests Search knowledge base Approve/reject requests Update activities assigned to you
  37. 37. Out of Box Portal vs. Cireson Portal Out of Box Portal • • • • • • • • • Built on SharePoint Requires Silverlight Limited style customization Lots of clicks and scrolling Service catalog, my requests, knowledge base Poor performance/scale Doesn’t work on x-plat/mobile Internet-facing not supported Windows-integrated auth only Cireson Portal • • • • • • • • • No SharePoint required HTML 5, No Silverlight Complete style customization Minimal clicks and scrolling Service catalog, my requests, knowledge base + analyst portal Excellent performance/scale Works on x-plat/mobile Internet-facing supported Windows-integrated/forms auth
  38. 38. SELF-SERVICE PORTAL DEMO: PUTTING IT ALL TOGETHER
  39. 39. Questions & Discussion Travis Wright Director, Product Management Cireson travis.wright@cireson.com @radtravis
  40. 40. Please evaluate the session before you leave 
  41. 41. Use layouts with this background for generic text
  42. 42. Use layouts with this background for software code

×