VMware vSphere

 View Only
  • 1.  vCenter Upgrade - Uninstall Inventory Service

    Posted Sep 28, 2012 07:45 AM

    Hey There,

    I'm trying to update the vCenter Server from VMware 5.0 (without U1) to 5.1.

    I could install the SSO service without problems, when installing the inventory service the installer detects the old version of the service and tries to update this service.

    When uninstalling, the old service it fails, here the log:

    === Verbose logging started: 27.09.2012  17:39:11  Build type: SHIP UNICODE 5.00.7601.00  Calling process: C:\Windows\system32\msiexec.exe ===
    MSI (c) (BC:40) [17:39:11:016]: Resetting cached policy values
    MSI (c) (BC:40) [17:39:11:016]: Machine policy value 'Debug' is 0
    MSI (c) (BC:40) [17:39:11:016]: ******* RunEngine:
    ******* Product: {2FD88C86-A428-4CEC-96D0-BF37465D71A4}
    ******* Action:
    ******* CommandLine: **********
    MSI (c) (BC:40) [17:39:11:016]: Client-side and UI is none or basic: Running entire install on the server.
    MSI (c) (BC:40) [17:39:11:016]: Grabbed execution mutex.
    MSI (c) (BC:40) [17:39:11:032]: Cloaking enabled.
    MSI (c) (BC:40) [17:39:11:032]: Attempting to enable all disabled privileges before calling Install on Server
    MSI (c) (BC:40) [17:39:11:047]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (CC:B4) [17:39:11:047]: Running installation inside multi-package transaction {2FD88C86-A428-4CEC-96D0-BF37465D71A4}
    MSI (s) (CC:B4) [17:39:11:047]: Grabbed execution mutex.
    MSI (s) (CC:24) [17:39:11:047]: Resetting cached policy values
    MSI (s) (CC:24) [17:39:11:047]: Machine policy value 'Debug' is 0
    MSI (s) (CC:24) [17:39:11:047]: ******* RunEngine:
    ******* Product: {2FD88C86-A428-4CEC-96D0-BF37465D71A4}
    ******* Action:
    ******* CommandLine: **********
    MSI (s) (CC:24) [17:39:11:047]: Machine policy value 'DisableUserInstalls' is 0
    MSI (s) (CC:24) [17:39:11:047]: Warning: Local cached package 'C:\Windows\Installer\13121f.msi' is missing.
    MSI (s) (CC:24) [17:39:11:047]: User policy value 'SearchOrder' is 'nmu'
    MSI (s) (CC:24) [17:39:11:047]: User policy value 'DisableMedia' is 0
    MSI (s) (CC:24) [17:39:11:047]: Machine policy value 'AllowLockdownMedia' is 0
    MSI (s) (CC:24) [17:39:11:047]: SOURCEMGMT: Media enabled only if package is safe.
    MSI (s) (CC:24) [17:39:11:047]: SOURCEMGMT: Looking for sourcelist for product {2FD88C86-A428-4CEC-96D0-BF37465D71A4}
    MSI (s) (CC:24) [17:39:11:047]: SOURCEMGMT: Adding {2FD88C86-A428-4CEC-96D0-BF37465D71A4}; to potential sourcelist list (pcode;disk;relpath).
    MSI (s) (CC:24) [17:39:11:047]: SOURCEMGMT: Now checking product {2FD88C86-A428-4CEC-96D0-BF37465D71A4}
    MSI (s) (CC:24) [17:39:11:047]: SOURCEMGMT: Media is enabled for product.
    MSI (s) (CC:24) [17:39:11:047]: SOURCEMGMT: Attempting to use LastUsedSource from source list.
    MSI (s) (CC:24) [17:39:11:047]: SOURCEMGMT: Trying media source D:\vCenter-Server\Inventory Service\.
    MSI (s) (CC:24) [17:39:11:047]: Note: 1: 2203 2: D:\vCenter-Server\Inventory Service\vCenter Inventory Service.msi 3: -2147287037
    MSI (s) (CC:24) [17:39:11:047]: SOURCEMGMT: Source is invalid due to missing/inaccessible package.
    MSI (s) (CC:24) [17:39:11:047]: Note: 1: 1706 2: -2147483647 3: vCenter Inventory Service.msi
    MSI (s) (CC:24) [17:39:11:047]: SOURCEMGMT: Processing net source list.
    MSI (s) (CC:24) [17:39:11:047]: Note: 1: 1402 2: UNKNOWN\Net 3: 2
    MSI (s) (CC:24) [17:39:11:047]: Note: 1: 1706 2: -2147483647 3: vCenter Inventory Service.msi
    MSI (s) (CC:24) [17:39:11:047]: SOURCEMGMT: Processing media source list.
    MSI (s) (CC:24) [17:39:11:047]: Note: 1: 1706 2: -2147483647 3: vCenter Inventory Service.msi
    MSI (s) (CC:24) [17:39:11:047]: SOURCEMGMT: Processing URL source list.
    MSI (s) (CC:24) [17:39:11:047]: Note: 1: 1402 2: UNKNOWN\URL 3: 2
    MSI (s) (CC:24) [17:39:11:047]: Note: 1: 1706 2: -2147483647 3: vCenter Inventory Service.msi
    MSI (s) (CC:24) [17:39:11:047]: Note: 1: 1706 2:  3: vCenter Inventory Service.msi
    MSI (s) (CC:24) [17:39:11:047]: SOURCEMGMT: Failed to resolve source
    MSI (s) (CC:24) [17:39:11:047]: MainEngineThread is returning 1612
    MSI (s) (CC:B4) [17:39:11:047]: User policy value 'DisableRollback' is 0
    MSI (s) (CC:B4) [17:39:11:047]: Machine policy value 'DisableRollback' is 0
    MSI (s) (CC:B4) [17:39:11:047]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (CC:B4) [17:39:11:047]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (CC:B4) [17:39:11:047]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (CC:B4) [17:39:11:047]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
    MSI (s) (CC:B4) [17:39:11:047]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
    MSI (s) (CC:B4) [17:39:11:047]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (s) (CC:B4) [17:39:11:047]: Restoring environment variables
    MSI (c) (BC:40) [17:39:11:047]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (BC:40) [17:39:11:047]: MainEngineThread is returning 1612
    === Verbose logging stopped: 27.09.2012  17:39:11 ===

    There is no

    D:\vCenter-Server\Inventory Service\vCenter Inventory Service.msi

    on the Media?

    the log of the installation:

    Aktion 09:43:37: VM_UninstallInventoryService50.
    Aktion gestartet um 09:43:37: VM_UninstallInventoryService50.
    MSI (c) (48:FC) [09:43:37:671]: Invoking remote custom action. DLL: C:\Users\ADMINI~1.MYW\AppData\Local\Temp\4\MSI9AE5.tmp, Entrypoint: VMUninstallInventoryService50
    MSI (c) (48!58) [09:43:37:780]: PROPERTY CHANGE: Adding LOG_FILES property. Its value is 'vim-is-uninstall.log, vminst.log'.
    MSI (c) (48!58) [09:43:37:780]: PROPERTY CHANGE: Adding CONTINUE_TO_UNINSTALL_PRODUCT property. Its value is 'VMware vCenter Inventory Service'.
    CustomAction VM_UninstallInventoryService50 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    Aktion beendet um 09:43:37: VM_UninstallInventoryService50. Rückgabewert 3.
    MSI (c) (48:A4) [09:43:37:796]: Doing action: SetupCompleteError
    Aktion 09:43:37: SetupCompleteError.
    Aktion gestartet um 09:43:37: SetupCompleteError.

    Some Ideas?

    Thanks, Patrick



  • 2.  RE: vCenter Upgrade - Uninstall Inventory Service

    Posted Oct 05, 2012 07:26 PM

    To remove the vCenter Inventory Service from my 5.0 vCenter Server, I ran the 5.1 Inventory Service installation.  This upgraded the Inventory Service and placed an entry in Programs and Features that I uninstalled.

    After removing the vCenter Inventory Service, the vCenter Server installation simply prompts for the vCenter Inventory Service URL.

    -Craig J



  • 3.  RE: vCenter Upgrade - Uninstall Inventory Service

    Posted Oct 24, 2012 02:54 AM

    I too am encountering a similar problem when trying to upgrade vcenter server from 5.0 to 5.1.  I have vcenter, inventory, and SSO broken out onto separate hosts.  Inventory and SSO were fresh installs of 5.1, so all I need is a way to be able to upgrade vcenter server from 5.0 to 5.1.  However, everytime i try to run the installer it prompts with a message that there is an old version of Inventory installed (which there is, 5.0).  Is there a registery tweak that allows me to point to my new 5.1 Inventory?  I just want to bypass this message so I can continue upgrading vcenter server to 5.1.

    I did try upgrading Inventory to 5.1 then uninstalling it like craigj405 suggests.  That works, but it seems like a rather crude solution...I can't imagine that this would be considered a VMware best practice. Anybody have a better workaround?