Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the crsctl command in oracle11gRAC

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article will explain in detail how to use the crsctl command in oracle11gRAC. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Crsctl command for oracle11gRAC:

Complete crsctl command:

# su-grid

[grid@dbserver1:/home/grid] $crsctl-h

Usage: crsctl add-add a resource, type or other entity

Crsctl check-check a service, resource or other entity

Crsctl config-output autostart configuration

Crsctl debug-obtain or modify debug state

Crsctl delete-delete a resource, type or other entity

Crsctl disable-disable autostart

Crsctl enable-enable autostart

Crsctl get-get an entity value

Crsctl getperm-get entity permissions

Crsctl lsmodules-list debug modules

Crsctl modify-modify a resource, type or other entity

Crsctl query-query service state

Crsctl pin-Pin the nodes in the nodelist

Crsctl relocate-relocate a resource, server or other entity

Crsctl replace-replaces the location of voting files

Crsctl setperm-set entity permissions

Crsctl set-set an entity value

Crsctl start-start a resource, server or other entity

Crsctl status-get status of a resource or other entity

Crsctl stop-stop a resource, server or other entity

Crsctl unpin-unpin the nodes in the nodelist

Crsctl unset-unset an entity value, restoring its default

1. Common crsctl start commands

Start the crs service:

[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client] $crsctl start crs

Start all crs resources:

[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client] $crsctl start-all

Start a single resource (if some resources cannot be started automatically, you need to start them manually as follows)

[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client] $crsctl start res ora.crsd-init

2. Common crsctl stop commands

Stop the crs service:

[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client] $crsctl stop crs

Stop all crs resources:

[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client] $crsctl stop-all

Start a single resource (if some resources cannot be started automatically, you need to start them manually as follows)

[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client] $crsctl stop res ora.crsd-init (- f)

3. Common crsctl check commands

Check the crs service:

[grid@dbserver1:/home/grid] $crsctl check crs

CRS-4638: Oracle High Availability Services is online

CRS-4537: Cluster Ready Services is online

CRS-4529: Cluster Synchronization Services is online

CRS-4533: Event Manager is online

Check the crs cluster service:

[grid@dbserver1:/home/grid] $crsctl check cluster-all

* * *

Dbserver1:

CRS-4537: Cluster Ready Services is online

CRS-4529: Cluster Synchronization Services is online

CRS-4533: Event Manager is online

* * *

Dbserver2:

CRS-4537: Cluster Ready Services is online

CRS-4529: Cluster Synchronization Services is online

CRS-4533: Event Manager is online

* * *

4. Common crsctl query commands

Check the votedisk status:

[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client] $crsctl query css votedisk

# # STATE File Universal Id File Name Disk group

1. ONLINE 0b12969addea4f8fbf61eeaa0df697e6 (/ dev/rhdisk6) [CRS]

Located 1 voting disk (s).

Check the crs version:

[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client] $crsctl query crs releaseversion

Oracle High Availability Services release version on the local node is [11.2.0.1.0]

Check the version of each node of crs:

[grid@dbserver1:/oracle/app/11.2.0/grid/log/dbserver1/client] $crsctl query crs softwareversion dbserver1

Oracle Clusterware version on node [dbserver1] is [11.2.0.1.0]

This is the end of the article on "how to use crsctl commands in oracle11gRAC". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report