2013年(350)
分类: Oracle
2013-04-27 16:56:31
接下来要复制ORACLE数据库软件到新节点,复制操作可以在现的环境中的任意节点中开始,这里我们选择在jssdbn1节点上操作。本步操作非常简单,步骤也少。
在Linux视窗界面中执行addNode.sh
[oracle@jssdbn1 ~]$ cd /data/ora10g/product/10.2.0/db_1/oui/bin/
[oracle@jssdbn1 bin]$ ./addNode.sh运行addNode.sh脚本后,ORACLE会弹出欢迎界面,不用多想,直接点击next
提示选择要添加的节点,这里肯定是选择jssdbn3
显示摘要信息,确认无误的话点击install即可
ORACLE 自动开始复制文件到新节点中
复制操作完成后,提示在新节点即jssdbn3执行脚本,注意要以root身份进行
[root@jssdbn3 ~]# /data/ora10g/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= /data/ora10g/product/10.2.0/db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
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.上述脚本成功执行后,返回窗口界面点击OK,提示成功,点击exit退出界面即可。
查看之前的连载
=======================================================