SQL> startup SQL> alter database disable thread 2; SQL> alter system set remote_listener='';
3a. Remove unwanted logfile SQL> select thread#, group# from v$log; SQL> alter database drop logfile group 3; SQL> alter database drop logfile group 4;
3b. Remove unwanted tablespace SQL> drop tablespace UNDOTBS2 including contents and datafiles;
3c. Rename instance name. SQL> alter system set instance_name=<new_name> scope=spfile; SQL> shutdown immediate SQL> startup - Change your ORACLE_SID environment
4. Run $ORA_CRS_HOME/install/rootdelete.sh on both node - This will stop and remove all CRS startup related file
5. Remove $ORA_CRS_HOME binary using Clusterware OUI installer.毕业论文 - Ignore any error if 2nd node already down - rm -rf $ORA_CRS_HOME
6. Modify listener file $ vi $ORACLE_HOME/network/admin/listener.ora
6a. Modify tnsname file $ vi $ORACLE_HOME/network/admin/tnsnames.ora
应该还要把初始化参数中的cluster_database改成false
上一页 [1] [2]
|