Chinaunix首页 | 论坛 | 博客
  • 博客访问: 794297
  • 博文数量: 185
  • 博客积分: 7434
  • 博客等级: 少将
  • 技术积分: 2325
  • 用 户 组: 普通用户
  • 注册时间: 2005-12-29 14:01
文章分类

全部博文(185)

文章存档

2013年(1)

2012年(2)

2011年(17)

2010年(25)

2009年(36)

2008年(104)

分类: Oracle

2008-06-25 11:04:36

介绍如何重新编译oracle,设置rac on或off
 
Oracle's RAC: ON and OFF

In some cases, you may want to disable the RAC options for testing purposes -- perhaps to run a or convert the RAC binaries to single instance binaries. In such a case, you can use the following procedure to convert the RAC installation to non-RAC. Disabling and enabling RAC options are available only for UNIX platforms. Windows installations do not support relinking binaries with RAC ON and OFF.

Use the following steps to disable RAC (known as RAC OFF):

  1. Log in as the Oracle software owner (which is typically the UNIX account oracle) in all nodes.
  2. Shut down all the instances from all the nodes using a NORMAL or IMMEDIATE option.
  3. Change the working directory to $ORACLE_HOME/lib: cd $ORACLE_HOME/lib
  4. Run the following make command to relink the Oracle binaries without the RAC option: make -f ins_rdbms.mk rac_off

    This normally runs for few minutes and should not pose any errors.

  5. . Now relink the Oracle binaries: make -f ins_rdbms.mk ioracle

Now the Oracle binaries are relinked with the RAC OFF option. You may have to edit the init.ora or SPFILE parameters accordingly. If errors occur in step 4, you may need to contact Oracle Support and log a service request with the trace and log files.

Use the following steps to enable RAC (known as RAC ON):

  1. Log in as the Oracle software owner (typically the UNIX account oracle) in all nodes.
  2. Shut down all the instances from all the nodes using a NORMAL or IMMEDIATE option.
  3. Change the working directory to $ORACLE_HOME/lib: cd $ORACLE_HOME/lib
  4. Run the following make command to relink the Oracle binaries without the RAC option: make -f ins_rdbms.mk rac_on

    This normally runs for a few minutes and should not pose any errors.

  5. Now relink the Oracle binaries: make -f ins_rdbms.mk ioracle

Now the Oracle binaries are relinked with the RAC ON option. You may need to edit the init.ora or SPFILE parameters accordingly. If any errors occur in step 4, you may need to contact Oracle Support and log a service request with the trace and log files.

 
阅读(1082) | 评论(0) | 转发(0) |
0

上一篇:Oracle 常见Hint

下一篇:ORA-01220解决方法

给主人留下些什么吧!~~