You deploy and configure a Windows-based virtual machine to host the SQL Server database required for the vRealize Automation IaaS components. After you install the SQL instance, you perform additional configuration to allow Cloud Builder to perform initial validation and deploy the necessary vRealize Automation components.
You create a virtual machine on the sfo01w01esx01.sfo01.rainpole.local host for the Microsoft SQL Server with the following virtual machine, software, and network configuration requirements.
Setting |
Value |
---|---|
ESXi Host |
sfo01w01esx01 |
VM Name |
vra01mssql01 |
Guest OS |
Microsoft Windows Server 2016 (64-bit) |
vCPU |
8 |
Memory (GB) |
16 |
Hard Disk (GB) |
200 |
SCSI Controller |
LSI Logic SAS |
Datastore |
sfo01-w01-bkp01 |
Network Interface |
VM Network |
Network Adapter Type |
1 x VMXNET3 |
Setting |
Value |
---|---|
Host Name |
vra01mssql01 |
Static IPv4 Аddress |
172.16.11.72 |
Subnet Мask |
255.255.255.0 |
Default Gateway |
172.16.11.253 |
DNS Server |
172.16.11.5 |
FQDN |
vra01mssql01.rainpole.local |
Component |
Requirement |
---|---|
Operating System |
Windows Server 2016 (64-bit) |
VMware Tools |
Latest version |
SQL Server |
SQL Server 2017 Standard or later (64-bit) Microsoft SQL Server Management Studio
Important:
During the SQL Server installation, the Database Engine configuration wizard prompts you to provide the user name and password for the SQL Server administrator. If this user is not added during the SQL Server installation, select SQL Authentication from the Authentication drop-down menu, enter sa in the User name text box, and sa_password in the Password text box. |
Active Directory |
Join the virtual machine to the rainpole.local domain. |
Remote Desktop Protocol |
Enable RDP access. |
Procedure
- Deploy the External vRealize Automation SQL Server VM with the specified configuration.
- Log in to the SQL Server virtual machine by using a Remote Desktop Protocol (RDP) client.
- Open an RDP connection to the vra01mssql01.rainpole.local virtual machine.
- Log in by using the following credentials.
Settings Value User name Windows administrator user Password windows_administrator_password
- Enable Microsoft Distributed Transaction Coordinator (MSDTC).
- Click the Windows Start button, type comexp.msc, and press Enter.
The Component Services window opens.
- In the Console Root on the left pane, navigate to .
- Right-click Local DTC and select Properties.
- In the Local DTC Properties dialog box, click the Security tab, configure the following values, and click OK.
Setting
Value
Network DTC Access
Selected
Allow Remote Clients
Selected
Allow Inbound
Selected
Allow Outbound
Selected
- In the MSDTC Service dialog box, select Yes to restart the MSDTC service.
- Click the Windows Start button, type comexp.msc, and press Enter.
- Create the vRealize Automation account in the SQL Server instance.
- Click the Windows Start button and open Microsoft SQL Server Management Studio.
- In the Connect to Server dialog box, leave the default value for the Server Name text box, from the drop-down menu select Windows Authentication, and click Connect.
- In the Object Explorer tree, expand the VRA01MSSQL01 server instance, right-click the Security folder, and select .
- In the Login dialog box, under General, enter rainpole\svc-vra in the Login name text box.
- On the Server Roles page, select sysadmin and click OK.
- Create the new vRealize Automation database.
- Click the Windows Start button and open Microsoft SQL Server Management Studio.
- Right-click the Databases folder and select New Database.
The New Database wizard appears.
- In the General page, enter VRADB01 for Database name and rainpole\svc-vra for Owner.
- On the Optionspage, configure the following recovery model settings, and click OK.
Setting
Value
Recovery model
Simple
Compatibility level
SQL Server 2014 (120)
Other options > Miscellaneous > Allow Snapshot Isolation
True
Other options > Miscellaneous > Is Read Committed Snapshot On
True
- Allow access to Microsoft SQL Server on TCP port 1433.
- Click the Windows Start button, type WF.msc, and press Enter.
The Windows Firewall with Advanced Security window appears.
- In the navigation pane, right-click Inbound Rules and select New Rule.
The New Inbound Rule Wizard appears.
- On the Rule Type page, select the Port radio button, and click Next.
- On the Protocol and Ports page, select TCP, enter the port number 1433 in the Specific local ports text box, and click Next.
- On the Action page, select Allow the connection, and click Next.
- On the Profile page, select the Domain, Private, and Public profiles, and click Next.
- On the Name page, enter Microsoft SQL Server Port (1433) and click Finish.
- Click the Windows Start button, type WF.msc, and press Enter.
- Allow access for Microsoft Distributed Transaction Coordinator.
- Click the Windows Start button, type WF.msc and press Enter.
The Windows Firewall with Advanced Security window appears.
- In the navigation pane, select Inbound Rules.
The New Inbound Rule Wizard appears.
- On the Rule Type page, click the Predefined radio button, select Distributed Transaction Coordinator, and click Next.
- On the Predefined Rules page, select all rules for Distributed Transaction Coordinator (RPC-EPMAP), Distributed Transaction Coordinator (RPC), and Distributed Transaction Coordinator (TCP-In), and click Next.
- On the Action page, select Allow the connection, and click Finish.
- Click the Windows Start button, type WF.msc and press Enter.
- Unmount any ISO files mounted to the virtual machine.