Test runbook
John has now created his first runbook. The only thing he has to do now is to start runbook and provide four parameters to automate his work and save his time. But before running it, he must check whether runbook is available. To this end, he will use the runbook tester integrated into orchestrator. For this test, John creates a cloud named "XYZ" and configures the following resources:
Memory: 16 GB storage: 200 GB allows up to 8 virtual machines to be created in the cloud
1. Select the runbook tester from the menu bar.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/42/30/wKiom1PXFHyCZV7tAABKIffGos4426.jpg "Title =" image1.jpg "alt =" wkiom1pxfhyczv7taabkiffgos4426.jpg "/>
2. In the runbook test window of system center 2012 orchestrator, select the run button to test the runbook.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/42/31/wKioL1PXFbPw4dZVAAM6hR1u99I482.jpg "Title =" image2.jpg "alt =" wkiol1pxfbpw4dzvaam6hr1u99i482.jpg "/>
3. The initialize data parameters dialog box appears. We will assign memorygb to 16, storagegb to 200, cloudname to XYZ, noofvms to 8, and contoso \ Username. Then select OK
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/42/31/wKioL1PXFfGC7lUrAACRSDNuk_A295.jpg "Title =" image3.jpg "alt =" wkiol1pxffgc7luraacrsdnuk_a295.jpg "/>
4. In the log pane, you can view the runbook activity, which is the current or completed activity. Expand by displaying the detailed information link or the + icon. You can view the results of each activity on the tab.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/42/31/wKioL1PXFguiW1IUAAC49Tf5ejg433.jpg "Title =" image4.jpg "alt =" wkiol1pxfguiw1iuaac49tf5ejg433.jpg "/>
5. After all the activities are completed, Zhang sees that the job status is "successful"
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/42/31/wKioL1PXFjrCfRY1AAFUVTJEaKE676.jpg "Title =" image5.jpg "alt =" wkiol1pxfjrcfry1aafuvtjeake676.jpg "/>
6. On the VM Manager Console, Xiao Zhang also saw that cloud computing has been created.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/42/31/wKioL1PXFlKjSEmzAABHiLdvjGA676.jpg "Title =" image6.jpg "alt =" wkiol1pxflkjsemzaabhildvjga676.jpg "/>
Check runbook
Before that, we completed the runbook, which was "checked in" and used orchestrator's runbook designer. If runbook has not been checked in, it will not be copied to the Service Manager in the next chapter.
1. Open the runbook Design
2. Find Our runbook and name it "create private cloud ".
3. Select the check-in button from the menu bar.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/42/32/wKioL1PXGSPRKe3zAAA7OdfoH8s670.jpg "Title =" image7.jpg "alt =" wkiol1pxgsprke3zaaa7odfoh8s670.jpg "/>
This forum (private cloud automation) has come to an end. Just like most novels or movie dramas, you can start your next section and draw a bit of interest from the audience.
Fourth Sector: self-service and Management of cloud applications
I. Overview
In the previous case, Mr. Zhang created a runbook so that his work is no longer a repetitive task. Mr. Zhang, who is smart and studious, read about the self-service of private cloud and plans to join automation in the next step. At present, Mr. Zhang still needs to create his new runbook each time. However, in many cases, he only receives e-mail requests. He wants to use this scenario to implement a complete automated process, that is, automation + self-service + Management of applications in the cloud, so Mr. Zhang planned to practice it on a simple web page between Xiao Hong and his team.
Ii. Prerequisites
John started to create a self-service portal, and he will use the Sharepoint Server to install all necessary components. Because Windows Server 2012 is not supported in SharePoint Foundation, The Sharepoint Server will be installed in the Windows Server 2008 R2 operating system. In production, Mr. Zhang should follow official suggestions and use other virtual machines to allocate roles, services, and loads. Currently, the Windows Server 2008 R2 evaluation edition can be downloaded from the following URL:
Http://www.microsoft.com/en-us/download/details.aspx? Id = 11093
John needs to initially install the SharePoint Foundation 2010 self-service portal, which is a collection of SharePoint components. For the evaluation, he intends to use the free SharePoint Foundation, which is downloaded from the following address:
Http://www.microsoft.com/download/en/details.aspx? Id = 5970
After the installation is complete, run the SharePoint Configuration Wizard (default settings). John has installed SharePoint Foundation 2010 and needs to download and install SP1 from the Microsoft website, as shown below:
Http://www.microsoft.com/en-us/download/details.aspx? Id = 26640
3. Create a runbook
John believes that he needs to provide a service so that his end users can implement self-service. Because this is the first time John has met this new job, he will complete every step by step so that he can understand this set of things. Here we want to create a self-service runbook, which may involve the following processes:
3.1 preparations
3.2 Create a runbook in Orchestrator (completed)
3.3. synchronize with the Service Manager in Orchestrator
3.4 create a runbook automation activity Template
3.5 create a service request template.
3.6 create a service for sale
3.7 create a request for release
3.8 Add a request for release service
3.1 preparations
John will first create a management package. This management package is used to store all the activities created and customized by Xiao Zhang. This management package can be easily used in other environments.
1. On the system center2012 Service Manager Console, select the management workspace and choose management> Management Suite from the navigation tree.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/42/32/wKioL1PXHVKDlHLLAAEOE6XLLTU946.jpg "Title =" image8.jpg "alt =" wkiol1pxhvkdlhllaaeoe6xlltu946.jpg "/>
2. The content in the task pane will be updated. Now we can choose to create a management package.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/42/32/wKiom1PXHFDzhouaAACWHVYWT1I015.jpg "Title =" image9.jpg "alt =" wkiom1pxhfdzhouaaacwhvywt1i015.jpg "/>
3. In the create management package dialog box, enter "contoso service request management package" in the name text box, and enter "this is a management package that contains all custom service requests." Then select OK
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/42/32/wKioL1PXHYSiUaJqAAEVCptgZx4733.jpg "Title =" image10.jpg "alt =" wkiol1pxhysiuajqaaevcptgzx4733.jpg "/>
3.2. sync with service manager in Orchestrator
Just as you have created a runbook in the previous chapter, John must synchronize it with the Service Manager. Otherwise, the new runbook cannot be used in our service manager.
1. On the system center2012 Service Manager Console, select the management workspace and choose management> connector from the navigation tree.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/42/33/wKioL1PXHlriAOw_AAD4WLlm0Go028.jpg "Title =" image11.jpg "alt =" wkiol1pxhlriaow_aad4wllm0go028.jpg "/>
2. Select the orchestrator connector connection created earlier
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/42/33/wKioL1PXHoTgUUtTAAB0Ux4eulM640.jpg "Title =" image12.jpg "alt =" wkiol1pxhotguuttaab0ux4eulm640.jpg "/>
3. The content in the task pane will be updated. Now we can choose to synchronize now.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/42/32/wKiom1PXHYOgyIZnAABgssjJdX0012.jpg "Title =" image13.jpg "alt =" wkiom1pxhyogyiznaabgssjjdx0012.jpg "/>
4. Select OK on the sync now page, and refresh the page until synchronization is completed.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/42/32/wKiom1PXHZqA5ov_AABl3iTo628691.jpg "Title =" image14.jpg "alt =" wkiom1pxhzqa5ov_aabl3ito628691.jpg "/>
This article from the "stars on my head" blog, please be sure to keep this source http://staronmytop.blog.51cto.com/6366057/1532118