vCenter 5.5 Upgrade with Windows Server 2012 R2 – Part 5 – Integrating vUM and Syslog

This is part 5 of the vCenter 5.1 to 5.5 Update 1c upgrade, detailing the installation of vSphere Update Manager and vSphere Syslog Collector for vCenter 5.5.

This is an eleven part series, describing how to upgrade from vCenter 5.1 to vCenter 5.5:

Prerequisites

  • You have completed steps 1 to 4.
  • You have administrator access to vCenter and the vCenter Database server.
  • You have mounted the vCenter installation ISO image to the vCenter server.
  • Extend E: of the vCenter server to handle the Patch repository (120GB).
  • Add F: to the vCenter server to be the Syslog repository (40GB).

Prepare the vCenter Update Manager Database on the existing vCenter Database Server

  1. RDP or open the console to the vCenter SQL Server and run the Microsoft SQL Server Management Studio.
  2. Login as “sa”.
  3. Select the “Databases” folder and right mouse click.  Select “New Database”.
  4. Enter the “Database name” and make sure the owner is “sa”.
  5. Select the “Options” tab and set the “Recovery Model” to “Simple”.  Then press “OK”.
  6. Select the “Security” folder and then the “Logins” sub-folder and select “vpxuser”.  Right mouse click and press the “Properties” option.
  7. Select the “User Mapping” object and tick the new vUM database you just created.
  8. Then tick the “db_owner” role in the “Database role membership” window and make sure the “Default Schema” is set to “dbo”.
  9. Press “OK”.
  10. Then access the “Database Properties” of the vUM database and select the “Permissions” object.  Make sure that the “vpxuser” is listed as a “User”.  Press “OK”.

5.5_VUM_DB_1 5.5_VUM_DB_2 5.5_VUM_DB_3 5.5_VUM_DB_4 5.5_VUM_DB_5 5.5_VUM_DB_6

Install and Configure the 32bit DSN for the vUM Database

  1. Press the Windows “Start” button and run the “ODBC Data Sources (32-bit)” program.
  2. Select the “System DSN” tab and then press “Add”.  Note the existing 64bit DSN for the vCenter DB already configured in Part 2.
  3. Scroll down to the bottom and select the “SQL Server Native Client 10.0” driver and then press “Finish”.
  4. Enter the name “VUMDB”, the description “VUMDB” and then select the name of the vCenter Database server (SQL Server 2008 R2) configured earlier from the “Server” list.  Press “Next”.
  5. Select “With SQL Server authentication using a login ID and password assigned by the user”, use the “vpxuser” and password and press “Next”.
  6. Tick “Change the default database to” the vCenter Database name recorded earlier.
  7. Select “Finish”.
  8. Select “Test Data Source”.  Verify “TESTS COMPLETED SUCCESSFULLY!” appears and select “OK”.  Then select “OK” again.
  9. Verify that the “System DSN” tab now has a 32bit “VUMDB” System Data Source with a “SQL Server Native Client 10.0” driver.  Then select “OK”.

5.5_VUM_32bit_ODBC_1 5.5_VUM_32bit_ODBC_2 5.5_VUM_32bit_ODBC_3 5.5_VUM_32bit_ODBC_4 5.5_VUM_32bit_ODBC_5 5.5_VUM_32bit_ODBC_6 5.5_VUM_32bit_ODBC_7 5.5_VUM_32bit_ODBC_8 5.5_VUM_32bit_ODBC_9 5.5_VUM_32bit_ODBC_10

Install vSphere Update Manager

  1. Make sure the vCenter 5.5 Update 1 ISO image has been mounted to the CDROM of the Windows Server 2012 R2 Virtual Machine.
  2. Open the console of the new vCenter VM running Windows Server 2012 R2 and login with the AD “vCenter” service account.
  3. Browse to the CDROM and select the “autorun.exe” file and “Run as Administrator”.
  4. In the VMware vSphere 5.5 vCenter Installer window, select “vSphere Update Manager” from the “VMware vCenter Support Tools” and press “Install”.
  5. Select “OK”.
  6. Press “Next”.
  7. Select “I accept the terms in the license agreement” and press “Next”.
  8. Deselect “Download updates from default sources immediately after installation” and press “Next”.
  9. Enter the vCenter “IP Address”, “Username” (service account) and “Password” and press “Next”.
  10. Select “Use an existing supported database” and select “VUMDB” from the “DSN” drop down menu.  Press “Next”.
  11. Enter the “vpxuser” as the “Database Username” and the “Database Password” and then press “Next”.
  12. Select the vCenter IP Address from the drop down menu and select “Yes, I have Internet connection and I want to configure proxy settings now” if you have a proxy.  Then press “Next”.
  13. Enter the proxy settings and then press “Next”.
  14. Change the Install and Patch locations to “E:” and press “Next”.  Make sure E: has enough capacity for storing patches (120GB).
  15. Press “Install”.
  16. After the installation has completed, press “Finish”.
  17. You now have to enable the vUM plugin from your vSphere C# client and configure the baselines, then attach them to hosts and VMs for scanning and remediation.  An example of this is detailed in Part 10.

5.5_VUM_1 5.5_VUM_2 5.5_VUM_3 5.5_VUM_4 5.5_VUM_5 5.5_VUM_6 5.5_VUM_7 5.5_VUM_8 5.5_VUM_9 5.5_VUM_10 5.5_VUM_11 5.5_VUM_12 5.5_VUM_13

Install vSphere Syslog Collector

  1. In the VMware vSphere 5.5 vCenter Installer window, select “vSphere Syslog Collector” from the “VMware vCenter Support Tools” and press “Install”.
  2. Select “OK”.
  3. Press “Next”.
  4. Change the Install and Repository locations to “F:” and press “Next”.  Make sure F: has enough capacity for storing logs (40GB).  This will vary based upon the size of the log rotation and number of log rotations to keep.
  5. Press “Next”.
  6. Select “VMware vCenter Server installation” and then press “Next”.
  7. Enter the vCenter “IP Address”, “Username” (service account) and “Password” and press “Next”.
  8. Press “Yes” to accept the vCenter Server SSL Certificate.
  9. Press “Next”.
  10. Select the vCenter IP Address from the drop down menu and press “Next”.
  11. Press “Install”.
  12. After the installation has completed, press “Finish”.

5.5_Syslog_1 5.5_Syslog_2 5.5_Syslog_3 5.5_Syslog_4 5.5_Syslog_5 5.5_Syslog_6 5.5_Syslog_7 5.5_Syslog_8 5.5_Syslog_9 5.5_Syslog_10 5.5_Syslog_11

Update the Syslog configuration on each ESXi Host

  1. Open the Web Client of vCenter 5.5 and login as an administrator.
  2. Select each host and press the “Manage” object.  Then “Settings” and the “Advanced System Settings”.
  3. Scroll down to the “Syslog” area.
  4. Set “Syslog.global.logDirUnique” to “True”.
  5. Set “Syslog.global.logHost” to “tcp://<IP Address of vCenter Server>:514”
  6. Once you have configured each host, browse to the vCenter Repository Directory configured earlier and verify each host has a directory with log files in it.

ESXi_Syslog_1

Published by

vcdx133

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