Step:-1
Mount the Oracle VM Manager iso DVD to the Oracle Linux 6.5 server.
[root@test Desktop]$ cd /media/
[root@test media]$ ls
OVMManagerInstaller3.3.2_b1072
[root@test media]$ cd OVMManagerInstaller3.3.2_b1072/
[root@test OVMManagerInstaller3.3.2_b1072]$ pwd
/media/OVMManagerInstaller3.3.2_b1072
[root@test OVMManagerInstaller3.3.2_b1072]# ls
components EULA oracle-validated.params OvmSDK_3.3.2.1072.zip TRANS.TBL
createOracle.sh LICENSE ovmm-installer.bsx runInstaller.sh
Step:-2
Run the ‘createOracle.sh’ script to create the oracle user and fix prerequisite settings on the server.
[root@test OVMManagerInstaller3.3.2_b1072]# ./createOracle.sh
Adding group 'oinstall' with gid '54322' ...
groupadd: group 'oinstall' already exists
Adding group 'dba'
groupadd: group 'dba' already exists
Adding user 'oracle' with user id '54321', initial login group 'dba', supplementary group 'oinstall' and home directory '/home/oracle' ...
User 'oracle' already exists ...
uid=500(oracle) gid=501(dba) groups=501(dba)
Creating user 'oracle' succeeded ...
For security reasons, no default password was set for user 'oracle'. If you wish to login as the 'oracle' user, you will need to set a password for this account.
Verifying user 'oracle' OS prerequisites for Oracle VM Manager ...
oracle soft nofile 8192
oracle hard nofile 65536
oracle soft nproc 2048
oracle hard nproc 16384
oracle soft stack 10240
oracle hard stack 32768
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 ...
Changing '/u01/app' permission to 755 ...
Changing '/u01/app/oracle' permission to 755 ...
Modifying iptables for OVM
Adding rules to enable access to:
7002 : Oracle VM Manager https
54322 : Oracle VM Manager core via SSL
123 : NTP
10000 : Oracle VM Manager CLI Tool
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]
Rules added.
[root@test OVMManagerInstaller3.3.2_b1072]#
Step:-3
Install required packages.
[root@test ~]# yum -y install zip unzip libaio
Step:-4
check that the disk that ‘/u01′ is on has at least 7GB of free space. Then run the installer.
[root@test u01]# cd /media/OVMManagerInstaller3.3.2_b1072/
[root@test OVMManagerInstaller3.3.2_b1072]# ll
total 145847
drwxr-xr-x. 6 oracle dba 6144 Jan 14 23:28 components
-r-xr-x---. 1 oracle dba 10794 Jan 14 23:25 createOracle.sh
-rw-r--r--. 1 oracle dba 6960 Jan 14 23:27 EULA
-rw-r--r--. 1 oracle dba 6960 Jan 14 23:27 LICENSE
-rw-r--r--. 1 oracle dba 230 Jan 14 23:25 oracle-validated.params
-r-xr-x---. 1 oracle dba 145562470 Jan 14 23:28 ovmm-installer.bsx
-rw-r--r--. 1 oracle dba 3748766 Jan 14 23:20 OvmSDK_3.3.2.1072.zip
-r-xr-x---. 1 oracle dba 687 Jan 14 23:27 runInstaller.sh
-r--r--r--. 1 oracle dba 1809 Jan 14 23:28 TRANS.TBL
Step:-5
If there is a prerequisite that fails that you know is ok then you can ignore it with the ‘-n’ parameter.
[root@test OVMManagerInstaller3.3.2_b1072]# ./runInstaller.sh
[root@test OVMManagerInstaller3.3.2_b1072]# ./runInstaller.sh -n
Oracle VM Manager Release 3.3.2 Installer
Oracle VM Manager Installer log file:
/var/log/ovmm/ovm-manager-3-install-2015-06-19-171425.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 ...
Ignoring prerequisites check ...
One password is used for all users created and used during the installation.
Enter a password for all logins used during the installation: <***********>
Invalid password.
Passwords need to be between 8 and 16 characters in length.
Passwords must contain at least 1 lower case and 1 upper case letter.
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 192.168.1.115 [test.sujeet.com]: test.sujeet.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 ...
Error 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 : 0004fb000001000048756aea95d745ff
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://test.sujeet.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_configl5tPNb.
[root@test OVMManagerInstaller3.3.2_b1072]#
The remove the file mentioned in the last line.
[root@test tmp]# rm -rf ovm_configl5tPNb
Oracle VM Manager 3.3.1 is now installer and can be reached at ‘https://test.sujeet.com:7002/ovm/console/faces/login.jspx.
User:- Admin
password:- same as you use at installation time.<***********>
Starting and Stopping Oracle VM Manager
When Oracle VM Manager is installed, it is set to automatically start when the operating system starts. If you want to disable this, enter:
# chkconfig ovmm off
Note
If you chose to start Oracle XE manually during the installation, start Oracle XE before you start Oracle VM Manager.
To manually start or stop Oracle VM Manager, as the root user, use the syntax:
/sbin/service ovmm [start|stop|status]
For example, to start Oracle VM Manager:
# /sbin/service ovmm start
To stop Oracle VM Manager:
# /sbin/service ovmm stop
To check the status of Oracle VM Manager:
# /sbin/service ovmm status
[root@test Desktop]# chkconfig ovmm on
[root@test Desktop]# /sbin/service ovmm start
Oracle VM Manager is running...
[root@test Desktop]# /sbin/service ovmm status
Oracle VM Manager is running...
[root@test Desktop]# /usr/bin/system-config-services
The status option returns either a 0 or a 1. A 0 denotes the Oracle VM Manager application is running, and a 1 denotes the application is stopped.
If the Oracle VM Manager host computer runs a full graphical desktop environment, you can also use the Services dialog to start and stop Oracle VM Manager. From the Applications menu, select System Settings > Server Settings > Services. Or by running the following command in a terminal to use display Services dialog:
# /usr/bin/system-config-services
In the Service Configuration dialog, select ovmm to check the status, and start or stop it.
****************************END**************************************
No comments:
Post a Comment