Differences between revisions 11 and 13 (spanning 2 versions)
Revision 11 as of 2014-08-15 21:44:30
Size: 7377
Editor: frank
Comment:
Revision 13 as of 2014-08-27 22:59:00
Size: 7652
Editor: frank
Comment:
Deletions are marked like this. Additions are marked like this.
Line 59: Line 59:
Line 64: Line 65:
/tmp/ovm-manager-3-install-2013-08-15-135158.log /var/log/ovmm/ovm-manager-3-install-2014-08-27-153043.log
Line 67: Line 68:
   1: Simple (includes database if necessary)
   2: Custom (using existing Oracle database)
   1: Install
   2: Upgrade
Line 78: Line 79:
*** 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.
Line 84: Line 84:
Please enter your fully qualified domain name, e.g. ovs123.us.oracle.com, (or IP address) of your management server for SSL certification generation, more than one IP address are detected: 144.25.12.248 10.196.192.190 10.196.240.190 [ca-sysmgr610.us.oracle.com]:
Line 86: Line 88:
Start installing the configured components: Start installing Oracle VM Manager:
Line 92: Line 94:
Step 1 of 10 : Database Software... Step 1 of 9 : Database Software...
Line 100: Line 102:
Step 2 of 10 : Java ... Step 2 of 9 : Java ...
Line 103: Line 105:
Step 3 of 10 : Database schema ... Step 3 of 9 : Database schema ...
Line 109: Line 111:
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 ...
Step 4 of 9 : WebLogic and ADF...
Retrieving Oracle WebLogic Server 12c and ADF ...
Installing Oracle WebLogic Server 12c and ADF ...
Applying patches to Weblogic
...

Step 5 of 9 : Oracle VM ...
Line 121: Line 121:
Step 7 of 10 : Domain creation ... Retrieving Oracle VM Manager Upgrade tool ...
Extracting Oracle VM Manager Upgrade tool ...
Installing Oracle VM Manager Upgrade tool ...

Step 6 of 9 : Domain creation ...
Line 126: Line 130:
Step 8 of 10 : Deploy ... Retrieving Oracle VM Manager CLI tool ...
Extracting Oracle VM Manager CLI tool...
Installing Oracle VM Manager CLI tool ...

Step 7 of 9 : Deploy ...
Configuring Https Identity and Trust...
Line 128: Line 137:
Configuring Client Cert Login...
Line 130: Line 140:
Configuring Https Identity and Trust...

Step 9 of 10 : Oracle VM Tools ...
Disabling HTTP access ...

Step 8 of 9 : Oracle VM Tools ...
Line 138: Line 148:
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 ...
Line 149: Line 151:

Retrieving Oracle VM Manager Tools ...
Extracting Oracle VM Manager Tools ...
Installing Oracle VM Manager Tools ...
Line 153: Line 159:
Step 10 of 10 : Start OVM Manager ... Step 9 of 9 : Start OVM Manager ...
Line 160: Line 166:
Please wait while WebLogic configures the applications... This can take up to 5 minutes. Please wait while WebLogic configures the applications...
Line 178: Line 184:
  UUID : 0004fb0000010000f9fcf1374999fc7d   UUID : 0004fb0000010000084e3ff844fbd888
Line 188: Line 194:
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.
Note that you must install the latest ovmcore-console package for your Oracle Linux distribution to gain VNC and serial console access to your Virtual Machines (VMs).
Please refer to the documentation for more information about this package.
Line 200: Line 202:
Please remove configuration file /tmp/ovm_configoK4f4p. Please remove configuration file /tmp/ovm_configJghj07.

Line 226: Line 230:

=== Upgrade/backup/restore ===

 * Backup/Restore for OVMM 3.3
 {{{
# service ovmcli stop; service ovmm stop
# /u01/app/oracle/ovm-manager-3/bin/ovm_upgrade.sh --deletedb --dbhost=localhost --dbport=45900 --dbsid=ovs --dbuser=ovs --dbpass=Welcome1
}}}

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:
    /var/log/ovmm/ovm-manager-3-install-2014-08-27-153043.log
    
    Please select an installation type:
       1: Install
       2: Upgrade
       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
    
    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, more than one IP address are detected: 144.25.12.248 10.196.192.190 10.196.240.190 [ca-sysmgr610.us.oracle.com]: 
    
    Verifying configuration ...
    
    Start installing Oracle VM Manager:
       1: Continue
       2: Abort
    
       Select Number (1-2): 1
    
    Step 1 of 9 : 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 9 : Java ...
    Installing Java ...
    
    Step 3 of 9 : Database schema ...
    Creating database 'ovs' ...
    Creating database 'appfw'
    Creating user 'ovs' for database 'ovs'...
    Creating user 'appfw' for database 'appfw'
    
    Step 4 of 9 : WebLogic and ADF...
    Retrieving Oracle WebLogic Server 12c and ADF ...
    Installing Oracle WebLogic Server 12c and ADF ...
    Applying patches to Weblogic ...
    
    Step 5 of 9 : 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 ...
    
    Step 6 of 9 : Domain creation ...
    Creating Oracle WebLogic Server domain ...
    Starting Oracle WebLogic Server 12c ...
    Creating Oracle VM Manager user 'admin' ...
    
    Retrieving Oracle VM Manager CLI tool ...
    Extracting Oracle VM Manager CLI tool...
    Installing Oracle VM Manager CLI tool ...
    
    Step 7 of 9 : Deploy ...
    Configuring Https Identity and Trust...
    Deploying Oracle VM Manager Core container ...
    Configuring Client Cert Login...
    Deploying Oracle VM Manager UI Console ...
    Deploying Oracle VM Manager Help ...
    Disabling HTTP access ...
    
    Step 8 of 9 : 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 ...
    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 9 of 9 : 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...
    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                        : 0004fb0000010000084e3ff844fbd888
    
    
    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 you must install the latest ovmcore-console package for your Oracle Linux distribution to gain VNC and serial console access to your Virtual Machines (VMs).
    Please refer to the documentation for more information about this package.
    
    For more information about Oracle Virtualization, please visit:
      http://www.oracle.com/virtualization/
    
    Oracle VM Manager installation complete.
    
    Please remove configuration file /tmp/ovm_configJghj07.
  • 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

Upgrade/backup/restore

  • Backup/Restore for OVMM 3.3
    # service ovmcli stop; service ovmm stop
    # /u01/app/oracle/ovm-manager-3/bin/ovm_upgrade.sh --deletedb --dbhost=localhost --dbport=45900 --dbsid=ovs --dbuser=ovs --dbpass=Welcome1

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