ebs in an hour: build a vision instance - fast - in oracle virtualbox

18
Apps Tech, Pittsburgh 2013 - Session #13305 E-Business Suite in an Hour: Build a Vision Instance –FAST! – in Oracle Virtualbox John Piwowar

Upload: jpiwowar

Post on 28-Nov-2014

2.732 views

Category:

Technology


1 download

DESCRIPTION

Slides from OAUG Connection Point conference in Pittsburgh, July 2013. Presentation discussed how to create an EBS Vision instance in Oracle Virtualbox, using OVM templates to avoid some of the pain of installation and patching. Content based on this blog post: http://www.pythian.com/blog/build-ebs-sandbox-1hr/ , with some minor modifications: resulting EBS instance is single-node, not two-node, instance. Slides by themselves are of questionable value, since much of the presentation was a live demo. Still, I believe in sharing, so here they are. ;)

TRANSCRIPT

Page 1: EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox

Apps Tech, Pittsburgh 2013 - Session #13305

E-Business Suite in an Hour: Build a Vision Instance –FAST! – in Oracle Virtualbox

John Piwowar

Page 2: EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox

Hi!jpiwowar just about everywhere (gmail, LinkedIn, Twitter, Slideshare, etc)…except…[email protected]

Blogging at: http://only4left.jpiwowar.comand http://www.pythian.com/blog/author/piwowar

Page 3: EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox

About Pythian

1) Recognized Leader:

Global industry-leader in remote database administration services and consulting for Oracle, Oracle Applications, MySQL and Microsoft SQL Server

Work with over 250 multinational companies such as Forbes.com, Fox Sports, Nordion and Western Union to help manage their complex IT deployments

2) Expertise:

Pythian’s data experts are the elite in their field. We have the highest concentration of Oracle ACEs on staff - 10 including 3 ACE Directors—and 2 Microsoft MVPs.

Pythian holds 7 Specializations under Oracle Platinum Partner program, including Oracle Exadata, Oracle GoldenGate & Oracle RAC

3) Global Reach & Scalability:

Around the clock global remote support for DBA and consulting, systems administration, special projects or emergency response

Page 4: EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox

What’s my motivation?

Installing EBS Vision from scratch...

...is time-consuming

Page 5: EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox

What’s my motivation?

Installing EBS Vision from scratch...

...is time-consuming

...is error-prone

Page 6: EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox

What’s my motivation?

Installing EBS Vision from scratch...

...is time-consuming

...is error-prone

...requires patching to bring it to “present day” config

Page 7: EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox

The solution

Oracle has done all most of the work for us

Page 8: EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox

The “trick”

Oracle has done all most of the work for us

Oracle VM templates for EBS 12.1.3 can be used in Virtualbox

Page 9: EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox

An hour, really? Suuuure...

1) Download OVM templates: 5 min work (longer elapsed)2) Extract files: 1 min work (longer elapsed)3) Convert templates to .vdi format: 1 min (longer…ok, you get it by now)

4) Create VM: 5 min5) Boot in rescue mode: 3 min6) Adjust config files: 5 min7) Update kernel: 5 min8) Configure database: 20 min 9) Configure applications: 15 min

Total Work time: 60 minutes!

Page 10: EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox

Download

Recommendations Check the digest values before unzipping Script download with wget

Page 11: EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox

Extract

jpiwowar$ time cat OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM.tgz.* | tar xvz

x OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM/ x OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM/ebs1211db.img x OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM/System.img x OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM/vm.cfg x OVM_OL5U6_X86_64_EBIZ12.1.3_DB_VIS_PVM/README.txt

real 84m53.974s user 12m44.096s sys 5m13.680s

jpiwowar$ time cat OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM.tgz.* | tar xvz x OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM/ x OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM/vm.cfg x OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM/ebs1211apps.img x OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM/README.txt x OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM/System.img

real 16m11.327s user 2m42.887s sys 1m11.960s

Page 12: EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox

Convert

Virtualbox command-line utility, “vboxmanage”

vboxmanage convertfromraw <imgfilename> <VDI file name>

Example:time vboxmanage convertfromraw ebs1211db.img /Volumes/Valen/OVM_1213/EBS121DB.vdiConverting from raw image file="ebs1211db.img" to file="/Volumes/Valen/OVM_1213/EBS121DB.vdi"...Creating dynamic image with size 257706247680 bytes (245768MB)...

real     179m37.541suser     1m7.138ssys     11m38.353s

Page 13: EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox

Live Demo

Page 14: EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox

Live Demo

(What could possibly go wrong?)

Page 15: EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox

Ingredients

1) At least 2.5GB of free memory (tight fit for a 4GB workstation, but doable – barely)

2) A recent version of Oracle Virtualbox (http://www.virtualbox.org)3) A lot of storage (700GB, some reclaimable afterward)4) A Linux install ISO for rescue boot. (OEL5, update 6 highly recommended)5) Patience (not much work, but there is a lot of waiting)

Nice-to-haves:6) Understanding of basic Linux systems administration tasks7) Familiarity with configuring storage and network options in Virtualbox8) Familiarity with the EBS Rapid Clone (adcfgclone) utility9) Ability to follow instructions closely, to offset lack of other nice-to-haves10) Windows users: Cygwin for Unix tools like tar, gunzip, wget, etc.

Page 16: EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox

5 words about licensing

1) Please2) Please3) Please4) Be5) Careful

(6 more: I am not a licensing expert)

Page 17: EBS in an hour: Build a Vision instance - FAST - in Oracle Virtualbox

n words about support

“ ... “

(n=0)