Transaction Management in Database Management System
Oracle virtual server-2-t0-3-upgrade
1. PREPARED BY RAVI KUMAR LANKE Page 1
Oracle Virtual Server 3.0 Upgrade / Install
Computers
by Dave Malpass
I am upgrading my OVM 2.2 Server and Manager components to 3.0.1
First of all, there is no clean upgrade path for the OVM Manager or Servers. You have to install
new and then import your existing Virtual Servers as well as all VM Templates and resources.
My existing environment included 2 OVM 2.2 servers running on 2 x 8GB AMD x4 955′s and 1
OVM Manager running on OEL5 32 bit VirtualBox image.
Step 1
Install new OVM 3.01 manager on OEL 5.5 64 Linux or higher. I built this using VirtualBox
running on my Winders7 AMD x6 8GB RAM system. The base architecture of the manager has
changed from a simple OC4J based application server to a full Oracle Weblogic 11g using ADF
framework. Needless to say, it need a bunch more resources.
VirtualBox Configuration:
OEL 5 update 5 64bit
4096GB RAM
35GB Disk
1 cpu core
The Network mode on the VirtualBox needed to be ―Bridged‖ using an additional wireless USB
adapter. This was due to the Manager needing to actuall be on the internal home network
(pingable) as well as the OVM Manager needs to be able to access the NAS mounts for
repository setup.
—
Please select an installation type:
1: Simple
2: Standard
3: Uninstall
4: Help
Select Number (1-4): 1
Starting simple installation …
Verifying installation prerequisites …
2. PREPARED BY RAVI KUMAR LANKE Page 2
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 9 : Database …
Installing Database …
Retrieving Oracle Database 11g XE …
Installing Oracle Database 11g XE …
Configuring Oracle Database 11g XE …
Step 2 of 9 : Java …
Installing Java …
Step 3 of 9 : Database Schema …
Creating database schema ‗ovs‘ …
Step 4 of 9 : WebLogic …
Retrieving Oracle WebLogic Server 11g …
Installing Oracle WebLogic Server 11g …
Step 5 of 9 : ADF …
Retrieving Oracle Application Development Framework (ADF) …
Unzipping Oracle ADF …
Installing Oracle ADF …
Step 6 of 9 : Oracle VM …
Retrieving Oracle VM Manager Application …
Extracting Oracle VM Manager Application …
Installing Oracle VM Manager Core …
Step 7 of 9 : Domain creation …
Creating Oracle WebLogic Server domain …
Starting Oracle WebLogic Server 11g …
Configuring data source ‗OVMDS‘ …
Creating Oracle VM Manager user ‗admin‘ …
Step 8 of 9 : Deploy …
Deploying Oracle VM Manager Core container …
Deploying Oracle VM Manager UI Console …
Deploying Oracle VM Manager Help …
Enabling HTTPS …
Granting ovm-admin role to user ‗admin‘ …
3. PREPARED BY RAVI KUMAR LANKE Page 3
Step 9 of 9 : Oracle VM Manager Shell …
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 …
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‘ …
Enabling Oracle VM Manager service …
Oracle VM Manager installed.
Installation Summary
——————–
Database configuration:
Database host name : localhost
Database instance name (SID): XE
Database listener port : 1521
Application Express port : 8080
Oracle VM Manager schema : ovs
Weblogic Server configuration:
Administration username : weblogic
Oracle VM Manager configuration:
Username : admin
Core management port : 54321
UUID : 0004fb000001000004f4d09a3a740e9c
Passwords:
There are no default passwords for any users. The passwords to use for Oracle VM Manager,
Oracle Database 11g XE, 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:
http://localhost.localdomain:7001/ovm/console
https://localhost.localdomain:7002/ovm/console
Log in with the user ‗admin‘, and the password you set during the installation.
4. PREPARED BY RAVI KUMAR LANKE Page 4
Please note that you need to install tight-vnc on this computer to access a virtual machine‘s
console.
For more information about Oracle Virtualization, please visit:
http://www.oracle.com/virtualization/
Oracle VM Manager installation complete
Next you need to make sure you have your existing Repository backed up or stored on NAS
somewhere. This is because during the upgrade / migration, you will need to import your
existing VMs.
Put in the 3.0.1 DVD and follow the 3 minute installation procedure basically just adding your
hostname and IP address.
After completion you should have a generic 1 to 2 ethernet server that is capable of hosting your
VMs
Network configuration is as follows:
bond0 Link encap:Ethernet HWaddr 00:0E:2E:60:71:40
inet addr:192.168.2.89 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:71434 errors:0 dropped:0 overruns:0 frame:0
TX packets:116916 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12097769 (11.5 MiB) TX bytes:151946398 (144.9 MiB)
eth0 Link encap:Ethernet HWaddr 00:0E:2E:60:71:40
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:71434 errors:0 dropped:0 overruns:0 frame:0
TX packets:116916 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12097769 (11.5 MiB) TX bytes:151946398 (144.9 MiB)
Interrupt:20 Base address:0x2c00
eth1 Link encap:Ethernet HWaddr 00:0E:2E:60:7C:9E
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:21 Base address:0x6800
5. PREPARED BY RAVI KUMAR LANKE Page 5
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:790 errors:0 dropped:0 overruns:0 frame:0
TX packets:790 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:169064 (165.1 KiB) TX bytes:169064 (165.1 KiB)