beautypg.com

2 applications of the horctakeover command – Hitachi TAGMASTORE MK-90RD011-25 User Manual

Page 245

background image

Hitachi Command Control Interface (CCI) User and Reference Guide

227

4.10.2 Applications of the Horctakeover Command

The basic Hitachi TrueCopy commands (takeover, pair creation, pair splitting, pair
resynchronization, event waiting) can be combined to enable recovery from a disaster,
backup of paired volumes, and many other operations (e.g., restoration of paired volumes
based on the secondary volume, swapping of the paired volumes). Figure 4.25 illustrates the
flow of starting operations on a UNIX server at the secondary site using the Hitachi TrueCopy
horctakeover command. Figure 4.26 illustrates the flow of starting operations on a Windows
server at the secondary site using the horctakeover command.

1. horctakeover Communication with the primary site

is disabled. Accordingly, SVOL-takeover is executed
SVOL-SSUS-takeover. The secondary volume is
R/W-enabled.

2. vgchange -a e

The LVM is activated in exclusive mode, and the svol
server gets the right to use. The svol accepts R/W.

3. fsck

Conformability of the file system is checked.

4. mount

The file system is mounted for R/W.

5. Server software activation

The server DB software is activated, and the
database is rolled back and rolled forward.

6. Application activation

The user program is activated.

Takeover

Command

1. horctakeover
2. vgchange -a e
3. fsck
4. mount
5. Server software activation
6. Application activation

User’s Shell Script

User’s Environment

Activation from

HA software

Manual activation

Activation from

Remote Console

Execution

Log

S-VOL

SMPL or SVOL_SSUS

End of pairing.
R/W is enabled.

HORC

Manager

Figure 4.25 Application/Example of TrueCopy Takeover (UNIX-based System)