Post on 12-Sep-2021
Install Oracle VM Manager
Created by : Hans Camu
Date : 22 Jan 2011
http://camoraict.wordpress.com
This paper is the second in a series describing how-to install Oracle VM Server and several Oracle
VM guests. In this paper I will describe how-to install Oracle VM Manager.
I will describe how to create a Oracle Virtual machine using virt-install using a kickstart file. On this
virtual machine Oracle VM Manager will be installed.
The steps described is this paper will be:
Download Oracle VM Manager
Download Oracle Enterprise Linux 5.5 64-bit
Create a kickstart file
Install OEL 5.5 on a virtual machine
Install and configure Oracle VM Manager
Import the created virtual machine into Oracle VM Manager
But first I will start with a quick overview about the Oracle VM Manager components and
requirements.
Oracle VM Manager components All Oracle VM components are available on the ISO image which can be downloaded from
http://edelivery.oracle.com/oraclevm.
These components are:
Oracle VM Manager
This is the Oracle VM Manager application
Oracle Database 10g Express Edition
Although an existing database can be used, while performing a new installation of Oracle VM
Manager, Oracle Database 10g XE can be installed. I will use the XE database in this paper.
Data Collector
Collects data from the server pools and stores the information in the Oracle VM respoitory
database.
Oracle Instance Client
If u decide to use an existing database, the Oracle Instant client can be installed to connect to the
database. In that case the Oracle Instant Client will be installed in the following location:
/opt/ovs-manager-2.2/instantclient-10.2.0.3
Oracle Containers for J2EE (OC4J)
This is the 10.1.3 standalone version, including Application Development Framework (ADF)
10.1.3.3
XML-RPC 3.0
This is the Apache XML-RPC library, which is an implementation of the XML-RPC specification
Hardware requirements
To install Oracle VM Manager your computer must meet the following minimum requirements:
Memory 2 GB
Processor Speed 1.83 GHz
Swap Space 2GB
Hard Disk Space 4 GB
Software requirements The following web browsers support the access to the Oracle VM Manager user interface:
Operating System Oracle Enterprise Linux 4 Update 5 or later
Red Hat Enterprise Linux Release 4 or later
Web Browser Microsoft Internet Explorer 5.5
Microsoft Internet Explorer 6.0
Microsoft Internet Explorer 7.0
Mozilla Firefox 1.0.4
Mozilla Firefox 1.5
Mozilla Firefox 1.7
Mozilla Firefox 2.0
Safafi 2.x (for Mac)
Netscape 7.2
Prerequisite Packages libaio-0.3.106-3.2
Prerequisite Ports Ports 8888 and 8899 must be available
During the Oracle VM Manager installation, you are required to set the following
ports and passwords:
The Oracle XE HTTP port. The default port number is 8080.
The Oracle XE listening port. The default port number is 1521.
The password for the Oracle XE SYS and SYSTEM accounts.
The password for the Oracle VM Manager OVS database schema.
The password for the OC4J oc4jadmin account.
The password for the Web Service keystore file.
The host name of an SMTP server.
The Email address and password for the Oracle VM Manager admin account.
Now we are ready to actually start with the installation.
Follow the next steps to install Oracle VM Manager:
1. Download Oracle VM Manager from here: http://edelivery.oracle.com/oraclevm
2. The complete official guide to install Oracle VM Manager 2.2 is available here: Oracle VM
Manager Installation guide.
3. Download the OEL 5.5 64-bit DVD ISO from here: http://edelivery.oracle.com/linux
4. Copy the Oracle VM Manager and OEL 5.5 64-bit ISO images to the Oracle VM Server with, for
example, WinSCP.
As you can recall from the paper Install Oracle VM Server a /software directory was created.
In this directory create an iso directory to store all iso files needed.
5. Create a mount point directory for the Oracle VM Manager ISO
[root@oraovs01 /]# mkdir -p /mount/OVM
6. Create a mount point directory for the OEL 5.5 64-bit ISO
[root@oraovs01 /]# mkdir -p /mount/OEL5u5_x86_64
7. In a next step a kickstart file for the installation of OEL5.5 wil be created. Create a directory to
store this kickstart file.
[root@oraovs01 /]# mkdir -p /software/kickstart
8. I prefer to keep these mount points available at all times, even after a restart of the Oracle VM
Server. Therefore I will add the moint points to the /etc/exports and /etc/fstab files:
Add the next lines to the /etc/exports file:
[root@oraovs01 /]# vi /etc/exports
/mount/OEL5u5_x86_64 *(ro,root_squash)
/mount/OVM *(ro,root_squash)
/software/kickstart *(ro,root_squash)
Add the next lines to the /etc/fstab file:
[root@oraovs01 /]# vi /etc/fstab
/software/ISO/Enterprise-R5-U5-Server-x86_64-dvd.iso /mount/OEL5u5_x86_64
iso9660 loop,auto 0 0
/software/ISO/OracleVM-Manager-2.2.0.iso /mount/OVM iso9660 loop,auto 0 0
9. Mount the ISO files:
[root@oraovs01 software]# mount -a
10. Check if all mount points are available:
[root@oraovs01 /]# df –h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb2 3.0G 848M 2.0G 30% /
/dev/sdb5 448G 4.2G 420G 1% /software
/dev/sdb1 99M 45M 49M 48% /boot
tmpfs 283M 0 283M 0% /dev/shm
/software/ISO/Enterprise-R5-U5-Server-x86_64-dvd.iso
3.4G 3.4G 0 100% /mount/OEL5u5_x86_64
/software/ISO/OracleVM-Manager-2.2.0.iso
585M 585M 0 100% /mount/OVM
/dev/sda1 1.9T 6.0G 1.9T 1%
/var/ovs/mount/3ED0604DAC404C9C885610990A3512E6
11. Now the NFS service can be started:
[root@oraovs01 /]# service nfs start
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
And check if the moint points have been exported:
[root@oraovs01 /]# exportfs
/mount/OEL5u5_x86_64
<world>
/software/kickstart
<world>
/mount/OVM <world>
12. Configure the nfs service to start on boot:
[root@oraovs01 /]# chkconfig nfs on
[root@oraovs01 /]# chkconfig nfs --list
nfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off
13. Now we are going to create a kickstart file to install OEL5.5 64-bit.
Using a kickstart file will really make your installation easier an much quicker.
Also, with just a few modifications, a kickstart file is reusable for other installations
[root@oraovs01 /]# vi /software/kickstart/OEL5u5_x86_64_OVM.cfg
##START of kickstart file
install
reboot
text
lang en_US.UTF-8
keyboard us
network --device eth0 --bootproto static --ip 192.168.0.201 --netmask
255.255.255.0 --gateway 192.168.0.1 --nameserver 192.168.0.1 --hostname oraovm01
--noipv6
# root pass is oracle
rootpw --iscrypted $1$wGAh8J7a$s3VZ07TWA8EcAUQG7esZt0
firewall --disabled
authconfig --enableshadow --enablemd5
selinux --disable
timezone Europe/Amsterdam
bootloader --location=mbr --driveorder=xvda
clearpart --initlabel
part /boot --fstype ext3 --size=100 --ondisk=xvda
part pv.2 --size=0 --grow --ondisk=xvda
volgroup VolGroup00 --pesize=8192 pv.2
logvol / --fstype ext3 --name=lvsys00 --vgname=VolGroup00 --size=2048 --grow
logvol swap --fstype swap --name=lvsys01 --vgname=VolGroup00 --size=2048
services --disabled sendmail,xfs,bluetooth,cups,ip6tables,iptables
%packages
@base
@core
fipscheck
squashfs-tools
device-mapper-multipath
sgpio
e4fsprogs
oracle-validated
createrepo
audit
sysstat
%post --log=/root/ks-post.log
{
#~-> Remove GRUB's splash image
/bin/ed <<EOT /etc/grub.conf
1,$ s/^splashimage/#splashimage/
.
wq
EOT
# create group
/usr/sbin/groupadd -g 501 dba
#oracle password is oracle
/usr/sbin/useradd -c 'oracle user' -u 500 -p
'$1$wGAh8J7a$s3VZ07TWA8EcAUQG7esZt0' -g dba -G dba oracle
# Setup generic oracle profile
cat > /etc/profile.d/oracle_profile.sh << EOF
# .bash_profile
#
######extend the search path
export PATH=\$PATH:\$HOME/bin
id|grep '(dba)' >/dev/null
if [ \$? = 0 ] ; then
if [ \$USER = "oracle" ]; then
if [ \$SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
fi
####### Set some linux variables
umask 022
if tty -s
then
set -o vi
export EDITOR=vi
export TERM=vt100
stty erase ^?
[ -s "\$MAIL" ] && echo "\$MAILMSG"
fi
####### Environment variables for Oracle
export ORACLE_BASE=/u01/app/oracle
export ORACLE_TERM=vt100
export NLS_LANG=AMERICAN_AMERICA.UTF8
export NLS_DATE_FORMAT='DD-MM-YYYY:HH24:MI:SS'
export NLS_SORT=Binary
export ORAADMIN=\$ORACLE_BASE/admin
export TNS_ADMIN=\$ORAADMIN/network/admin
####### extend search path
export PATH=\${PATH}:/software
###### if interactive session
if tty -s
then
alias l="ls -al"
alias lt="ls -lt|more"
alias rm="rm -i"
alias ob="cd ${ORACLE_BASE}"
alias oh="cd "\${ORACLE_HOME}""
alias oa="cd \${ORAADMIN}"
alias sp="sqlplus /nolog"
alias sid='grep "^.....:" /etc/oratab | sort'
alias up="ps -ef|grep pm[o]n|awk '{print substr(\$NF,10)}'|sort"
alias oracle="sudo su - oracle"
alias root="sudo su -"
fi
####### Set unix prompt
export PS1="\${USER}@\`hostname -s\`:\${PWD} $ "
if tty -s
then
#create aliases for all ORACLE_SIDs
echo -n aliases:
for LINE in \`cat /etc/oratab| sort | grep -v "^*" | grep -vE "#|^[ ]*$"\`
do
sid=\`echo \$LINE|cut -f 1 -d :\`
alias \${sid}="ORAENV_ASK=NO; ORACLE_SID=\${sid}; . oraenv;unset
ORAENV_ASK"
echo -n \${sid}" "
done
echo
fi
#
# Always place personal settings in the my_profile file !
#
if tty -s
then
[ -f "\${HOME}/my_profile" ] && . \${HOME}/my_profile
fi
####### End .profile
EOF
# Setup sudo for oracle
cat > /etc/sudoers << EOF
%rootmembers ALL=NOPASSWD: /bin/su -
%oraclemembers,%rootmembers ALL=NOPASSWD: /bin/su - oracle
oracle ALL=(ALL) NOPASSWD: ALL
root ALL=(ALL) NOPASSWD: ALL
EOF
} 1>/root/ks-post.log 2>&1
##END of kickstart file
We are ready to create a virtual machine. We will use virt-install to create this virtual machine
To prevent you get an error that the kickstart file could not be find, you must first stop the firewall.
To do this stop the iptables service:
[root@oraovs01 /]# service iptables stop
Flushing firewall rules:
Now create a directory to store the files for the virtual machine:
[root@oraovs01 /]# mkdir -p /OVS/local/oraovm01
Now you can create the virtual machine with virt-install:
[root@oraovs01 /]# virt-install -f/OVS/local/oraovm01/System.img -s8 -noraovm01
-r2048 --nographics -p -lnfs:192.168.0.200:/mount/OEL5u5_x86_64 -x
"ks=nfs:192.168.0.200:/software/kickstart/OEL5u5_x86_64_OVM.cfg"
The used options of virt-install are the following:
-f Sets the file to use as the disk image.
-s Sets the size of the disk image in Gigabytes
-n Sets the name of the guest instance.
-r Sets the memory to allocate for a guest instance in Megabytes
--nographics Do not use a graphical console for the guest.
-p Sets the guest as being a paravirtualized guest.
-l Sets the installation source for a paravirtualized guest
-x Any additional arguments to pass to the installer with a paravirtualized
guest.
If you get a screen with the announcement that the kickstart file could not be find, then you
probably have a firewall issue. To solve this, stop the iptables service and try again:
[root@oraovs01 /]# service iptables stop
Flushing firewall rules:
The installation will start immediately without any interaction. A console will be opened
automatically so you can see the progress of the installation.
Unfortunately the installation ends with an error. This error can be ignored.
Guest installation complete... restarting guest.
libvir: Xen Daemon error : internal error domain information incomplete, missing kernel
Entity: line 25: parser error : Opening and ending tag mismatch: os line 5 and domain
</domain>
^
Entity: line 26: parser error : Premature end of data in tag domain line 1
^
libvir: Xen Daemon error : internal error domain information incomplete, missing kernel
Entity: line 25: parser error : Opening and ending tag mismatch: os line 5 and domain
</domain>
^
Entity: line 26: parser error : Premature end of data in tag domain line 1
After this error the virtual machine is restarted. To check this you can use the xm command:
[root@oraovs01 /]# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 564 8 r----- 782.2
oraovm01 2 2048 1 -b---- 15.8
To open a console for the new virtual machine:
[root@oraovs01 /]# xm console oraovm01
Now you can login as root (and password oracle, as set in the kickstart file).
Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
Kernel 2.6.18-194.el5xen on an x86_64
oraovm01 login: root
Password:
Let’s do a few quick checks to make sure the name and ip-address of the virtual machine is as
expected:
[root@oraovs01 /]# uname -a
Linux oraovm01 2.6.18-194.el5xen #1 SMP Mon Mar 29 22:22:00 EDT 2010 x86_64
x86_64 x86_64 GNU/Linux
[root@oraovs01 /]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:16:3E:6E:94:06
inet addr:192.168.0.201 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::216:3eff:fe6e:9406/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:100 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:31501 (30.7 KiB) TX bytes:4732 (4.6 KiB)
Check if the libaio package is installed:
root@oraovm01::/root
$ /bin/rpm -q libaio.i386
libaio-0.3.106-5
Make sure port 8888 and 8899 are available. If no response if given, the ports are available.
root@oraovm01::/root
$ netstat -na |grep 8888
root@oraovm01::/root
$ netstat -na |grep 8899
And YES, the virtual machine looks fine!
Now we are ready to install Oracle VM Manager on this virtual machine.
14. On the Oracle VM Server we have exported the OVM mount point in a previous step.
We will use this to install Oracle VM Manager.
First create a directory in the new virtual machine to mount the OVM installation directory:
root@oraovm01::/root
$ mkdir /OVM-mnt
Now mount the OVM installation directory:
root@oraovm01::/root
$ mount -t nfs 192.168.0.200:/mount/OVM /OVM-mnt
The Oracle VM Manager installation files are now available for use:
root@oraovm01::/root
$ ls -ltr /OVM-mnt
total 109
-r--r--r-- 1 root root 4180 Jul 13 2009 readme.txt
-r--r--r-- 1 root root 6922 Jul 13 2009 LICENSE
-r--r--r-- 1 root root 6922 Jul 13 2009 EULA
-r-xr-xr-x 1 root root 80530 Sep 25 2009 runInstaller.sh
dr-xr-xr-x 2 root root 6144 Oct 13 2009 scripts
dr-xr-xr-x 2 root root 4096 Oct 13 2009 source
-r--r--r-- 1 root root 1321 Oct 13 2009 TRANS.TBL
Change to the moint point you created and start the installation with the runInstaller.sh script:
root@oraovm01::/root
$ cd /OVM-mnt
root@oraovm01::/root
$ ./runInstaller.sh
15. Enter choice 1 to install Oracle VM Manager:
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
The installation of Oracle VM Manager will start
16. You can choose to use an existing database in the network or create a local Oracle XE database.
Choose 1 to install a local Oracle XE database:
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
17. Enter the HTTP port to use for Oracle Application Express.
Press Enter to accept the default setting of 8080:
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 <Enter> to accept the defaults.
Ctrl-C will abort.
Specify the HTTP port that will be used for Oracle Application Express [8080]:
18. Enter the port to use for the database listener.
Press Enter to accept the default setting of 1521:
Specify a port that will be used for the database listener [1521]:
19. Enter the password to use for the SYS and SYSTEM accounts for the Oracle XE database and
confirm this password:
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:
20. Accept the default setting of starting the Oracle XE database on boot.
Press Enter to accept this default setting:
Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:
This listener will now be started en the database will be created and configured.
To access the Database Home Page go to "http://127.0.0.1:8080/apex"
21. Enter the password to use for the OVS account for the Oracle VM Manager database and confirm
this password:
Set default database schema to 'OVS'.
Please enter the password for account 'OVS':
Confirm the password:
22. The installation continues with installing the Oracle VM Manager packages and OC4J.
As soon as this is finished enter a password to use for the oc4jadmin account and confirm this
password:
Please enter the password for account 'oc4jadmin':
Confirm the password:
23. Enter a password to use for the Web Service keystore file and confirm this password:
Please enter the keystore password for the Web Service:
Confirm the password:
24. I don’t use HTTPS to access the Oracle VM Manager. Enter n to use HTTP:
Do you want to use HTTPS access for Oracle VM Manager (Y|n)?n
25. Enter the password to use for the default Oracle VM Manager account admin and confirm this
password:
Please enter the password for the default account 'admin':
Confirm the password:
26. Enter the hostname for a SMTP server. The mail server check will fail because this host can’t be
reached. Enter n to prevent a retry to verify this mail server:
Configuring SMTP server ...
Please enter the outgoing SMTP mail server(e.g. - mail.abc.com,
mail.abc.com:25): smtp.dummy.com
Mail server checking, may need some time, please wait ...
Mail server smtp.dummy.com' check failed, enter Y to change the name and retry
or N to keep hostname and continue(Y|n)?n
Setting the SMTP server to smtp.dummy.com ...
Done
27. Enter the email address for the Oracle VM Manager admin account and confirm this email
address. Because this email address can’t be reached enter n to prevent a retry to verify this email
address:
Please enter an e-mail address for account 'admin': foo@dummy.com
Confirm the e-mail address : foo@dummy.com
Unable to send an email to 'foo@dummy.com', would you like to change the email
address(Y|n)?n
Updating e-mail address for account 'admin' to 'foo@dummy.com' ...
Done
28. The installation is now completed successfully.
The following URLs can be used to access Oracle VM Manager and its components:
To access the Oracle VM Manager 2.2 home page go to:
http://127.0.0.1:8888/OVS
To access the Oracle VM Manager web services WSDL page go to:
http://127.0.0.1:8888/OVSWS/LifecycleService.wsdl
http://127.0.0.1:8888/OVSWS/ResourceService.wsdl
http://127.0.0.1:8888/OVSWS/PluginService.wsdl
http://127.0.0.1:8888/OVSWS/ServerPoolService.wsdl
http://127.0.0.1:8888/OVSWS/VirtualMachineService.wsdl
http://127.0.0.1:8888/OVSWS/AdminService.wsdl
To access the Oracle VM Manager help page go to:
http://127.0.0.1:8888/help/help
29. To access virtual machines using the Oracle VM Manager UI with the Console feature, you must
install TightVNC. This applet enables non-Linux users to connect to a virtual machine’s console.
TightVNC must be installed on the Oracle VM Manager host.
Download the TightVNC package from here:
http://oss.oracle.com/oraclevm/manager/RPMS/
Copy the TightVNC package to the Oracle VM Manager host with, for example, WinSCP and
then install the package:
root@oraovm01:/root $ rpm -ivh tightvnc-java-1.3.9-3.noarch.rpm
warning: tightvnc-java-1.3.9-3.noarch.rpm: Header V3 DSA signature: NOKEY, key
ID 1e5e0159
Preparing... ########################################### [100%]
1:tightvnc-java ########################################### [100%]
30. At this moment is it possible to access Oracle VM Manager with a web browser. But in the UI you
will not find the Oracle VM Manager virtual machine, because the directory structure must meet
the requirements. To access virtual machines from Oracle VM Manager a virtual machine must be
available in the directory /OVS/running_pool/<virtual machine name>. In the next steps we will
import the Oracle VM Virtual machine into Oracle VM Manager.
If you are not still in the console then fist login to the Oracle VM Manager virtual machine to
modify a few settings. Use the root account to login:
[root@oraovs01 ~]# xm console oraovm01
Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
Kernel 2.6.18-194.el5xen on an x86_64
oraovm01 login: root
Password:
Last login: Sat Jan 22 14:02:18 on xvc0
aliases:XE
root@oraovm01:/root $
31. Edit the /etc/grub.conf file and remove the addition console=xvc0.
Change line:
kernel /vmlinuz-2.6.18-194.el5xen ro root=/dev/VolGroup00/lvsys00 console=xvc0
into:
kernel /vmlinuz-2.6.18-194.el5xen ro root=/dev/VolGroup00/lvsys00
32. Modify the /etc/inittab file and remove # for starting the terminal window.
Change line:
#1:2345:respawn:/sbin/mingetty tty1
into:
1:2345:respawn:/sbin/mingetty tty1
33. Now stop the virtual machine with the poweroff command:
root@oraovm01:/root $ poweroff
Broadcast message from root (xvc0) (Sat Jan 22 15:38:34 2011):
The system is going down for system halt NOW!
34. Check if the virtual machine has been stopped with the xm command:
[root@oraovs01 ~]# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 564 8 r----- 822.2
If the virtual machine hasn’t stopped, then this can be done with the command:
[root@oraovs01 ~]# xm shutdown oraovm01
35. Move directory /OVS/local/oraovm01 to /OVS/running_pool:
[root@oraovs01 ~]# mv -v /OVS/local/oraovm01 /OVS/running_pool/
`/OVS/local/oraovm01' -> `/OVS/running_pool/oraovm01'
36. Move the virtual machine configuration file /etc/xen/oraovm01 to directory
/OVS/running/pool/oraovm01:
[root@oraovs01 ~]# mv -v /etc/xen/oraovm01 /OVS/running_pool/oraovm01/vm.cfg
`/etc/xen/oraovm01' -> `/OVS/running_pool/oraovm01/vm.cfg'
removed `/etc/xen/oraovm01'
37. Modify the Oracle VM Manager virtual machine’s configuration file to point to the new diskfile
location:
[root@oraovs01 ~]# vi /OVS/running_pool/oraovm01/vm.cfg
Change line:
disk = [ 'file:/OVS/local/oraovm01/System.img,xvda,w', ]
into:
disk = [ 'file:/OVS/running_pool/oraovm01/System.img,xvda,w', ]
38. Now start the Oracle VM Manager virtual machine with the xm command:
[root@oraovs01 ~]# xm create -c /OVS/running_pool/oraovm01/vm.cfg
Using config file "/OVS/running_pool/oraovm01/vm.cfg".
The -c option automatically connects you to the console of the virtual machine. You are now able
to monitor the startup of the virtual machine.
Once you get a prompt and you can login, the virtual machine is started correctly.
39. Edit the /etc/hosts file (also perform this step on your Oracle VM Server):
$ vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.0.200 oraovs01
192.168.0.201 oraovm01
To use hostnames instead of ip-addresses you can also edit the hosts file from where you use your
web browser. In windows for example, the location is C:\Windows\System32\drivers\etc\hosts.
To exit the console use Control] (Control + ]).
40. Login to Oracle VM Manager with a web browser (http://oraovm01:8888/OVS).
First we have to add the Oracle VM Server to a server pool:
Click Next to start the Server Pool configuration wizard.
41. Specify the details of the Oracle VM Server:
Server Pool Name ovspool01
Server Host/IP oraovs01
Server Name oraovs01
Server Agent Password your ovs-agent password
Server Username root
Server Password oracle (set in kickstart file)
Click Test Connection to check if a connection can be established with the server.
42. Now create the serverpool:
Click Create
The serverpool is now created and contains the Oracle VM Server.
43. Navigate to tab Servers to check if oraovs01 is active:
44. Navigate to tab Resources and in this tab click Virtual Machine Images:
Click button Import
45. Select radio button Select from Server Pool (Discover and register) and click button Next:
46. Specify the details of the virtual machine:
Server Pool Name ovspool01
Sharing Private
Virtual Machine Image Name oraovm01
Operating System Oracle Enterprise Linux 5 64-bit
Virtual Machine System Username root
Virtal Machine System Password oracle (set in kickstart file)
Console Password Set at your own choice
Confirm Console Password Confirm previous set password
Description Oracle VM Manager
Click button Next
47. Check the details and if correct click button Confirm:
48. As soon as the virtual machine is imported into Oracle VM Manager the virtual machine has the
status pending. Before you can use this virtual machine in Oracle VM Manager you must approve
it first.
Click button Approve
49. Check the details and if correct click button Approve:
50. The virtual machine is now approved for use in Oracle VM Manager. Navigate to tab Virtual
Machines to check the imported virtual machine:
Congratulations. The installation is complete!
You have created a virtual machine, installed Oracle VM Manager onto the virtual machine and
added the virtual machine to Oracle VM Manager.
In a next paper I will discuss some of the components of Oracle VM Manager.