时间:2021-07-01 10:21:17 帮助过:15人阅读
Oracle RAC 备份和恢复Voting Disks 参考:http://www.linuxidc.com/Linux/2013-03/80937.htm 添加删除voting Disk示例: 环境:
首页 → 数据库技术
背景:
阅读新闻
Oracle RAC 添加和删除Voting Disks
[日期:2013-03-15] 来源:Linux社区 作者:laoshangxyc [字体:]
Oracle RAC 备份和恢复Voting Disks 参考:
添加删除voting Disk示例:
环境:
[oracle@node2 ~]$ uname -a
Linux node2 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686 i686 i386 GNU/Linux
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
1.查看当前的Voting Disks和关闭Oracle Clusterware
注意:添加和删除Voting Disk应先关闭所有节点Oracle Clusterware。虽然加-force参数能在线操作,但有可能会损坏集群配置。
[oracle@node1 ~]$ crsctl query css votedisk
0. 0 /dev/raw/raw2
located 1 votedisk(s).
[root@node1 bin]# ./crsctl stop crs
Stopping resources.
Successfully stopped CRS resources
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
[root@node2 bin]# ./crsctl stop crs
Stopping resources.
Successfully stopped CRS resources
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
2.增加Voting Disk
[root@node1 bin]# ./crsctl add css votedisk /dev/raw/raw5 -force
Now formatting voting disk: /dev/raw/raw5
successful addition of votedisk /dev/raw/raw5.
如果不加-force则会出现如下情况:
[root@node1 bin]# ./crsctl add css votedisk /dev/raw/raw6
Cluster is not in a ready state for online disk addition
Oracle RAC 备份和恢复Voting Disks
从 ASM 中删除归档日志遇 ORA-15028 错误
相关资讯 Oracle RAC Voting Disks
图片资讯
本文评论 查看全部评论 (0)
评论声明
最新资讯
本周热门
Linux公社简介 - 广告服务 - 网站地图 - 帮助信息 - 联系我们
本站(LinuxIDC)所刊载文章不代表同意其说法或描述,仅为提供更多信息,,也不构成任何建议。
Copyright © 2006-2014 Linux公社 All rights reserved 浙ICP备06018118号