#chiroito ’s blog

Java を中心とした趣味の技術について

Oracle VM Managerのインストール

目的

Oracle VM Manager 2.2をインストールする。

環境

IPアドレス:192.168.0.3
Oracle Enterprise Linux 5 update 5
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
同一サーバ内に構築されているデータベースを利用した環境構築を行います。

ダウンロード

VM Managerをダウンロードする場合はこちらから。
Welcome to the Oracle® E-Delivery Web site.
ダウンロードしたファイルを/rootに解凍してあるものとします。

作業

インストール前の準備をします。
ダウンロードしたディスクイメージのマウントとデータベースの言語の設定をします。
[root@host1 mnt]# mkdir iso
[root@host1 mnt]# mount -o loop /root/OracleVM-Manager-2.2.0.iso iso
[root@host1 mnt]# cd iso
[root@host1 iso]# export NLS_LANG=American_Japan.AL32UTF8
NLS_LANGを指定しておかないとこんなエラーが出る可能性があります。
これが原因の場合db.logには文字化けのため?が大量に出力されているはずです。
Creating the Oracle VM Manager database schema ...OVS schema verification failed
Please check log from /var/log/ovm-manager/db.log

インストール作業に入ります。
今回は既存のデータベースを使用します。
既存のデータベースが無いという方は15行目で1を入力して下さい。
その場合、出力は下記と変わります。
[root@host1 iso]# ./runInstaller.sh
Welcome to Oracle VM Manager 2.2

Please enter the choice: [1|2|3]
1. Install Oracle VM Manager
2. Uninstall Oracle VM Manager
3. Upgrade Oracle VM Manager
1

Starting Oracle VM Manager 2.2 installation ...

Do you want to install a new database or use an existing one? [1|2]
1. Install a new Oracle XE database on localhost
2. Use an existing Oracle database in my network
2
Please enter the database hostname or ip address(Default: 192.168.0.3):
Specify a port that will be used for the database listener [1521]:
Please specify the database SID(Default: orcl):

Please enter the password for database account 'SYS':

Provisioning Oracle instant client ...

Checking the availability of the database ...

Set default database schema to 'OVS'.
Please enter the password for account 'OVS':
Confirm the password:

Please enter the default tablespace for user OVS(DEFAULT: USERS):
Checking the availability of the tablespace USERS ...

Creating the Oracle VM Manager database schema ...Done

Installing the ovs-manager package (rpm) ...
Done

Installing the oc4j package (rpm) ...
Done

Please enter the password for account 'oc4jadmin':
Confirm the password:

Starting OC4J ... Done.
To access the OC4J Home Page and change the password go to http://127.0.0.1:8888/em

Deploying Oracle VM Manager application to OC4J container.
Creating connection pool ... Done
Creating data source ... Done
Deploying application help ... Done
Deploying application ... Done

Please enter the keystore password for the Web Service:
Confirm the password:

Setting keystore password for Web Service ... Done
Do you want to use HTTPS access for Oracle VM Manager (Y|n)?Y

Configuring OC4J to use HTTPS ... Done
Stopping OC4J ... Done
Starting OC4J ... Done

Please enter the password for the default account 'admin':
Confirm the password:

Configuring SMTP server ...
Please enter the outgoing SMTP mail server(e.g. - mail.abc.com, mail.abc.com:25): localhost:25
Mail server checking, may need some time, please wait ...
Setting the SMTP server to localhost:25 ...
Done

Please enter an e-mail address for account 'admin': xxx@yyy.com
Confirm the e-mail address : xxx@yyy.com
Updating e-mail address for account 'admin' to 'xxx@yyy.com' ...
Done

The console feature is not enabled by default.
For detailed setup, refer to Oracle VM Manager User's Guide

Installation of Oracle VM Manager completed successfully.

To access the Oracle VM Manager 2.2 home page go to:
https://192.168.0.3:4443/OVS

To access the Oracle VM Manager web services WSDL page go to:
https://192.168.0.3:4443/OVSWS/LifecycleService.wsdl
https://192.168.0.3:4443/OVSWS/ResourceService.wsdl
https://192.168.0.3:4443/OVSWS/PluginService.wsdl
https://192.168.0.3:4443/OVSWS/ServerPoolService.wsdl
https://192.168.0.3:4443/OVSWS/VirtualMachineService.wsdl
https://192.168.0.3:4443/OVSWS/AdminService.wsdl

To access the Oracle VM Manager help page go to:
https://192.168.0.3:4443/help/help
これでインストールは完了です。
83行目に該当する部分にあるURLにアクセスすると63行目で指定したパスワードでログインする事が出来ます。