Amazon books

Friday, May 9, 2014

Some OAKCLI Commands - ODA X4 Installed on VM with Weblogic

I just finish an ODA X4 installation using Oracle VM and deployed a WLS template. Everything was fine. You must not forget to download 2.9 Configurator for WLS. The 2.7 doesn't work.

Some commands that may help admin this env:

--COmandos OAKCLI Abramus

1-Modify some resources on a VM:

cd /opt/oracle/oak/bin

./oakcli stop vm WLS_1_mydomain_mycluster_1

./oakcli configure vm WLS_1_mydomain_mycluster_1 -vcpu 3 -memory 4196

./oakcli start vm WLS_1_mydomain_mycluster_1


2-Completely delete a VM

cd /opt/oracle/oak/bin

./oakcli stop vm WLS_mydomain_ManagedServer_8

./oakcli delete vm WLS_mydomain_ManagedServer_8

3-Undeploy and WLS environment

./cleanup.sh

4-Accessing your Admin Console of WLS env:


https://admin-server-ip:listen-port/console
https://10.0.1.186:7001/console

5-Show your VMs created:

oakcli show vm
oakcli show vmtemplates

6-Create new CPU pools

oakcli create cpupool wlsCpuPool -numcpu 8 -node 0
oakcli create cpupool wlsCpuPool -numcpu 8 -node 1


7-Create new databases on ODA X4:
oakcli create database -db sales1 -version 11.2.0.4
oakcli create database -db sales2 -oh home2 -params salesdbtemplate

8-Create new databases configuration files

oakcli create db_config_params -conf filename
oakcli show db_config_params

9-Upgrading database in ODA

oakcli show databases
oakcli update -patch 2.6.0.0.0 --database (from node 0)
oakcli show databases




Best Regards,
Paulo Portugal


No comments:

Post a Comment