Wednesday, September 19, 2012

vCenter Server 5.1へのアップグレードがエラーになるヨ

いろいろモジュールが分割された事による弊害か.....


以下のようなケースで発生するらしい。

・vCenter Single Sign Onのインストールが失敗
・vCenter Server5.1へのアップグレードが失敗
・Inventory serviceのインストールしている時に失敗
・インストーラが明示的にインストール失敗したメッセージをレポートする
直訳してもわからないので、インストーラが以下のエラーを出しているか?
だんまりの場合は、以下のログを確認してみるのがよさそう。

【現象】
以下のようなメッセージを出力する
Error 29113. Wrong input - either a command line argument is wrong, a file cannot be found or the spec file doesn't contain the required information, or the clocks on the two systems are not synchronized. Check vm_ssoreg.log in system temporary folder for details.」

実際に%TEMP%配下にある、vm_ssoreg.logをみるとexceptionが出てる。
java.lang.IllegalArgumentException: Invalid solution certificate. Certificate already expired.

【原因】
既存の証明書の有効期限が切れていると出る
確認するには、C:\Program Files\VMware\Infrastructure\VirtualCenter server\ssoregtool内にある
vcsso.propertiesを確認する
【対処】
とりあえず証明書の確認と、期限が切れていたら証明書更新後にもいちどVC5.1のアップグレードを試せと。
Open the vcsso.properties file using a text editor.

Find the location of rui.crt certificate file, which is specified under the [solutionUsers] section of the vcsso.properties file.

Note: In some cases, the vcsso.properties file may have been removed after a failed installation. If the vcsso.properties file has been removed, the default location of the rui.crt file is C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\SSL\.

After determining the location of the rui.crt file, run this command to see the expiration date and view the encryption bit used:

$ openssl x509 -in rui.crt -noout -text


Note: In case of an expired certificate, you see an output similar to:
..
Validity
Not Before: Jul 28 11:03:38 2008 GMT
Not After : Jul 28 11:03:38 2010 GMT
..

If the certificate has expired, update the certificates before upgrading to vCenter Server 5.1. To update certificates on vSphere 5.0 and vSphere 4.1, see the steps outlined in Installing the intermediate certificate chain for vCenter Server 5.0 (2030422) .
Once the new certificates have been regenerated, re-try vCenter Server 5.1 Upgrade.
After the upgrade completes, reconnect all hosts.

No comments:

Post a Comment