The obsolete maintenance command crs _ *, 12ccrs _ in Oracle 12c RAC _

Source: Internet
Author: User

The obsolete maintenance command crs _ *, 12ccrs _ in Oracle 12c RAC _


 

Crs_stat is commonly used in Oracle 10g and 11g RAC to monitor the running status of RAC. However, the crs_stat display is incomplete, so we will perform a secondary encapsulation of crs_stat to make the results look more fresh. For example:

 

 

 

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

[Grid @ 12 cAsm bin] $ pwd

/U01/app/grid/12.0.1/bin

 

[Grid @ 12 cAsm bin] $ ll crs _*

-Rwxr-x ---. 1 grid oinstall 9420 Nov 29 crs_getperm

-Rwxr-xr-x. 1 grid oinstall 2819003 Jun 3019: 38 crs_getperm.bin

-Rwxr-x ---. 1 grid oinstall 9420 Nov 29 crs_profile

-Rwxr-xr-x. 1 grid oinstall 2911895 Jun 3019: 37 crs_profile.bin

-Rwxr-x ---. 1 grid oinstall 9420 Nov 29 crs_register

-Rwxr-xr-x. 1 grid oinstall 3164771 Jun 3019: 37 crs_register.bin

-Rwxr-x ---. 1 grid oinstall 9420 Nov 29 crs_relocate

-Rwxr-xr-x. 1 grid oinstall 2809522 Jun 3019: 37 crs_relocate.bin

-Rwxr-x ---. 1 grid oinstall 9420 Nov 29 crs_setperm

-Rwxr-xr-x. 1 grid oinstall 2801080 Jun 3019: 38 crs_setperm.bin

-Rwxr-x ---. 1 grid oinstall 9420 Nov 29 crs_start

-Rwxr-xr-x. 1 grid oinstall 2809486 Jun 3019: 37 crs_start.bin

-Rwxr-x ---. 1 grid oinstall 9420 Nov 29 crs_stat

-Rwxr-xr-x. 1 grid oinstall 2891026 Jun 3019: 37 crs_stat.bin

-Rwxr-x ---. 1 grid oinstall 9420 Nov 29 crs_stop

-Rwxr-xr-x. 1 grid oinstall 2809653 Jun 3019: 37 crs_stop.bin

-Rwxr-x ---. 1 grid oinstall 9420 Nov 29 crs_unregister

-Rwxr-xr-x. 1 grid oinstall 2786481 Jun 3019: 37 crs_unregister.bin

[Grid @ 12 cAsm bin] $

 

However, it is no longer available in the Oracle Restart environment.

[Grid @ 12 cAsm bin] $ crs_stat-t

CRS-275: This command isnot supported in Oracle Restart environment.

[Grid @ 12 cAsm bin] $

 

In fact, from Oracle11gR2, we recommend using the crsctl command instead of the crs _ * series commands, such as crs_stat, crs_start, and crs_stop. These commands are all discarded commands.

 

In 11gR2, crsctl is recommended for replacement. However, in 12c, Oracle is hard and not supported directly in the Restart environment. In the future, 12c students will use crsctl to view resource information honestly as required by Oracle.

 

[Root @ 12 cAsm grid] # crsctl status res-t

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

Name Target State Server Statedetails

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

Local Resources

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

Ora. DATA. dg

ONLINE 12 casm STABLE

Ora. asm

ONLINE 12 casm Started, STABLE

Ora. ons

OFFLINE 12 casm STABLE

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

Cluster Resources

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

Ora.css d

1 ONLINE 12 casm STABLE

Ora. dave. db

1 OFFLINE STABLE

Ora. diskmon

1 OFFLINE STABLE

Ora. evmd

1 ONLINE 12 casm STABLE

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

[Root @ 12 cAsm grid] #

 


The crs_stat command can still be executed in RAC of Oracle12c, but it is still recommended to use crsctl instead.

[Grid @ rac1 ~] $ Crs_stat-t

Name Type Target State Host

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

Ora... SM. lsnr ora... er. type ONLINE rac1

Ora. DATA. dg ora... up. type ONLINE rac1

Ora... ER. lsnr ora... er. type ONLINE rac1

Ora... N1.lsnr ora... er. type ONLINE OFFLINE

Ora. MGMTLSNR ora... nr. type ONLINE rac1

Ora... TING. dg ora... up. type ONLINE rac1

Ora. asm ora. asm. type ONLINE rac1

Ora. cndba. db ora... se. type ONLINE rac2

Ora. cvu ora. cvu. type ONLINE rac1

Ora. mgmtdb ora... db. type ONLINE rac1

Ora... network ora... rk. type ONLINE rac1

Ora. Solaris ora. productname. type ONLINE rac1

Ora. ons ora. ons. type ONLINE rac1

Ora. proxy_advm ora... vm. type ONLINE rac1

Ora... C1.lsnr application ONLINE rac1

Ora. rac1.ons application ONLINE rac1

Ora. rac1.vip ora... t1.type ONLINE rac1

Ora... C2.lsnr application ONLINE rac2

Ora. rac2.ons application ONLINE rac2

Ora. rac2.vip ora... t1.type ONLINE rac2

Ora. scan1.vip ora... ip. type ONLINE OFFLINE



 

 

Bytes --------------------------------------------------------------------------------------------

All rights reserved. reprinted articles are allowed, but source addresses must be indicated by links. Otherwise, the documents will be held legally responsible!

 

AboutDave:

Bytes --------------------------------------------------------------------------------------------

QQ: 251097186

Email: tianlesoftware@gmail.com

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

WEAVER: 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:

Bytes --------------------------------------------------------------------------------------------

Note: The relationship between tablespaces and data files must be specified for grouping. | do not add groups repeatedly.

CNDBA_1: 104207940 (full) CNDBA_2: 62697716 (full) CNDBA_3: 283816689

CNDBA_4: 391125754 CNDBA_5: 62697850 CNDBA_6: 62697977 CNDBA_7: 142216823 (full)

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.