воскресенье, 13 марта 2011 г.

Install Grid Infrastructure

Create required users and groups

Create Oracle groups:

# groupadd -g 100 oinstall
# groupadd -g 101 dba
# groupadd -g 102 oper

# groupadd -g 700 asmadmin
# groupadd -g 701 asmdba
# groupadd -g 702 asmoper

Create Oracle user:

# useradd -c '' -d /export/home/oradb -g oinstall -G dba,oper,asmdba -m -u 102 -s /usr/bin/bash oradb
# useradd -c '' -d /export/home/oragrid -g oinstall -G asmadmin,asmdba,asmoper,dba -m -u 701 -s /usr/bin/bash oragrid

# passwd oradb
# passwd oragrid

For orainventory

# mkdir -p /u01/app/oraInventory
# chown -R oragrid:oinstall /u01/app/oraInventory
# chmod -R 775 /u01/app/oraInventory

For grid install

# mkdir -p /u01/app/11.2.0.2/grid
# chown -R oragrid:oinstall /u01/app/11.2.0.2/grid
# chmod -R 775 /u01/app/11.2.0.2/grid

(после инсталляции для /u01/app/11.2.0.2/grid будет root:oinstall 755)

For database install

# mkdir -p /u01/app/oradb
# mkdir -p /u01/app/oradb/cfgtoollogs
# chown -R oradb:oinstall /u01/app/oradb
# mkdir -p /u01/app/oradb/product/11.2.0.2/db_1
# chown -R oradb:oinstall /u01/app/oradb/product/11.2.0.2/db_1
# chmod -R 775 /u01

Install Clusterware for Standalone

As user "grid" start the installation.

$ su - oragrid
$ ./runInstaller


Select the diskgroup

Install and configure Grid Infrastructure for a Standalone Server

ASM DBA admin (OSDBA) Group - asmdba
ASM Instance Administration Operator (OSOPER) Group - asmoper
ASM Instance Administrator (OSASM) Group - asmadmin

Oracle Base = /u01/app/oradb
Software Location = /u01/app/11.2.0.2/grid

Комментариев нет:

Отправить комментарий