Tuesday, December 4, 2012

The Summary tab of the ESXi 5.0 host reports the warning: System logging not Configured on host hostname

VMware KB: The Summary tab of the ESXi 5.0 host reports the warning: System logging not Configured on host hostname

  • After upgrading from ESXi 4.x to 5.0, the Summary tab of the host reports the warning:

    System logging not Configured on host <hostname>
Resolution

To resolve this issue, configure the default logging location in the ESXi host.
To configure the default logging location in the ESXi host:
  1. Navigate to Configuration > Software > Advanced Settings > Syslog > Global
  2. Set the type of the Syslog.global.logDir parameter to []/scratch/log. In this case, the logs reside on the local disk.

    Note: If you want to send the logs to a different datastore, set the type of the Syslog.global.logDir parameter to the complete path where you want to store the log files. For example,
    [Datastore1]/logs. The location of the datastore should be unique to each ESXi host. Do not specify the same log directory to multiple hosts, doing so may result in a crash or kernel panic.

vCenter Upgrade 5.0 Error 25004.Setup failed ...

Error 25004. Setup failed to create the vCenter Server repository.

After some initial attempts to search the web and the vmware KB site to try and rectify the problem, I decided to start from scratch. I restored the vCenter Database (SQL 2005) from the SQL backup taken prior to attempting the upgrade and restarted the install. This time around the install completed successfully!

Note: I tried re-running the vCenter upgrade, multiple times after previous failed attempts, without restoring the original SQL database and I kept getting the same error.



The only thing I could think of as to why the initial install failed was the aborted install which did not rollback the database changes, even though it said it did successfully. I also noticed that after the "Successful?" rollback there were no longer any vCenter services running (which should have been running before I attempted the upgrade), they were all gone even after the reboot which lead me to believe that the rollback didn't complete correctly.

The solution that worked for me:

1) Backed out of the current install (Which failed and was supposed to rollback anyway)
  2) Rebooted the system
   3) Restored the vCenter Database (SQL 2005) from the SQL backup taken prior to attempting the  upgrade (Very Important and any good System Administrator should know to backup prior to any upgrade)
    4) Restarted the install.
    5) This time around the setup should complete successfully.