Create a vSphere Image Customization template to use with your vRealize Automation IaaS Servers deployment. 

About this task

You can supply a custom sysprep answer file as an alternative to specifying many of the settings in the Guest Customization wizard. The vSphere Image Customization template sysprep answer file stores a number of customization settings such as computer name, licensing information, and workgroup or domain settings.

Procedure

  1. Log in to the Management vCenter Server by using the vSphere Web Client.
    1. Open a Web browser and go to https://mgmt01vc01.sfo01.rainpole.local/vsphere-client.
    2. Log in using the following credentials.

      Setting

      Value

      User name

      administrator@vsphere.local

      Password

      vsphere_admin_password

  2. From Home page, under Operations and Policies, click Customization Specification Manager.
  3. Select mgmt01vc01.sfo01.rainpole.local from the vCenter Server drop-down menu.
  4. Click the New icon.

    The Guest Customization wizard opens.

  5. On the Specify Properties page, configure the following values, and click Next.

    Setting

    Value

    Target VM Operating System

    Windows

    Use custom SysPrep answer file

    Deselected

    Customization Spec Name

    vra7-template

  6. On the Set Registration Information page, configure the following values, and click Next.

    Setting

    Value

    Name

    Rainpole

    Organization

    Rainpole IT

  7. On the Set Computer Name page, select the Enter a name in the Clone/Deploy wizard radio button, and click Next.
  8. On the Enter Windows License page, configure the following values, and click Next.

    If you are using Microsoft License Server, or have multiple single license keys, leave the Product Key text box blank.

    Setting

    Value

    Product Key

    volume_license_key

    Include Server License Information

    Selected

    Server License Mode

    Per seat

  9. On the Set Administrator Password page, configure the following values, and click Next.

    Setting

    Value

    Password

    local_administrator_pwd

    Automatically logon as Administrator

    Selected

    Number of times to logon automatically

    1

  10. On the Time Zone page, select (GMT) Coordinated Universal Time from the Time Zone drop-down menu, and click Next.
  11. On the Run Once page, type net localgroup administrators rainpole\svc-vra /add in the text box and click Add. This command will add service account rainpole\svc-vra into virtual machine's local administrators group. Click Next.
  12. On the Configure Network page, select the Manually select custom settings radio button, select NIC1 from the list of network interfaces in the virtual machine, and click Edit.

    The Edit Network dialog box opens.

  13. In the Edit Network dialog box, on the IPv4 page, configure the following values and click DNS.

    Setting

    Value

    Prompt the user for an address when the specification is used

    Selected

    Subnet Mask

    255.255.255.0

    Default Gateway

    192.168.11.1

  14. On the DNS page, provide DNS servers and search suffixes.
    1. Specify the following DNS server settings.

      Setting

      Value

      Use the following DNS server address

      Selected

      Preferred DNS Server

      172.16.11.4

      Alternate DNS Server

      172.17.11.4

    2. Enter rainpole.local in the For all connections with TCP/IP enabled text box and click the Add button.
    3. Enter sfo01.rainpole.local in the For all connections with TCP/IP enabled text box and click the Add button.
    4. Enter lax01.rainpole.local in the For all connections with TCP/IP enabled text box and click the Add button.
    5. Click OK to save settings and close the Edit Network dialog box, and click Next
  15. On the Set Workgroup or Domain page, enter credentials that have administrative privileges in the domain, and click Next.

    Setting

    Value

    Windows Server Domain

    rainpole.local

    Username

    ad_admin_acct@rainpole.local

    Password

    ad_admin_password

  16. On the Set Operating System Options page, select the Generate New Security ID (SID) check box, and click Next
  17. On the Ready to complete page, review the configuration settings that you entered, and click Finish.

    The customization specification you created is listed in the Customization Specification Manager, and can be used to customize virtual machine guest operating systems.