vCD Installation Guide – Part 3 – SQL Server 2012

This is part 3 of the vCD Installation guide, describing the installation of the vCloud Director Database: SQL Server 2012 running on Windows Server 2012.

This is a five part series describing the steps to install and configure the components of vCloud Director 5.1:

Installing Windows Server 2012 R2 Data Center Edition with GUI

  1. Check that the Windows Server 2012 R2 ISO image is connected to the CDROM of the vCenter Virtual Machine.
  2. Power-On the VM and wait for the Windows Server 2012 R2 installation screen to appear.  Select “Next”.
  3. Select “Install Now”.
  4. Select “Windows Server 2012 R2 Data Center (Server with a GUI) x64” and select “Next”.
  5. Accept the licence and select “Next”.
  6. Select “Custom: Install Windows only (advanced)”.
  7. Select “Drive 0 Unallocated Space” (100GB) and select “Next”.
  8. Wait for the “Installing Windows” screen to complete and then the VM will reboot.
  9. In the “Settings Window”, set the “Administrator Password”.
  10. When the “Press Ctrl+Alt+Delete to sign-in” message appears you can login.

5.5_W2K12_15.5_W2K12_2 5.5_W2K12_3 5.5_W2K12_4 5.5_W2K12_5 5.5_W2K12_6 5.5_W2K12_7 5.5_W2K12_8 5.5_W2K12_9

Customise the Windows Server 2012 R2 Operating System for vCenter

  1. Install VMware tools.  This is especially required for the vNIC “vmxnet3” driver.
  2. Access the “Server Manager” interface (it should start automatically after login) and configure the following OS settings.
  3. Set the Time-Zone.
  4. Disable the Windows Firewall for the Domain, Private and Public profiles.
  5. Configure the vNIC: IP Address, Netmask, Gateway and DNS servers.
  6. Disable Internet Explorer Enhanced Security.
  7. Change the computer name and add to Active Directory.
  8. Move the Computer object to the “vCD” OU in AD (Domain Admin task).
  9. Install Anti-Virus and set the “vCD” AV policy (Information Security task).
  10. Check that the server licence is activated from the KMS server.
  11. Check that the server has been updated with the latest patches from the WSUS server.
  12. From “Server Manager”, select “Tools” and then “Computer Management”.
  13. Within the “Computer Management” window, select the “Disk Management” object.  Browse to the “Unknown” 40GB Disk and place it “Online”, then “Initialise” with “GPT” and finally create a “Simple Volume” that will map to E:.
  14. Within the “Computer Management” window, select the “Local Users & Groups” object.  Browse to the “Administrator” Group and add the administrator groups and users that will manage this vCenter.  In particular, your service account for vCenter must be added.

5.5_W2K12_10 5.5_W2K12_11 5.5_W2K12_12 5.5_W2K12_13 5.5_W2K12_14 5.5_W2K12_26 5.5_W2K12_27 5.5_W2K12_28 5.5_W2K12_29 5.5_W2K12_30 5.5_W2K12_31

Install SQL Server 2012

  1. Check that the SQL Server 2012 ISO image is connected to the CDROM of the vCD DB Virtual Machine.
  2. Open the DVD Drive and run “Setup.exe” with the “Run as administrator” option.
  3. In the “Installation” window, select the “New SQL Server stand-alone installation or add features to an existing installation”.
  4. In the “Setup Support Rules”, verify all operations have completed with “Passes” and then press the “OK” button.
  5. In the “Product Key” window, select the valid licencing option and press the “Next” button.
  6. In the “Licence Terms” window, accept the licence terms and press the “Next” button.
  7. In the “Product Updates” window, press the “Next” button.
  8. In the “Setup Support Rules” window, verify all operations have completed with “Passes” and then press the “Next” button.
  9. In the “Setup Role” window, select “SQL Server Feature Installation” and press “Next”.
  10. In the “Feature Selection” window, select “Database Engine Services”, “Client Tools Connectivity”, “Integration Services” and “Management Tools Complete” and then press “Next”.
  11. In the “Installation Rules” window, verify all operations have completed with “Passes” and then press the “Next” button.
  12. In the “Instance Configuration” window, select “Default Instance” and then press the “Next” button.
  13. In the “Disk Space Requirements” window, press the “Next” button.
  14. In the “Server Configuration” window, select the “Service Accounts” tab and set the “SQL Server Agent”, “SQL Server Database Engine” and “SQL Server Integration Services 11.0” to “Automatic.  Then press “Next”.
  15. In the “Database Engine Configuration” window, select the “Server Configuration” tab and select “Mixed Mode” and set the “sa” account password.  Then “Add Current User” and press the “Next” button.
  16. In the “Error Reporting” window, press the “Next” button.
  17. In the “Installation Configuration Rules” window, verify all operations have completed with “Passes” and then press the “Next” button.
  18. In the “Ready to Install” window, press the “Install” button.
  19. In the “Complete” window, verify the message “Your SQL Server 2012 installation completed successfully with product updates” is present and then press the “Close” button.

SQL_Server_2012_Install_1 SQL_Server_2012_Install_2 SQL_Server_2012_Install_3 SQL_Server_2012_Install_4 SQL_Server_2012_Install_5 SQL_Server_2012_Install_6 SQL_Server_2012_Install_7 SQL_Server_2012_Install_8 SQL_Server_2012_Install_9 SQL_Server_2012_Install_10 SQL_Server_2012_Install_11 SQL_Server_2012_Install_12 SQL_Server_2012_Install_13 SQL_Server_2012_Install_14 SQL_Server_2012_Install_15 SQL_Server_2012_Install_16 SQL_Server_2012_Install_17 SQL_Server_2012_Install_18 SQL_Server_2012_Install_19

Configure SQL Server 2012 for vCloud Director 5.1

  1. Press the Start button of Windows Server and select the “SQL Server Management Studio” icon.
  2. Access the Database server with “SQL Server Authentication” and the “sa” login by pressing “Connect”.
  3. Press the “New Query” button.
  4. Access the following “Configure a Microsoft SQL Server Database” page of the VMware vCD documentation site and paste the defined queries into the “SQL Query” window and press “Execute”. Check the following settings before executing the query: vCloud Database and Log Filenames and the vCloud user Password.

SQL_Server_2012_Config_1 SQL_Server_2012_Config_2 SQL_Server_2012_Config_3 SQL_Server_2012_Config_4

You are now ready to begin with the vCD Application RHEL Server build in Part 4.

Other Resources

Published by

vcdx133

Chief Enterprise Architect and Strategist, 4xVCDX#133, NPX#8, DECM-EA.