RMAN - Basic backup/restore examples

Use the "archive log list" command to verify if your database is in archive log mode:


1. setup all RMAN variables correctly


RMAN> show all;
using target database control file instead of recovery catalog
RMAN configuration parameters for database with db_unique_name HPCDR1 are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/dbs/snapcf_HPCDR1.f'; # default
RMAN>
RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/backup/HPCDR1/snapcf_HPCDR1.f';
new RMAN configuration parameters:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/backup/HPCDR1/snapcf_HPCDR1.f';
new RMAN configuration parameters are successfully stored
RMAN>

RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/HPCDR1/%F';
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/HPCDR1/%F';
new RMAN configuration parameters are successfully stored
RMAN>

RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration parameters are successfully stored
RMAN>



2. control_file_record_keep_time


When you do not use a recovery catalog, the control file is the sole source of information about RMAN backups. As you make backups, Oracle records these backups in the control file. To prevent the control file from growing without bound to hold RMAN repository data, records can be reused if they are older than a threshhold you specify.
The CONTROL_FILE_RECORD_KEEP_TIME initialization parameter determines the minimum age in days of a record before it can be overwritten:
CONTROL_FILE_RECORD_KEEP_TIME = integer
 
For example, if the parameter value is 14, then any record aged 14 days and older is a candidate for reuse. Information in an overwritten record is lost. The oldest record available for reuse will be used first.
When Oracle needs to add new RMAN repository records to the control file, but no record is older than the threshhold, Oracle attempts to expand the size of the control file. If the underlying operating system prevents the expansion of the control file (due to a disk full condition, for instance), Oracle overwrites the oldest record in the control file and logs this action in the alert log.
The default value of CONTROL_FILE_RECORD_KEEP_TIME is 7 days. If you are not using a recovery catalog, then set the CONTROL_FILE_RECORD_KEEP_TIME value to slightly longer than the oldest file that you need to keep. For example, if you back up the whole database once a week, then you need to keep every backup for at least seven days. Set CONTROL_FILE_RECORD_KEEP_TIME to a value such as 10 or 14.
Caution:
Regardless of whether you use a recovery catalog, never use RMAN when CONTROL_FILE_RECORD_KEEP_TIME is set to 0. If you do, then you may lose backup records.


I always set mine to 365 days:



3. Test RMAN by backing up all archive log files for past 24 hours:


run {
allocate channel dev1 type disk;backup as compressed backupset
format '/backup/HPCDR1/arch_%d_T%T_s%s_p%p'
(archivelog from time 'sysdate-1' all);
release channel dev1;
}


Use this command to see all archive logs backed up so far:
list backup of archivelog all;


a Linux 'ls -l' will show the controlfile snapshot backup, as well as the archive log backupset:

4. Take a complete backup of the database


The below, shows that no backup of the database exist, which is correct as this is a newly created database:


Use the below RMAN script to take a full, compressed backup of the database, including all archived logs:

run {
allocate channel dev1 type disk maxpiecesize=10G;
backup as compressed backupset
full
format '/backup/HPCDR1/full_%d_T%T_s%s_p%p'
(database);
backup as compressed backupset
format '/backup/HPCDR1/arch_%d_T%T_s%s_p%p'
archivelog from scn=0 all delete input;
release channel dev1;
}


Do another "list backup of database" to see of the backup is registered in the controlfile:


The "list backup" command will list all backups registered in the control file.


You can once again confirm on an O/S level that the backups did take place:


5. Backup All ONLINE log files:


run {
allocate channel dev1 type disk;
sql "alter system archive log current";
backup as compressed backupset
format '/backup/HPCDR1/arch_%d_T%T_s%s_p%p'
(archivelog from time 'sysdate-1' all delete input);
release channel dev1;
}

6. Monitoring The Backup Progress


To monitor the backup progress run the following sql against the target database:
select sid, serial#, context ,round(sofar/totalwork*100,2) "% Complete",
         substr(to_char(sysdate,'yymmdd hh24: mi:ss'),1,15) "Time Now"
from  v$session_longops
where substr(opname,1,4) = 'RMAN';         


7. Take a full cold backup of the database


Exactly the same RMAN script as in use at 4) , but the database must be in MOUNTED mode, not opened:
startup mount;

8. Backup only the current control files:


run {
allocate channel dev1 type disk;
backup 
format '/backup/HPCDR1/current_cf_%d_T%T_s%s_p%p'
(current controlfile);
release channel dev1;
}



Use "list backup of controlfile" to see all previous controlfile backups:



9. Make Incremental Backup Since Last Full backup – level 1


run { 
allocate channel dev1 type disk; 
backup as compressed backupset
incremental level 1 
format '/backup/HPCDR1/database_lev1_%d_T%T_s%s_p%p'(database); release channel dev1; 
}


10. Make Incremental Backup Since Last Incremental Backup – level 2


run { 
allocate channel dev1 type disk;backup as compressed backupset
incremental level 2 
format '/backup/HPCDR1/database_lev2_%d_T%T_s%s_p%p'
(database); 
release channel dev1; 
}

You can see the difference below in the size between a Level0 and a level2 RMAN backup:
Full backup:                445Mb
Level0 Backup:           445Mb
Level2 Backup:           4.2Mb


12. Test the restore of a tablespace when a datafile was deleted AND the database is up and running –ONLY UNIX/Linux platforms:


SQL> select file_name,file_id from dba_data_files;
FILE_NAME                                               FILE_ID
--------------------------------------------------      --------
/u01/app/oracle/oradata/HPCDR1/system01.dbf              1
/u01/app/oracle/oradata/HPCDR1/sysaux01.dbf              2
/u01/app/oracle/oradata/HPCDR1/undotbs01.dbf             3
/u01/app/oracle/oradata/HPCDR1/users01.dbf               4
SQL>

SQL> select tablespace_name from dba_tablespaces;

TABLESPACE_NAME
------------------------------
SYSTEM
SYSAUX
UNDOTBS1TEMP
USERS
SQL>

While the database is up and running, delete the USERS tablespace's datafile, and recover it again:


Test that there is a problem with the tablespace, before attempting to recover:

Use the below to recover either the datafile or the complete tablespace:
(a) Datafile recovery - use this when your tablespace as more than 1 datafiles, and only one datafile has a problem:
run { 
allocate channel dev1 type disk;restore datafile 4; 
recover datafile 4; 
alter database open;
release channel dev1; 
}


(b) Tablespace recovery - use this when more than one datafile is corrupt, or if the corruption cannot be resolved by only restoring one or many, but not all datafiles. Database can be mounted, but not opened.

Delete the datafile again:



run { 
allocate channel dev1 type disk; 
restore tablespace USERS;recover tablespace USERS; 
alter database open;
release channel dev1;} 


13. Full database restore when the SYSTEM datafile is corrupt/missing, and all archive log files are available:




The first step is to start the database in NOMOUNT mode, and to recover the controlfile from the latest autobackup:

SQL> startup nomount;

RMAN> restore controlfile from <backupfile location>;

Change the database to MOUNT mode, and use RMAN to restore the database from the last full backup RMAN is aware off ( as registered in the controlfile restore in the first step above)


Recover database up to the last archive log, using the "recover database" RMAN command:


Open the database


R12.1 and R12.2 Architecture Difference

mount ntfs file system to linux

When i tried to load my usb (NTFS),It showing “Could not open NTFS file system on Linux”.  So I just followed follow steps and then I can easily access NTFS file system on my Linux machine
Step 1: After inserted USB, Identify file system
[root@localhost ~]# fdisk -l | grep NTFS
/dev/sdh1               1        1940     1955488+   7  HPFS/NTFS
Step 2: Make one directory for mounting point
[root@localhost ~]# mkdir /mount/usb
Step 3: Download Fuse
http://easynews.dl.sourceforge.net/sourceforge/fuse/fuse-2.7.1.tar.gz
Step 4: Install Fuse
[root@localhost tmp]# tar xzf fuse-2.7.1.tar.gz
[root@localhost tmp]# ls
fuse-2.7.1         gconfd-oracle  gedit.oracle.2790729715  mapping-root  ssh-bTFQuC4798       VMwareDnD    VMwareTools-8.1.4-227600.tar.gz
fuse-2.7.1.tar.gz  gconfd-root    keyring-iqtBmT           orbit-root    virtual-root.drjpsz  vmware-root  vmware-tools-distrib
[root@localhost tmp]# cd fuse-2.7.1
[root@localhost fuse-2.7.1]# ls
aclocal.m4  compile       config.sub    COPYING      doc      Filesystems  INSTALL     lib          Makefile.in    NEWS        util
AUTHORS     config.guess  configure     COPYING.LIB  example  fuse.pc.in   install-sh  ltmain.sh    missing        README
ChangeLog   config.rpath  configure.in  depcomp      FAQ      include      kernel      Makefile.am  mkinstalldirs  README.NFS
[root@localhost fuse-2.7.1]# ./configure --exec-prefix=/;
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 32768
checking whether the shell understands some XSI constructs... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognise dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for fork... yes
checking for setxattr... yes
checking for fdatasync... yes
checking for struct stat.st_atim... yes
checking for struct stat.st_atimespec... no
checking for library containing dlopen... -ldl
checking for library containing clock_gettime... -lrt
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
configure: creating ./config.status
config.status: creating fuse.pc
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating util/Makefile
config.status: creating example/Makefile
config.status: creating include/Makefile
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in kernel (/tmp/fuse-2.7.1/kernel)
configure: running /bin/sh ./configure '--prefix=/usr/local'  '--exec-prefix=/' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking if FUSE is loaded as a module... no
checking if FUSE module is built into the kernel... no
checking if FUSE module is from official kernel... yes
configure:
NOTE:     Detected that FUSE is already present in the kernel, so
NOTE:     building of kernel module is disabled.  To force building
NOTE:     of kernel module use the '--enable-kernel-module' option.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
[root@localhost fuse-2.7.1]#

[root@localhost fuse-2.7.1]# make
Making all in kernel
make[1]: Entering directory `/tmp/fuse-2.7.1/kernel'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/fuse-2.7.1/kernel'
Making all in include
make[1]: Entering directory `/tmp/fuse-2.7.1/include'
make  all-am
make[2]: Entering directory `/tmp/fuse-2.7.1/include'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/tmp/fuse-2.7.1/include'
make[1]: Leaving directory `/tmp/fuse-2.7.1/include'
Making all in lib
make[1]: Entering directory `/tmp/fuse-2.7.1/lib'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include  -I../include -DFUSERMOUNT_DIR=\"//bin\" -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DFUSE_USE_VERSION=26   -Wall -W -Wno-sign-compare -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -g -O2 -fno-strict-aliasing -MT fuse.lo -MD -MP -MF ".deps/fuse.Tpo" -c -o fuse.lo fuse.c; \
[root@localhost fuse-2.7.1]# make install
Making install in kernel
make[1]: Entering directory `/tmp/fuse-2.7.1/kernel'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/tmp/fuse-2.7.1/kernel'
Making install in include
make[1]: Entering directory `/tmp/fuse-2.7.1/include'
make[2]: Entering directory `/tmp/fuse-2.7.1/include'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include/fuse" || mkdir -p -- "/usr/local/include/fuse"
 /usr/bin/install -c -m 644 'fuse.h' '/usr/local/include/fuse/fuse.h'
 /usr/bin/install -c -m 644 'fuse_compat.h' '/usr/local/include/fuse/fuse_compat.h'
 /usr/bin/install -c -m 644 'fuse_common.h' '/usr/local/include/fuse/fuse_common.h'
 /usr/bin/install -c -m 644 'fuse_common_compat.h' '/usr/local/include/fuse/fuse_common_compat.h'
 /usr/bin/install -c -m 644 'fuse_lowlevel.h' '/usr/local/include/fuse/fuse_lowlevel.h'
 /usr/bin/install -c -m 644 'fuse_lowlevel_compat.h' '/usr/local/include/fuse/fuse_lowlevel_compat.h'
 /usr/bin/install -c -m 644 'fuse_opt.h' '/usr/local/include/fuse/fuse_opt.h'
test -z "/usr/local/include" || mkdir -p -- "/usr/local/include"
Step 5:  Download ntfs-3g
http://linux.softpedia.com/get/System/Hardware/ntfs-3g-15028.shtml
Step 6: Install ntfs-3g
[root@localhost tmp]# tar xzf ntfs-3g-2011.1.15.tgz
[root@localhost tmp]# ls
fuse-2.7.1         gconfd-oracle  gedit.oracle.2790729715  mapping-root       ntfs-3g-2011.1.15.tgz  ssh-bTFQuC4798       VMwareDnD    VMwareTools-8.1.4-227600.tar.gz
fuse-2.7.1.tar.gz  gconfd-root    keyring-iqtBmT           ntfs-3g-2011.1.15  orbit-root             virtual-root.drjpsz  vmware-root  vmware-tools-distrib
[root@localhost tmp]# cd ntfs-3g-2011.1.15
[root@localhost ntfs-3g-2011.1.15]# ls
aclocal.m4  autogen.sh  compile       config.h.in  configure     COPYING      CREDITS  include  install-sh    libntfs-3g  m4           Makefile.in  NEWS    src
AUTHORS     ChangeLog   config.guess  config.sub   configure.ac  COPYING.LIB  depcomp  INSTALL  libfuse-lite  ltmain.sh   Makefile.am  missing      README
[root@localhost ntfs-3g-2011.1.15]#  ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
[root@localhost ntfs-3g-2011.1.15]# make
make  all-recursive
make[1]: Entering directory `/tmp/ntfs-3g-2011.1.15'
Making all in include
make[2]: Entering directory `/tmp/ntfs-3g-2011.1.15/include'
Making all in ntfs-3g
make[3]: Entering directory `/tmp/ntfs-3g-2011.1.15/include/ntfs-3g'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/ntfs-3g-2011.1.15/include/ntfs-3g'
Making all in fuse-lite
make[3]: Entering directory `/tmp/ntfs-3g-2011.1.15/include/fuse-lite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/ntfs-3g-2011.1.15/include/fuse-lite'
make[3]: Entering directory `/tmp/ntfs-3g-2011.1.15/include'
make[3]: Nothing to be done for `all-am'.
[root@localhost ntfs-3g-2011.1.15]# make install
Making install in include
make[1]: Entering directory `/tmp/ntfs-3g-2011.1.15/include'
Making install in ntfs-3g
make[2]: Entering directory `/tmp/ntfs-3g-2011.1.15/include/ntfs-3g'
make[3]: Entering directory `/tmp/ntfs-3g-2011.1.15/include/ntfs-3g'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include/ntfs-3g" || /bin/mkdir -p "/usr/local/include/ntfs-3g"
 /usr/bin/install -c -m 644 'acls.h' '/usr/local/include/ntfs-3g/acls.h'
 /usr/bin/install -c -m 644 'attrib.h' '/usr/local/include/ntfs-3g/attrib.h'
 /usr/bin/install -c -m 644 'attrlist.h' '/usr/local/include/ntfs-3g/attrlist.h'
 /usr/bin/install -c -m 644 'bitmap.h' '/usr/local/include/ntfs-3g/bitmap.h'
 /usr/bin/install -c -m 644 'bootsect.h' '/usr/local/include/ntfs-3g/bootsect.h'
 /usr/bin/install -c -m 644 'cache.h' '/usr/local/include/ntfs-3g/cache.h'
 /usr/bin/install -c -m 644 'collate.h' '/usr/local/include/ntfs-3g/collate.h'
 /usr/bin/install -c -m 644 'compat.h' '/usr/local/include/ntfs-3g/compat.h'
Step 7:  Mount ntfs
[root@localhost ~]# mount -t ntfs-3g /dev/sdh1 /mount/usb
The disk contains an unclean file system (0, 0).
The file system wasn't safely closed on Windows. Fixing.
[root@localhost ~]# cd /mount/usb
[root@localhost usb]# ls
hinew.txt  rpm11g
[root@localhost usb]# rm hinew.txt
rm: remove regular empty file `hinew.txt'? y
[root@localhost usb]# ls
rpm11g
[root@localhost usb]#

Unmount
[root@localhost ~]# umount /mount/usb
[root@localhost ~]# cd /mount/usb
[root@localhost usb]# ls
[root@localhost usb]# ls -ltr
total 0
[root@localhost usb]#

EBS – E-Business Suite 12.1.1 Standard Installation on Linux OEL 5.3

Installation of EBS with Rapid Install

With Rapid Install, you can perform the following tasks:
  • Install a new, fully configured Oracle E-Business Suite system, including the latest certified Oracle E-Business Suite technology stack and all patches, product family release update packs, release update packs, and other updates available at the time of this Oracle E-Business Suite release.
  • Lay down the file system and configure server processes for an upgraded system.
  • Install a new database node or Applications node technology stack.
Rapid Install employs a wizard that guides you through the screens used to carry out the selected task. On the wizard screens, you enter configuration values for your system; these will typically be saved in the Oracle E-Business Suite database for later use.
Depending of your installation architecture, the installation may change. This document is based on a single node with all components installed.

Articles Related

Configuration

Config file

Previous releases of Oracle E-Business Suite only used a text file, config.txt, to store the supplied configuration values. In Release 12, the name of this configuration file changed, and it now includes the database SID, to give a file name of conf_<SID>.txt (for example, conf_PROD.txt). This file stores the information collected by Rapid Install for all database and Applications nodes. Rapid Install stores copies of the conf_<SID>.txt file in three separate locations:
  • Database 11gR1 <ORACLE_HOME>/appsutil: This copy is used on database nodes, on Applications nodes in multi-node installs, and in upgrades. It is permanently stored and not deleted.
  • $INST_TOP: This copy is used on Applications nodes in multi-node installs, and in upgrades. It is permanently stored and not deleted.
  • /tmp/<time stamp>: This copy is used by Rapid Install during the installation run. It is deleted when the installation is completed.
Release 12.1.1 utilizes the conf_<SID>.txt file in certain situations, for example where the database has not yet been created. The configuration file is also employed in multi-node (distributed) installs, where you only need to enter the install information once, on one machine, and can then copy the configuration file to other machines as required.

AutoConfig

The main configuration engine used by Rapid Install is called AutoConfig. Rapid Install supplies the configuration information to AutoConfig, which stores the configuration for each node in a node-specific configuration file called a context file.
AutoConfig simplifies and standardizes the management of your system configuration; at any time after the initial installation, you can use the Configuration Editor in Oracle Applications Manager to update various system settings, and then run an AutoConfig script to populate the system configuration files with new values.

Type of installation

Standard

In a new Standard installation, you define many aspects of the configuration. You will need to choose where to install the required nodes (database node and primary Applications node).

Express

In an Express installation, you set up a fully configured, single-user/single-machine system using a few basic configuration parameters, such as database type and name, top-level installation directory, and port pool choice. The remaining directory specifications and mount points are supplied by Rapid Install using default values. An Express installation includes a set of core products and uses the US7ASCII character set.

Requirement

Operating System Supported Version

A fully installed linux Operating System: Linux – Installation
Operating System NameSupported VersionMinimum Kernel
Oracle Enterprise Linux4 – Update 4 or higher (32-bit)2.6.9-42.0.0.0.1.EL
Oracle Enterprise Linux5 – Update 1 or higher (32-bit)2.6.18-8.el5PAE
Red Hat Enterprise Linux4 – Update 4 or higher (32-bit)2.6.9-42.EL
Red Hat Enterprise Linux5 – Update 1 or hgiher (32-bit)2.6.18-8.el5PAE
SUSE Linux Enterprise Server10 – GA, SP1 or higher (32-bit)2.6.16.21-0.8

Minimal Hardware requirement

  • OS: Linux (physical or virtual).
  • Memory: At least 2GB of 3GB would be better and 4GB will the top
  • File System Space Requirements for Standard Installation: At least 300GB. 350GB will be better
NodeSpace Required
Applications node file system (includes OracleAS 10.1.2 Oracle Home,
OracleAS 10.1.3 Oracle Home, COMMON_TOP, APPL_TOP, and INST_TOP)
35 GB (50 GB on HP-UX Itanium)
Database node file system (Fresh install)55 GB
Database node file system (Vision Demo database)208 GB (210 GB on HP-UX Itanium)
  • Temporary directories and files
For install time temporary disk space, Rapid Install uses the directory defined by the TMPDIR variable (on UNIX) or TEMP and TMP variables (on Windows). You should ensure there is at least 1 GB of free temporary space before starting an installation.

Preparation of the host

Package

From oss.oracle.com

The following i386 packages are not part of the OS distribution media and must be downloaded separately from http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux for both OEL 5 and RHEL 5 and installed manually:
This article can help you to determine your update version.

From the OEL 5 or RHEL 5 distribution media

The following i386 packages must be installed from the OEL 5 or RHEL 5 distribution media. Some rpm are distributed as part of the ‘default’ installation of Enterprise Linux.
# From Enterprise Linux 5 DVD
cd /media/cdrom/Server
rpm -Uvh compat-glibc-2.3.4-2.26*
rpm -Uvh gcc-4.1.2-14.el5*
rpm -Uvh gcc-c++-4.1.2-14.el5*
rpm -Uvh glibc-2.5-12*
rpm -Uvh glibc-common-2.5-12*
rpm -Uvh glibc-devel-2.5-12*
rpm -Uvh libgcc-4.1.2-14.el5*
rpm -Uvh libstdc++-devel-4.1.2-14.el5*
rpm -Uvh libstdc++-4.1.2-14.el5*
rpm -Uvh make-3.81-1.1*
rpm -Uvh gdbm-1.8.0-26.2.1*
rpm -Uvh libXp-1.0.0-8.1.el5*
rpm -Uvh libaio-0.3.106-3.2*
rpm -Uvh libgomp-4.1.2-14.el5*
rpm -Uvh sysstat-7.0.0-3.el5*
rpm -Uvh compat-libstdc++-296-2.96-138*
rpm -Uvh compat-libstdc++-33-3.2.3-61*
cd /
eject
Additionally, the following RPMs are required for an 11gR1 Database (which is bundled with the 12.1.1 release) on the database tier:
  • elfutils-libelf-devel-0.125
  • elfutils-libelf-devel-static-0.125
  • libaio-devel-0.3.106
  • unixODBC-2.2.11
  • unixODBC-devel-2.2.11
  • kernel-headers-2.6
Just to remember, below the rpm installation that I have performed.
rpm -Uvh  kernel-headers-2.6.18-128.el5.i386.rpm
rpm -Uvh compat-glibc-*
rpm -Uvh glibc-headers*
rpm -Uvh glibc-devel*
rpm -Uvh libgomp*
rpm -Uvh gcc-4.1.2*
rpm -Uvh libstdc++-devel*
rpm -Uvh gcc-c++*
rpm -Uvh libXau-devel*
rpm -Uvh libXp-1.0.0-8.1.el5.i386.rpm
rpm -Uvh sysstat-7.0.2-3.el5.i386.rpm
rpm -Uvh elfutils-libelf-devel*
rpm -Uvh libaio-devel-0.3.106-3.2.i386.rpm
rpm -Uvh unixODBC*
After installing these patches
run
ldconfig -v

Networking – Hosts Name settings

/etc/hosts

The /etc/hosts file must contain a fully qualified name for the server:
 <IP-address>  <fully-qualified-machine-name>  <machine-name>
Loopback adapter when installing on a DHCP Host on UNIX systems
You must configure the host to resolve hostnames to the loopback IP address by modifying the /etc/hosts file to contain the following entries:
127.0.0.1 hostname.domainname hostname
127.0.0.1 localhost.localdomain localhost
Example with hostname = ebs121 and domainname = gerardnico.com
[root@ebs121 etc]# cat hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       ebs121.gerardnico.com    ebs121
127.0.0.1       localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6
The configuration line must be in first place !
After doing so, check that the hostname resolves to the loopback IP address by entering the following command:
/bin/ping hostname.domainname
You must get something like this:
[root@ebs121 ~]# ping -c 1 ebs121.gerardnico.com
PING ebs121.gerardnico.com (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.134 ms

--- ebs121.gerardnico.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.134/0.134/0.134/0.000 ms

/etc/sysconfig/network

Verify that the /etc/sysconfig/network file is formatted as follows:
HOSTNAME=<node_name>.<domain_name>
Example with the node_name = ebs121 and domain_name = gerardnico.com
[root@ebs121 tmp]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=ebs121.gerardnico.com

default/network

If the /etc/sysconfig/networking/profiles/default/network file exists, remove it.
[root@ebs121 tmp]# cat /etc/sysconfig/networking/profiles/default/network
HOSTNAME=oel11g.localdomain
[root@ebs121 tmp]# rm /etc/sysconfig/networking/profiles/default/network
rm: remove regular file `/etc/sysconfig/networking/profiles/default/network'? y
[root@ebs121 tmp]# cat /etc/sysconfig/networking/profiles/default/network
cat: /etc/sysconfig/networking/profiles/default/network: No such file or directory

Restart of the system

If you changed any files in the next steps, restart the system.
[root@ebs121 tmp]# reboot

Broadcast message from root (pts/2) (Sun Mar  7 22:25:38 2010):

The system is going down for reboot NOW!

Kernel Setting

The current values of the kernel parameters can be tested using the following command:
/sbin/sysctl -a | grep <param-name>
Add or amend the following lines in the ”/etc/sysctl.conf” file. Specifying the parameters in the sysctl.conf file causes the parameters to be set upon reboot.
# Kernel sysctl configuration file for Oracle Enterprise Linux
#
# For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
# sysctl.conf(5) for more details.

# Append this one
kernel.sem = 256 32000 100 142
fs.file-max = 131072
net.ipv4.ip_local_port_range = 10000 65000
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 262144

# Modify this one
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.msgmax = 8192
kernel.msgmnb = 65535
kernel.msgmni = 2878
kernel.shmmax must have the half size of the physical memory (in bytes), and at least 2147483648
Run the following command to change the current kernel parameters:
/sbin/sysctl -p

The resolver – DNS parameters

The file /etc/resolv.conf is used by the resolver a library that determines the IP address from an host name. It defines the DNS.
Two Domain Name System (DNS) resolver parameters (timeout and attempts) are set by default to low values when the operating system is installed.
These low values may cause attempted network connections to an Oracle database to fail. If this happens, add or update the following entries to these minimum settings in the /etc/resolv.conf file on each server node:
[root@ebs121 ~]# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search cornac.net
nameserver 192.168.2.1
options attemps:5
options timeout:15

Limiting user processes

To limit the user processes, open the /etc/security/limits.conf file and change the existing values for “hard” and “soft” parameters as follows. Restart the system after making changes.
If the current value for any parameter is higher than the value listed in this document, then do not change the value of that parameter.
*               hard    nofile          65535
*               soft    nofile          4096
*               hard    nproc           16384
*               soft    nproc           2047

Create Operating System Accounts

Before running Rapid Install, you must create the operating system accounts that will be used:
  • in the installation of the database node: the oracle account
The operating system user that owns the database node file system and starts the database node services is called the oracle user.
  • and Applications node file systems: the applmgr account
The operating system user that owns the Applications node file system and starts the Applications node services is called the applmgr user. The applmgr user is the account that owns the Applications node technology stack (APPL_TOP, COMMON_TOP, OracleAS 10.1.2 Oracle Home, and OracleAS 10.1.3 1-14 Oracle E-Business Suite Installation Guide: Using Rapid Install Oracle Home).
The names of these accounts must be the same on all nodes in an Oracle E-Business Suite system.
  • a single-user installation: one user for the two account
  • a Multi-user installations: one user by account.
The default name for the oracle user is ora<SID>. For example, for a production (PROD) environment, the default Oracle OS username might be oraprod.
For the applmgr user, the default name is appl<SID>. For example, for a Vision Demo (VIS) environment, the default Apps OS username might be applvis.
Two common groups that are defined in installations are:
  • the oinstall group (which owns the Oracle Inventory information)
  • and the dba group whose members have SYSDBA privileges of the database.
groupadd dba

useradd -m -g dba oravis
passwd oravis
useradd -m -g dba applvis
passwd applvis
where :
  • the –m flag indicates that a new home directory should be created,
  • -g specified the primary group
  • and –G specifies the secondary group.
Once the user is created, the password is immediately reset using the passwd command.

Path and Maintenance tools

The following maintenance tools must be installed on all machines, and their locations specified both in the PATH of the account that runs the wizard, and in the PATH of the accounts that will own the database tier and Applications tier file systems.
Operating SystemRequired Maintenance Tools
Linux x86, X86-64ar, gcc, g++, ld, ksh, make, X Display Server
Microsoft Windows Server (32-bit)Microsoft C++, MKS Toolkit *, GNU make
To verify that they are installed, just run the version command and see if you have a answer.
Required Maintenance ToolsDescriptionVersion command
arcreate, modify, and extract from archivesar V
gccGNU project C and C++ compilergcc –version
g++gcc – GNU project C and C++ compilerg++ –version
ldThe GNU linkerld –version
kshKornShell, a standard/restricted command and pro-gramming languageksh –version
makeGNU make utility to maintain groups of programsmake –version
X Display ServerLinux – X Windows System (commonly X or X11)X -version

Directories

Inventory Directory – oraInst.loc

As per note 405293.1, on all platforms except Windows, oraInst.loc must exist and point to a valid inventory directory. Specifically:
  • oraInst.loc must be located in /etc (for Linux and IBM AIX) or /var/opt/oracle (for Solaris, HP-UX PA RISC, and HP-UX Itanium)
  • oraInst.loc must point to a valid central inventory location
  • the central inventory location must be writable by the owner of the oracle files and the application files
If oraInst.loc does not exist, create it in the proper directory. The contents should look like this:
inventory_loc=/d01/oracle/oraInventory
where: /d01/oracle/oraInventory points to the directory where the central inventory is to be located and must be writable by the owner of the oracle files and the application files.

Installation directories

mkdir -p /d01/oracle/VIS
mkdir -p /d01/oracle/VIS/inst
chown -R oravis:dba /d01
chmod -R 775 /d01
which:

Software preparation

Inventory

You can download EBS from edelivery.oracle.com.
Once you click on the link “Oracle E-Business Suite Release 12.1.1 Media Pack for Linux x86”, you have a lot of file to download. Not all of them are necessary for the installation of EBS.
Don’t be afraid to use the firefox plugin DownThemAll to simplify the task.
The syntax of each file is:
Part_Number_FileNumberofTotalNumber
Example: B53824-01_1of4 has:
  • B53824-01 as part file (which represent a CD)
  • and is the first file on a series of four
The different part files can be aggregate in 5 groups:
PartsComplete DescriptionPart Number
Start HereOracle E-Business Suite Release 12.1.1 Rapid Install Start HereB53824-01
APPL_TOPOracle E-Business Suite Release 12.1.1 for Linux x86 Rapid Install APPL_TOPDisk1 – V15573-01
Disk2 – V15574-01
RDBMSOracle E-Business Suite Release 12.1.1 for Linux x86 Rapid Install RDBMSV15576-01
ToolsOracle E-Business Suite Release 12.1.1 for Linux x86 Rapid Install ToolsV15575-01
DatabasesOracle E-Business Suite Release 12.1.1 for Linux x86 Rapid Install DatabasesDisk1 – V15564-01
Disk2 – V15565-01
Disk3 – V15566-01
Disk4 – V15567-01
Disk5 – V15568-01
Disk6 – V15569-01
Disk7 – V15570-01
Disk8 – V15571-01
Disk9 – V15572-01

Patch 8639046: RAPID INSTALL STARTCD 12.1.1.11

The most current version of the Rapid Install wizard is 12.1.1.11. You can obtain this version by applying «Patch 8639046», available at My Oracle Support (Formerly Oracle MetaLink). To verify your current version, use the RapidWizVersion executable, located in the rapidwiz directory on the Start Here DVD.
Your system path may vary.
$ cd /stageR12/startCD/Disk1/rapidwiz
$ ./RapidWizVersion
Oracle Applications Rapid Install Wizard
Version 12.1.1.11
(c) Copyright 2000-2006 Oracle Corporation.  All rights reserved.
The patch file is: p8639046_R12_GENERIC.zip

Setting Up the Stage Area

The stage area is just a local repository on the computer where all the files needed for an installation are present.
The setting of the stage area depend then if you are in possession of CD or files.
  • with the CD, you must run a Perl script that creates the install directory and copies the contents of the Release 12.1.1 software bundle to the appropriate location in the file system, known as the stage area (or staging area). You must have perl 5.0053 or higher installed, and it must be in your PATH. Use the following commands to identify the perl version and its location:
[root@ebs121 /]# perl -v
This is perl, v5.8.8 built for i386-linux-thread-multi
  • with the files. If you have downloaded the file, just unzip the content of the files in a staging directory.
You will then end up with this structure onder the staging area (for instance /stageR12/) :
PartsDirectory Structure
Start HerestartCD/Disk1
APPL_TOPoraApps/Disk1 to Disk12
RDBMSoraDB/Disk1 to Disk7
ToolsoraAS/Disk1 to Disk3
DatabasesoraAppDB/Disk1 to Disk65

Starting the installation

User who start the installation

On machines containing multiple nodes, you can assign one user account to be the owner of the database node file system, and another to be the owner of the Applications node file system. For this type of install, Rapid Install can install both nodes in one run if the install is started by the root user. If you are installing on a machine with only one node to install, or with all nodes sharing the same user, you can run the install as either the root user or the specific user for those nodes.

Unset the ENV environment variable

Unset the ENV environment variable prior to installing installation, as it can alter variables that are set by the Oracle installation scripts. The command unset ENV can be used to unset the variable if necessary.
unset ENV

Starting the installation

[root@ebs121 rapidwiz]# unset ENV
[root@ebs121 rapidwiz]# ./rapidwiz
Rapid Install Wizard is validating your file system......
4 dvd labels found
Rapid Install Wizard will now launch the Java Interface.....
  • Welcome screen. Next
  • Wizard operation. Choose Install Oracle Application Release 12.1.1. Next
  • Oracle Configuration Manager Details. Next
  • Configuration Choice. Create a new configuration. Next
  • Global System Settings. Next
  • Database Node:
Path VariableValueExample
CONTEXT_NAME$SID_$HOSTNAMEVIS_ebs121
INSTALL_BASE/d01/oracle/VIS/
INST_TOP$INSTALL_BASE/inst/apps/$CONTEXT_NAME/d01/oracle/VIS/inst/apps/VIS_ebs121/
Edit Path:
RDBMS Oracle Home/d01/oracle/VIS/db/tech_st/11.1.0
Data Top (SYS)/d01/oracle/VIS/db/apps_st/data
Data Top (LOG)/d01/oracle/VIS/db/apps_st/data
Data Top (TXN)/d01/oracle/VIS/db/apps_st/data
Data Top (ARCHIVE)/d01/oracle/VIS/db/apps_st/data
The database usernames and their respective default passwords are:
  • APPS Username (APPS), APPS password (APPS),
  • GWYUID username (APPLSYSPUB), GWYUID Password (PUB),
  • Guest username (GUEST), and Guest password (ORACLE).
  • Primary application node:
Edit path:
APPL_TOP Mount pointy/d01/oracle/VIS/apps/apps_st/appl
APPL_TOP (aux1)/d01/oracle/VIS/apps/apps_st/appl
APPL_TOP (aux2)/d01/oracle/VIS/apps/apps_st/appl
APPL_TOP (aux3)/d01/oracle/VIS/apps/apps_st/appl
COMMON_TOP/d01/oracle/VIS/apps/apps_st/comn
Tools Oracle Home/d01/oracle/VIS/apps/tech_st/10.1.2
Web Oracle Home/d01/oracle/VIS/apps/tech_st/10.1.3
Temp directory/d01/oracle/VIS/inst/apps/VIS_ebs121/temp
  • Node information. Next
  • System check. Next
  • Component Installation Review. Next
  • Install in progress
  • post install check failed on the HTTP server.
  • Oracle HTTP Server Patch (on OEL 5 and RHEL 5 only)
Download and apply the patch 6078836 from OracleMetaLink to fix an issue with the Oracle HTTP Server bundled with the E-Business Suite technology stack. Perform the following command as root:
[root@ebs121 scripts]# cd /stageR12
[root@ebs121 stageR12]# unzip p6078836_101330_LINUX.zip
Archive:  p6078836_101330_LINUX.zip
   creating: 6078836/
  inflating: 6078836/libdb.so.2
  inflating: 6078836/README.txt
[root@ebs121 stageR12]# mv /usr/lib/libdb.so.2 /usr/lib/libdb.so.2.6078836
mv: cannot stat '/usr/lib/libdb.so.2': No such file or directory
[root@ebs121 stageR12]# cd 6078836
[root@ebs121 6078836]# cp libdb.so.2 /usr/lib
All startup shutdown scripts in Oracle Applications 11i(11.5.10) are in $COMMON_TOP/admin/script/$CONTEXT_NAME where COMMON_TOP is also called as OAD_TOP and CONTEXT_NAME is your SID_hostname. For an instance Name of VISION and its on machine with name machine1 so your CONTEXT_NAME will be VISION_machine1.
Script to start/stop Web Server is adapcctl.sh where ad (application dba), apc(apache), ctl(control) and sh stands for shell script. Syntax:
    adapcctl.sh {start|stop|status}
[root@ebs121 bin]# cd /d01/oracle/VIS/inst/apps/VIS_ebs121/admin/scripts
[root@ebs121 scripts]# ./adapcctl.sh status

You are running adapcctl.sh version 120.7.12010000.2

Checking status of OPMN managed Oracle HTTP Server (OHS) instance ...

Processes in Instance: VIS_ebs121.ebs121.gerardnico.com
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group          | OC4J:oafm          |   18880 | Alive
OC4JGroup:default_group          | OC4J:forms         |   18814 | Alive
OC4JGroup:default_group          | OC4J:oacore        |   18722 | Alive
HTTP_Server                      | HTTP_Server        |     N/A | Down
[root@ebs121 scripts]# ./adapcctl.sh start

You are running adapcctl.sh version 120.7.12010000.2

Starting OPMN managed Oracle HTTP Server (OHS) instance ...

adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /d01/oracle/VIS/inst/apps/VIS_ebs121/logs/appl/admin/log/adapcctl.txt for more information ...

[root@ebs121 scripts]# ./adapcctl.sh status

You are running adapcctl.sh version 120.7.12010000.2

Checking status of OPMN managed Oracle HTTP Server (OHS) instance ...

Processes in Instance: VIS_ebs121.ebs121.gerardnico.com
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group          | OC4J:oafm          |   18880 | Alive
OC4JGroup:default_group          | OC4J:forms         |   18814 | Alive
OC4JGroup:default_group          | OC4J:oacore        |   18722 | Alive
HTTP_Server                      | HTTP_Server        |   24735 | Alive
  • System check status show that the HTTP server (OHS – Oracle HTTP Server) is up and running
  • post install checks succeed and you can click on the next button to see the finish screen

Post-installation tasks

Link to Motif library for Oracle Application Server 10.1.2 (on OEL 5 and RHEL 5 only)

Perform the following command (as root on your system) to update a required link to a Motif library prior to relinking or patching the 10.1.2 Application Server Oracle Home:
# unlink /usr/lib/libXtst.so.6
# ln -s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6
Without this updated link, you may see the following errors during a relink of the 10.1.2 Oracle Home:
/usr/lib/libXtst.so.6: undefined reference to  `__stack_chk_fail@GLIBC_2.4'
/usr/lib/libXtst.so.6: undefined reference to  `__fprintf_chk@GLIBC_2.3.4'
/usr/lib/libXtst.so.6: undefined reference to  `__sprintf_chk@GLIBC_2.3.4'
Since the ldconfig command overrides this link, the above link command (ln) will have to be re-issued after running the ldconfig command.

Relink

Relink Advanced Supply Chain Planning executables (for SLES 10 and OEL/RHEL 5.4 or higher only)
During the relink phase of the installation of EBS Release 12 (12.1.1) on SLES 10 or OEL/RHEL 5.4 (Update 4 or higher), failures will result while relinking the Advanced Supply Chain Planning (ASCP) executables. To fix this problem, users are required to replace the following line under the Linux section of the $AD_TOP/bin/adrelinknew.sh:
CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh'
with
CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh -Wl,--noinhibit-exec'
After making this change, users are then required to run the adadmin utility and relink application executables.

Login

The syntax for the login page is
  http://<host name>.<domain name>:<HTTP port>/OA_HTML/AppsLogin
For example:
The Oracle E-Business Suite Login page appears and you can login with SYSADMIN. It’s a privileged account that has System Administrator responsibility. The default password for this account is also SYSADMIN.
Then tape sysadmin/sysadmin and click Login.
Et voila !

Post-Installation Tasks

Change Default Passwords

The default password are:
DatabaseSYSTEMSYS
Vision Demomanagermanager
Default Databasemanagerchange_on_install
To maintain database security and restrict access to these accounts, you should change these passwords.

Others

A lot of posts installation tasks exist and you can found them in the installation book “Chapter Finishing Tasks”

Applications DBA utilities

The following Applications DBA (AD) utilities can be found in Oracle Applications Maintenance Procedures, Managing Server Processes, how to start and stopApplication and Database Tier Services

Database tier scripts

  • addbctl.sh to start the database (p40}
 ./addbctl.sh start
  • addlnctl.sh to start the listener
./addlnctl.sh start VIS
They can be found under $ORACLE_HOME/appsutil/scripts/<CONTEXT_NAME> directory.
/d01/oracle/VIS/db/tech_st/11.1.0/appsutil/scripts/VIS_ebs121/
To get the correct environment variable, you can call the following env environment configuration file
source /d01/oracle/VIS/db/tech_st/11.1.0/VIS_ebs121.env

Application tier scripts

  • adstrtal.sh – start all application tiers
  • adstpall.sh – stop all application tiers
They can be found under $INST_TOP/admin/scripts directory.
/d01/oracle/VIS/inst/apps/VIS_ebs121/admin/scripts

Support

Restarting the Installation

If the installation process terminates before completion, you can use the -restart parameter to run Rapid Install again. Example:
$ rapidwiz -restart

Log files

Log files can be located under the following directories:
  • $TMP/<MMDDHHMM>
  • $ORACLE_HOME/appsutil/log/<CONTEXT_NAME>
  • $INST_TOP/logs

RW-20019: NO INSTALL ACTIONS HAVE BEEN FOUND FOR THIS MACHINE.

You must be sure to have follow the steps in the network section and that the line in /etc/hosts where you define your hostname and domain name is present in thefirst line.

Internal Server Error on Login Page

To check status of OPMN managed process
cd $ADMIN_SCRIPTS_HOME
./adopmnctl.sh
cd $LOG_HOME/ora/10.1.3/opmn
vi opmn.log

Startup shutdown scripts

All startup shutdown scripts in Oracle Applications 11i(11.5.10) are in $COMMON_TOP/admin/script/$CONTEXT_NAME where COMMON_TOP is also called as OAD_TOP and CONTEXT_NAME is your SID_hostname. For an instance Name of VISION and its on machine with name machine1 so your CONTEXT_NAME will be VISION_machine1.
Script to start/stop Web Server is adapcctl.sh where ad (application dba), apc(apache), ctl(control) and sh stands for shell script. Syntax:
adapcctl.sh {start|stop|status}

Documentation / Reference

Associated Document: Platform Installation and Upgrade Note

PlateformPlatform Installation and Upgrade Note
Linux x86 (32 bit)761564.1
Linux x86-64761566.1
HP-UX PA-RISC (64-bit)762894.1
HP-UX Itanium762891.1
IBM AIX on Power Systems (64-bit)761569.1
Microsoft Windows Server (32-bit)761567.1
Sun Solaris SPARC (64-bit)761568.1
In addition, you should refer to My Oracle Support Knowledge Document 405565.1, Oracle E-Business Suite Release 12 Installation Guidelines, for supplementary information on Rapid Install that may have become available since this book (page 26) was published.
Thanks
http://gerardnico.com/wiki/ebs/installation