To manage IaaS nodes and to meet the prerequisites for deploying vRealize Automation in Cloud Foundation, you must prepare an IaaS template VM for the vRealize Automation Windows VM.
Creating this OVA template is one of the prerequisites for deploying vRealize Automation in your Cloud Foundation system, as described in Deploy vRealize Automation in Cloud Foundation.
Verify that you have available a Windows VM with the following configuration:
Microsoft Windows Server 2012 R2 or Windows Server 2016 Standard Edition.
50 GB LSI
This VM will serve as the Windows system for vRealize Automation IaaS nodes.
Verify that this server is not joined to Active Directory.
Verify that you can access and download Java Runtime Environment (JRE) executable: jre-8u171-windows-x64.exe or later version.
Verify that you can access and download the IaaS-Prerequisites.zip and mstdc-installer.bat files from http://ftpsite.vmware.com/download/rlspsrl/ISBU-Toolkit/deployment-prerequisites/IaaS-prerequisites.zip.
- On the Windows VM, start and log in to the Powershell console as administrator.
- Set the execution policy.
- Disable User Account Control (UAC).
Set-ItemProperty -Path ‘HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System’ / -Name ‘EnableLUA’ 0
- Disable IPv6.
Set-ItemProperty -Path‘HKLM:\System\CurrentControlSet\Services\TCPIP6\Parameters’ / -Name 'DisabledComponents' -Value 0xff
- Set the execution policy.
- Download and install JRE version 1.8 or later on the Windows VM.
The Window VM in this deployment was tested with JRE jre-8u171-windows-x64.exe. Use this or a later version.
- Configure JAVA_HOME on the Windows VM.
- Click Start and enter sysdm.cpl to open the System Properties dialog box.
- Select the Advanced tab and click Environment Variables.
- Under System Variables, click New and configure the following:
For variable name, specify JAVA_HOME.
For variable value, specify C:\Program Files\Java\jre1.8.0_171 (depending on your JRE version).
- Click OK.
- While still in the System Properties dialog box, add the new JRE installation folder to the path environment variable.
- Under System Variables, locate the Path variable and click Edit.
- Append the following to the path: C:\Program Files\Java\jre1.8.0_171\bin and click OK.
- Click OK until you exit the System Properties dialog box.
- Validate the JRE version by running the following command in a command prompt.
- Install the vRealize Automation IaaS prerequisites checker.
- Obtain and copy the IaaS-Prerequisites.zip file to the Windows VM.
- Extract the contents of the IaaS-Prerequisites.zip to the C:\prerequisites directory.
- In a command prompt, go to the C:\prerequisites\IaaS-prerequisites folder and run the IaaS prerequisites script:
cd C:\prerequisites\IaaS-prerequisites IaaS-prerequisites.bat
- Obtain and prepare the mstdc-installer.bat file.
- Copy the mstdc-installer.bat file from the Cloud Foundation bundle to the C:\prerequisites directory on the Windows VM.
- In text editor, open and edit the mstdc-installer.bat file.
- Add the following line to the end of the file:
net localgroup administrators <rainpole>\<svc-vra> /add
where <rainpole> and <svc-vra> match the service account used in your Cloud Foundation deployment.
- Save and close the mstdc-installer.bat file.
- On the Windows VM, enable secondary log-in with an automatic start-up type.
- Open the Services panel in Windows (Secondary Logon and select Properties. ) and right-click
- Change the Startup type setting to Automatic.
- Click OK to exit the Properties dialog box.
- Reboot the Windows VM.
- Disable the Microsoft Distributed Transaction Coordinator (MSDTC) service.
- In a command prompt, run dcomcnfg.
- From the left panel of the resulting dialog box, right-click Local DTC and select Properties.
- Deselect the Enable MSDTC check box.
- Click OK and exit from the dialog box.
- Verify that the vRealize Automation IaaS prerequisites checker is working correctly.
- Open the C:\prerequisites\IaaS-prerequisites folder you created earlier and double-click the PrereqChecker.exe file.
- When the application opens, deselect the Database option and click Run Checker.
- If the check is working correctly, it will return the following:
WCF Activation shows an Error icon.
MSDTC shows a Warning icon.
SeBatchLogonRight shows an Error icon.
- If you do not receive the correct results, follow the instructions in the checker to correct them.
- Using the previously established svc-vra user account, join the newly configured Windows VM to the Active Directory domain.
- After joining, verify that there are no Active Directory group policies that will change the UAC or firewall configuration.
The newly joined VM should remain with UAC and firewall disabled. If not, you must disable the group policy that enforces a firewall or UAC enforcement on the domain network when a new VM joins the Active Directory.
- Add the vRealize Automation Service Account to the Local Administrators group (set as svc-vra in previous examples).
- Log in using the vRealize Automation Service Account.
- Verify the proxy server configuration.
If the configuration is enabled, VMs from the vRealize network must be able to access the proxy server. As an alternative, you can configure direct communication inand configure no proxy.Caution:
Do not activate the Windows operating system on the VM or run sysprep or generalise on it before making it a template.
- Shut down the VM and export as OVA file.
ovftool --noSSLVerify vi://'email@example.com':'<VC_Password>'@<VC_IP_or_FQDN>/<datacenter_name>/vm/<VM_name> \ <IAAS_template_Name>.ova