You must manually configure the doagent.bat file.

Procedure

  1. Navigate to the VRMGuestAgent directory within your WinPE Image.

    For example: C:\Program Files (x86)\VMware\Plugins\VRM Agent\VRMGuestAgent.

  2. Make a copy of the file doagent-template.bat and name it doagent.bat.
  3. Open doagent.bat in a text editor.
  4. Replace all instances of the string #Dcac Hostname# with the fully qualified domain name and port number of the IaaS Manager Service host.

    Option

    Description

    If you are using a load balancer

    Enter the fully qualified domain name and port of the load balancer for the IaaS Manager Service. For example,

    manager_service_LB.mycompany.com:443

    With no load balancer

    Enter the fully qualified domain name and port of the machine on which the IaaS Manager Service is installed. For example,

    manager_service.mycompany.com:443
  5. Replace all instances of the string #Protocol# with the string /ssl.
  6. Replace all instances of the string #Comment# with REM (REM must be followed by a trailing space).
  7. (Optional) : If you are using self-signed certificates, uncomment the openSSL command.
    echo QUIT | c:\VRMGuestAgent\bin\openssl s_client –connect
  8. Save and close the file.
  9. Edit the Startnet.cmd script for your WinPE to include the doagent.bat as a custom script.

What to do next

Configure the doagentc.bat File.