oracle10grac - install - foraix - 图文(6)

2019-08-30 20:41

安装过程

在两个节点执行 root.sh

Node 1:

# /opt/app/oracle/product/10.2.0/db_1/root.sh

Running Oracle10 root.sh script...

The following environment variables are set as: ORACLE_OWNER= oracle

ORACLE_HOME= /opt/app/oracle/product/10.2.0/db

Enter the full pathname of the local bin directory: [/usr/local/bin]: Creating /usr/local/bin directory... Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ... Creating /etc/oratab file...

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.sh script. Now product-specific root actions will be performed.

Node 2:

# /opt/app/oracle/product/10.2.0/db_1/root.sh

Running Oracle10 root.sh script...

The following environment variables are set as: ORACLE_OWNER= oracle

ORACLE_HOME= /opt/app/oracle/product/10.2.0/db

Enter the full pathname of the local bin directory: [/usr/local/bin]: Creating /usr/local/bin directory... Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ... Creating /etc/oratab file...

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.sh script.

Now product-specific root actions will be performed.. 执行完root.sh 后回到上一个界面点击OK

安装结束。点击退出

建数据库

1.分别在每个节点设置环境变量 # su – oracle # vi .profile

PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:. export PATH

if [ -s \then echo \fi # periodically.

export ORACLE_BASE=/opt/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1 export ORA_CRS_HOME=$ORACLE_BASE/crs

# 每个节点要有自己的实例名(比如在第一个节点上racdb1,第二个节点上racdb2) export ORACLE_SID=racdb1

export PATH=.:${PATH}:$HOME/bin:$ORACLE_HOME/bin:$ORA_CRS_HOME/bin export TNS_ADMIN=$ORACLE_HOME/network/admin export NLS_LANG=\

2.规划数据库建在raw 卷上

使用 find 命令得到裸设备的名称。

# find /dev -user oracle -name 'r*' -print > db_raw.conf 然后编辑文件 db_raw.conf

system=/dev/rrac_system_1024m sysaux=/dev/rrac_sysaux_800m users=/dev/rrac_users_800m temp=/dev/rrac_temp_4096m undotbs1=/dev/rrac_undo1_4096m undotbs2=/dev/rrac_undo2_4096m redo1_1=/dev/rrac_redo1_1_120m redo1_2=/dev/rrac_redo1_2_120m redo2_1=/dev/rrac_redo2_1_120m redo2_2=/dev/rrac_redo2_2_120m control1=/dev/rrac_ctl1_100m control2=/dev/rrac_ctl2_100m spfile=/dev/rrac_spfile_100m pwdfile=/dev/rrac_pwdfile_100m

$ export DISPLAY=10.201.2.110:0 $ exec /usr/bin/ssh-agent $SHELL

$ export DBCA_RAW_CONFIG=db_raw.conf $ dbca

进入到建库的界面

选择创建一个数据库

选择在两个结点上创建


oracle10grac - install - foraix - 图文(6).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:光学期末试题

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: