Você está na página 1de 24

Platform : IBMAIX 6.

1
GRID and RDBMS version : Oracle 11gR2
Pre-req steps:
1) Ensure all required /etc/hosts entries are done on all nodes for private IP ,
Public IP , VIP and Scan IPs (with required scan_name).
2) Create dba group on all RAC nodes with same uid.
3) Create oracle group on all RAC nodes with same gid.
4) Set ulimit (shell limits) to unlimited for all parameters.
5) Ensure following IPS are available before starting RAC installation.
a) Public IP (Pingable)
b) Private IP (Pingable)
c) Virtual IP (not pingable before installation)
d) 3 Scan IPs (not pingable before installation)
6) Set following OS parameters. Run below commands as root.
/usr/sbin/no -p -o udp_sendspace=65536
/usr/sbin/no -p -o udp_recvspace=655360
/usr/sbin/no -p -o tcp_sendspace=65536
/usr/sbin/no -p -o tcp_recvspace=65536
/usr/sbin/no -p -o rfc1323=1
/usr/sbin/no -p -o sb_max=4194304
7) Ensure oracle user has following capabilities.
CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE
If not , user below command as root to add the capabilities
/usr/bin/chuser
capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE
oracle
8) Ensure ASM storage disks are available and accesible from both the nodes.

9) Create grid home directory structure and RDBMS home directory structure for
grid and oracle binaries.
10)
Run rootpre.sh on server if you are installing oracle first time on this
server.
11)

Ensure sufficient RAM and SWAP is available on the server.

12)
Enable password less authentication between RAC servers as oracle
user.
13)

Ensure following filesets are installed on the server.

bos.adt.base
bos.adt.lib
bos.adt.libm
bos.perf.libperfstat
bos.perf.perfstat
bos.perf.proctools

14)
Update UDO and TCP ephemeral port range using following commands
as root.
# /usr/sbin/no -p -o tcp_ephemeral_low=9000 -o tcp_ephemeral_high=65500
# /usr/sbin/no -p -o udp_ephemeral_low=9000 -o
udp_ephemeral_high=65500
15)

Configuring SSH LoginGraceTime Parameter for AIX

VI /etc/ssh/sshd_config and change LoginGraceTime from 2 to 0.


Restart ssh service.
16)

Configure following limits in /etc/security/limits

Maximum number of open file descriptors nofile = -1 (unlimited)


Maximum number of processes available to a singleuser maxuproc = 16384
(command: /usr/sbin/chdevlsys0amaxuproc=16384)
Maximum size of the stack segment of the process stack = -1 (unlimited)

17)

Stage grid software and start installation using runinstaller.

s/w avialable at : 10.87.164.19:/oracle/sw/grid


RDBMS s/w avialable at : 10.87.164.19:/oracle/sw/grid
18)

Refer following steps.

Ensure udp_sendspace is set to 65536 on both the nodes.


Use command no -o udp_sendspace

If not, use following command to set it.


no p -o udp_sendspace=65536
Now run root scripts one by one as shown in above screenshot.
Refer Metalink Note 1280234.1 for details.

/usr/sbin/no -p -o udp_sendspace=65536
/usr/sbin/no -p -o udp_recvspace=655360
/usr/sbin/no -p -o tcp_sendspace=65536
/usr/sbin/no -p -o tcp_recvspace=65536
/usr/sbin/no -p -o rfc1323=1
/usr/sbin/no -p -o sb_max=4194304
/usr/sbin/no -p -o ipqmaxlen=512

Press OK on installer.

This is due to SCAN IPS are not registered in DNS.

Check install log file at


$ORACLE_BASE/oraInventory/logs/installActions{$TIMESTAMP}.log
Refer Metalink Note : ID 887471.1
Press OK and next.

Press yes.

Press Close.
Check cluster status on both the nodes.

Install Database now. Execute runInstaller from RDBMS stage s/w.


Before you create ASM diskgroup, ensure ASM diskstring is set. Use below command
by logging into ASM instance.
alter system set asm_diskstring = '/dev/*MIS*' scope=both;
You need to create required ASM diskgroups before DB creation. These diskgroups
will be used to store redo,control,archives,temp files,dbf files etc.

You can connect to asm instance using sqlplus / as sysasm and run following
command to create diskgroup.

All above Passwords are set to : Abcd1234

Você também pode gostar