Mar 8, 2018

Oracle VM Server x86: Installing Oracle VM Manager

First check the hardware requirements:


After downloading the right image (please do not laugh, this is really a problem), inside a Oracle Linux the following steps have to be done:

mount /dev/cdrom /mnt
mount: /dev/sr0 is write-protected, mounting read-only
and
# ls /mnt/
components       oracle-validated.params  OvmSDK_3.4.4.1709.zip  sample.yml
createOracle.sh  ovmm-installer.bsx       runInstaller.sh        TRANS.TBL
First try:
[root@localhost ~]# /mnt/createOracle.sh
Missing required package, Oracle VM Manager requires 'iptables-services' to be installed, you can use 'yum install iptables-services' to install it.
Ok:
[root@localhost ~]# yum install iptables-services
And here we go:
# /mnt/createOracle.sh
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
Created symlink from /etc/systemd/system/basic.target.wants/iptables.service to /usr/lib/systemd/system/iptables.service.
Adding group 'oinstall' with gid '54321' ...
Adding group 'dba'
Adding user 'oracle' with user id '54321', initial login group 'dba', supplementary group 'oinstall' and  home directory '/home/oracle' ...
Changing ownership of '/home/oracle' to oracle: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 ...
Creating mountpoint '/u01' ...
Modifying iptables for OVM
Adding rules to enable access to:
     7002  : Oracle VM Manager https
       123 : NTP
     10000 : Oracle VM Manager CLI Tool
Redirecting to /bin/systemctl status iptables.service
Redirecting to /bin/systemctl status iptables.service
Redirecting to /bin/systemctl restart iptables.service
iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]
Redirecting to /bin/systemctl restart iptables.service
Rules added.
Before starting the "runInstaller.sh" i had to install the following packages:
yum install zip unzip net-tools perl-Data-Dumper
But then:
[root@localhost ~]# /mnt/runInstaller.sh

Oracle VM Manager Release 3.4.4 Installer

Oracle VM Manager Installer log file:
/var/log/ovmm/ovm-manager-3-install-2018-02-22-163152.log

Please select an installation type:
   1: Install
   2: Upgrade
   3: Uninstall
   4: Help

   Select Number (1-4): 1

Verifying installation prerequisites ...





And ready for login:


No comments:

Post a Comment