1. requirement

  cpu: at least  2

  memory: at least 2048M


2. 挂载安装介质

mount -o loop,ro OracleVMM-3.4.2.iso /mnt
cd /mnt

3. 安装依赖包

yum -y install zip unzip numactl perl

4. 创建用户和组

useradd oracle
echo oracle | passwd --stdin oracle
groupadd dba
usermod -G dba oracle

5. 配置limits.conf文件

echo "
oracle soft nofile 8192
oracle hard nofile 8192
oracle soft nproc 4096
oracle hard nproc 4096
oracle soft core unlimited
oracle hard core unlimited
" >> /etc/security/limits.conf

注:以上5步执行createOracle.sh脚本会自动执行


6. Oracle VM Manager install 基本是自动执行

[root@localhost mnt]# sh ./runInstaller.sh

Oracle VM Manager Release 3.4.2 Installer


Oracle VM Manager Installer log file:

/var/log/ovmm/ovm-manager-3-install-2017-03-24-000742.log


Please select an installation type:

   1: Install

   2: Upgrade

   3: Uninstall

   4: Help


   Select Number (1-4): 1


Verifying installation prerequisites ...

*** WARNING: Recommended memory for the Oracle VM Manager server installation using Local MySql DB is 7680 MB RAM


Starting production with local database installation ...


One password is used for all users created and used during the installation.

Enter a password for all logins used during the installation: 

Enter a password for all logins used during the installation (confirm): 


Please enter your fully qualified domain name, e.g. ovs123.us.oracle.com, (or IP address) of your management server for SSL certification generation 10.20.3.34 [10.20.3.34]:  


Verifying configuration ...


Start installing Oracle VM Manager:

   1: Continue

   2: Abort


   Select Number (1-2): 1


Step 1 of 7 : Database Software ...

Installing Database Software...

Retrieving MySQL Database 5.6 ...

Unzipping MySQL RPM File ...

Installing MySQL 5.6 RPM package ...

Configuring MySQL Database 5.6 ...

Installing MySQL backup RPM package ...


Step 2 of 7 : Java ...

Installing Java ...


Step 3 of 7 : WebLogic and ADF ...

Retrieving Oracle WebLogic Server 12c and ADF ...

Installing Oracle WebLogic Server 12c and ADF ...

Applying patches to Weblogic ...

Applying patch to ADF ...


Step 4 of 7 : Oracle VM ...

Installing Oracle VM Manager Core ...

Retrieving Oracle VM Manager Application ...

Extracting Oracle VM Manager Application ...


Retrieving Oracle VM Manager Upgrade tool ...

Extracting Oracle VM Manager Upgrade tool ...

Installing Oracle VM Manager Upgrade tool ...


Retrieving Oracle VM Manager CLI tool ...

Extracting Oracle VM Manager CLI tool...

Installing Oracle VM Manager CLI tool ...

Installing Oracle VM Manager WLST Scripts ...


Step 5 of 7 : Domain creation ...

Creating domain ...


Step 6 of 7 : Oracle VM Tools ...


Retrieving Oracle VM Manager Shell & API ...

Extracting Oracle VM Manager Shell & API ...

Installing Oracle VM Manager Shell & API ...


Retrieving Oracle VM Manager Wsh tool ...

Extracting Oracle VM Manager Wsh tool ...

Installing Oracle VM Manager Wsh tool ...


Retrieving Oracle VM Manager Tools ...

Extracting Oracle VM Manager Tools ...

Installing Oracle VM Manager Tools ...


Retrieving ovmcore-console ...

Installing ovmcore-console RPM package ...

Copying Oracle VM Manager shell to '/usr/bin/ovm_shell.sh' ...

Installing ovm_admin.sh in '/u01/app/oracle/ovm-manager-3/bin' ...

Installing ovm_upgrade.sh in '/u01/app/oracle/ovm-manager-3/bin' ...


Step 7 of 7 : Start OVM Manager ...

Enabling Oracle VM Manager service ...

Shutting down Oracle VM Manager instance ...

Starting Oracle VM Manager instance ...


Please wait while WebLogic configures the applications...

Trying to connect to core via ovmwsh (attempt 1 of 20) ...

Trying to connect to core via ovmwsh (attempt 2 of 20) ...

Trying to connect to core via ovm_shell (attempt 1 of 5)...

Oracle VM Manager installed.


Installation Summary

--------------------

Database configuration:

  Database type               : MySQL

  Database host name          : localhost

  Database name               : ovs

  Database listener port      : 49500

  Database user               : ovs


Weblogic Server configuration:

  Administration username     : weblogic


Oracle VM Manager configuration:

  Username                    : admin

  Core management port        : 54321

  UUID                        : 0004fb00000100006272a6cb54d2f1c0



Passwords:

There are no default passwords for any users. The passwords to use for Oracle VM Manager, Database, and Oracle WebLogic Server have been set by you during this installation. In the case of a default install, all passwords are the same.


Oracle VM Manager UI:

  https://10.20.3.34:7002/ovm/console

Log in with the user 'admin', and the password you set during the installation.


For more information about Oracle Virtualization, please visit:

  http://www.oracle.com/virtualization/


Oracle VM Manager installation complete.


Please remove configuration file /tmp/ovm_configSVOH7Q.