Monday 7 October 2013

Step by Step NFS Configuration


       The Network File System is certainly one of the most widely used network services. NFS is used to share the directory among other linux systems. It allows the client to auto mount and therefore, transparently access the remote file systems on the network. NFS is not a single program. It is a suite of related programs, which work together. In this artical we will export the file system from the source.com (IP address 192.168.0.11) host and mount it on target.com (IP address 192.168.0.12).

Prerequisites:

1) RPM Check:

#rpm -qa | grep nfs*
#rpm -qa | grep portmap*

2) Install the packages (if not installed)

#rpm -ivh nfs*
#rpm -ivh portmap*

To check if NFS is functioning use following “rpcinfo” command.

#rpcinfo -p
We should get a response/output

Create a source to be shared:

#mkdir /oracle
for better troubleshoting make some test files in "oracle" directory
#touch test1 test2 test3

Now make an entry of the folder to be shared into /etc/exports file:
#vi /etc/exports

and add the following line
/oracle *(ro,sync)

If you use * it means any one can access your shared directory.
If you want to share it with particular machine then just use IP address of that machine instead of * eg
/oracle 192.168.0.12(ro,sync)

Start the NFS service:
Once we edited /etc/exports file, we need to restart NFS service to apply changes in the /etc/exports file.

#service nfs restart
#service portmap restart

To check the NFS shared directory:
#showmount -e

Now "oracle" folder can be accessd by client

NFS Client Configuration

First we need to create a mount point:
# mkdir /nfs_local

To check what has been shared by source.com
#showmount -e 192.168.0.11

To mount shared directory at the client side
#mount 192.168.0.11:/oracle /nfs_local

here we mounted /oracle from 192.168.0.11 to local machine

To make this mount point completely transparent to end users, we can auto mount the NFS file system every time a user boots a PC, In this situation we need to edit /etc/fstab to mount system automatically during a system boot. We can use vi editor and create new line like this:  

192.168.0.11:/oracle /nfs_local nfs defaults 0 0
in /etc/fstab



You have successfully configured NFS
Got to
#cd /nfs_local
#ls
you will see three files.
test1 test2 test3











Friday 4 October 2013

Access Oracle Applications from Linux client


In Oracle Application user can access Oracle forms via applet in web browser. In Oracle Applications
 professional Users can access forms via Applet in web browser. This Form Applet runs within Java
Virtual Machine (JVM) and Oracle provides its own JVM as Oracle Jinitiator.
This Jinitiator is available only for Windows Client and for Unix/Linux we have to use Java Plug-In.
If we are accessing Oracle Applications from windows client it autometically promt us to install Jinitiator on windows, but for Linux we have to install it without JVM we can not accsess APPS
foms from linux client.

Follow the the steps to access Oracle Apps 11i from Linux client through Mozilla Firefox.

We need to download Mozilla Firefox you can download it from:
http://ftp.mozilla.org/pub/mozilla.org/mozilla.org/firefox/releases/2.0.0.7/linux-i686/en-US/firefox-2.0.0.7.tar.gz

After downloading we need to extract the firefox on client machine as shown below:

#tar -xvzf firefox-2.0.0.7.tar.gz
It will create "Firefox" folder

Install JRE on client machine:
Before downloading JRE, we should know the version of JRE need to be installed. For this login to Apps Tier as applmgr and source the environment.

Now run the following command to get the required JRE version. 

 

We need to install the JRE of version 1.4.2_04

We need to download the required plug in from
http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase14-419411.html#j2re-1.4.2_04-oth-JPR




Accept License Agreement

Click on j2re-1_4_2_04-linux-i586-rpm.bin

Now you have j2re-1_4_2_04-linux-i586-rpm.bin

Set permission
#chmod 755 j2re-1_4_2_04-linux-i586-rpm.bin

Execute the file to extract as shown below:
 #./j2re-1_4_2_04-linux-i586-rpm.bin
 It will create a folder as j2re-1_4_2_04-linux-i586.rpm

Now install the package “j2re-1_4_2_04-linux-i586.rpm”.

This package will be installed in /usr/java as shown below:

Go to location where we have extracted the Firefox:
 #cd /firefox/plugins

Now create a soft link: 
 

 Do the entry of Oracle APPS host name in "/etc/hosts" file:
Execute the Firefox:
 

Login to E-Business Suite:

Select the "System Administrator" responsibility.
 
Click on Concurrent request


 It will ask to run the forms applet that means we have configured Firefox successfully.

Click on Always

Submit any concurrent request for testing