Search This Blog

Tuesday, February 20, 2018

How to use Oracle Linux 7 Oracle VM 3 Template on a Oracle VM without Oracle VM Manager installed

How to use Oracle Linux 7 Oracle VM 3 Template on a Oracle VM without Oracle VM Manager installed

Download the file V971299-01.zip

In the Oracle Software Delivery Cloud,
the Oracle VM 3 Template for Oracle Linux 7 is offered.


Extract the zip file
unzip -d . V971299-01.zip

tar xvf OVM_OL7U4_x86_64_PVHVM.ova

using the qemu-img utility convert this file

to install qemu , use the command 

yum install qemu-img.x86_64

qemu-img info System.vmdk            image: System.vmdk
file format: vmdk
virtual size: 15G (16106127360 bytes)
disk size: 1.4G


This file is in vmdk format , so use this command to convert the file

qemu-img convert System.vmdk -O raw  System.img

Now run this command to checked the converted file


qemu-img info System.img
image: System.img
file format: raw
virtual size: 15G (16106127360 bytes)
disk size: 1.3G

Transfer this file Oracle VM server machine

Create a vm.cfg file with the following contents , main importantly
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'

(Reference )
cat vm.cfg
===========

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
disk = ['file:/OVS/xxxx/System.img,xvda,w']
memory = '6144'
name = 'xxxx'
vcpus = 2
on_crash = 'restart'
on_reboot = 'restart'
vfb = ['type=vnc,vncunused=1,vnclisten=0.0.0.0']
vif = ['type=netfront']
timer_mode = 0


After this start the vm using

xm create vm.cfg







Tags: Publish
February 20, 2018 at 12:29PM
Open in Evernote

Monday, February 19, 2018

How to find SOA , OSB amd MFT versions details

How to find SOA , OSB amd MFT versions details
How to find SOA , OSB amd MFT versions details


Assuming you have installed SOA and OSB in the directory

/fmw11g/soa12212

export ORACLE_HOME=/fmw11g/soa12212

SOA Version

/fmw11g/soa12212/soa/bin/soaversion.sh

or $ORACLE_HOME/soa/bin/soaversion.sh

**************************************************************
INFO: Detected a WebLogic Installation.
**************************************************************
Oracle SOA Suite Version Information:
-------------------------------------

Product Version : 12.2.1.2.0-161003.0739.0018
Label Version   : PCBPEL_12.2.1.2.0_GENERIC_161003.0739.0018
Compile JDK     : 1.8.0_40-ea
Java Home       : /home/oracle/jdk1.8.0_66

Runtime JDK Version
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
**************************************************************


OSB Version

unzip -p /fmw11g/soa12212/osb/lib/version.jar META-INF/MANIFEST.MF

unzip -p $ORACLE_HOME/osb/lib/version.jar META-INF/MANIFEST.MF


Implementation-Title: Oracle Service Bus 12.2.1.2.0-161003.0737 Mon Oct 3 08:37:30 PDT 2016 XBUS_12.2.1.2.0_GENERIC_161003.0737
Implementation-Version: 12.2.1.2.0-161003.0737
Implementation-Vendor: Oracle Corporation
Implementation-Division: Framework Development Division
Implementation-URL: http://www.oracle.com/
Specification-Title: Oracle Service Bus 12.2.1.2.0
Specification-Version: 12.2.1.2.0
Specification-Vendor: Oracle Corporation
Specification-URL: http://www.oracle.com/

MFT Version

export ORACLE_HOME=/fmw11g/soa12212

/fmw11g/soa12212/mft/bin/mftversion.sh
**************************************************************
INFO: Detected a WebLogic Installation.
**************************************************************
Oracle MFT Version Information:
-------------------------------------

Product Version : 12.2.1.2.0-161003.0739.0018
Label Version   : PCBPEL_12.2.1.2.0_GENERIC_161003.0739.0018
Compile JDK     : 1.8.0_40-ea
Java Home       : /home/oracle/jdk1.8.0_66

Runtime JDK Version
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
**************************************************************






Tags: Publish
February 20, 2018 at 09:46AM
Open in Evernote

Starting WLS Server when the machine starts

Starting WLS Server when the machine starts
Add the following lines in the file /etc/rc.local

su - oracle -c "nohup /fmw11g/ohs12213/user_projects/domains/base_domain/bin/startNodeManager.sh > /tmp/ohs_start.log 2>&1 &"

su - oracle -c "nohup /fmw11g/ohs12213/user_projects/domains/base_domain/bin/startComponent.sh ohs1 >> /tmp/ohs_start.log 2>&1 &"

su - oracle -c "nohup /fmw11g/wls12213/user_projects/domains/base_domain/bin/startWebLogic.sh > /tmp/wls12c.out 2>&1 &"

and restart the machine.

to start the DB enter the following 

su - oracle -c "nohup /fmw11g/dbhome/db112/bin/dbstart &"






Tags: Publish
February 07, 2018 at 09:34AM
Open in Evernote

My experinces with SSD and SOA on Oracle VM hosted machine

My experinces with SSD and SOA on Oracle VM hosted machine
We have SOA servers's for testing that contains a compact domain , with SOA,B2b,OSB,MFT,ESS,UMS are installed in single domain.

Recently we purchased 500GB Samsung 860 EVO SSD to move these Oracle VM images from HDD to SSD 

And these are the startup times with SSD and HDD , SSD are almost more then 200% faster , we captured the start time
and endTime when the soa server completely comes up


SOA 12.2.1.3 ON SSD

start time : 12:34:24 , End Time : 12:38:04  (4 minutes)

second test

start time :  12:59:22  end time :13:04:34 (5 minutes)

with HDD 

start time :   12:42:20 end time : 12:52:07 (10 minutes)

SOA 12.2.1.2 version

start time :   13:09:10 endTime 13:13:12 (4 minutes)

start time :   14:14:47 endTime 14:18:52 (4 minutes)

HDD

start time :   13:52:50   endTime : 14:08:10 (16 minutes)







Tags: Publish
February 13, 2018 at 02:22PM
Open in Evernote