You are on page 1of 147

Srini Chavali's Blog

-- Musings related to Oracle and

Oracle technologies

Classic
Classic
Flipcard
Magazine
Mosaic
Sidebar
Snapshot
Timeslide

Home
1.
Nov
6

EBS R12.1.1 Vision - Upgrading Forms 10.1.2 to the latest patchset


In this blog post, I will outline the steps needed to upgrade Forms 10.1.2
version to the latest patchset in a R12.1.1 Vision install in a Linux 64-bit
OS. The process is documented in MOS Doc 437878.1 (Upgrading
OracleAS 10g Forms and Reports in Oracle E-Business Suite Release 12).

Since the R12.1.1 install out-of-the-box already includes OracleAS Forms


10.1.2.3, we do not need to apply patch 5983622 as outlined in MOS Doc
437878.1. Trying to apply this patch will result in the installer reporting
that there is nothing to apply. If your install was from a previous R12
version, you will have to apply this patch, and therefore your steps will be
different than what is documented here.

Shut down all Apps services using adstpall.sh script. Apply EBS patch
8919489 (if not already applied) - follow directions in the README of the
patch.

Take a full backup of the 10.1.2 ORACLE_HOME directory by logging in as


the root account and issuing these commands

# cd /d01/oracle/VIS/apps/tech_st/10.1.2
# cp -pr 10.1.2 10.1.2_backup

Also backup the oraInventory directory (whose location is in file


/etc/oraInst.loc) by issuing these commands as root user

# cd /u01/app/oracle
# cp -pr oraInventory oraInventory_backup

Log in as oravis account (owner of all EBS binaries in my install), set the Apps
environment variables by sourcing
/d01/oracle/VIS/inst/apps/VIS_linux1/ora/10.1.2/VIS_linux1.env

Update Opatch to 1.0.0.0.64 by applying patch 6880880 - follow directions


in README.
Update OUI by applying patch 6640838 - follow update instructions in
README.

Download and apply patch 6995251 - follow directions in the README.

Download and apply patch 9593176 - follow directions in the README -


this patch will report conflicts with various MLR patches - these warnings
can be safely ignored.

Download and apply patches 14262118, 7121788, 8528194, 8551790,


8557019, 10081297, 7016961, 5917053, 6371228, 10152652, 11780669,
12379038, 12887068, 12898423, 7140392, 11669923, 13367912. Ensure you
are downloading the 10.1.2.3 version of these patches for Linux x86.
Follow directions in the READMEs of these patches.

Download and apply patches 3559326, 5394728, 5261796, 5651245 -


ensure you are downloading the 10.1.5 version of these patches for Linux
x86. Follow directions in the READMEs of these patches.

Open a new terminal session as oravis, set the Apps environment


variables, then download and apply EBS patch 13001977 using adpatch.

Redeploy formsapp.ear file by following directions in MOS Doc 397174.1

Rebuild forms and reports executables by issuing these commands

# cd $ORACLE_HOME/forms/lib
# make -f ins_forms.mk install
# cd $ORACLE_HOME/reports/lib
# make -f ins_reports.mk install

Run adadmin to generate jar files. Do not force regeneration of all jar files.

Restart all application services using adstrtal.sh.

This completes the process of upgrading R12.1.1 Vision instance to the


latest Forms 10.1.2 patchset. Hope this was helpful !

Posted 1 week ago by Srini Chavali


0
Add a comment
2.
Oct
24

EBS R12.1.1 Vision - Upgrading to the latest Application Server iAS/Apache


10.1.3 binaries
In this blog post, I will outline the steps needed to upgrade the Oracle
Application Server iAS/Apache binaries to the latest 10.1.3 patchset on
EBS R12.1.1 Vision install that I documented in earlier blog posts.

These steps are documented in MOS Doc 454811.1.

Download patch 8626084 (Oracle AS 10.1.3.5.0) and patch 8920270 (prereq


patch) from My Oracle Support.

Log in as the oravis account (owner of the application binaries) and


shutdown all application services using adstpall.sh script.

Take a complete cold backup of the 10.1.3 ORACLE_HOME and the global
oracle inventory. To take a backup of the 10.1.3 Home, login as root,
navigate to the 10.1.3 ORACLE_HOME directory (in my install this is
directory /d01/oracle/VIS/apps/tech_st) and issue this command

# cp -pr 10.1.3 10.1.3_bkup


The location of the global inventory is listed in the file /etc/oraInst.loc.
In my install, the location is /u01/app/oracle/oraInventory and is owned
by account oracle. Navigate to the parent directory of that location
(/u01/app/oracle) and issue this command to back up the oraInventory
directory

# cp -pr oraInventory oraInventory_bkup

Once this command completes, log out and close the root terminal
window.

Next, upgrade OPatch to the latest version in the IAS_ORACLE_HOME. As


the oravis account, navigate to ORACLE_HOME
(/d01/oracle/VIS/apps/tech_st/10.1.3) and rename the OPatch directory
to OPatch_old. Download patch 6880880 for 10.1.0 for Linux x86_64 from
My Oracle Support and unzip into the same ORACLE_HOME directory to
create a new OPatch directory. Ensure that command "opatch version"
now returns 1.0.0.0.64.

Unzip patch 8626084 (Oracle AS 10.1.3.5.0 patchset) to a temporary


directory named "1013patch" and unzip patch 8920270 into another
temporary directory. Follow the first three steps in the README file for
patch 8920270.

Change directory to 1013patch/Disk1 and execute these commands

# linux32 bash (this will open a new 32-bit bash shell)


# . ./d01/oracle/VIS/inst/apps/VIS_linux1/ora/10.1.3/VIS_linux1.sh
(to set the 10.1.3 Home variables)
# opmnctl startall
# ./runInstaller

Click Next.

Select the 10.1.3 Home from the "Name" LOV, and ensure that the "Path"
points to the 10.1.3 Home, then click Next.
Unselect the check box for security updates, then click Next.

Click Yes.

This message can be ignored in the Vision install - click OK.

Enter "oafm" as the password, then click Next.

Click OK.

Click Install.

You will see numerous errors relating to directories and files that do not
exist. All of them can be ignored for a Vision install - click Ignore for all of
them.
Open a terminal window, login as the root account and run the root.sh
script indicated.

Ignore the error message, and exit out from the terminal window, then
click Next.

The opmn configuration assistant will fail. Ignore this message in a Vision
install.
Click OK.

Click Exit to complete the 10.1.3.5.0 patchset install.

Issue this command to stop all opmn processes

# opmnctl stopall

Using the "ps -ef" command, verify that all processes related to 10.1.3
Home are stopped. If not, use the "kill -9" command to kill these
processes.

Unzip patches 8999551 and 12965674 and apply them using OPatch
command by following the directions in the README files. Close the
terminal session used to apply the 10.1.3.5.0 patch.

Open up a new terminal session, log in as oravis account, set the


application environment variables, then run adautocfg.sh and ensure that
is completes without errors.

Execute adadmin and select option to generate product jar files.

Restart all application services and verify that you can log in and navigate
in the application in both OAF and forms interfaces.

If successful, you may now delete the backup directories created for the
oraInventory and 10.1.3 ORACLE_HOME during this patching process.

This concludes the steps to apply the latest 10.1.3 patchset to the R12.1.1
Vision iAS/Apache binaries.

Hope this was helpful !

Posted 4 weeks ago by Srini Chavali


0
Add a comment
3.
Oct
16

Upgrading Java on EBS 12.1.1 Vision instance to latest Java 6.0 Update
In this blog post, I will document the steps needed to update JDK./JRE
version to the latest Java 6.0 Update on R12.1.1 Vision EBS instance
running on Linux 5.7.

In earlier posts in this blog, I documented the EBS R12.1.1 install, as well
as documented how to upgrade the database version to 11gR2 (11.2.0.3).

For the purposes of this post. I will be following the steps in MOS Doc
455492.1.

Oracle EBS R12.1.1 Rapid Install delivers the following JDK versions on the
various tiers -

- JDK Version 6.0 on the Web applications tier (OracleAS 10.1.3)


- JRE Version 6.0 on the database tier
- JDK 1.4.2 on the OracleAS 10g (Forms and Reports) 10.1.2 services.

Upgrading to latest JDK 6.0 on OracleAS 10.1.3 (web applications tier)

Download the lastest JDK from this link. I will use version 6u35 for this
blog post. Download the 32-bit version (file named jdk-6u35-linux-
i586.bin) as the 64-bit version is not supported. This is a self-extracting
executable.

Copy this file to [IAS_ORACLE_HOME]/appsutil (in my install, this translates


to /d01/oracle/VIS/apps/tech_st/10.1.3/appsutil). Stop all application
services using the adstpall.sh script. Then, issue these commands.

# mv jdk jdk_old
# ./jdk-6u35-linux-i586.bin
# mv jdk1.6.0_35 jdk
# cp
/d01/oracle/VIS/apps/apps_st/appl/fnd/12.0.0/resource/ALB*ttf
/d01/oracle/VIS/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts
# rm jdk-6u35-linux-i586.bin

Upgrading to latest JDK 6.0 on OracleAS 10.1.2 (forms and reports


services)

In a new terminal window, log in as the owner of the Applications binaries


(oravis in my example), set the application tier environment variables by
invoking the APPSVIS_linux1.env file in
/d01/oracle/VIS/apps/apps_st/appl directory ($APPL_TOP).

Download patch 12848228 and apply it to the 10.1.2 ORACLE_HOME by


following the instructions in the README of the patch.

Copy the file jdk-6u35-linux-i586.bin downloaded in the previous step to


[10.1.2_ORACLE_HOME] (in my install, this would be
/d01/oracle/VIS/apps/tech_st/10.1.2), then execute these commands

# mv jdk jdk_old
# ./jdk-6u35-linux-i586.bin
# mv jdk1.6.0_35 jdk
# mv jre/1.4.2 jre/1.4.2_old
# mv /d01/oracle/VIS/apps/tech_st/10.1.3/jre/1.4.2
/d01/oracle/VIS/apps/tech_st/10.1.3/jre/1.4.2_old

Download and apply patches 14029881 and 13579719 by following the


directions in the README.

Then, execute these commands

# cd $ORACLE_HOME/forms/lib
# make -f ins_forms.mk sharedlib install
# cd $ORACLE_HOME/reports/lib
# make -f ins_reports.mk install

Upgrading to latest JRE 6.0 on the database tier

Download the latest JRE version from this link. I will use version 6u35 for
this blog post. Download the 64-bit version (file named jre-6u35-linux-
x64.bin) which is a self-extracting executable.

Open up a separate terminal window and copy this file to


[DATABASE_ORACLE_HOME]/appsutil (in my install, this translates to
/d01/oracle/VIS/db_tech_st/11.2.0.3/appsutil), then issue these
commands

# mv jre jre_old
# ./jre-6u35-linux-x64.bin
# mv jrel.6.0_35 jre
# rm jre-6u35-linux-x64.bin

Shutdown the database listener and database, startup the database


listener and database, then start all application tier processes using
adstrtal.sh script. This concludes the Java upgrade process.

Hope this was helpful !

Posted 16th October by Srini Chavali


0
Add a comment
4.
Oct
9

Upgrading R12.1.1 Vision database version from 11.1.0.7 to 11gR2


In this blog post, I will outline the steps needed to upgrade the database in
the R12.1.1 Vision install (the install was documented in earlier blog posts)
from 11.1.0.7 to the currently latest certified version 11.2.0.3.

The upgrade steps are documented in MOS Doc 1058763.1 - this upgrade
process will require access to My Oracle Support in order to download
required patches.

Log in as the oravis account (owner of the applications binaries) and shut
down all application tier services (using adstpall.sh script), download and
apply these pre-req patches by following the steps in the README of the
patches -

9062910 - Interoperability Patch For R12.1.1 On 11.2 RDBMS


8919489 - Oracle E-Business Suite Techstack 12.1.3 Product Release
Update Pack
9868229 - CST_LAYER_ACTUAL_COST_DTLS_V Becomes Invalid After
11.2.0.2 Upgrade
10163753 - BIV_B_AGE_H_SUM_MV Fails During Index Creation
11071569 - ADBLDXML Fails On Windows Server 2008 R2 64 Bit
9738085 - Sourcing CMD File On Windows Exits With 1
9852070 - ADBLDXML And AUTOCONFIG Complete With
JAVA.LANG.UNSATISFIEDLINKERROR
12686610 - R12 And R121 Backport Request For Bug Fix 12336911

6400501 - Not Able To Compile Forms Library With 11G DB (patch for 10.1.2
forms ORACLE_HOME)

Shutdown the database listener and the database (using addlnctl.sh and
addbctl.sh scripts) and apply these patches to the 11.1.0.7 database
ORACLE_HOME (follow steps in READMEs)

7695070 - Change In The Timezone File Format

13417321 - DST 18 : Half Yearly DST Patches, MAY 2012


14112098 - DST Changes For DSTV18 (TZDATA2012C) - Need OJVM Fix

Apply this patch (use 10.1.0.5 version) to the 10.1.2 and 10.1.3
ORACLE_HOMEs (follow steps in READMEs)

7695070 - Change In The Timezone File Format

Next step is to install 11.2.0.3. Download the 11.2.0.3 x86_64 software


(files 1of7.zip and 2of7.zip of patch 10404530) from My Oracle Support and
unzip the contents. Open up a new terminal session, log in to the oravis
account (owner of the EBS database binaries since this is a single user
install), set the new ORACLE_HOME to be
/d01/oracle/VIS/db/tech_st/11.2.0.3 (or choose your preferred location),
navigate to the location where the software has been unzipped, change to
the database directory and execute the runInstaller script.

Uncheck the check box, then click Next

Click Yes

Select "Skip software updates" and click Next

Select "Install database software only", then click Next

Select "Single instance database installation", then click Next


Use the default "English", click Next

Choose "Enterprise Edition" (this is required), and click Next

Input appropriate values for Oracle Base and Software Location


(ORACLE_HOME), then click Next

Choose the "dba" group, then click Next. The installler will go thru pre-req
checks

Fix this error by opening a new terminal session as root, and editing the
file /etc/system/limits.conf to include these lines

oravis soft nofile 131072


oravis hard nofile 131072
Save the limits.conf file, close the root terminal session, then click the
"Check Again" button in the installer (if there are other errors, those will
also need to be fixed before continuing).

Click Install to start the installation


Open a new terminal session as root user, and execute the root.sh script
as indicated (enter y when prompted)
Exit out of the root terminal session, then click OK
Click Close.

Next, download the Examples CD from


http://download.oracle.com/otn/linux/oracle11g/R2/linux.x64_11gR2_ex
amples.zip (or the version appropriate for your OS). Follow the directions
in the install guide.

Unzip the downloaded file, ensure that ORACLE_HOME is set to


/d01/oracle/VIS/db/tech_st/11.2.0.3, navigate to the examples directory
and then execute runInstaller.
Verify the values, then click Next to perform prerequisite checks
Click the "Fix & Check Again" button to see
Open a new terminal session as root and run the fix script as indicated,
then click the OK button.
Click Finish to start the install
Click Close to finish.

Change directory to $ORACLE_HOME/nls/data/old and execute this


command

# perl cr9idata.pl

Download and apply the following database patches (ensure you choose
the version for 11.2.0.3 and x86_64 where applicable)

4247037, 9858539, 12942119, 12960302, 12985184, 13001379, 13258936,


13366268

Use the "opatch apply" command to apply these patches - do not execute
any post install scripts mentioned in the README files of these patches.

Download and apply the latest OPatch version (patch 6880880 for 11.2.0.3).
Then download and apply the latest PSU patch (currently 13923374) and
patch 13004894 (for version 11.2.0.3.3). Review MOS Doc 1147107.1 for any
additional patches you may need to apply.

Set the environment variables for the 11.1.0.7 ORACLE_HOME, start up the
database (using the 11.1.0.7 binaries), connect as SYS, issue command
"spool upgrade_info.log" and then execute script
"@/d01/oracle/VIS/db/tech_st/11.2.0.3/rdbms/admin/utlu112i.sql", then
issue command "spool off" - this executes the pre-upgrade check utility.
Review the upgrade_info.log file for corrective actions and execute them
as indicated.

For this upgrade, the following actions needed to be performed

- increase HTMLDB tablespace by 200MB


- increase XDB tablespace to 120 MB
- apply the timezone version 18 file to the new 11.2.0.3 ORACLE_HOME
- Ultrasearch needs to be de-installed (using
/d01/oracle/VIS/db/tech_st/11.2.0.3/rdbms/admin/wkremov.sql)
- purge DBA_RECYCLEBIN
- gather dictionary statistics (using dbms_stats.gather_dictionary_stats)
- drop the DMSYS schema
- set the default tablespace for SYSTEM schema to SYSTEM

Re-run the utlu112i.sql until no warnings are reported.


Ensure that the /etc/oratab file has an entry for the VIS database (like
this)

VIS:/d01/oracle/VIS/db/tech_st/11.1.0:N

Next, set the ORACLE_BASE, PATH, LD_LIBRARY_PATH and PERL5LIB


environment variables (ORACLE_HOME should already be set) to point to
the new 11.2.0.3 ORACLE_HOME

# export ORACLE_BASE=/d01/oracle/VIS
# export PATH=$PATH:$ORACLE_HOME/bin
# export LD_LIBRARY_PATH=$ORACLE_HOME/lib
# export PERL5LIB=$PERL5LIB:
$ORACLE_HOME/perl/lib/5.10.0:$ORACLE_HOME/perl/lib/site_perl/5.10.0

Invoke the Database Upgrade Assistant (dbua)

# $ORACLE_HOME/bin/dbua

Click Next

Select the VIS database, then click Next


Read thru the warnings (all of these should have been taken care of by the
utlu112i.sql script), then click Yes

Uncheck the "Recompile invalid objects" option. For this blog post, I will
leave the "Backup database" checkbox also unchecked, but a full cold
backup should be taken before performing any database upgrade. Click
Next.

Use the defaults for now - but you can move datafiles as indicated - click
Next

Do not specify any Fast Recovery Area, click Next

Use the defaults, click Next

Click Continue
Click the radio button for "Use the Same Password" and enter any new
password twice (please document this password for later use), click Next

I did not use a particularly strong password - please do so in real life -


click Yes

Read thru and understand the entire summary, then click Finish to start
the database upgrade process.
Read thru the upgrade summary window, then click Close and Finish to
exit the DBUA utility.

Shut down the database and restart it (using SHUTDOWN IMMEDIATE and
STARTUP commands)

Next, execute all of the post-install patch steps detailed in the READMEs of
these patches (these were applied earlier above)

4247037, 9858539, 13258936

Navigate to the 11.2.0.3 $ORACLE_HOME/network/admin directory, create


directory VIS_linux1, then copy all of the files from the 11.1.0.7
$ORACLE_HOME/network/admin/VIS_linux1 directory this new directory. Edit
all of the files in this directory and replace string "11.1.0" with "11.2.0.3".
Then set TNS_ADMIN variable to be 11.2.0.3
$ORACLE_HOME/network/admin/VIS_linux1 and startup the listener named
VIS in the new 11.2.0.3 ORACLE_HOME.

# lsnrctl start VIS

Connect as sysdba, and run $APPL_TOP/admin/adgrants.sql script - enter


value APPS when prompted.

Connect as APPS, and run $AD_TOP/patch/115/sql/adctxprv.sql


<system_password> CTXSYS

Connect as sysdba, and execute "exec


ctxsys.ctx_adm.set_parameter('file_access_role','public');"
Connect as APPS, and run $FND_TOP/patch/115/sql/wfaqupfilx.sql
APPLSYS APPS

Next, we need to implement Autoconfig in the new ORACLE_HOME. Open a


new terminal session, set the application tier environment variables, then
execute "perl $AD_TOP/bin/admkappsutil.pl". Copy the appsutil.zip file to
11.2.0.3 $ORACLE_HOME and unzip it.

Download JRE 6u35 (file jre-6u35-linux-x64.bin) from


http://www.oracle.com/technetwork/java/javase/downloads/jre6u35-
downloads-1836473.html to the $ORACLE_HOME/appsutil directory and
execute it to install JRE version 6u35. This will create the directory named
"jrel.6.0.35" - rename it to "jre".

Navigate to the appsutil/bin directory and execute "perl adbldxml.pl"


and input the password of the APPS schema when prompted. This will
build the database context file.

Run autoconfig on the database tier

# adconfig.sh
contextfile=/d01/oracle/VIS/db/tech_st/11.2.0.3/appsutil/VIS_linux1.
xml

Copy the initVIS.ora file from the old 11.1.0 ORACLE_HOME/dbs directory to
the new 11.2.0.3 ORACLE_HOME/dbs directory. Edit it to replace all 11.1.0
references with 11.2.0.3, then make these additional changes (see MOS
Doc 396009.1)

- change compatible to 11.2.0


- remove parameters plsql_native_library_dir and
plsql_native_library_subdir_count
- remove parameters _index_join_enabled, query_rewrite_enabled,
_sqlexec_progression_cost

Shutdown the database and start up the listener and database using the
addlnctl.sh and addbctl.sh scripts in the 11.2.0.3
ORACLE_HOME/appsutil/scripts directory.

Download and apply Apps patch 9151516 (use option=nocompiledb)

Gather statistics for the SYS schema using these commads

# sqlplus "/ as sysdba"


SQL> alter system enable restricted session;
SQL> @$APPL_TOP/admin/adstats.sql
# sqlplus "/ as sysdba"
SQL> alter system disable restricted session;
SQL> exit;

Open a new terminal session, log in as oravis, set the applications


environment variables and execute adadmin, select option 4 (Maintain
Applications Database Entities Menu), then select option 2 (Re-create
grants and synonyms for APPS schema).

Shutdown database listener and database using the addlnctl.sh and


addbctl.sh scripts, then startup the database listener, database and all
application services.

Log in to the application, and using System Administrator responsibility,


run the "Workflow Directory Services User/Role Validation" concurrent
program with the first two default No parameters changed to Yes. Also run
"Gather Schema Statistics" concurrent program for all schemas.

This completes all of the steps needed to upgrade R12.1.1 Vision install
database from version 11.1.0.7 to 11.2.0.3.

Hope this was helpful !

Posted 9th October by Srini Chavali


Labels: R12 vm EBS upgrade Vision database
0
Add a comment
5.
Sep
25

Installing EBS R12.1.1 Vision on Linux 5.7 VM - Part 3 of 3


In Part 2 of this blog post series, I showed you how to install R12.1.1 Vision
in a Linux 5.7 VM. This is the third and final post in this series that will
detail some post-install steps that will be helpful in maintaining this
install. Post-install steps that are required for R12.1.1 EBS installs are
documented.

First, let's tackle startup and shutdown of the environment. There are four
master scripts that control the startup and shutdown of an R12 EBS
environment - two database tier related scripts and two application tier
related scripts. The various scripts are documented here. The four scripts
need to be run as the owner of the EBS software, which is "oravis" in this
installation.
When starting up an EBS environment (assuming all services are installed
on one physical server), these three steps need to be performed in order -

1. Start up the database listener

Navigate to directory
"/d01/oracle/VIS/db/tech_st/11.1.0/appsutil/scripts/VIS_linux1" and
issue this command to start up the database listener

# ./addlnctl.sh start VIS

2. Start up the database

Next, issue this command to start up the database

# ./addbctl.sh start

3. Start up the EBS application services

Finally, navigate to directory


"/d01/oracle/VIS/inst/apps/VIS_linux1/admin/scripts" and issue this
command to start all EBS application services

# ./adstrtal.sh apps/apps

When shutting down an EBS environment (assuming all services are


installed on one physical server), these three steps need to be performed
in order -

1. Shut down the EBS application services

Navigate to directory
"/d01/oracle/VIS/inst/apps/VIS_linux1/admin/scripts" and issue this
command to stop all EBS application services

# ./adstpall.sh apps/apps

2. Shut down the database listener


Next , navigate to directory
"/d01/oracle/VIS/db/tech_st/11.1.0/appsutil/scripts/VIS_linux1" and
issue this command to stop the database listener

# ./addlnctl.sh stop VIS


3. Shut down the database

Finally, issue this command to stop the database

# ./addbctl.sh stop

All of these steps for startup and shutdown should complete without
errors. If there are any errors, you will need to troubleshoot by checking
the log files that each of the scripts create.

It is best to script these commands so as to make the startup and


shutdown easy and seamless. Two sample scripts, one for startup and one
for shutdown, are shown here. Stopping and starting the Vision instance
then becomes a matter of executing these scripts.

The EBS Vision install has a large footprint that enables many services. If
you have a small VM and are constrained on hardware resources, some of
these services can be turned off or disabled to help free up resources and
speed up response. Pl note that disabling these services so will affect
some functionality of the Vision install.

Log in to the Vision instance using SYSADMIN account (password SYSADMIN),


select "System Administration" responsibility, then click "Dashboard"
under "Oracle Applications Manager"

Then click the "Site Map" link

Then click the "Autoconfig" link


Then click the edit icon (pencil) for the Applications context file

Click the "oa_services" tab

Click on the "+" icon for "oa_service_list"

Scroll down to find "Oracle Fulfillment Server Status" (s_jtffsstatus) line


and change the value to "disabled".

Do not disable any other services as it will affect the normal functioning of
the install. Scroll down to the bottom of the page and click "Save", enter
any comments if needed, then click "OK". Click "OK" again. This will
disable the Fulfillment Server services from starting up when the EBS
services are started. If you plan to use this functionality, you should not
disable this service.

Next, we will disable some concurrent services that are typically not used
(at least from a DBA perspective !).

Go back to the home page by clicking on the "Home" link on top right, then
select "System Administrator" responsibility and click on "Administer" link
under "Concurrent : Manager"
This will invoke the forms interface. Disable all of the concurrent
managers except the ones shown in this screenshot (by clicking the
concurrent manager name, then clicking the "Deactivate" button). The
processes shown in this screenshot are the minimum required to keep EBS
functioning.

Again, disabling these concurrent managers will affect some functionality -


if you intend to use or test that functionality, then leave those concurrent
services enabled.

Sometimes it is necessary to set environment variables to work with the


database tier or the application tier in EBS. There are two scripts that
store these variables and need to be sourced as needed.

To set the database tier environment variables, navigate to directory


"/d01/oracle/VIS/db/tech_st/11.1.0" andsourcetheVIS_linux1.envfile.

# cd /d01/oracle/VIS/db/tech_st/11.1.0
# . ./VIS_linux1.env

To set the application tier environment variables, navigate to directory


"/d01/oracle/VIS/apps/apps_st/appl" and source the APPSVIS_linux1.env
file.

# cd /d01/oracle/VIS/apps/apps_st/appl
# . ./APPSVIS_linux1.env

It is good practice to use two separate terminal sessions to set these


variables so as to avoid confusion. The Unix command "env | sort |
more" will show the variables that have been set after invoking these
commands.

As indicated in this link, there are many other post install steps to
complete. I will attempt to cover them in future blog posts.

This completes the three part series of posts on installing R12.1.1 on a


Linux 5.7 VM - Part 1 covers the pre-install steps and preparations, Part 2
covers the actual install and this final post on some basic post-install
steps.

Hope this was helpful !

Posted 25th September by Srini Chavali


Labels: R12 install vm EBS Vision
0
Add a comment
6.
Sep
18

Installing EBS R12.1.1 Vision on Linux 5.7 VM - Part 2 of 3


In Part 1 of this series, I covered all of the pre-requisites to install R12.1.1
Vision instance in a Linux 5.7 VM running on a Win 7 Home host computer.

In this Part 2 blog post, I will cover the actual install of the software
following the official installation instructions here.

Log in as the oravis user in Linux, navigate to


/downloads/StageR12/startCD/Disk1/rapidwiz and issue the command

# ./rapidwiz

Click Next

Click Next
Enter the requested information if needed, then click Next

Since this is a new install, a new configuration will be required, so click


Next

Select value 1 for "Port Pool", then click Next (the port pool concept is
explained here).

Accept the defaults, and click Next

Accept the defaults, then click Next

Click Next, and the installer will perform prerequisite checks

If all checks pass, you will see this


If any errors are reported (indicated by red X icons instead of green check
icons), click on each red X icon for more details, fix the errors, and click
the Retry button until no errors are reported.

Click Next.

Click on each "+" icon twisty to verify/check settings for each of the four
line items, then click Next to start the install of the software.

Click Yes to start the install process.

After the install completes, the software will perform checks to ensure
that the installation is successful.
You should see this screen

If you see any red "X" icons instead of green "check" icons, clock on each
red "X" to determine the cause of the error. You will need to troubleshoot
those errors before proceeding. Click Next.

Click Finish. This completes the software install portion.

We will need a browser in the Win 7 Host computer to access this install.
Pl review MOS Doc 389422.1 completely before proceeding further.

Launch the 32-bit version of the IE browser on the Win 7 host computer.
Select Tools > Internet Options > Security tab > select Trusted Sites icon,
then click Sites button, uncheck the checkbox for "Require server
verification ..." and add "linux1.localdomain" and "localdomain" to the
trusted sites.

Click "Close" button, then click the "Custom level..." button, scroll down
and select the "Disable" radio button for "Enable XSS filter" option.

Click OK.

Select the Privacy tab, then click the Settings button for Pop-Up Blocker,
and add "linux1.localdomain" to allow popups from the site.
Click Close, the click OK to dismiss the Options window.

Enter this URL in the address bar -


http://linux1.localdomain:8001/OA_HTML/AppsLogin, and you will get the
EBS login page (accessing this page for the first time may take a while,
especially in a small VM, so please be patient)

Log in using username as SYSADMIN and password SYSADMIN (other login


accounts available in Vision are documented here).

Select "System Administrator" responsibility, then click the "Administer"


link under "Concurrent : Manager" to access the professional forms
interface. This will prompt to install JRE via an executable named
"oaj2se.exe" - accept all warnings, and the forms interface will open

You have now successfully installed R 12.1.1 Visions and can access the
html (OAF) and professional (Forms) interfaces.

This concludes part 2 of this three-part series of blog posts. In the third
and final part, I will detail out some post-install steps that will make
administration of this install easier.

Posted 18th September by Srini Chavali


Labels: R12 install vm EBS Vision
0
Add a comment
7.
Sep
11

Installing EBS R12.1.1 Vision on Linux 5.7 VM - Part 1 of 3


This is the first post in a three-part series that will detail out how to install
R12.1.1 Vision instance in a Virtualbox Linux VM (running Oracle Linux 5.7)
on a Win 7 Home Premium 64-bit host computer.

Performing this install will require access to My Oracle Support for several
reasons -

1. The md5sum checksums for the R12 software staging area are only
available on MOS
2. There are several required prerequisite steps that are only detailed in an
MOS Doc
3. The software install requires one pre-req patch, without which the
install will not succeed.

If you have not already done so, download and install Virtualbox software
and create a Linux VM ( details in this blog post ), then download and
install Oracle Linux 5.7 in the Linux VM ( details in this blog post ). Then,
update RPMs and enable shared folders (to easily copy files between the
Windows host and Linux guest) using the instructions in the beginning
sections of this blog post.

Next, download the R12.1.1 software from Oracle eDelivery, access to


which requires a free Oracle account. Log in, accept the terms and on the
search page, select "E-Business Suite" for the "Select a Product Pack" LOV
and "Linux x86-64" for "Platform" LOV (choose "Linux x86" if you have a
32-bit VM), then click "Go" - you will see
Click on the link titled "Oracle E-Business Suite Release 12.1.1 Media Pack
for Linux x86-64-bit" to see
Download all of the files starting from "Oracle E-Business Suite Release
12.1.1 Rapid Install Start Here (Part 1 of 4)" to "Oracle E-Business Suite
Release 12.1.1 for Linux x86-64 Rapid Install APPL_TOP - Disk 2
(Part 3 of 3)". This is a large download (about 46G) - so expect it to take a
while - the use of a download manager is highly recommended.

Download all of the files to the directory on the Win 7 host which is being
shared with the Linux VM ("C:\Temp" in my example)
Start up your VM, log in as root and create a directory named "downloads"
# mkdir /downloads
# chmod 777 downloads

Then, copy the files from the host shared directory (C:\Temp on Windows
will be mounted as /media/sf_Temp in Linux) into the "downloads" directory
in the VM.

# cd /downloads
# cp /media/sf_Temp/*.zip .
Extract all of the zip files and verify integrity using md5sum utility to
ensure that the downloads are complete and error-free, else the EBS
install process will return errors and will not succeed.

Create a directory named "StageR12" in the downloads directory

# cd /downloads
# mkdir StageR12

Then unzip each zip file using the command

# unzip -d /downloads/StageR12 <file_name>

Start the unzip process sequentially with B53824-01_1of4.zip, then


B53824-01_2of4.zip etc, and ending with V15691-01_3of3.zip. After
unzipping all of the files successfully, directories oraAppDB, oraApps,
oraAS, oraDB and startCD will be created under the StageR12 directory.
Next, verify the integrity of the StageR12 directory using the md5sum
utility. Follow the directions in MOS Doc 802195.1. Run the "dos2unix"
command on the md5sum text file provided in this MOS document before
running the commands outlined.

If all of the zip files unzipped without errors and all of the md5sums match,
then the downloads and unzips were successful. If you encounter errors,
then you will have to re-download the files with errors. If not, you can now
safely delete all of the zip files in the downloads directory of the Linux VM
(and also the C:\Temp directory in Win 7) if you wish.

A few more things are needed before we attempt to start the R12 Vision
install. We need a "client" to access the R12 application. Since Linux
clients are currently not supported, we cannot use a browser from within
the Linux VM to access the application. We will need to use the browser on
the Win 7 host machine to access the R12.1.1 application on the Linux
guest machine. This means that we will need to be able to communicate
from the Win 7 host to the Linux VM guest. This will require two things -
adding a new host-only network adapter to the Linux VM, and modifying
the host file entries in the Win 7 host and the Linux VM guest.

Shut down the Linux VM, then click Settings > Network, click the tab titled
"Adapter 2", check the "Enable Network Adapter" checkbox, and use the
"Host-only Adapter" LOV for "Attached to" field. Use the settings shown
below

Edit the hosts file in the C:\Windows\System32\drivers\etc directory in


Windows and add a line that defines the IP address and host name of the
Linux VM.

When you install Virtualbox, it reserves IP addresses beginning with


192.168.56.xx for VMs (depending on your specific network setup). You will
need to determine what this range is on your computer. The IP address I
chose for my VM in this example is 192.168.56.2.
Start up the Linux VM, log in as root, edit the /etc/hosts file and add a line
to give the Linux VM the same IP address and host name. These entries
should match the entries added to the Windows host file.

Select System > Administration > Network, then double-click the "eth1"
entry (corresponding to the second network adapter that was added above
- the first network adapter should be "eth0"), and modify the settings as
shown

Reboot the VM, then open a command window in the Windows 7 host and
enter command "ping linux1" and "ping 192.168.56.2" and you should
see a response

If you do not get a reply from the Linux VM, disable any firewalls in
Windows and Linux and try again (or allow trust between the Windows and
Linux hosts in your firewall software). This connectivity will be required in
order to access the EBS application from the Win 7 host.

Next, create a Unix account to install R12.1.1 Vision instance. For this
example, I will use a single account oravis to host all of the binaries
associated with the install. Create this Unix account with home directory
as /home/oravis, Korn shell, and make it a member of the oracle and dba
unix groups.
Create the directory /d01/oracle/VIS as the location to install all R12.1.1
binaries, and make the oravis account the owner of this directory. (This is
the default directory structure used by the R12.1.1 installer - you can
choose any other directory structure and specify this structure during the
install).

# mkdir -p /d01/oracle/VIS
# cd /d01
# chown -R oravis:dba oracle

Next, some RPM updates, a patch and system configuration changes are
required. Details are in MOS Doc 761566.1.

Go to http://oss.oracle.com/projects/compat-
oracle/files/Enterprise_Linux/ and download these two RPM files

openmotif21-2.1.30-11.EL5.i386
xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386

and install them using the command

# rpm -ivh <rpm_file_name>

As the root Unix account, install these RPMs using the "yum install"
command

# yum install gdbm-1.8.0-26.2.1.i386


# yum install libXp-1.0.0-8.1.el5.x86_64

Execute these commands

# unlink /usr/lib/libXtst.so.6
# ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6

Edit the file /etc/sysctl.conf and make these changes

kernel.sem = 256 32000 100 142


net.ipv4.ip_local_port_range = 10000 65000

Edit the /etc/resolv.conf file and add these two lines

options attempts:5
options timeout:15

Change the name of the file "network" in directory


/etc/sysconfig/networking/profiles/default to "network.old" (or delete
the file).

# mv /etc/sysconfig/networking/profiles/default/network
/etc/sysconfig/networking/profiles/default/network.old

The SELinux option that was enabled in this blog post will also cause issues with
the install. The permissions need to be relaxed by editing the file
/etc/selinux/config and changing the value of SELINUX from "enforcing" to
"permissive".

Finally, download patch 6078836 from My Oracle Support and follow the
directions in the README file.

Reboot the VM for all of these changes to take effect. The VM is now ready for the
R12.1.1 Vision installation process.

This completes part 1 of the three part series of blog posts on this topic.
In part 2, we will start the install of R12.1.1 Vision in the Linux VM.

Posted 11th September by Srini Chavali


Labels: R12 install vm EBS Vision
0
Add a comment
8.
Sep
4

Installing EBS R12.1.1 Vision on Linux 5.7 VM - Overview


A common question in the Oracle EBS forums is how to install EBS version
R12.1.1 for personal learning purposes. Downloading and installing the
R12.1.1 from Oracle eDelivery for personal learning purposes is free -
please read the understand the "Terms & Restrictions" page after you log
in to the eDelivery site (you will need to create a free Oracle account to
log in). However, installing R12.1.1 on Linux will require access to My
Oracle Support as there is currently one patch (available only at this site)
required for a successful install. Access is granted to Oracle customers
who pay for support.

To be able to install ERP software such as E-Business Suite, you will need
hardware capable of hosting the large footprint that the EBS install will
create. This series of posts assumes you have Win 7 Home Premium 64-bit
software running on a multi-core processor, with at least 6 GB RAM and
500G of disk space. The more the number of cores, the faster the CPU
speed, and more RAM, the better.

Since Win 7 Home version is not a supported platform to install EBS, we


will need to create a Linux virtual machine to install EBS in. Part 1 and
Part 2 of my earlier blog posts show you how to install Virtualbox on Win 7,
and create a Linux 5.7 VM using Oracle Linux 5.7. When creating the VM,
allocate as much RAM and disk to the VM as you possibly can.

Requirements to install EBS 12.1.1 are documented in the install guide. I


will tackle the install process in three separate detailed blog posts with
screenshots.

Part 1 - Download EBS R12.1.1 software and preparatory steps before


installing in a Linux VM
Part 2 - Installing R12.1.1 in a Linux VM
Part 3 - Post install steps and wrap up

Stay tuned !

Posted 4th September by Srini Chavali


Labels: R12 install vm EBS Vision
0
Add a comment
9.
Aug
28

Oracle database install on Windows Home versions - Part 3 of 3


In Part 2 of this 3 part series, I showed you how to download Linux 5.7 and
install it in a Virtualbox VM on Windows 7 Home host OS. In this third and
final post of this series, I will show you how to install Oracle 11.2.0.1
database in the Linux 5.7 VM. The steps in this part 3 will take about six
hours.

Before we get started, we need to perform some housekeeping tasks. We


need to do two main things -

1. update the Linux rpms to the latest version and


2. enable Guest Additions on the VM in order to "share" folders between
the host Win 7 OS and the guest Linux VM.

So, start up your Linux VM and login as root. Then select Applications >
Accessories > Terminal to open up a command window in the VM, and type
these commands
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-el5.repo

Edit the public-yum-el5.repo file using the "vi" editor - in the section
labeled "[ol5_u7_base]", change the enabled value to 1 and save the file.

Then, issue these commands in succession (wait for each one to


complete)

# yum update
# yum install gcc
# yum install kernel-devel
# yum install kernel-uek-devel
# yum install oracle-validated

These commands may take up to an hour or more, as they will download


the latest rpms and install them. If any of these commands report an error,
retry the command. After all of the commands successfully complete,
reboot your Linux VM.

Then click Devices > Install Guest Additions from the VirtualBox menu - it
will bring up this window
Double-click "autorun.sh" to install and link Guest Additions. This will take
a few minutes. Hit the Enter key when this script completes.

Then select Devices > Shared Folders from the VirtualBox Menu to see this
window

Click on the green "plus" icon on the top-right, and add a folder to share
between the host Win 7 OS and the guest Linux VM - this will enable easy
transfer of files between host Windows and guest Linux.
I chose to share "C:\Temp" folder on the Windows host as the "Temp" folder
in the Linux guest - you can choose any other folder you wish (or multiple
folders) - select all 3 check boxes. Click OK to see this
Reboot your Linux VM for the shared folders option to take effect. After you
reboot, log in as root and navigate to the /media directory and you should
see this
The "sf_Temp" directory is essentially a "soft link" to the C:\Temp directory
on the Windows 7 host. Change the permissions of the directory in the VM
to 777 (drwxrwxrwx).

Now that we have housekeeping all completed, we can download and


install Oracle 11.2.0.1 database. Download the two zip files from here -
pick either Linux x86 (32-bit) or Linux x86-64 (64-bit), depending on which
version (32-bit or 64-bit) of the OS you have installed in the VM. This
download will take some time as it is over 2G in size. After you have
downloaded the two files, copy or move them to the C:\Temp directory on
the Windows host so that the files can be copied into the Linux VM
filesystem.

Next, we need to modify the Unix account "oracle", which we defined


during the Linux install in part 2 of this series.

In the VM, select System > Administration > Users and Groups ...

... and create a group called "dba". Edit the "oracle" account to be part of
the dba group, and make the dba group the primary group for oracle. You
can also set your favorite shell for the oracle account (I use ksh). Once
done, you should have

Next, login as oracle, and create a directory named "media" in the home
directory of the oracle user (/home/oracle in this case). Copy the two zip
files from the /media/sf_Temp directory to the /home/oracle/media
directory, and change the ownership of the two files to be oracle:dba.

Then unzip each file using unzip command - this will create a directory
named database and will unzip the contents of both files into this directory.

Next, login as root and create directory /u01/app/oracle - this will be used
as the ORACLE_BASE directory for our Oracle install

# mkdir -p /u01/app/oracle
# chown oracle:dba /u01/app/oracle

Log back in as oracle and let's get started with the install process by
following the official directions here.

Navigate to /home/oracle/media/database directory and execute the


runInstaller script

# ./runInstaller

and you will see

Uncheck the checkbox, do not enter any information in these fields, click
Next.

Click Yes.

Let's create a database too after installing the software, so just click Next.
Desktop Class will suffice for our purposes, so click Next.

Change the Character Set to Unicode (this is the recommended value),


enter an Administrative password (twice to confirm, pl remember this
password), then click Next.

I get this warning since I did not use a strong password - I will ignore it for
now, so click Yes.

Change the Inventory Directory to be /u01/app/oracle/oraInventory, then


click Next.

We again get a warning - ignore this for now, so click Yes.

Installer will go thru some pre-req checks and will show any missing pre-
reqs
Let's install this missing package. Open up a new terminal session, log in
as root, and execute

# yum install unixODBC-2.2.11

This will take a few minutes to install (enter "y" when prompted)

Exit out of the terminal session, then click the "Check Again" button in the
Oracle Installer and it will re-verify pre-reqs, and you will see

Click Finish, and the software installation will begin.

You will likely see this error


Select the SELinux AVC denial icon on top tight and you will see that the
listener is unable to start because of SELinux security issue.

To fix this, open up a new terminal session, log in as root, and issue the
command indicated

# chcon -t textrel_shlib_t
'/u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1'

Then click the Retry button in the Oracle installer and the Net
Configuration Assistant step will complete successfully. The database
configuration assistant will start next.

Click OK to continue

Open a terminal window, log in as root and execute the two scripts as
indicated.
Exit out of the terminal session, and click OK in the Oracle Installer
window.

Click Next
Click Close to complete.

Issue "ps -ef | grep orcl" command in the terminal session to confirm
that the database processes are up and running.
To log in to the database, set these environment variables

# export ORACLE_BASE=/u01/app/oracle
# export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
# export ORACLE_SID=orcl
# export PATH=$ORACLE_HOME/bin:$PATH
# export
TNS_ADMIN=/u01/app/oracle/product/11.2.0/dbhome_1/network/admin

and then execute

# sqlplus / as sysdba

to log in to the database, and execute command "select * from v$version;"


There are many housekeeping tasks to perform after the install is
completed. These include (but are not limited to)

1. Patching the Oracle software to the latest PSU available


2. Creating necessary startup/shutdown scripts
3. Configuring back scripts
4. Configuring any application related accounts
5. Enabling/disabling database features etc

This concludes the 3 part series on how to download Virtualbox and install
a Linux VM on Win 7 Home version, how to install Oracle Linux 5.7 in the
Linux VM, and how to download and install 11.2.0.1 in the Linux VM.

Hope this series was helpful !

Posted 28th August by Srini Chavali


Labels: install vm virtualbox database
0
Add a comment
10.
Aug
20

Oracle database install on Windows Home versions - Part 2 of 3


In Part 1 of this 3 part series, I showed you how to install Virtualbox
software on your Windows Home computer and create an "empty" Linux
VM. In this part 2 post, I will show you how to download Linux and install
Linux in the VM created in part 1. The steps in this part 2 will take about 8
hours or more to complete, depending on your hardware specs and internet
bandwidth.

To download Linux, visit Oracle Linux and click on the download link. This
will take you to Oracle's electronic delivery portal - this portal requires a
free Oracle account to log in, and the account can be created here. Once
you log in, accept the terms by clicking on the checkboxes and click
"Next". Select "Oracle Linux" from the LOV titled "Select a Product Pack",
then select either "x86 32 bit" or "x86 64 bit" (depending on whether you
created a 32-bit or 64-bit VM in Part 1 of this series) from the LOV titled
"Platform". Then click "Go" and you should see something similar to this
Choose "Oracle Linux Release 5 Update 7 Media Pack" as this is a stable
release that is sufficient to install all 3 current releases of 11gR2 (11.2.0.1,
11.2.0.2 and 11.2.0.3). As of today, 11.2.0.2 and 11.2.0.3 are only
downloadable from Oracle's Support Site, access to which requires a paid
Support contract with Oracle. Also, if you plan to download and use Oracle
Linux 6.x, currently only database version 11.2.0.3 is supported on this OS
release.
Click on the first download link to download the OS zip file - since this is a
3.5G download, expect it to take some time, depending on your internet
connection bandwidth.

After the download completes, double-click on the file to see something


like this
We now need to burn this ISO image to DVD. Insert a blank DVD and follow
the instruction in this link. This process will take up to 30 minutes or more.

Go back to Virtualbox VM and open it to see this screen from the end of
part 1 of this series.
Click the "Start" icon (green arrow) in the menu bar to start the VM. You
should see this screen - the message is self explanatory. Pl read and
understand it before continuing.

Click "OK" to continue and you will see


Click "Next" to see this screen

The Drive "D" refers to the DVD drive on my computer - pl select the
appropriate option for your computer. Since the VM is "empty", we need to
install the OS in the VM from the DVD. Click "Next" to see this screen.
Click "Start" to begin installation of Linux OS in the Linux VM.
Hit the Enter key to start the install in graphical mode.
Select "English" and hit Enter key to continue.
Select "us" and hit Enter key to continue.
Select "Local CDROM" and hit Enter key to continue.
If you are confident that your DVD was burnt cleanly, use "Skip", else use
"OK".
Click "Next".
Select English, click "Next".
Select "U.S. English", then click "Next".
Click "Yes" to initialize the 200G "hard drive image" that we created for
this VM in part 1 of this series.
Use the defaults, click "Next".
Click "Yes".
Use the defaults, click "Next".
Choose your timezone, uncheck the "System clock uses UTC" option, then
click "Next".
Enter a root password (anything you like) twice - pl remember this
password. Click "Next".
For our 11gR2 database install purposes, these features are not required,
so click "Next".
Click "Next" to being the installation of Linux OS in the Linux VM. The
install process may take 30 minutes or more depending on your hardware
specs and how much RAM has been allocated to the VM.
When the install completes, you will see
Click "Reboot" to reboot the VM. After it reboots, you will see
Click "Forward".
Click "Forward".
Choose to disable to the built-in firewall in Linux, then click "Forward".
Select "Yes"
Use the default setting for SEL Linux, then click "Forward".
Use the default setting for kdump, then click "Forward".
Set the system date and time, then click "Forward".
Create the "oracle" user, and select a password for this account, enter it
twice to confirm, then click "Forward".
Verify sound card settings and click the "play" icon in sound test to verify
that you can hear - then click "Yes" and "Forward".
Click "Finish"to complete the Linux install. On the next screen you should
be able to login using the root or oracle account.
Hit "enter" and then enter the password, hit "enter" again, and you will see
The install is complete. Click "System --> Shutdown" ....
... then select "Restart" to restart the VM.
Congratulations - you now have successfully installed Oracle Linux 5.7 in a
VM and have a fully functioning virtual Linux server.

This concludes part 2 of the 3 part series. The last part will detail
installing 11.2.0.1 in the Linux VM we just created.

Posted 20th August by Srini Chavali


Labels: install vm virtualbox database
0
Add a comment
11.
Aug
18

Oracle database install on Windows Home versions - Part 1 of 3


This is part 1 of a 3 part series of blog posts on installing Oracle database
software on a computer running Windows 7 Home Premium version. Part 1
will cover downloading VM software and creating a VM. Steps shown here
for this part will take about 2 hours to complete.

There is an excellent introduction and tutorial here - I encourage you to read it


before proceeding.

Ensure that your Windows computer has a multi-core processor with at least 4G of RAM - faster
CPU and more RAM are better. Installing on a computer with slower CPU and less RAM, although
possible, will result in long install times and such extremely sluggish response from both host
(Windows) and guest (Linux) operating systems so as to make both the systems unusable. The
system I am using for this demo has the specs shown below. As you can see, it is nothing special -
Athlon 3-core 2.20 GHz processor with 4GB of RAM running Win 7 Home Premium 64-bit.
Win 7 Home PC Specifications

First, we will need to download and install VM software. I choose to use


Virtualbox since it is free and simple to use and install. Download the
latest available version for Windows hosts - for this exercise, we will use
version 4.1.18. After downloading the Virtualbox software, log in to your PC
as a user with Administrator privileges and launch the exe file.

Click "Next".
Click "Next".
Click "Next" and you will see this warning message.

Although this sounds ominous, it is harmless - click "Yes"


Click "Install" to start the Virtualbox software install.
Windows User Access Control window may pop up asking you confirm if
you want to install this software - if so, click "Yes".

If these Windows security pop-up appear, click "Install".


And you are done installing the software !
Click "Finish" to launch Virtualbox software.

(At this point, it is wise to check that you can connect to the internet by
opening a browser window and navigating to your favorite website - this is
to ensure that the Virtualbox install has not messed up your network
settings - it should not - but check just in case !)

We now need to create a Linux VM. Click on the "New" menu icon to
launch a wizard.
Click "Next".
Enter a meaningful name for your VM, select "Linux" for the Operating
System LOV and select "Oracle (64-bit)" for the Version LOV. Click "Next".
(If you have a 32-bit OS, you can create a 64-bit VM provided you meet the
conditions here. If you do not meet the conditions, select a 32-bit OS).

This is asking you to select how much RAM will be allocated to the VM.
You will need about 2G to run Win 7 - the rest can be allocated to the VM -
allocating less than 2G to the VM will make the VM extremely sluggish and
unusable. In my example above, I have 4G, so I allocated 2G to the VM.
Click "Next".
Now we need to define parameters related to disk to allocate to the VM.
Click "Next".
Use the default VDI setting and click "Next".
Select "Fixed size" and click "Next".
Use the default location, and select a size of 200G (or more if you need).
200G will be sufficient to install Linux and Oracle 11gR2 in the VM, and
also for a small starter database. Choose this size carefully, as there is no
way to increase this size later (if needed) using current VirtualBox versions
(this is a pending enhancement request for future version).

Click "Next".
Verify settings and click "Create". This will create a "hard disk" for your
VM - it is essentially an image file on the Windows computer. Since this is
an IO intensive operation, it may take and hour or more to create this disk
image - be patient.

After the disk image is created, you will see this screen
Click "Create". Your VM should then be created.
This concludes part 1 - downloading and installing Virtualbox, and creating
a Linux VM.
The series will continue in part 2 where I will show you how to download
Oracle Linux and install Linux OS in the Linux VM just created.

Posted 18th August by Srini Chavali


Labels: install vm virtualbox database
0
Add a comment
12.
Aug
18

Oracle database install on Windows Home versions - Overview


One of the common questions asked in the Oracle Database Installation
forums by newbies relates to installation of Oracle database software on
personal machines, typically running a Windows Home version.

Downloading and installing Oracle Database software for personal learning


purposes is free (please read and understand the small print here). Oracle
has historically never certified installing any software on Windows Home
versions - this is because Home versions do not include features required
for the install. There are people who have attempted this install - most do
not succeed. For the few who do, issues in using the software usually crop
up later.

The easy and obvious solution is to use a supported Windows version (i.e.
Professional or higher). For those who are unable to do so, one option is to
install and use a virtual machine (VM) that utilizes a supported OS (such
as Linux) on your Win Home computer. Although this option seems
intimidating at first, it is relatively straightfoward process, assuming you
are somewhat tech savvy and that your computer has enough CPU and
RAM to support running a VM. There are various VM technologies available
- a popular option is Virtualbox. Not only is it free, but is also simple to
install and use. At a high level, you will need to the following -

1. Download and install Virtualbox software on your Windows machine


2. Create a Linux VM using Virtualbox
3. Download and install Oracle Linux in the Linux VM
4. Download and install Oracle Database software in the Linux VM

I will tackle each of these steps in detail in separate blog posts to follow.
Posted 18th August by Srini Chavali
Labels: install overview database
0
Add a comment

Blog Archive

About Me

Subscribe
Loading
Send feedback

You might also like