Obsolete maintenance commands in Oracle 12c RAC crs_*

Source: Internet
Author: User


In an Oracle 10g,11g RAC, we use CRS_STAT to monitor the operational status of the RAC. However, since the Crs_stat display is incomplete, we will encapsulate the crs_stat two times to make the results look fresher. Such as:

In the 12c cluster environment, the CRS_* series commands still exist:

[Email protected] bin]$ pwd

/u01/app/grid/12.0.1/bin

[email protected] bin]$ ll crs_*

-rwxr-x---. 1 grid oinstall 9420 Nov 02:15 crs_getperm

-rwxr-xr-x. 1 grid oinstall 2819003 June 3019:38 Crs_getperm.bin

-rwxr-x---. 1 grid oinstall 9420 Nov 02:15 crs_profile

-rwxr-xr-x. 1 grid oinstall 2911895 June 3019:37 Crs_profile.bin

-rwxr-x---. 1 grid oinstall 9420 Nov 02:15 crs_register

-rwxr-xr-x. 1 grid oinstall 3164771 June 3019:37 Crs_register.bin

-rwxr-x---. 1 grid oinstall 9420 Nov 02:15 crs_relocate

-rwxr-xr-x. 1 grid oinstall 2809522 June 3019:37 Crs_relocate.bin

-rwxr-x---. 1 grid oinstall 9420 Nov 02:15 crs_setperm

-rwxr-xr-x. 1 grid oinstall 2801080 June 3019:38 Crs_setperm.bin

-rwxr-x---. 1 grid oinstall 9420 Nov 02:15 Crs_start

-rwxr-xr-x. 1 grid oinstall 2809486 June 3019:37 Crs_start.bin

-rwxr-x---. 1 grid oinstall 9420 Nov 02:15 crs_stat

-rwxr-xr-x. 1 grid oinstall 2891026 June 3019:37 Crs_stat.bin

-rwxr-x---. 1 grid oinstall 9420 Nov 02:15 crs_stop

-rwxr-xr-x. 1 grid oinstall 2809653 June 3019:37 Crs_stop.bin

-rwxr-x---. 1 grid oinstall 9420 Nov 02:15 crs_unregister

-rwxr-xr-x. 1 grid oinstall 2786481 June 3019:37 Crs_unregister.bin

[Email protected] bin]$

But it's not working anymore.

[Email protected] bin]$ crs_stat-t

Crs-275:this command IsNot supported in Oracle Restart environment.

[Email protected] bin]$

In fact, starting with ORACLE11GR2, Oracle recommends using the Crsctl command instead of the crs_* series commands, such as Crs_stat,crs_start,crs_stop. These commands are all obsolete commands.

In 11gr2, it is recommended to use CRSCTL to replace, but in the 12c, Oracle directly to the hard, directly do not support. So after playing 12c students, or honestly according to Oracle's requirements, use Crsctl to view the information of the resources.

[Email protected] grid]# crsctl status res-t

--------------------------------------------------------------------------------

Name Target State Server Statedetails

--------------------------------------------------------------------------------

Local Resources

--------------------------------------------------------------------------------

Ora. Data.dg

Online online 12casm STABLE

Ora.asm

Online online 12casm started,stable

Ora.ons

OFFLINE OFFLINE 12casm STABLE

--------------------------------------------------------------------------------

Cluster Resources

--------------------------------------------------------------------------------

Ora.cssd

1 Online Online 12casm STABLE

Ora.dave.db

1 OFFLINE OFFLINE STABLE

Ora.diskmon

1 OFFLINE OFFLINE STABLE

Ora.evmd

1 Online Online 12casm STABLE

--------------------------------------------------------------------------------

[Email protected] grid]#

--------------------------------------------------------------------------------------------

Copyright, the article allows reprint, but must be linked to the source address, otherwise investigate legal responsibility!

Aboutdave:

--------------------------------------------------------------------------------------------

qq:251097186

Email: [email protected]

Blog:http://blog.csdn.net/tianlesoftware

Weibo:http://weibo.com/tianlesoftware

Twitter:http://twitter.com/tianlesoftware

Facebook:http://www.facebook.com/tianlesoftware

Linkedin:http://cn.linkedin.com/in/tianlesoftware

Dave's QQ Group:

--------------------------------------------------------------------------------------------

Note: Add group must indicate tablespace and data file relationship | Do not repeat the addition group

cndba_1:104207940 (Full) cndba_2:62697716 (full) cndba_3:283816689

cndba_4:391125754 cndba_5:62697850 cndba_6:62697977 cndba_7:142216823 (full)

Obsolete maintenance commands in Oracle 12c RAC crs_*

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.