Thursday, February 14, 2013

Planning/Installing Oracle E-Business Suite (Oracle Applications) R12.0.4 on Linux AS4 Part 1/2



In this document

  • Step 1: Planning Installation
    1. Before Installation Notes
    2. Settings we use.
  • Step 2: Creating The Virtual Machine
  • Step 3: Installing Operating System

Step 1: Planning Installation

a. Before Installation Notes:

Please consider the following notes when installing oracle applications R12 on Linux.

1.     When modifying kernel setting in /etc/sysctl.conf file they take the form:
Parameter = value not parameter value so take care, to make sure run sysctl –p :)
2.     When creating stage only need a used with mount CD-ROM Privilege as well as write privilege to the stage area. Simply we use the root.

3.     When editing any files from Linux in windows environment use notepad++ not any windows editor or simply use gedit in the sever side to edit them.

4.     Keep in mind the files permissions along the way; make sure that if you modify any file, it retains its initial and correct permissions.

5.     If you want to have two OS users one for the database file system & the other for the applications file systems you have to start the installation process using the root user not the oracle user.

6.     When using the CD-ROM it is mounted under /media/cdrom and when you un-mount it use another terminal.

7.     When starting the staging process don’t change directory to the starting point with the Perl script just invoke it form the working directory so as you can un-mount the CD-ROM and change it with the next one. :)

8.     Change the permissions and ownership for each file system according to his owner
·         database file system > oracle
·         applications file system > applmgr

9.     The kernel variable kernel.shmmax which must be set to the half of the ram size in bytes which is if 8GB RAM will equal to 4*1024*1024*1024 Do Not Set it to this value, instead set it to the minimum value which is mentioned in the installation documentation 2147483648 (if you set to half of ram, it will cause the system not to startup again).

10.  When installing Oracle Application we use 2 documents in conjunction (and also when creating this doc)
  1. Installation Notes release
  2. Installation guide using rapid install 
Please refer to the installation guide before starting any installation processes to be aware of the whole install process and decide you own installation choices.  

b. Settings we use:

According to previous implementations of Oracle applications we recommend that using the following settings when installing the OS to avoid any disk shortage errors.

Disk Requirement: according to our implementation



File System
Space Required
Mount Pont Suggested
Application Node
50 GB (Min 28 GB)
/appltest
Database Node
200 GB (Min 75 GB)
/oratest
Stage Area
60 GB (Min 40 GB)
/u01
/
30 GB (Min 20 GB)
/
/tmp
2 GB
/tmp
/boot
500 MB
/boot
Total
350 GB approximately

DB Backup
We use 350 GB
More is better 


RAM

We will use 4 GB physical RAM and 4 GB swap space. It Ok to use 2 GB RAM and will get the same results.




Step 2: Creating the Virtual Machine

1. First we create the virtual machine to be used, From your virtual machine client (VM Workstation, ESXi5) Choose Create New Virtual Machine > Choose Typical Settings


2. Specify the Virtual Machine Name and Location


3. Choose the storage area (This is related to ESXi Virtual Machine, you may not need this step)


4. Choose the Operating System and Version


5. Specify the Virtual Disk Size


6. Review the settings you choose and Click Edit Virtual Machine Settings


7. Specify the RAM Settings, here we choose a 4 GB of Physical RAM. If you dont have this amount of RAM then 2 GB will work Fine. You may want to remove the floppy disk by selecting it and clicking the remove button.


8. Click the CD/DVD Drive to browse and select the Linux DVD to be used for Installation, then Click Finish to start the creation process of the new virtual machine.





Step 3: Installing Operating System:

9. After completing the creation process of the virtual machine Click Start Virtual machine to start Installing the Operating System. Press Enter to continue.





Click Next To Continue



10. Accept the default Language. Click Next.


11. Select Manually Partition and Click Next.


12. Click Yes to ignore the Warning message


13. Here comes the partitioning step. Select Free Space > Click the New Button


In the mount point Field write the filesystem name /boot and in the Size write 500 MB and click Ok to Finish.

Repeat this step to specify the size for the file systems /appltest, /oratest, /u01, /tmp, /backup (optional) and specify the sizes we mentioned earlier.



For the swap space choose File System Type to be swap and size to be as RAM size. The last file system to specify is / file system. Select / in "Mount Point Field" and choose "Fill to maximum allowable size" option to take the all remaining free space in the file system. Make sure not to be less than 20 GB.

The final screen should look something like this


14. Accept the default options for the boot loader and click next


15. Click Edit to specify the network settings. we use the settings bellow. You can modify to suite your needs.


16. Specify a name for the host and domain. Click next to continue and ignore the warning message for the Gateway and DNS.


17. Disable the Firewall and SELinux. Click next and ignore the warning messages.



18. Select Custom Software Package, then select Everything from the next screen. This is to avoid installing packages individually and emanates the package dependencies issue. But in a production environment this is not recommended.



Then click next and start the install process.


After completing the Installation and logging to the system as root, the file system is look like this (using df -h command).



We will stop here for part 1 of this article. Part 2 (ISA) will contain how to create the stage and R12 installation.

Planning/Installing Oracle E-Business Suite (Oracle Applications) R12.0.4 on Linux AS4 Part 2/2

Regards
Mostafa Mahmoud
Alexandria Feb2013

No comments: