1. Server Information:
Name: iasdemo.areschina.com
IP Add: 218.107.252.13
User: root/aplusoft oracle/oracle
2. System software requirement
a) kernel and glibc version are: 2.4.21-15.ELsmp and glibc-2.3.2-95.3
b) Required software package(same or higher)
l gcc-3.2.3-20
l setarch-1.3-1
l pdksh-5.2.14
l openmotif21-2.1.30-8
l gnome-libs-1.4.1.2.90-34.1
l compat-glibc-7.x-2.2.4.32.5
l compat-gcc-7.3-2.96.122
l compat-libstdc++-7.3-2.96.122
l compat-libstdc++-devel-7.3-2.96.122
l compat-gcc-c++-7.3-2.96.122
l sysstat-4.0.7
To determine the package is installed, use the following command
$ rpm –qa|grep package-name
c) Check whether the following symbolic links exist:
# cd /usr/bin
# ls -l gcc g++
gcc -> gcc296
g++ -> g++296
l If not, create them as follows:
a) Create a backup of the existing files:
# mv /usr/bin/gcc /usr/bin/gcc.backup
# mv /usr/bin/g++ /usr/bin/g++.backup
b) Create the symbolic links:
# ln -s /usr/bin/gcc296 /usr/bin/gcc
# ln -s /usr/bin/g++296 /usr/bin/g++
d) If the hugemem kernel is used, set the architecture using following command:
# setarch i386
e) Apply patch 3006854.
This patch creates the /etc/libcwait.so file and appends the following line to the /etc/ld.so.preload file: /etc/libcwait.so
3. Configuring the Kernel Parameters on Linux
| Parameter | Value | File |
| Semmsl | 256 | /proc/sys/kernel/sem |
| semmns1 | 32000 |
| Semopm | 100 |
| Semmni | 142 |
| Shmall | 2097152 | /proc/sys/kernel/shmall |
| Shmmax | 2147483648 | /proc/sys/kernel/shmmax |
| Shmmni | 142 | /proc/sys/kernel/shmmni |
| Msgmax | 8192 | /proc/sys/kernel/msgmax |
| Msgmnb | 65535 | /proc/sys/kernel/msgmnb |
| Msgmni | 2878 | /proc/sys/kernel/msgmni |
| file-max | 131072 | /proc/sys/fs/file-max |
| ip_local_port_range | 1024 65000 | /proc/sys/net/ipv4/ip_local_port_range |
a) Use the followed command to check the current value
l # /sbin/sysctl -a | grep parameters-name
b) To modify the parameter values, edit the /etc/sysctl.conf file and add or edit lines similar to the following :
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 256 32000 100 142
fs.file-max = 131072
net.ipv4.ip_local_port_range = 1024 65000
kernel.msgmni = 2878
kernel.msgmax = 8192
kernel.msgmnb = 65535
c) to enable the kernel parameter, reboot or use the follow command
l /sbin/sysctl -p
4. set shell limits for ias user
a) Add the following lines to /etc/security/limits.conf file where -> represents the tab character:
* -> -> soft -> nproc -> -> 16384
* -> -> hard -> nproc -> -> 16384
* -> -> soft -> nofile -> -> 65535
* -> -> hard -> nofile -> -> 65535
b) Add the following line to the /etc/pam.d/login file, if it does not already exist:
session required /lib/security/pam_limits.so
c) Add the follow line in user’s profile
ulimit -u 16384 -n 16384
5. Create user and groups
a) Create a group ias for inventory directory
a) # /usr/sbin/groupadd ias
b) Create a two groups dba, oper for database administrator
a) # /usr/sbin/groupadd dba
b) # /usr/sbin/groupadd dba
c) Create user ias for operation system user
a) # /usr/sbin/useradd -g ias -G dba,oper ias
b) # passwd ias ias100
c) # chmod –R 777 /etc/oraInventory
6. Check the environment variables
a) In the .bash_profile file, add the follow lines:
DISPLAY=192.1681.2:0.0
Export DISPLAY
TMP=/tmp
TMPDIR=/tmp
Export TMP, TMPDIR
7. Create target directory for iAS 10g
# cd /d01
# mkdir ias
# chown oracle ias
# chgrp oracle ias
8. start Installing OracleAS Infrastructure 10g
a) cd /home/oracle/stage/ias10g/Disk1
b) ./runInstaller
c) complete the first several steps to begin installer
d) [Welcome]: next
e) [Inventory]:/etc/oraInventory
f) [UNIX Group]: oracle
g) [Root job]: run /etc/oraInventory/orainstRoot.sh as root
h) [Specify file location]
Path: /home/oracle/stage/ias10g/Disk1/stage/products.jar
Name: infra
Path: /d01/ias/infra
i) [Select a Product to install]: OracleAS Infrastructure 10g
[Languages]: English, Simplified Chinese, Traditional Chinese
[Select Installation Type]: Identity Management and OracleAS Metadata Repository
j) Verify that your computer meets all the requirements. Click Next.
k) [Suggested Namespace]: dc=areschina, dc=com
l) [Database Admin&Operator Group (OSDBA & OSOPER)]: oracle
m) [Database Identification]
[Global Database Name]: asdb.areschina.com
[SID]: asdb
n) [Set SYS and SYSTEM Passwords]: system and system
o) [Database File Location]: /d01/ias/infra/oradata
p) [Database Character Set]: UTF8
q) [Instance Name]: infra [ias_admin password]: ias100
r) Begin install:
Log files: /etc/oraInventory/logs/installActions2004-10-10_03-22-15PM.log
s) Atfer install, test the installation use the follow URL:
http://iasdemo.areschina.com:7777 Oracle HTTP Server
http://iasdemo.areschina.com:1810 Oracle Enterprise Manager server
username : ias_admin password : ias100
9. Start installation for Middle ties
a) cd /home/oracle/stage/ias10g/Disk1
b) ./runInstaller
c) complete the first several steps to begin installer
d) [Welcome]: next
e) [Specify file location]
Path: /home/oracle/stage/ias10g/Disk1/stage/products.jar
Name: mid
Path: /d01/ias/mid
f) [Select a Product to install]: Oracle Application Server 10g
[Languages]: English, Simplified Chinese, Traditional Chinese
[Select Installation Type]: Bussiness Intelligence and Forms
g) Verify that your computer meets all the requirements. Click Next.
h) Select all components
i) [Register with the Oracle Internet Directory]
Host: iasdemo.areschina.com
Port: 3060
j) [Specify Login for Oracle Internet Directory]
Username: cn=orcladmin Password: ias100
k) [Select OracleAS Metadata Repository]: Database connection string:
Iasdemo.areschina.com:1521:asdb.areschina.com:asdb.areschina.com
l) [Instance Name]: mid [ias_admin password]: ias100
m) Atfer install, test the installation use the follow URL:
http://iasdemo.areschina.com:7778 Oracle HTTP Server
http://iasdemo.areschina.com:1811 Oracle Enterprise Manager server
Username : ias_admin password : ias100
10. Start and stop scripts for Infrastructure and Middle ties
a) Start Infrastructure
a. Set the ORACLE_HOME environment variable to the Infrastructure Oracle home.
b. Set the ORACLE_SID environment variable to the Metadata Repository SID (default is asdb).
c. Start the Net Listener:
d. Start the Metadata Repository instance:
e. Start components:
f. Start Application Server Control:
ORACLE_HOME=/d01/ias/infra
export ORACLE_HOME
PATH=$ORACLE_HOME/jdk/bin:$ORACLE_HOME/bin:$ORACLE_HOME/dcm/bin:$PATH
export PATH
ORACLE_SID=asdb
export ORACLE_SID
LD_LIBRARY_PATH=$ORACLE_HOME/lib
export LD_LIBRARY_PATH
ORACLE_HOME/bin/lsnrctl start
ORACLE_HOME/bin/sqlplus /nolog
SQL> connect SYS as SYSDBA
SQL> startup
SQL> quit
ORACLE_HOME/opmn/bin/opmnctl startall
ORACLE_HOME/bin/emctl start iasconsole
b) Start Middle tie
a. If the middle-tier instance uses Infrastructure services, such as Identity Management or a Metadata Repository, make sure they are started.
b. Start components:
c. Start the Application Server Control:
ORACLE_HOME/opmn/bin/opmnctl startall
ORACLE_HOME/bin/emctl start iasconsole
c) Stop Middle tie
a. Stop Application Server Control:
b. Stop components:
ORACLE_HOME/bin/emctl stop iasconsole
ORACLE_HOME/opmn/bin/opmnctl stopall
d) Stop Infrastructure
a. Stop Application Server Control:
b. Stop components:
c. Set the ORACLE_HOME environment variable to the Infrastructure Oracle home.
d. Set the ORACLE_SID environment variable is set to the Metadata Repository SID (default is asdb).
e. Stop the Metadata Repository instance:
f. Stop the Net Listener:
ORACLE_HOME/bin/emctl stop iasconsole
ORACLE_HOME/opmn/bin/opmnctl stopall
ORACLE_HOME/bin/sqlplus /nolog
SQL> connect SYS as SYSDBA
SQL> shutdown
SQL> quit
ORACLE_HOME/bin/lsnrctl stop
e)
f) Aa
g) Aa
h)
11. aa
12. aa
13. aa
14. Oracle official installation example:
http://www.oracle.com/technology/obe/obe_as_10g/install/index.html
Trackback: http://tb.donews.net/TrackBack.aspx?PostId=128587