Oracle Database Administration, Oracle Developer Suite, Oracle JDeveloper, Oracle BI Publisher, Oracle Forms/Reports,Oracle SQL Developer

Installing Oracle VM Server 2.2.1, Oracle VM Manager 2.2.0

Installing Oracle VM Server 2.2.1, Oracle VM Manager 2.2.0 

Oracle Virtualization – Installing Oracle VM Server 2.2.1, Oracle VM Manager 2.2.0
Oracle provides virtualization software ranging from bare metal implementations based on Oracle VM Server to a Microsoft Windows/Linux/Mac OS and Solaris deployments based on Oracle Virtual Box. Oracle VM Manager facilitates management of Oracle VM Server.
In real life Oracle VM server runs on a dedicated set of servers and is installed as a bare metal product without the need of an Operating system. Oracle VM Manager is installed on a Linux box. Oracle VirtualBox can be successfully used for testing and self-study of the new features.
1. VirtualBox configuration to run VMserver machine and VMManager machine.
The article assumes that the VirtualBox is downloaded and installed and that both virtual machines are configured as follows.


OEL 54 is installed as a base OS for the OracleVMManager while Oracle VM Server is used for the OracleVM machine. The latter will be discussed in greater details in bullet item 2. Note that in case of OracleVMManager machine Guest additions are installed and the shared folder feature is enabled by placing in the guest /etc/rc.local the following command’ mount -t vboxsf OracleVMServer /media/windows’. Both machines also have multiple NIC defined. Bridged interfaces are required for the ORacleVM and OracleVMManager setup. NAP is for access to the Internet and the host-only adapters are for access from the host OS (Microsoft Windows in my case). All iso images are in the shared folder and the OEL or Oracle VM server iso is specified for the initial OEL and Oracle VM Server installation. For additional information related to OEL installation

2. Installation of Oracle VM Server
Specify the Oracle-VM-Server-2.2.1.iso and start the OracleVM machine.


Skip the testing if already sure about the physical integrity of the media. Press Skip to continue.


Select the model of the keyboard and press OK.


Initialize the drive.


OK the default.


Select Yes to continue.


Review the layout and press OK to continue.


Press OK to continue.


Select eth3 interface for the VM management. Press OK to continue.


Enter 198.169.2.41 and the mask 255.255.255.0. Remember that this address will be used to talk to the Oracle VM Manager later.


Enter the gateway and DNS information as specified below.


Select a hostname and press OK to continue.


Select the time zone and press OK to continue.


Enter a password for the Oracle VM agent and press OK to continue.


Enter the root password and press OK to continue.


Press OK to continue and take a note of the location.


Wait for the installation to complete.


Wait for the installation to complete.


When installation completes press Reboot.


Acknowledge the license agreement.


After that you are about to login.


3. Installation of Oracle VM Manager
The article assumes that OEL is installed and networking is configured so that both OracleVM machine and OracleVM Manager machine can communicate. The /etc/hosts is as follows.
[root@oraclevmmgr racovm]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.2.18 oraclevmmgr.gj.com oraclevmmgr
192.168.2.41 oraclevm.gj.com oraclevm
[root@oraclevmmgr racovm]#
If only iso is available mount it as follows.
[root@oraclevmmgr cdrom]# mount -o loop,rw OracleVM-Manager-2.2.0.iso /media/cdrom
[root@oraclevmmgr cdrom]# cd /media/cdrom
[root@oraclevmmgr cdrom]# ls
EULA LICENSE readme.txt runInstaller.sh scripts source TRANS.TBL
[root@oraclevmmgr cdrom]# ./runInstaller.sh
bash: ./runInstaller.sh: Permission denied
Copy directory structure to a new location to be able to set the permissions.
[root@oraclevmmgr cdrom]# mkdir /media/vmmanager
[root@oraclevmmgr cdrom]# ls
EULA LICENSE readme.txt runInstaller.sh scripts source TRANS.TBL
[root@oraclevmmgr cdrom]# cd ../vmmanager
[root@oraclevmmgr vmmanager]# ls
[root@oraclevmmgr vmmanager]# cp -R /media/cdrom .
[root@oraclevmmgr vmmanager]# ls
cdrom
[root@oraclevmmgr vmmanager]# cd cdrom
[root@oraclevmmgr cdrom]# ls
EULA LICENSE readme.txt runInstaller.sh scripts source TRANS.TBL
[root@oraclevmmgr cdrom]# ./runInstaller.sh
bash: ./runInstaller.sh: Permission denied
[root@oraclevmmgr cdrom]# chmod 777 runInstaller.sh
[root@oraclevmmgr cdrom]#
Execute the installer and respond to the prompts.
[root@oraclevmmgr cdrom]#

[root@oraclevmmgr cdrom]# ./runInstaller.sh

Welcome to Oracle VM Manager 2.2
Please enter the choice: [1|2|3]
1. Install Oracle VM Manager
2. Uninstall Oracle VM Manager
3. Upgrade Oracle VM Manager
1
Starting Oracle VM Manager 2.2 installation …
Do you want to install a new database or use an existing one? [1|2]
1. Install a new Oracle XE database on localhost
2. Use an existing Oracle database in my network
1
Prepare to install the Oracle XE database …
Checking the supported platforms … Done
Checking the prerequisite packages are installed … Done
Checking the available disk space … Done
Installing the oracle-xe-univ package (rpm) now …
Done

Oracle Database 10g Express Edition Configuration
————————————————-
This will configure on-boot properties of Oracle Database 10g Express
Edition. The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts. Press to accept the defaults.
Ctrl-C will abort.
Specify the HTTP port that will be used for Oracle Application Express [8080]:
Specify a port that will be used for the database listener [1521]:
Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:
Confirm the password:
Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:
Starting Oracle Net Listener…Done
Configuring Database…Done
Starting Oracle Database 10g Express Edition Instance…Done
Installation Completed Successfully.
To access the Database Home Page go to “http://127.0.0.1:8080/apex”
Checking the availability of the database …
Set default database schema to ‘OVS’.
Please enter the password for account ‘OVS’:
Confirm the password:
Creating the Oracle VM Manager database schema …Done
Installing the ovs-manager package (rpm) …
Done
Installing the oc4j package (rpm) …
Done
Please enter the password for account ‘oc4jadmin’:
Confirm the password:
Starting OC4J … Done.
To access the OC4J Home Page and change the password go to http://127.0.0.1:8888/em
Deploying Oracle VM Manager application to OC4J container.
Creating connection pool … Done
Creating data source … Done
Deploying application help … Done
Deploying application … Done
Please enter the keystore password for the Web Service:
Password must be at least 6 characters. Enter password:
Confirm the password:
Setting keystore password for Web Service …administ Done
Do you want to use HTTPS access for Oracle VM Manager (Y|n)Y
Configuring OC4J to use HTTPS … Done
Stopping OC4J … Done
Starting OC4J … Done
Please enter the password for the default account ‘admin’:
Confirm the password:
Configuring SMTP server …
Please enter the outgoing SMTP mail server(e.g. – mail.abc.com, mail.abc.com:25): oraclevmmgr
Mail server checking, may need some time, please wait …
Mail server ‘oraclevmmgr’ check failed, enter Y to change the name and retry or N to keep hostname and continue(Y|n)?localhost
Please enter the outgoing SMTP mail server(e.g. – mail.abc.com, mail.abc.com:25): localhost
Mail server checking, may need some time, please wait …
Setting the SMTP server to localhost …
Done
Please enter an e-mail address for account ‘admin’: root@localhost
Confirm the e-mail address : root@localhost
Updating e-mail address for account ‘admin’ to ‘root@localhost’ …
Done
The console feature is not enabled by default.
For detailed setup, refer to Oracle VM Manager User’s Guide
Installation of Oracle VM Manager completed successfully.
To access the Oracle VM Manager 2.2 home page go to:
https://192.168.2.18:4443/OVS
To access the Oracle VM Manager web services WSDL page go to:
https://192.168.2.18:4443/OVSWS/LifecycleService.wsdl
https://192.168.2.18:4443/OVSWS/ResourceService.wsdl
https://192.168.2.18:4443/OVSWS/PluginService.wsdl
https://192.168.2.18:4443/OVSWS/ServerPoolService.wsdl
https://192.168.2.18:4443/OVSWS/VirtualMachineService.wsdl
https://192.168.2.18:4443/OVSWS/AdminService.wsdl
To access the Oracle VM Manager help page go to:
https://192.168.2.18:4443/help/help
You have mail in /var/spool/mail/root
[root@oraclevmmgr cdrom]#

Now once Oracle VM Manager is installed and configured spicefy the URL above to access it with a browser.


After login we have


A server pool needs to be defined. Press Next to continue. Enter the name of the server pool and the hostname of the server where the Oracle VM Server is installed along with the server agent password and login credentials.


Press Create button to create the server pool.