VMware Server 2.0 をインストールしてみたので、その手順を残しておきます。
現在、 「CentOS release 5.2 (Final)」 に VMware Server 1.0.7 をインストールして、 Virtual Machine として Windows XP Home Edition と Fedora 8 を動かしてます(Fedora のほうはほとんど使ってないんですけどね)。 これを VMware Server 2.0 にアップグレードしていきます。
まず、 Virtual Machine が動いていたら念のため停止しておきましょう。 そして、 VMware のページより、 VMware-server-2.0.0-116503.i386.rpm をダウンロードしておきます。 以下では、 /tmp に置いてあるとします。 では始めます。 (全部 root ユーザーで実行しています)
VMware MUI をアンインストールします。
続いて、 VMware 2.0 へアップグレードします。 その後に vmware-config.pl を実行し設定を完了します。
VMware 1.x を tar ボールから解凍して入れた場合は、 /usr/bin/vmware-uninstall.pl を実行して事前に VMware 1.x をアンインストールする必要があるらしいです。
# rpm -Uvh VMware-server-2.0.0-116503.i386.rpm (Enter)
準備中... ############################ [100%]
1:VMware-server ########################## [100%]
The installation of VMware Server 2.0.0 for Linux completed successfully.
You can decide to remove this software from your system at any time by
invoking the following command: "rpm -e VMware-server".
Before running VMware Server for the first time, you need to
configure it for your running kernel by invoking the
following command: "/usr/bin/vmware-config.pl".
Enjoy,
--the VMware team
# /usr/bin/vmware-config.pl (Enter)
Making sure services for VMware Server are stopped.
Stopping VMware autostart virtual machines:
Virtual machines [失敗]
Stopping VMware management services:
VMware Virtual Infrastructure Web Access
VMware Server Host Agent [失敗]
Stopping VMware services:
VMware Authentication Daemon [ OK ]
VM communication interface socket family: [ OK ]
Virtual machine communication interface [ OK ]
Virtual machine monitor [ OK ]
Bridged networking on /dev/vmnet0 [ OK ]
Host network detection [ OK ]
Bridged networking on /dev/vmnet2 [ OK ]
Virtual ethernet [ OK ]
The bld-2.6.18-8.el5-i686smp-RHEL5 - vmmon module loads perfectly into the running kernel.
The bld-2.6.18-8.el5-i686smp-RHEL5 - vmci module loads perfectly into the running kernel.
The bld-2.6.18-8.el5-i686smp-RHEL5 - vsock module loads perfectly into the running kernel.
You have already setup networking.
Would you like to skip networking setup and keep your old settings as they are?(yes/no) [yes] (Enter)
The bld-2.6.18-8.el5-i686smp-RHEL5 - vmnet module loads perfectly into the running kernel.
Please specify a port for remote connections to use [902] (Enter)
Do you want this program to set up permissions for your registered virtual machines? This will be done by setting new permissions on all files found in the "/etc/vmware/vm-list" file. [no] (Enter)
Please specify a port for standard http connections to use [8222] (Enter)
Please specify a port for secure http (https) connections to use [8333] (Enter)
The current administrative user for VMware Server is ''. Would you like to specify a different administrator? [no] yes (Enter) ※ no にすると、root ユーザーで接続できますが、一応変更してみました。
Please specify the user whom you wish to be the VMware Server administrator [root] chika (Enter) ※ ということで、chika ユーザーで接続するようにします。後からユーザーは追加できます。
Using chika as the VMware Server administrator.
In which directory do you want to keep your virtual machine files? [/home/vmware/Virtual Machines] (Enter) ※ デフォルトは違うディレクトリですが、1.x の時に /home/vmware/ にしてました。
Do you want to enter a serial number now? (yes/no/help) [no] (Enter) ※ 1.x からのアップグレード時は、そのままのシリアルが使えるので、このまま進みます。
Creating a new VMware VIX API installer database using the tar4 format.
Installing VMware VIX API.
In which directory do you want to install the VMware VIX API binary files? [/usr/bin] (Enter)
In which directory do you want to install the VMware VIX API library files? [/usr/lib/vmware-vix/lib] (Enter)
The path "/usr/lib/vmware-vix/lib" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] (Enter)
In which directory do you want to install the VMware VIX API document pages? [/usr/share/doc/vmware-vix] (Enter)
The path "/usr/share/doc/vmware-vix" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] (Enter)
The installation of VMware VIX API 1.6.0 build-116503 for Linux completed successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-vix.pl".
Enjoy,
--the VMware team
Starting VMware services:
Virtual machine monitor [ OK ]
Virtual machine communication interface [ OK ]
VM communication interface socket family: [ OK ]
Virtual ethernet [ OK ]
Bridged networking on /dev/vmnet0 [ OK ]
Bridged networking on /dev/vmnet2 [ OK ]
VMware Server Authentication Daemon (background) [ OK ]
Shared Memory Available [ OK ]
Starting VMware management services:
VMware Server Host Agent (background) [ OK ]
VMware Virtual Infrastructure Web Access
Starting VMware autostart virtual machines:
Virtual machines [ OK ]
The configuration of VMware Server 2.0.0 build-116503 for Linux for this running kernel completed successfully.
以上でとりあえずのインストールは完了です。起動するには、ブラウザから、
http://(VMware Serverのホスト名、またはIPアドレス):8222/
または、
https://(VMware Serverのホスト名、またはIPアドレス):8333/
でアクセスします。
うまくいけば、 ブラウザでこんな画面が出るので、 Linux のログインアカウント&パスワードでログインしましょう。 (Firefoxで不正なセキュリティ証明書のエラーが出る場合は、こちらを見てね)

WMware Infrastructure Web Access(VI Web Access) 画面が表示されるので、 Inventory で起動したい Virtual Machine を選択し、 Console タブをクリックしましょう。 黄色い文字の「Install plug-in」をクリックし、 VMware Remote Console Plug-in をインストールします。 完了したらブラウザを再起動し、 VI Web Access にログインし直します。

再び Console タブを開いて黒い部分をどこでも良いのでクリックすれば、 別画面に VMware Remote Console 画面が表示されるはず・・・・、なんです。
ところがこれが全然動かないのですよ。 ログを見ると、
「*** VMware Server内部モニタ エラー ***vcpu-0:VMM fault: regs=0x5d0c, exc=6, eip=0x9a1c0」 なんて書いてあって、 どうやら何かがいけないらしい(笑)。
再インストールしたりしてみても変わりません。 VI Web Accessの Summary で Status のところに、「Upgrade Virtual Machine」 という文字があったので、 これをやっていないせい?などと思い クリックしてみると、下のような画面がでました。

一度やったら後戻りできないらしいですw。 まぁ、どうにかなるさ!と思い「OK」を押したのですが、予想通り玉砕ですw。 仕方なく 1.0.7 へ戻しちゃいました・・・・
もちろん、 Upgrade した Virtual Machine は、 1.0.7 からはアクセスできないので、 一から環境再構築です。 はぁ、 やられました。
確認のため、VMware Server 2.0 for Windows を Vista Home Premium へインストールしたら、 1.0.7 の Virtual Machine は問題なく起動して、 VMware Remote Console 画面もちゃんと表示されました。 なので、 Linux だけの問題みたいです。 うちの環境が特殊なのか、 CentOS だからダメなのか、 VMware Server 2.0 for Linux に不具合があるのかはわかりません。 また新しいバージョンが出たら試してみることにします。





コメントする