Differences between revisions 1 and 11 (spanning 10 versions)
Revision 1 as of 2013-08-15 01:19:44
Size: 473
Editor: frank
Comment:
Revision 11 as of 2014-08-15 21:44:30
Size: 7377
Editor: frank
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
=== OVM 3.2 Manager Installation === === OVM 3.2/3.3 Manager Installation ===
Line 4: Line 4:
oracle database preinstall will install all required packages for database 11c, and also satisfy OVM Manager.
# yum install oracle-rdbms-server-12cR1-preinstall
Required packages for OVMM
# yum install unzip

Requried packages for MySQL
# yum install perl libaio
Line 8: Line 11:
for 3.2
Line 10: Line 14:
Other packages
# yum install unzip
for 3.3
# rpm -i <ISO mount point>/ovmcore-consle-<version>.el6.noarch.rpm
Line 18: Line 22:
}}} # if the mysql will be installed on root partition, to enable data writeback on root partition:
# tune2fs -o journal_data_writeback /dev/xvda2 #root partition
}}}
  * Enable ntpd
 * Run createOracle.sh
 {{{
# ./createOracle.sh
Adding group 'oinstall' with gid '54321' ...
Adding group 'dba'
Adding user 'oracle' with user id '54321', initial login group 'dba', supplementary group 'oinstall' and home directory '/home/oracle' ...
Changing ownership of '/home/oracle' to oracle:dba
Creating user 'oracle' succeeded ...
Verifying user 'oracle' OS prerequisites for Oracle VM Manager ...
oracle soft nofile 8192
oracle hard nofile 8192
oracle soft nproc 4096
oracle hard nproc 4096
oracle soft core unlimited
oracle hard core unlimited
Setting user 'oracle' OS limits for Oracle VM Manager ...
Altered file /etc/security/limits.conf
Original file backed up at /etc/security/limits.conf.orabackup
Verifying & setting of user limits succeeded ...
Changing '/u01' permission to 755 ...
Modifying iptables for OVM
Adding rules to enable access to:
     7002 : Oracle VM Manager https
     15901 : Oracle VM Manager VM console proxy
     54321 : Oracle VM Manager core
     54322 : Oracle VM Manager core via SSL
       123 : NTP
     10000 : Oracle VM Manager CLI Tool
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
Rules added.
}}}
 * Run runInstaller
 {{{
# ./runInstaller.sh

Oracle VM Manager Release 3.3.1 Installer

Oracle VM Manager Installer log file:
/tmp/ovm-manager-3-install-2013-08-15-135158.log

Please select an installation type:
   1: Simple (includes database if necessary)
   2: Custom (using existing Oracle database)
   3: Uninstall
   4: Help

   Select Number (1-4): 1

Starting production with local database installation ...

Verifying installation prerequisites ...
*** WARNING: Recommended memory for the Oracle VM Manager server installation using Local MySql DB is 7680 MB RAM
*** WARNING: There is potential performance issue of MySQL on ext4 without mount parameters: rw,noatime,data=writeback,barrier=0,nobh. Mount with the parameters again and reboot is recommended.

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):

Verifying configuration ...

Start installing the configured components:
   1: Continue
   2: Abort

   Select Number (1-2): 1

Step 1 of 10 : 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 10 : Java ...
Installing Java ...

Step 3 of 10 : Database schema ...
Creating database 'ovs' ...
Creating database 'appfw'
Creating user 'ovs' for database 'ovs'...
Creating user 'appfw' for database 'appfw'

Step 4 of 10 : WebLogic ...
Retrieving Oracle WebLogic Server 12c ...
Installing Oracle WebLogic Server 12c ...

Step 5 of 10 : ADF ...
Installing Oracle ADF ...

Step 6 of 10 : Oracle VM ...
Installing Oracle VM Manager Core ...
Retrieving Oracle VM Manager Application ...
Extracting Oracle VM Manager Application ...

Step 7 of 10 : Domain creation ...
Creating Oracle WebLogic Server domain ...
Starting Oracle WebLogic Server 12c ...
Creating Oracle VM Manager user 'admin' ...

Step 8 of 10 : Deploy ...
Deploying Oracle VM Manager Core container ...
Deploying Oracle VM Manager UI Console ...
Deploying Oracle VM Manager Help ...
Configuring Https Identity and Trust...

Step 9 of 10 : 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 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 ...

Retrieving Oracle VM Manager Wsh tool ...
Extracting Oracle VM Manager Wsh tool ...
Installing Oracle VM Manager Wsh tool ...
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 10 of 10 : Start OVM Manager ...
Enabling Oracle VM Manager service ...
Shutting down Oracle VM Manager instance ...
Starting Oracle VM Manager instance ...
Waiting for the application to initialize ...
Oracle VM Manager is running ...

Please wait while WebLogic configures the applications... This can take up to 5 minutes.
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 : 0004fb0000010000f9fcf1374999fc7d


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://ca-sysmgr610.us.oracle.com:7002/ovm/console
Log in with the user 'admin', and the password you set during the installation.

Note that there are two packages that you need to have installed in order to gain VNC and serial console access to your Virtual Machines (VMs):

* The tightvnc-java package provides VNC access to guest VMs
* The jta package provides serial console access to guest VMs

Please review the Oracle VM Installation and Upgrade Guide for additional details on how to install these packages.

For more information about Oracle Virtualization, please visit:
  http://www.oracle.com/virtualization/

Oracle VM Manager installation complete.

Please remove configuration file /tmp/ovm_configoK4f4p.
}}}
 * Check configuration files
 {{{
# cat /etc/sysconfig/ovmm
JVM_MEMORY_MAX=4096m
JVM_MAX_PERM=512m
RUN_OVMM=YES
DBBACKUP=/u01/app/oracle/mysql/dbbackup
DBBACKUP_CMD=/opt/mysql/meb-3.8/bin/mysqlbackup
UUID=0004fb0000010000f9fcf1374999fc7d

# cat /u01/app/oracle/ovm-manager-3/.config
DBTYPE=MySQL
DBHOST=localhost
SID=ovs
LSNR=49500
OVSSCHEMA=ovs
APEX=8080
WLSADMIN=weblogic
OVSADMIN=admin
COREPORT=54321
UUID=0004fb0000010000f9fcf1374999fc7d
BUILDID=3.3.1.465

}}}

OVM 3.2/3.3 Manager Installation

  • Install required packages
    Required packages for OVMM
    # yum install unzip
    
    Requried packages for MySQL
    # yum install perl libaio
    
    VM VNC and Serial console plugins
    for 3.2
    # yum install jta tightvnc-java
    
    for 3.3
    # rpm -i <ISO mount point>/ovmcore-consle-<version>.el6.noarch.rpm
  • Other configuration
    • mount options for MySQL optimization
      rw,noatime,data=writeback,barrier=0,nobh
      # if the mysql will be installed on root partition, to enable data writeback on root partition:
      # tune2fs -o journal_data_writeback /dev/xvda2 #root partition
    • Enable ntpd
  • Run createOracle.sh
    # ./createOracle.sh 
    Adding group 'oinstall' with gid '54321' ...
    Adding group 'dba'
    Adding user 'oracle' with user id '54321', initial login group 'dba', supplementary group 'oinstall' and  home directory '/home/oracle' ...
    Changing ownership of '/home/oracle' to oracle:dba
    Creating user 'oracle' succeeded ... 
    Verifying user 'oracle' OS prerequisites for Oracle VM Manager ...
    oracle  soft    nofile          8192
    oracle  hard    nofile          8192
    oracle  soft    nproc           4096
    oracle  hard    nproc           4096
    oracle  soft    core            unlimited
    oracle  hard    core            unlimited
    Setting  user 'oracle' OS limits for Oracle VM Manager ...
    Altered file /etc/security/limits.conf
    Original file backed up at /etc/security/limits.conf.orabackup
    Verifying & setting of user limits succeeded ... 
    Changing '/u01' permission to 755 ...
    Modifying iptables for OVM
    Adding rules to enable access to:
         7002  : Oracle VM Manager https
         15901 : Oracle VM Manager VM console proxy
         54321 : Oracle VM Manager core
         54322 : Oracle VM Manager core via SSL
           123 : NTP
         10000 : Oracle VM Manager CLI Tool
    iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]
    Rules added.
  • Run runInstaller
    # ./runInstaller.sh 
    
    Oracle VM Manager Release 3.3.1 Installer
    
    Oracle VM Manager Installer log file:
    /tmp/ovm-manager-3-install-2013-08-15-135158.log
    
    Please select an installation type:
       1: Simple (includes database if necessary)
       2: Custom (using existing Oracle database)
       3: Uninstall
       4: Help
    
       Select Number (1-4): 1
    
    Starting production with local database installation ...
    
    Verifying installation prerequisites ...
    *** WARNING: Recommended memory for the Oracle VM Manager server installation using Local MySql DB is 7680 MB RAM
    *** WARNING: There is potential performance issue of MySQL on ext4 without mount parameters: rw,noatime,data=writeback,barrier=0,nobh. Mount with the parameters again and reboot is recommended.
    
    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): 
    
    Verifying configuration ...
    
    Start installing the configured components:
       1: Continue
       2: Abort
    
       Select Number (1-2): 1
    
    Step 1 of 10 : 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 10 : Java ...
    Installing Java ...
    
    Step 3 of 10 : Database schema ...
    Creating database 'ovs' ...
    Creating database 'appfw'
    Creating user 'ovs' for database 'ovs'...
    Creating user 'appfw' for database 'appfw'
    
    Step 4 of 10 : WebLogic ...
    Retrieving Oracle WebLogic Server 12c ...
    Installing Oracle WebLogic Server 12c ...
    
    Step 5 of 10 : ADF ...
    Installing Oracle ADF ...
    
    Step 6 of 10 : Oracle VM  ...
    Installing Oracle VM Manager Core ...
    Retrieving Oracle VM Manager Application ...
    Extracting Oracle VM Manager Application ...
    
    Step 7 of 10 : Domain creation ...
    Creating Oracle WebLogic Server domain ...
    Starting Oracle WebLogic Server 12c ...
    Creating Oracle VM Manager user 'admin' ...
    
    Step 8 of 10 : Deploy ...
    Deploying Oracle VM Manager Core container ...
    Deploying Oracle VM Manager UI Console ...
    Deploying Oracle VM Manager Help ...
    Configuring Https Identity and Trust...
    
    Step 9 of 10 : 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 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 ...
    
    Retrieving Oracle VM Manager Wsh tool ...
    Extracting Oracle VM Manager Wsh tool ...
    Installing Oracle VM Manager Wsh tool ...
    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 10 of 10 : Start OVM Manager ...
    Enabling Oracle VM Manager service ...
    Shutting down Oracle VM Manager instance ...
    Starting Oracle VM Manager instance ...
    Waiting for the application to initialize ...
    Oracle VM Manager is running ...
    
    Please wait while WebLogic configures the applications... This can take up to 5 minutes.
    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                        : 0004fb0000010000f9fcf1374999fc7d
    
    
    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://ca-sysmgr610.us.oracle.com:7002/ovm/console
    Log in with the user 'admin', and the password you set during the installation.
    
    Note that there are two packages that you need to have installed in order to gain VNC and serial console access to your Virtual Machines (VMs):
    
    * The tightvnc-java package provides VNC access to guest VMs
    * The jta package provides serial console access to guest VMs
    
    Please review the Oracle VM Installation and Upgrade Guide for additional details on how to install these packages.
    
    For more information about Oracle Virtualization, please visit:
      http://www.oracle.com/virtualization/
    
    Oracle VM Manager installation complete.
    
    Please remove configuration file /tmp/ovm_configoK4f4p.
  • Check configuration files
    # cat /etc/sysconfig/ovmm 
    JVM_MEMORY_MAX=4096m
    JVM_MAX_PERM=512m
    RUN_OVMM=YES
    DBBACKUP=/u01/app/oracle/mysql/dbbackup
    DBBACKUP_CMD=/opt/mysql/meb-3.8/bin/mysqlbackup
    UUID=0004fb0000010000f9fcf1374999fc7d
    
    # cat /u01/app/oracle/ovm-manager-3/.config 
    DBTYPE=MySQL
    DBHOST=localhost
    SID=ovs
    LSNR=49500
    OVSSCHEMA=ovs
    APEX=8080
    WLSADMIN=weblogic
    OVSADMIN=admin
    COREPORT=54321
    UUID=0004fb0000010000f9fcf1374999fc7d
    BUILDID=3.3.1.465

Tech/OVMManagerInstall (last edited 2014-08-27 22:59:00 by frank)