管理votingdisks
管理voting disks 一、关于voting disk 的一些必须要知道的东西: 11g 以前我们可以使用dd 命令来备份voting disk ,但是在11g 以后 oracle 不再支持使用 dd 来备份voting disk。 如果使用 dd or cp 命令可能会破坏 集群件堆栈的正常启动。 voting disk 会作
管理voting disks
一、关于voting disk 的一些必须要知道的东西:
11g 以前我们可以使用dd 命令来备份voting disk ,但是在11g 以后 oracle 不再支持使用 dd 来备份voting disk。
如果使用 dd or cp 命令可能会破坏 集群件堆栈的正常启动。
voting disk 会作为OCR的一部分自动备份,并且当有新 voting disk 添加时会自动恢复上去。
*在维护voting disk前,必须要保证有可用的ocr,ocr 的状态可以用 ocrcheck 来检查;如果ocr 的状态不可用则必须先恢复ocr。
*如果 集群是从11g 前的版本upgrade 上来的,在把voting 放到asm dg上时要将ASM COMpatibity (compatible.asm)设为11.2.0.0
*在同一个集群中 voting disk 不能同时放到 asm dg 和非asm dg 存储上。
*对于 voting disk 放在asm dg上的情况,只能使用 crsctl replace votedisk 这个管理操作命令
*对于使用非asm dg的 voting disk 器管理操作命令为:add css votedisk / delete css votedisk
*对于使用asm dg的voting disk,其voting disk 的数量由 asm dg的 冗余度决定。
----asm 磁盘组冗余度和voting disk数量的关系
External redundancy : 一个dg 1个voting disk
Normal redundancy : 一个dg 3个voting disk
High redundancy : 一个dg 5个voting disk
*如果要想更改 voting disk 的数量,只能通过更改 asm dg的 冗余度来完成。
二、恢复voting disk的一般步骤:
1、确保ocr 正常,若不正常现修复ocr
2、独占模式(root)启动crs
# crsctl start crs -excl
3、查看当前voting disk的定义信息:
$ crsctl query css votedisk
-- ----- ----------------- --------- ---------
## STATE File Universal Id File Name Disk group
1. ONLINE 7c54856e98474f61bf349401e7c9fb95 (/dev/sdb1) [DATA]
4、根据3、中的结果信息来确定 voting disk使用的 asm dg 还是 其他存储设备,然后再恢复voting disk
---asm dg
crsctl replace votedisk +asm_disk_group
---其他存储设备
$ crsctl delete css votedisk FUID
Add a voting disk, as follows:
$ crsctl add css votedisk path_to_voting_disk
5、强制关闭集群
#crsctl stop crs -f
6、重启集群
#crsctl start crs
三、voting disk的迁移,添加,删除
----从asm dg 迁移到其他存储设备
$ crsctl replace votedisk path_to_voting_disk
----从其他存储设备迁移到 asm dg
$ crsctl replace votedisk +asm_disk_group
-----管理使用其他存储设备的voting disk
添加 voting disk:
$crsctl add css votedisk path_to_voting_disk[...]
删除 voting disk:
$ crsctl delete css votedisk {FUID| path_to_voting_disk[...]}
----使用设备b 替换设备a;需要先添加设备b,再删除设备a
crsctl add css votedisk path_to_voting_diskB -purge
-purge 选项表示删除现有其他设备

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

How to use Redis to implement distributed transaction management Introduction: With the rapid development of the Internet, the use of distributed systems is becoming more and more widespread. In distributed systems, transaction management is an important challenge. Traditional transaction management methods are difficult to implement in distributed systems and are inefficient. Using the characteristics of Redis, we can easily implement distributed transaction management and improve the performance and reliability of the system. 1. Introduction to Redis Redis is a memory-based data storage system with efficient read and write performance and rich data

How to implement student performance management function in Java? In the modern education system, student performance management is a very important task. By managing student performance, schools can better monitor students' learning progress, understand their weaknesses and strengths, and make more targeted teaching plans based on this information. In this article, we will discuss how to use Java programming language to implement student performance management functions. First, we need to determine the data structure of student grades. Typically, student grades can be represented as a

Laravel extension package management: Easily integrate third-party code and functions Introduction: In Laravel development, we often use third-party code and functions to improve the efficiency and stability of the project. The Laravel extension package management system allows us to easily integrate these third-party codes and functions, making our development work more convenient and efficient. This article will introduce the basic concepts and usage of Laravel extension package management, and use some practical code examples to help readers better understand and apply it. What is Lara

How to set up and manage the network server on Kirin operating system? Kirin operating system is a Linux-based operating system independently developed in China. It has the characteristics of open source, security and stability, and has been widely used in China. This article will introduce how to set up and manage network servers on Kirin operating system, helping readers better build and manage their own network servers. 1. Install related software Before starting to set up and manage the network server, we need to install some necessary software. On Kirin OS, you can

When we use the win10 system, when we use the mouse to right-click the desktop or the right-click menu, we find that the menu cannot be opened and we cannot use the computer normally. At this time, we need to restore the system to solve the problem. Win10 right-click menu management cannot be opened: 1. First open our control panel, and then click. 2. Then click under Security and Maintenance. 3. Click on the right to restore the system. 4. If it still cannot be used, check whether there is something wrong with the mouse itself. 5. If you are sure there is no problem with the mouse, press + and enter. 6. After the execution is completed, restart the computer.

Analysis of solutions to transaction management problems encountered in MongoDB technology development As modern applications become more and more complex and large, the transaction processing requirements for data are also getting higher and higher. As a popular NoSQL database, MongoDB has excellent performance and scalability in data management. However, MongoDB is relatively weak in data consistency and transaction management, posing challenges to developers. In this article, we will explore the transaction management issues encountered in MongoDB development and propose some solutions.

How to partition disk management With the continuous development of computer technology, disk management has become an indispensable part of our computer use. As an important part of disk management, disk partitioning can divide a hard disk into multiple parts, allowing us to store and manage data more flexibly. So, how to partition disk management? Below, I will give you a detailed introduction. First of all, we need to make it clear that there is not only one way to partition disks. We can flexibly choose the appropriate disk partitioning method according to different needs and purposes. often

How to use the Hyperf framework for cache management Cache is one of the important means to improve application performance, and modern frameworks provide us with more convenient cache management tools. This article will introduce how to use the Hyperf framework for cache management and provide specific code examples. The Hyperf framework is a high-performance framework developed based on Swoole. It has a rich set of built-in components and tools, including powerful cache management functions. The Hyperf framework supports multiple cache drivers, such as Redis and Memcach.
