locked
Mapping User Prompts to Orchestrator Inputs RRS feed

  • Question

  • I'm building a runbook so end-users can deploy and delete virtual machines.

    Everything is working great! orchestrator, service manager, runbooks, SSP etc.
    What I’m missing here is the option to select an output property of the list items and pass that as string (since we currently don’t have the option of passing arrays).

    When passing parameters to a runbook in Orchestrator we can only pass values of type String or Integer. Because of this limitation, I cannot get a query-list linked to my runbook from all the available VM ID's.. I currently have to copy/paste the VM ID into the String.

    Now let’s says that we use a query based prompt to provide a list of all Virtual Machines (SCVMM) from the CMDB. If we ultimately want Orchestrator to add the current portal user to the selected VM's we can pass the parameters without hassle to Orchestrator.

    What I’m missing here is the option to select an output property of the list items and pass that as string (since we currently don’t have the option of passing arrays).

    Does someone has a work-around for this issue?

    Monday, August 20, 2012 2:21 PM

Answers

  • Hi,

    I don't have VMM on my lap top so I cant verify this. But do you have a VMM connector and a Ops Mgr connector in Service Manager? If you have VMM connector, verify that you cant see your VMs a CI from this connector. If you are running Ops Mgr and monitor VMM, see if you can see all VMs in Operations Manager. If you can, import the VMM MP in Service Manager too, enable it on the Ops Mgr CI connector and then sync all VMs from Ops Mgr to Service Manager. If none of that helps, create a new connector between VMM and Service Manager, you can use Orchestrator for that. Get All VMs and then create objects in Service Manager. I was looking at the cloud process pack that you can also download, but I am not sure that one sync all VMs, or if it only sync VM templates and other objects from VMM.


    Anders Bengtsson | Microsoft PFE | blog at http://www.contoso.se

    • Marked as answer by J. van Kessel Monday, August 27, 2012 8:24 AM
    Thursday, August 23, 2012 4:40 AM
    Answerer

All replies

  • Hi,

    If you have a CI class in Service manager named for example VMs you can build your query around that class. Select all instances of the VM class where the TOKEN\PortalUser is owner, for example. Each CI you select will be attached as a related item to the service request or the runbook activity. In the runbook you can later get it with the "get relationship" activity. In that way you could select multiple VMs and then in some way configure your runbook to handle each of them.


    Anders Bengtsson | Microsoft PFE | blog at http://www.contoso.se

    Monday, August 20, 2012 2:46 PM
    Answerer
  • Hi Anders,

    Thanks for you amazing support around the SC community!
    Your awnser makes sense. Are there any tutorials or examples which shows me how to configure your answer? Do I also have to compile a MP pack?

    Tuesday, August 21, 2012 11:15 AM
  • Hi,

    If you look at the runbooks attached to this blogpost, http://contoso.se/blog/?p=3085 , you will see a example. When we configured the query list in Service Manager we configured that the user should be set as a related item to the runbook activity, so in the runbook I get the related user. In your example you will have VMs related to the runbook activity. Take a look at the attached runbooks (attached to the runbook) as see if they can help you.


    Anders Bengtsson | Microsoft PFE | blog at http://www.contoso.se

    Tuesday, August 21, 2012 6:13 PM
    Answerer
  • Hi Anders!

    I did follow the tutorial and I'm trying to get a query result of all the available VM's from VMM. Although your answer makes perfect sense, I cannot find the appropriate Class for the available VM's to list in the SSP.As you can see, i cannot select any virtual machines only the VM Manager ID and Server. Also the Windows Server class didn't list any virtual machines..

    Wednesday, August 22, 2012 12:55 PM
  • Hi,

    I don't have VMM on my lap top so I cant verify this. But do you have a VMM connector and a Ops Mgr connector in Service Manager? If you have VMM connector, verify that you cant see your VMs a CI from this connector. If you are running Ops Mgr and monitor VMM, see if you can see all VMs in Operations Manager. If you can, import the VMM MP in Service Manager too, enable it on the Ops Mgr CI connector and then sync all VMs from Ops Mgr to Service Manager. If none of that helps, create a new connector between VMM and Service Manager, you can use Orchestrator for that. Get All VMs and then create objects in Service Manager. I was looking at the cloud process pack that you can also download, but I am not sure that one sync all VMs, or if it only sync VM templates and other objects from VMM.


    Anders Bengtsson | Microsoft PFE | blog at http://www.contoso.se

    • Marked as answer by J. van Kessel Monday, August 27, 2012 8:24 AM
    Thursday, August 23, 2012 4:40 AM
    Answerer
  • Thanks Anders,

    I wasn't aware of the existence of the "System Center Cloud Services Process Pack". After I've installed the CSPP and configured the SCOM connector (http://systemcenterprivatecloud.blogspot.nl/2012/05/system-center-cloud-services-process.html) the virtual machines were populated into the SCSM CI.


    Monday, August 27, 2012 8:24 AM