Oracle 12c new feature crsctl 停止资源时提供预览确认功能


在Oracle 12c 数据库版本中 crsctl 停止相关资源时提供预览确认功能,而在之前的版本时没有这个功能的

能够很好的避免一些误操作

$ crsctl stop resource ora.LISTENER_SCAN3.lsnr

If you want to see the impact of the stop instead of actually stopping it, you would issue:

如下例子:
$ crsctl eval stop resource ora.LISTENER_SCAN3.lsnr

Here is the output:
Stage Group 1:
--------------------------------------------------------------------------------
Stage Number Required Action
--------------------------------------------------------------------------------

1 Y Resource 'ora.LISTENER_SCAN3.lsnr' (1/1) will be
in state [OFFLINE]

相关内容