Oracle notes: RAC Crosschecking

Source: Internet
Author: User

When you use Crosschecking on multiple nodes, you can configure the cluster so that each node in the cluster can access all Database backups, regardless of who generated the database backup. If your cluster is configured like this, you can allocate channels on any node during restore or crosscheck operations ).

If you do not CONFIGURE the cluster as mentioned above, you must use the CONNECT option of the configure channel command to allocate channels on multiple nodes during restore or crosscheck operations ), so that each backup can be accessed by at least one node in the cluster.
If no channel is configured for access to these backups during the crosscheck operation, these backups will be marked as EXPIRED.

Node 1 and node 2 both use the default configuration and perform a full backup on node 1.

[SQL]

  1. -- Rac1
  2. RMAN> crosscheck backup;
  3. Crosschecked backup piece: foundToBe'Available'
  4. Backup piece handle =/Oracle/backup/racdb_09n0hqle_1_1_12 recid = 8 stamp = 772336302
  5. -- Rac2
  6. RMAN> crosscheck backup;
  7. Crosschecked backup piece: foundToBe'Expired' -- It is marked as EXPIRED on rac2.
  8. Backup piece handle =/oracle/backup/racdb_09n0hqle_1_1_12 recid = 8 stamp = 772336302
Configure the degree of parallelism to 2 (number of nodes) on node 2, configure the channel, and then verify again

[SQL]

  1. -- Rac2
  2. RMAN> configure device type disk parallelism 2;
  3. New RMAN configuration parameters:
  4. Configure device type disk parallelism 2 BACKUP TYPETOBACKUPSET;
  5. New RMAN configuration parameters are successfully stored
  6. -- Racdb indicates the service name. You can also configure a single instance.
  7. RMAN> configure channel device type diskConnect='Sys/oracle @ racdb';
  8. New RMAN configuration parameters:
  9. CONFIGURE CHANNEL DEVICE TYPE DISKCONNECT '*';
  10. New RMAN configuration parameters are successfully stored
  11. RMAN> crosscheck backup;
  12. Crosschecked backup piece: foundToBe'Available' -- This is marked as AVAILABLE.
  13. Backup piece handle =/oracle/backup/racdb_09n0hqle_1_1_12 recid = 8 stamp = 772336302

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.