読者です 読者をやめる 読者になる 読者になる

#chiroito ’s blog

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

OVM-1011

Oracle VM Managerでサーバープールを作る時にOracle VM Serverを指定したらエラーが発生しました。

環境

ホスト名:vms
IP:192.168.0.201
OS:Oracle VM Server 2.2

エラー出力

During creating server pool (Home_Pool), cluster setup failed: (OVM-1011 OVM Manager communication with 192.168.0.201 for operation HA Setup for Oracle VM Agent 2.2.0 failed: errcode=00000, errmsg=Unexpected error: > )

どうやらホスト解決できないらしい。

解決法

ここの8.2 Preparing a Storage Repositoryを参照
http://download.oracle.com/docs/cd/E15458_01/doc.22/e15444/storage.htm#sthref68
The host name in the /etc/hosts file is associated with the public IP address, and not with 127.0.0.1. To make sure the hostname is correctly set in the /etc/hosts file, ping the host name of all Oracle VM Servers in the server pool to display their public IP addresses.

You have all the Oracle VM Server entries in your DNS server. If you do not use DNS, make sure the correct setting is in the /etc/hosts file for all the Oracle VM Servers in the server pool. If you plan to use DNS for all Oracle VM Servers, but DNS was not specified during the Oracle VM Server installation, update the /etc/resolv.conf file and add your domain name to it.

All the Oracle VM Servers in the server pool must use consistent name resolution, either using a DNS server, or using the /etc/hosts file. You should not have mixed name services for the Oracle VM Servers a server pool. For example, some Oracle VM Servers use DNS, while others use the /etc/hosts file to resolve host names.

DNSを使用するほどの環境でもないので/etc/hostsファイルの設定を行います。
[root@vms]grep vms /etc/hosts
127.0.0.1 vms
127.0.0.1 vmsとなっているのでviなどのエディタで192.168.0.201 vmsにする。
[root@vms]grep vms /etc/hosts
192.168.0.201 vms