
oracle 11g rac启停
发布日期:2021-05-14 17:50:42
浏览次数:18
分类:精选文章
本文共 3582 字,大约阅读时间需要 11 分钟。
# Oracle RAC High Availability Services Processes and crsctl Commands## Understanding the Startup Process of RAC NodesWhen working with Oracle RAC clusters, it's essential to understand the sequence in which critical services are started and stopped. This sequence ensures the smooth operation and stability of the cluster.### Step-by-Step Startup of RAC11. **Starting Oracle High Availability Services (OHASD)** - Use the following command to start the OHASD process on RAC1: ```bash ./crsctl start crs -excl ``` - The output will indicate the successful startup of OHASD and subsequent services.2. **Subsequent Service Starts** - The starting order of services on RAC1 typically follows this sequence: - `ora.gipcd` - `ora.mdnsd` - `ora.gpnpd` - `ora.cssdmonitor` - `ora.cssd` - `ora.asm` - `ora.crsd` - Each service may have its own start and stop attempts, ensuring that the cluster is built correctly.---## Shutdown Process of RAC NodesSimilar to the startup procedure, the shutdown process follows a specific order to ensure that all resources are released without conflicts.### Step-by-Step Shutdown of RAC11. **Stopping the Oracle High Availability Services (OHASD)** - Use the following command to stop the OHASD process on RAC1: ```bash ./crsctl stop crs -f ``` - The output will display the stopping of each service in reverse order.2. **Subsequent Service Stops** - The services are stopped in the following reverse order: - `ora.crsd` - `ora.asm` - `ora.cssd` - `ora.cssdmonitor` - `ora.gpnpd` - `ora.mdnsd` - `ora.gipcd` - Each service must be properly stopped before proceeding to the next, ensuring that no resources are left hanging.---## Working with Exclusive Mode (-excl)When starting services in exclusive mode (-excl), ensure that no other nodes are attempting to use these resources simultaneously.### Understanding Exclusive Mode- By using `-excl` with crsctl start crs, you instruct Oracle to use exclusive access modes for critical services.- This prevents other nodes from starting these services simultaneously, thereby avoiding resource conflicts.### Observing Resource ContentionWhen rac2 attempts to start services in exclusive mode while rac1 is already running, it may result in issues such as:- `CRS-4402`: Attempting to start a CSS daemon on a node where it already exists.- `CRS-2674`: Failure to start the CSS daemon due to active instances on other nodes.This highlights the importance of proper clustering and mutual exclusion in RAC environments.---## Differences Between crsctl start crs and crsctl start cluster### crsctl start crs- This command starts both the OHASD and the cluster service (CSSD) processes.- It's typically used when you want to start all related High Availability services at once.### crsctl start cluster- This command only starts the CRSC (CSSD) and its associated services.- It is intended for managed services only after OHASD has been started.### Key Difference- `crsctl start crs` manages OHASD, while `crsctl start cluster` excludes it. Always start OHASD before using `crsctl start cluster` for cluster services.---## SummaryUnderstanding the sequence of service starts and stops, along with the proper use of exclusive modes, is crucial for maintaining the integrity of your Oracle RAC cluster. Always ensure that services are stopped and started in the correct order, and use `crsctl` commands appropriately depending on your operational requirements.
发表评论
最新留言
逛到本站,mark一下
[***.202.152.39]2025年04月14日 10时04分40秒
关于作者

喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
A simple problem HDU-2522 【数学技巧】
2021-05-11
Struts2-从值栈获取list集合数据(三种方式)
2021-05-11
vscode中快速生成vue模板
2021-05-11
参考图像
2021-05-12
设计模式(18)——中介者模式
2021-05-12
用JavaScript实现希尔排序
2021-05-12
推荐几篇近期必看的视觉综述,含GAN、Transformer、人脸超分辨、遥感等
2021-05-12
BUU-MISC-认真你就输了
2021-05-12
BUU-MISC-caesar
2021-05-12
【专题2:电子工程师 之 上位机】 之 【36.事件重载】
2021-05-12
【专题3:电子工程师 之 上位机】 之 【46.QT音频接口】
2021-05-12
一文理解设计模式--命令模式(Command)
2021-05-12
VTK:可视化之RandomProbe
2021-05-12
block多队列分析 - 2. block多队列的初始化
2021-05-12
Java时间
2021-05-12
不编译只打包system或者vendor image命令
2021-05-12
The wxWindows Library Licence (WXwindows)
2021-05-12