Oracle RAC backup and recovery Voting Disks

Source: Internet
Author: User

For how to add and delete Voting Disks in Oracle RAC, refer:

Oracle RAC backup and recovery Voting Disks

The Voting Disks file does not need to be backed up every day. Generally, backup is required in the following situations:

①: After Clusterware is installed.

②: After adding and deleting nodes in the cluster.

③: After the Voting Disk add or delete operation is executed.

Example of backing up voting Disk:

Environment:

[Oracle @ node2 ~] $ Uname-
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. view the current Voting Disks

[Oracle @ node1 ~] $ Crsctl query css votedisk
0. 0/dev/raw/raw2

Located 1 votedisk (s ).

2. Back up Voting Disk (use root)

[Root @ node1 ~] # Dd if =/dev/raw/raw2 of =/home/oracle/backup/votingdisk. bak
208864 + 0 records in
208864 + 0 records out
106938368 bytes (107 MB) copied, 150.378 seconds, 711 kB/s

3. Check the backup

[Root @ node1 backup] # ll
Total 104540
-Rw-r -- 1 root 106938368 Mar 13 21:29 votingdisk. bak

If the content of Voting Disk is not changed, the backup file can be restored.

  • 1
  • 2
  • Next Page

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.