Here is an example of System Center 2012 SP1 Orchestrator’s runbook to deploy a SCVMM service from a defined template.
Service Template Release
equals {TemplateRelease from “Initialize
Data”}
Service Template Name {Service Template Name from “Get
Service Template”}
Note that deployment did not work from the beginning with
error:
“The following errors occurred when invoking PowerShell
script:Could not find service template
Exception: InvalidOperationException Target site: PSRunspaceInvoker.HandleInvokeErrors
Stack trace: at
Microsoft.SystemCenter.Orchestrator.Integration.PowerShellConnector.PSRunspaceInvoker.HandleInvokeErrors(IList
invokeErrors) at
Microsoft.SystemCenter.Orchestrator.Integration.PowerShellConnector.PSRunspaceInvoker.Invoke(RunspaceInvoke
runspace, String script, ILogger logger)
at
Microsoft.SystemCenter.Orchestrator.Integration.PowerShellConnector.PSScriptRunner.Execute(String
script) at
Microsoft.SystemCenter.Orchestrator.Integration.VMM2012QIK.ActivityBase.DoWork(IActivityRequest
request, IActivityResponse response)
at
Microsoft.SystemCenter.Orchestrator.Integration.VMM2012QIK.VMMBase.Execute(IActivityRequest
request, IActivityResponse response)”
Service Configuration Name {Service Configuration Name from “Configure
Service Deployment”}
No comments:
Post a Comment