Saturday, June 14, 2008

Installing 10G Application Server

Installing 10G Application Server

Last week i spent a considerable amount of time working on Oracle Application server configurations, i also revisited some of the installation of the core application server components. For starters i will blog with about the installation of Oracle Applications server.

The Oracle Application Server is divided into two main server side components which are infrastructure and middle tier. Apart from there it also includes developer kits.

These components can be installed on the same server but must have separate ORACLE_HOMEs. Also the infrastructure must be installed first after which you must install your middle tier components as the meta data repository is a part of the infrastructure installation.

Another important fact to note is that the oracle application server uses 1521 port as default for its listener. In case the port is used by another listener on your system you must share it with this instance or you must manually configure the application server DB listener to use a different port.

The OS is Redhat Linux AS
The Version Of Oracle Application Server is 10.1.2.0

1.Required OS packages
The first step would be to make sure you have the following packages (or a higher version) installed

glibc-2.3.4-2.9
glibc-common-2.3.4-2.9
binutils-2.15.92.0.2-13
compat-libstdc++-296-2.96-132.7.2
gcc-3.4.3-22.1
gcc-c++-3.4.3-22.1
libstdc++-3.4.3-22.1
libstdc++-devel-3.4.3-22.1
openmotif21-2.1.30-11.RHEL4.4
pdksh-5.2.14-30
setarch-1.6-1
make-3.80-5
gnome-libs-1.4.1.2.90-44.1
sysstat-5.0.5-1
compat-db-4.1.25-9
control-center-2.8.0-12
xscreensaver-4.18-5.rhel4.2

For Linux you can use the rpm -qa|grep command to check.


2. OS Directories
Next we will make a directory structure to hold your application server components.

# cd /u03
# mkdir oracleAS
# chmod -R 777 oracleAS


3. OS User Accounts
Having two seperate OS accounts for the infrastructure and middle tier comapnets make it easier to manage the installation.

# useradd -g dba -d /u03/oracleAS/asinf asinf
# useradd -g dba -d /u03/oracleAS/asmid asmid

4.Oracle Inventory

Make sure to set your oracle inventory location to a accessible location.

vi /etc/oraInst.loc
inventory_loc=/u03/oracleAS/oraInventory
inst_group=dba

5. Starting the installation.
The installation has to be started as the infrastructure user (asinf), but executing the runInstaller
executable. The first screen is the welcome screen.



6.In this screen you would specify your ORACLE_HOME for your infrastructure.



7. The next screen presents you with the option of installing either of the application server
componets as bloged above we will proceed with the installation of the infrastructure first.



8.The next screen you can choose to install the Oracle Internet Directory, Single Sign On and Meta Data Repository, you could choose to make either of them or all of them included in your application server infrastructure.



9.Next the installer will carry out a pre installation check of your OS.



10. You must conform pre requisite as root privileges on your system.



11. This screen will allow you to choose the services which the installer will configure and start for
you.


12. In this screen you can choose either to let the installer decide the ports for the various 10G
Application server services or you can prove one manually using the static port file.



13. This screen will display the default realm for your OID


14. Here you can choose your database SID and also the location for your datafile locations.



15.Next you specify the passwords for your database schema (Unfortunately it does not allow you to specify passwords for the PORTAL schema ;)




16. In this screen you specify the your instance name and the ias_admin password.


17. The next screen will display the components the installer will install.



18. After this a progress bar displays the status of the installation, allowing you just enough time to catch up on your mails.



19.As a post installation step the installer configures and starts up the installed products.


20.You now can start with the installation of the middle tier component as the asmid OS user and choose to install the middle tier services like portal.




21. The other steps are all repetitive except the screen where you have register your middle tier component with your OID which was installed as part of your infrastructure.

There two important files that the installation process creates, the first is the portlist.ini located at the $ORACLE_HOME/install directory this file contains the various port numbers used by the application server services. The other file is the supportinfo.txt which contains the URLs to access the installation.