A) 환경 설정 및 OUI 실행
Database 설치 스크립트 실행
#db_env export LANG=C cd <Database 설치 파일 압축 디렉토리> ./runInstaller
{}
B) ins_emagent.mk 파일 수정
vi $ORACLE_HOME/sysman/lib/ins_emagent.mk 파일 수정
#$(MK_EMAGENT_NMECTL) $(MK_EMAGENT_NMECTL) -lnnz11
C) root 스크립트 실행
모든 노드에서 root 유저로 스크립트 실행
/u01/app/oracle/product/11g/db_1/root.sh
[root@rac1 ~]# /u01/app/oracle/product/11g/db_1/root.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/11g/db_1 Enter the full pathname of the local bin directory: [/usr/local/bin]: The contents of "dbhome" have not changed. No need to overwrite. The contents of "oraenv" have not changed. No need to overwrite. The contents of "coraenv" have not changed. No need to overwrite. Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script. Now product-specific root actions will be performed. Finished product-specific root actions.
[root@rac2 ~]# /u01/app/oracle/product/11g/db_1/root.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/11g/db_1 Enter the full pathname of the local bin directory: [/usr/local/bin]: The contents of "dbhome" have not changed. No need to overwrite. The contents of "oraenv" have not changed. No need to overwrite. The contents of "coraenv" have not changed. No need to overwrite. Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script. Now product-specific root actions will be performed. Finished product-specific root actions.