System Center 2012 R2 POCDeployment of private cloud portals self-help virtual machine application (1)
This article describes how to use orchestrator and service manager to apply for virtual machines on a private cloud portal. This article consists of two parts: (1) process design and (2) Creation of SM service products.
Open runbook designer, right-click runbook ----- new --- folder
650) This. width = 650; "Title =" clip_image002 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image002 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895001r3A3.jpg "Height =" 429 "/>
Enter the folder name Sm-vmrequest
650) This. width = 650; "Title =" clip_image004 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image004 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895002xhvq.jpg "Height =" 258 "/>
Right-click runbook --- create ---- runbook
650) This. width = 650; "Title =" clip_image006 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image006 "src =" http://img1.51cto.com/attachment/201408/24/212259_140889500381Qe.jpg "Height =" 341 "/>
Right-click Create runbook --- Rename and enter the runbook name create VM from vmm
650) This. width = 650; "Title =" clip_image008 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image008 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895003mj4u.jpg "Height =" 264 "/>
Prompt to check out runbook. Click Yes
650) This. width = 650; "Title =" clip_image009 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image009 "src =" http://img1.51cto.com/attachment/201408/24/212259_14088950037lbx.png "Height =" 150 "/>
650) This. width = 650; "Title =" clip_image011 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image011 "src =" http://img1.51cto.com/attachment/201408/24/212259_14088950048YVN.jpg "Height =" 210 "/>
In the right pane, locate "initialize data" and drag it to the middle window.
650) This. width = 650; "Title =" clip_image013 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image013 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895004Oypb.jpg "Height =" 367 "/>
In the right pane, expand SC 2012 Service Manager and drag get relationship to the intermediate window.
650) This. width = 650; "Title =" clip_image015 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image015 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895005iprW.jpg "Height =" 355 "/>
Drag get object to the middle window
650) This. width = 650; "Title =" clip_image017 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image017 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895006US4u.jpg "Height =" 373 "/>
Drag create VM from template to the intermediate window
650) This. width = 650; "Title =" clip_image019 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image019 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895006cspy.jpg "Height =" 340 "/>
Connect from left to right with the "Arrow"
650) This. width = 650; "Title =" clip_image021 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image021 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895007x0kF.jpg "Height =" 372 "/>
650) This. width = 650; "Title =" clip_image023 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image023 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895007Bppl.jpg "Height =" 262 "/>
Double-click data initialization ---- click Details and click Add
650) This. width = 650; "Title =" clip_image025 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image025 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895008rwYK.jpg "Height =" 391 "/>
Change parameter 1 to the VM name, which is used to enter the name of the VM when the VM is created using the template in the future.
650) This. width = 650; "Title =" clip_image027 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image027 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895008jY5L.jpg "Height =" 416 "/>
Add a parameter and change it to activity guid. Click OK.
650) This. width = 650; "Title =" clip_image029 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image029 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895009VAuG.jpg "Height =" 416 "/>
Click Finish.
650) This. width = 650; "Title =" clip_image031 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image031 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895009hOK7.jpg "Height =" 411 "/>
Double-click get relationship and click "details"
650) This. width = 650; "Title =" clip_image033 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image033 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895010qx2C.jpg "Height =" 416 "/>
Click Browse next to connection.
650) This. width = 650; "Title =" clip_image035 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image035 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895011E3fA.jpg "Height =" 414 "/>
Select the connector between orchestrator and Service Manager, and click OK.
650) This. width = 650; "Title =" clip_image036 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image036 "src =" http://img1.51cto.com/attachment/201408/24/212259_140889501180WZ.png "Height =" 484 "/>
Click the Browse button next to the object class, select "runbook automation activity", and click OK.
650) This. width = 650; "Title =" clip_image038 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image038 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895012xr5k.jpg "Height =" 484 "/>
Click Browse next to related class, select "Virtual Machine template", and click OK
650) This. width = 650; "Title =" clip_image040 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image040 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895012o3NN.jpg "Height =" 419 "/>
Right-click the object guid text box --- subscription --- published data
650) This. width = 650; "Title =" clip_image042 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image042 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895013zvSe.jpg "Height =" 418 "/>
Select activity guid
650) This. width = 650; "Title =" clip_image044 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image044 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895013bfsj.jpg "Height =" 416 "/>
Click Finish
650) This. width = 650; "Title =" clip_image046 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image046 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895014v6l9.jpg "Height =" 413 "/>
Double-click get object and click details.
650) This. width = 650; "Title =" clip_image048 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image048 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895014BL2N.jpg "Height =" 419 "/>
Select the Browse button after connection, select the connector between orchestrator and Service Manager, and click OK
650) This. width = 650; "Title =" clip_image050 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image050 "src =" http://img1.51cto.com/attachment/201408/24/212259_14088950156rAB.jpg "Height =" 411 "/>
Click Browse next to class, select "Virtual Machine template", and click OK
650) This. width = 650; "Title =" clip_image052 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image052 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895015d9Iu.jpg "Height =" 412 "/>
Click Add
650) This. width = 650; "Title =" clip_image054 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image054 "src =" http://img1.51cto.com/attachment/201408/24/212259_140889501640Si.jpg "Height =" 415 "/>
Select SC object guid for name and equals for relation.
650) This. width = 650; "Title =" clip_image056 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image056 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895017jeA5.jpg "Height =" 409 "/>
Right-click the value text box --- subscription --- published data
650) This. width = 650; "Title =" clip_image058 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image058 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895017Dl5z.jpg "Height =" 406 "/>
Select "get relationship" for the activity, select the related object guid for the name, and click "OK ".
650) This. width = 650; "Title =" clip_image059 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image059 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895018Zulw.png "Height =" 484 "/>
Click OK
650) This. width = 650; "Title =" clip_image061 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image061 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895019Spej.jpg "Height =" 409 "/>
Click Finish
650) This. width = 650; "Title =" clip_image063 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image063 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895019GvB9.jpg "Height =" 415 "/>
Double-click "create VM from template"
650) This. width = 650; "Title =" clip_image065 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image065 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895020QkP0.jpg "Height =" 403 "/>
Click Browse next to name, select orchestrator and Virtual Machine manager connector, and click OK
650) This. width = 650; "Title =" clip_image067 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image067 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895020vwho.jpg "Height =" 415 "/>
Set related properties and Click Browse next to destination type
650) This. width = 650; "Title =" clip_image069 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image069 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895021SoJp.jpg "Height =" 418 "/>
Select cloud and click OK.
650) This. width = 650; "Title =" clip_image071 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image071 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895021OcpX.jpg "Height =" 420 "/>
Click Browse next to destination and select the created cloud szbcloud
650) This. width = 650; "Title =" clip_image073 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image073 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895022O542.jpg "Height =" 416 "/>
Click Browse next to path and select the target path.
650) This. width = 650; "Title =" clip_image075 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image075 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895023LX0w.jpg "Height =" 419 "/>
Right-click VM Name text box --- subscription --- published data
650) This. width = 650; "Title =" clip_image077 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image077 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895023fRpz.jpg "Height =" 338 "/>
Select "initialization data" for the activity, select "VM name" for the name, and click "OK ".
650) This. width = 650; "Title =" clip_image079 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image079 "src =" http://img1.51cto.com/attachment/201408/24/212259_14088950242oID.jpg "Height =" 425 "/>
Source Template Name select the created VM template and click OK
650) This. width = 650; "Title =" clip_image081 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image081 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895024eLIX.jpg "Height =" 414 "/>
Cloud capabiity profile select hyper-V and click OK
650) This. width = 650; "Title =" clip_image083 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image083 "src =" http://img1.51cto.com/attachment/201408/24/212259_14088950251OnE.jpg "Height =" 398 "/>
Click Finish
650) This. width = 650; "Title =" clip_image085 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image085 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895026gzeH.jpg "Height =" 416 "/>
Right-click Create VM from vmm ---- check in
650) This. width = 650; "Title =" clip_image087 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image087 "src =" http://img1.51cto.com/attachment/201408/24/212259_1408895026phWu.jpg "Height =" 356 "/>
Now the process for creating a virtual machine from a virtual machine template has been designed. The following article describes how to create a service product in service manager and publish it to a portal.
This article from the "zero" blog, please be sure to keep this source http://fjcloud.blog.51cto.com/212259/1544237
System Center 2012 R2 POC deployment private cloud portal self-service virtual machine application (1)