12.07.2015 Views

Caché High Availability Guide - InterSystems Documentation

Caché High Availability Guide - InterSystems Documentation

Caché High Availability Guide - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1. Quiesce (pause) the database (this prevents any writes from occurring or locks from beingtaken out).2. Separate the disk mirror from production (if advanced disk technologies are used), ormake a copy of the Cache.dat files.3. Resume <strong>Caché</strong>.Backup Methods4. If a mirror was split off, backup the mirror copy of the database, and rejoin the mirror toproduction.2.3.1.3 Cold BackupThe cold backup strategy is generally used in the rare case when the operation toleratesdowntime. Often, smaller installations that do not have strict 24/7 access requirements usethis strategy. Sometimes, this is done only when performing a complete system backup aspart of a maintenance effort such as repairing faulty hardware. In this situation, stop <strong>Caché</strong>during the backup period and restart it when the backup completes.• Advantages — Very simple procedure (stop <strong>Caché</strong> and copy the cache.dat files).• Disadvantages — <strong>Caché</strong> must be stopped; so, of all the backup options, this methodinvolves the longest downtime.Procedure Outline:1. Stop <strong>Caché</strong> using the ccontrol command or through the <strong>Caché</strong> Cube.2. Perform the backup.3. Restart <strong>Caché</strong> using the ccontrol command or through the <strong>Caché</strong> Cube.2.3.2 Online Backup<strong>Caché</strong> implements a proprietary backup mechanism designed to cause very minimal or, inmost cases, no downtime to users of the production system. The online backup captures onlyblocks that are in-use by the database. The output goes to a sequential file (or directly to tape,though not recommended). The backup file is then copied to the backup media along withany other external files such as the .cpf file, the CSP files, and external files used by theapplication.The <strong>Caché</strong> backup uses a multipass scan to backup database blocks. It is expected that eachpass has a reduced list of modified blocks and that generally three passes are sufficient tocomplete a backup. During the entire final pass and for a brief moment during each prior<strong>Caché</strong> <strong>High</strong> <strong>Availability</strong> <strong>Guide</strong> 21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!