分类: Oracle
2009-01-10 01:00:06
#xhost + #su - oracle |
$ssh-agent $SHELL $ssh-add |
$ srvctl stop database -d orcl $ srvctl stop nodeapps -n linux1 $ srvctl stop nodeapps -n linux2 $ /u01/app/oracle/product/crs/bin/crs_stop –all |
$./runInstaller |
# /u01/app/oracle/product/crs/bin/crsctl stop crs # /u01/app/oracle/product/crs/install/root102.sh |
$ srvctl stop database -d orcl $ srvctl stop nodeapps -n linux1 $ srvctl stop nodeapps -n linux2 $ /u01/app/oracle/product/crs/bin/crs_stop –all |
$./runInstaller |
#/u01/app/oracle/product/10.2.0/db_1/root.sh |
#/etc/init.d/init.crs stop |
#/etc/init.d/init.crs start |
$ sqlplus / as sysdba SQL> SHUTDOWN IMMEDIATE SQL> STARTUP NOMOUNT SQL> ALTER SYSTEM SET CLUSTER_DATABASE=FALSE SCOPE=spfile; SQL> SHUTDOWN SQL> STARTUP UPGRADE SQL> @/u01/app/oracle/product/10.2.0/db_1/rdbms/admin/catupgrd.sql SQL> SHUTDOWN IMMEDIATE SQL> STARTUP SQL> @/u01/app/oracle/product/10.2.0/db_1/rdbms/admin/utlrp.sql SQL> exit
$sqlplus / as sysdba SQL> ALTER SYSTEM SET CLUSTER_DATABASE=TRUE scope=spfile sid='*'; SQL> SHUTDOWN IMMEDIATE |
#/etc/init.d/init.crs stop #/etc/init.d/init.crs start |