Sample plan: Virtual Server Build

This sample Automation Plan completes a simple end-to-end virtual server build. First, the plan creates a Windows virtual machine from a template. The second step is a step to patch the operating system on the virtual machine created in the first step. The third step installs Microsoft SQL Server 2008 Enterprise Server Edition on the computer or computers that you created in the first step. The final step patches Microsoft SQL Server 2008 Enterprise Server Edition that you install in step 3. All sample plans are read-only. To use a sample plan, you must copy it, re-name it, and then update the placeholder Fixlets with Fixlets, Tasks, or Baselines as per your requirements.

About this task

This Automation Plan uses some sample Fixlets that will not suit the requirements for your particular server build. Replace these Fixlets with relevant Fixlets that you want to run on your endpoints to complete a virtual server build. To replace some Fixlets, edit the Automation Plan and remove any Fixlet that does not suit your requirements and replace it with a suitable Fixlet.

Complete the following steps to run the sample Automation Plan.

Procedure

  1. Open the Server Automation domain.
  2. From the navigation tree in the Domain Panel, click Automation Plans.
  3. In the Automation Plans dashboard, enter 107 and press Enter. This is the ID of the sample Automation Plan.
  4. Select the Automation Plan from the list of Automation Plans.
  5. Click Copy to copy the Automation Plan, enter a name and then save the copy that you have just created.
  6. To run the copied Automation Plan, click Take Action. The following table shows the parameters and targets that you need to input for each step in the sample Automation Plan.
    Table 1. Plan steps and parameters and targets

    Step Description Parameters and targets
    Step 1 VMware Create Windows Virtual Machine from Template (84) This step creates Windows virtual machines from an existing template.
    1. Parameter: For information about the parameters required for this step, see Table 1 in Creating a Windows virtual machine from a template
    2. Targets: Enter the names of the new virtual machines to be created.
    Step 2 Placeholder for OS or Application Patches - (REPLACE ME) This Fixlet is a placeholder. Replace this Fixlet with a Fixlet that suits your requirements.
    1. Parameter: Any parameters required by the Fixlet that you include.
    2. Targets: The name of the virtual machines that you entered in step 1. You must enter these names manually because the computers do not yet exist.
    Step 3 Install Microsoft SQL Server 2008 Enterprise Server Edition on Windows (72) This step installs Microsoft SQL Server 2008 Enterprise Server Edition on the Windows virtual machine that you created in step 1.
    1. Parameter: The parameters are described in the Install Microsoft SQL Server 2008 Enterprise Server Edition on Windows (72) Fixlet.
    2. Targets: The names of the virtual machines that you created in step 1.
    Step 4 UPDATE: SQL Server 2008 Service Pack 1 Available (x64) (68103) This step patches Microsoft SQL Server 2008 Enterprise Server Edition that you installed in the previous step.
    1. Parameter: Any parameters required by the UPDATE: SQL Server 2008 Service Pack 1 Available (x64) (68103) Fixlet
    2. Targets: The names of the virtual machines that you created in step 1.
  7. Click OK to run the Automation Plan.