Installation of VM Manager 2.2
Notes:
OS needed
· Oracle Enterprise Linux 4 Update 5 or later
· Red Hat Enterprise Linux Release 4 or later
·
Oracle VM Manager uses Oracle Database 10g Express Edition (Oracle XE) as the management data repository.
Before installing check if libaio package is installed
# /bin/rpm -q libaio.i386
During the Oracle VM Manager installation, we are prompted 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.
Install TightVNC from http://oss.oracle.com/oraclevm/manager/RPMS/
# rpm -ivh tightvnc-java-version.noarch.rpm
Make sure /etc/hosts is properly defined
Installation Logs
Located at /var/log/ovm-manager
db.log oc4j.log ovm-manager.log
Stopping and Starting
/sbin/service oc4j [start|stop|status]
Alternatively, you can use the commands:
/etc/init.d/oc4j [status|start|stop]
For example, to start Oracle VM Manager:
# /sbin/service oc4j start
[root@kens-mgmt-099 ovm2.2]# /sbin/service oc4j status
OC4J is running.
[root@kens-mgmt-099 ovm2.2]# /etc/init.d/oc4j status
OC4J is running.
Database alert log
Located at /usr/lib/oracle/xe/app/oracle/admin/XE/bdump/alert_XE.log
Database ORACLE_SID is XE
XE database ORACLE_HOME is ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
Mount the installation media
Make a directory on the Linux server where we are going to install Oracle VM Manager and copy the OracleVM-Manager-2.2.0.iso file to this directory
[root@kens-mgmt-099 ~]# mkdir /ovm2.2
[root@kens-mgmt-099 ~]# mount -o loop,ro OracleVM-Manager-2.2.0.iso /ovm2.2
[root@kens-mgmt-099 ~]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
52912628 6528484 43652932 14% /
/dev/sda1 101086 23478 72389 25% /boot
tmpfs 3060664 0 3060664 0% /dev/shm
/root/OracleVM-Manager-3.0.1.iso
2490602 2490602 0 100% /mnt/disk
/root/OracleVM-Manager-2.2.0.iso
597944 597944 0 100% /ovm2.2
Installation
[root@kens-mgmt-099 ~]# cd /ovm2.2/
[root@kens-mgmt-099 ovm2.2]# ls
EULA LICENSE readme.txt runInstaller.sh scripts source TRANS.TBL
[root@kens-mgmt-099 ovm2.2]# sh 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 <Enter> 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:
xxx
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:
Confirm the password:
Setting keystore password for Web Service ... Done
Do you want to use HTTPS access for Oracle VM Manager (Y|n)?n
Configuring OC4J to use HTTP ... 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): kens-edge-000.corporateict.domain
Mail server checking, may need some time, please wait ...
Setting the SMTP server to kens-edge-011.corporateict.domain:25 ...
Done
Please enter an e-mail address for account 'admin':
Confirm the e-mail address :
Unable to send an email to '', would you like to change the email address(Y|n)?n
Updating e-mail address for account 'admin' to '' ...
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:
http://10.6.20.99:8888/OVS
To access the Oracle VM Manager web services WSDL page go to:
http://10.6.20.99:8888/OVSWS/LifecycleService.wsdl
http://10.6.20.99:8888/OVSWS/ResourceService.wsdl
http://10.6.20.99:8888/OVSWS/PluginService.wsdl
http://10.6.20.99:8888/OVSWS/ServerPoolService.wsdl
http://10.6.20.99:8888/OVSWS/VirtualMachineService.wsdl
http://10.6.20.99:8888/OVSWS/AdminService.wsdl
To access the Oracle VM Manager help page go to:
http://10.6.20.99:8888/help/help