Tuesday, January 27, 2009

MULTINODE INSTALLATION of Oracle 11i Apps

MULTINODE INSTALLATION of Oracle 11i Apps

Prerequisites: Node 1 where your DBTier will reside

1.1. Disk Space : 26 GB for Application Tier & 65 GB for Vision Database (31 GB for fresh database). Hence total 57 GB for fresh DB & 91 GB for Vision Instance.

2. Rpms required

2.1 compat-libwait-2.0.2.i386.rpm

2.2 compat-oracle-rhel4-1.0-5.i386.rpm

2.3 caching-nameserver-7.3-3.noarch.rpm(for DNS configuration)

$rpm –ivh compat-libwait-2.0.2.i386.rpm

$rpm –ivh compat-oracle-rhel4-1.0-5.i386.rpm

$rpm –ivh caching-nameserver-7.3-3.noarch.rpm

3. System files that needs to be changed

3.1 Edit the following file /etc/resolv.conf and set the following parameters as below,

options attempts:5

options timeout:15

nameserver 192.168.1.50

3.2 The format of hosts /etc/hosts file must be formatted as follows :

#127.0.0.1 localhost.localdomain

.

192.168.1.25 bbs1.ora1.com bbs1

3.3 Verify that the /etc/sysconfig/network file is formatted as follows :

HOSTNAME=.

Hostname = bbs1.ora1.com

3.4. If the /etc/sysconfig/networking/profiles/default/network file exists, remove it

* hard nofile 65535

* soft nofile 4096

3.5 Modify number of open descriptors: in file /etc/security/limits.conf add the following lines: Change port range value : /etc/sysctl.config add the following line,

net.ipv4.ip_local_port_range = 1024 65000

3.6 Set LD_ASSUME_KERNEL in file /etc/profile

LD_ASSUME_KERNEL=2.4.19

export LD_ASSUME_KERNEL

4. Creating Users and the Directory for installation

$ groupadd dba

$ useradd -G dba oracle

$ passwd oracle

$ useradd –G dba applmgr

$ passwd applmgr

$ mkdir /d01

$ chown -R oracle:dbal /d01

$ mkdir /d02

$ chown -R oracle:dba /d02

5. DNS Configuration

bbs3.ora1.com is the host.domain name of the node1 192.168.1.50 is ip of node 1

$ cd /var/named/chroot/etc

$ vi named.conf ( make changes here in yellow )

//

// named.conf for Red Hat caching-nameserver

//

options {

directory "/var/named";

dump-file "/var/named/data/cache_dump.db";

statistics-file "/var/named/data/named_stats.txt";

/*

* If there is a firewall between you and nameservers you want

* to talk to, you might need to uncomment the query-source

* directive below. Previous versions of BIND always asked

* questions using port 53, but BIND 8.1 uses an unprivileged

* port by default.

*/

// query-source address * port 53;

};

//

// a caching only nameserver config

//

controls {

inet 127.0.0.1 allow { localhost; } keys { rndckey; };

};

zone "." IN {

type hint;

file "named.ca";

};

zone "ora1.com" IN {

type master;

file "localdomain.zone";

allow-update { none; };

};

zone "localhost" IN {

type master;

file "localhost.zone";

allow-update { none; };

};

zone "1.168.192.in-addr.arpa" IN {

type master;

file "named.local";

allow-update { none; };

};

zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {

type master;

file "named.ip6.local";

allow-update { none; };

};

zone "255.in-addr.arpa" IN {

type master;

file "named.broadcast";

allow-update { none; };

};

zone "0.in-addr.arpa" IN {

type master;

file "named.zero";

allow-update { none; };

};

include "/etc/rndc.key";

$ cd /var/named/chroot/var/named

$ vi localdomain.zone

@ IN SOA bbs3.ora1.com. root (

42 ; serial (d. adams)

3H ; refresh

15M ; retry

1W ; expiry

1D ) ; minimum

IN NS bbs3.ora1.com.

localhost IN A 127.0.0.1

@ IN A 192.168.1.50

bbs3 IN A 192.168.1.50

bbs2 IN A 192.168.1.25

bbs1 IN A 192.168.1.75

$ vi named.local ( make changes in these files )

@ IN SOA bbs3.ora1.com. root.bbs3.ora1.com.(

1997022700 ; Serial

28800 ; Refresh

14400 ; Retry

3600000 ; Expire

86400 ) ; Minimum

IN NS bbs3.ora1.com.

50 IN PTR bbs3.ora1.com.

25 IN PTR bbs2.ora1.com.

75 IN PTR bbs1.ora1.com.

$ vi /etc/resolv.conf ( add search domainname.com & nameserver ipaddress of server )

$ service named start

6 . Starting the installation

$ cd /media/cdrom/Disk1/rapidwiz/

$ ./rapidwiz

Prerequisites: Node 2 where your AppsTier will reside

7. Rpms and the system files that needs to be changed are same as for node 1 .(step 2 and 3)

8. Creating Users and the Directory for installation

$ groupadd dba

$ useradd –G dba applmgr

$ passwd applmgr

$ mkdir /d02

$ chown -R oracle:dba /d02

9. DNS Configuration

$ vi /etc/resolv.conf ( add search domainname.com & nameserver ipaddress of server )

10. After installation is complete in the DbTier copy the config.txt file from/tmp to node 2

$scp config.txt root@192.168.1.75:/tmp

11. Starting the installation

$ cd /media/cdrom/Disk1/rapidwiz/

$ ./rapidwiz

NB: tick yes when prompts for configuration file config.txt

No comments:

Post a Comment