测试11G Oracle Restart能否自动启动被杀掉的组件(三)

2014-11-24 09:48:19 · 作者: · 浏览: 8
15 pts/1 00:00:00 grep ora_lgwr_orcl

=关闭orcl数据库实例上的Oracle Restart=
[html] 
[oracle@oracle11g ~]$ srvctl status database -d orcl -f  
Database is disabled  
Database is running.  

=验证关闭Oracle Restart之后,是否会自动启动被杀掉的组件=
[html] 
[oracle@oracle11g ~]$ kill -9 26952  
[oracle@oracle11g ~]$ ps -ef |grep ora_lgwr_orcl  
oracle   29080  8813  0 11:19 pts/1    00:00:00 grep ora_lgwr_orcl  
[oracle@oracle11g ~]$ ps -ef |grep ora_lgwr_orcl  
oracle   29461  8813  0 11:21 pts/1    00:00:00 grep ora_lgwr_orcl  

=重新启动orcl数据库实例的Oracle Restart=
[html] 
[oracle@oracle11g ~]$ srvctl status database -d orcl -f  
Database is not running.  
[oracle@oracle11g ~]$ srvctl status database -d orcl -f  
Database is running.  

结论:Restart 特性貌似并没Oracle 吹嘘的那么神,当然ORACLE 也说明了(只适用于11.2 or later):
Oracle Restart can only manage 11.2 resources. Oracle Database releases prior to 11.2, however, can coexist on the same server but without being managed by Oracle Restart.