Atualmente, possuímos para o nosso laboratório 3 computadores Dell Optilex 760. Equipados da seguinte forma:
- 2 Cores de CPU, 4gb de RAM, Oracle Linux 6.6, Oracle VM Manager 3.3.1, NFS File Server,
- 2 Cores de CPU, 4gb de RAM, Oracle VM Server 3.3.1
- 2 Cores de CPU, 4gb de RAM, Oracle VM Server 3.3.1
Neste post, vou demonstrar a instalação do Oracle VM Manager 3.3.1 na máquina física.
Inicialmente baixamos o *.iso de instalação do Oracle VM Manager (V46555-01) no site do https://edelivery.oracle.com.
Hardware mínimo:
Requisitos para instalação:
Hardware mínimo:
Items
|
Minimum Value
|
|---|---|
Memory
|
8.0 GB
|
Processor Type
|
64 bit
|
Processor Speed
|
1.83 GHz*1
|
Swap Space
|
2.1 GB
|
Hard Disk Space
|
5.5 GB in /u01
2 GB in /tmp
500 MB in /var
500 MB in /usr
|
Como podemos ver acima, nossos computadores não atendem o requisito mínimo de memória, mas mesmo assim é possível continuar a instalação. Como este manager vai "maestrar" apenas 2 computadores, o sistema não fica lento!
Sistemas operacionais compatíveis com a instalação:
- Oracle Linux 5 Update 5 64-bit ou posterior;
- Oracle Linux 6 64-bit ou posterior (escolhido);
- Red Hat Enterprise Linux 5 Update 5 64-bit ou posterior;
- Red Hat Enterprise Linux 6 64-bit ou posterior.
Packages necessários:
[root@vmmanager ~]# yum install zip unzip libaio perl
Configuração de rede:
[root@vmmanager ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.0.55 vmmanager.oraex.com.br vmmanager
192.168.0.56 exsrv01.oraex.com.br exsrv01
192.168.0.57 exsrv02.oraex.com.br exsrv02
[root@vmmanager ~]# hostname
vmmanager.localdomain
Portas necessárias:
# iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 7002 -j ACCEPT
# iptables -A INPUT -m state --state NEW -m udp -p udp --dport 123 -j ACCEPT
# iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 54322 -j ACCEPT
# iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 10000 -j ACCEPT
# service iptables save
No nosso caso, preferimos desabilitar o iptables:
[root@vmmanager ~]# chkconfig iptables off
[root@vmmanager ~]# service iptables stop
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading modules: [ OK ]
Configuração do user Oracle:
[root@vmmanager ~]# groupadd dba
[root@vmmanager ~]# useradd -g dba oracle
Caso ele já exista:
[root@vmmanager ~]# usermod -g dba oracle
Limites do user Oracle:
[root@vmmanager ~]# vi /etc/security/limits.conf
oracle hard nofile 8192
oracle soft nofile 8192
oracle soft nproc 4096
oracle hard nproc 4096
oracle soft core unlimited
oracle hard core unlimited
Criação da estrutura de diretório para instalação:
[root@vmmanager ~]# mkdir -p /u01/app/oracle
[root@vmmanager ~]# chmod -R 775 /u01
[root@vmmanager ~]# chown -R oracle:dba /u01
Criação do diretório de mount point e inicio da instalação:
[root@vmmanager Downloads]# pwd
/root/Downloads
[root@vmmanager Downloads]# ls
V46555-01.iso
[root@vmmanager Downloads]# mkdir /OVMCD
[root@vmmanager Downloads]# chmod 775 /OVMCD
[root@vmmanager Downloads]# mount -o loop V46555-01.iso /OVMCD
[root@vmmanager Downloads]# cd /OVMCD
[root@vmmanager OVMCD]#
Instalação
A partir do ultimo passo, basta rodar o script ./runInstaller.sh e seguir a instalação conforme a seguir:
[root@vmmanager OVMCD]# ./runInstaller.sh
Oracle VM Manager Release 3.3.1 Installer
Oracle VM Manager Installer log file:
/var/log/ovmm/ovm-manager-3-install-2015-06-29-232606.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 ...
Verifying installation prerequisites ...
*** WARNING: Recommended memory for the Oracle VM Manager server installation using Local MySql DB is 7680 MB RAM
One password is used for all users created and used during the installation.
Enter a password for all logins used during the installation:
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, more than one IP address are detected: 10.0.2.15 192.168.0.55 [vmmanager.localdomain]:
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 ...
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 : 0004fb000001000098ddc5a3adcc2a6b
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://vmmanager.localdomain: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_configOu7kYA.
Conforme instruções durante a instalação, para acessar ao console do Oracle VM Manager, basta ir ao link:
https://vmmanager.localdomain:7002/ovm/console


Sem comentários:
Enviar um comentário