Unlocking a copy group, Unlocking a copy, Group – HP Serveur lame HP ProLiant BL465c Gen8 User Manual

Page 326

Advertising
background image

4.

Lock secondary volume 1.

To keep the backup data (generation 1), lock the copy group (generation 1) by executing the

drmcgctl

command with the

-mode lock

option specified. You can specify the item to be

locked by backup ID or copy group.

At this point, execute the

drmcgctl

command, specifying

0000000004

as the backup ID.

DBServer > drmcgctl -backup_id 0000000004 -mode lock

KAVX0001-I The drmcgctl command will now start.

KAVX0302-I The copy group(s) associated with the specified backup ID were locked.

KAVX0002-I The drmcgctl command will now end.

Note that the lock is only valid for the server on which it was performed. For a multiple server
configuration, perform locking appropriate to the operation.

5.

Checking the secondary volume status.

Display the list of copy groups, and check the status of the locked copy group.

DBServer > drmcgctl

COPY GROUP LOCK STATUS BACKUP-ID

VG01,VOL11 LOCKED 0000000004

VG01,VOL12 LOCKED 0000000004

VG01,VOL13 LOCKED 0000000004

VG02,VOL21 UNLOCKED 0000000002

VG02,VOL22 UNLOCKED 0000000002

VG02,VOL23 UNLOCKED 0000000002

VG03,VOL31 UNLOCKED 0000000003

VG03,VOL32 UNLOCKED 0000000003

VG03,VOL33 UNLOCKED 0000000003

DBServer >

Copy groups for which

LOCKED

is displayed in the LOCK STATUS column are locked.

When the copy group (generation 1) is locked, all subsequent backups are obtained using
secondary volume 2 and secondary volume 3.

Unlocking a copy group

When the copy group (generation 1) no longer needs to be locked, or when the contents of secondary
volume 1 are restored to the primary volume, the copy group can be unlocked.

To unlock the copy group:

1.

Unlock the copy group.

To unlock the copy group, execute the

drmcgctl

command with the

-mode unlock

option

specified. You can use the backup ID or copy group to specify the item to be unlocked.

At this point, execute the

drmcgctl

command, specifying

0000000004

as the backup ID.

DBServer > drmcgctl -backup_id 0000000004 -mode unlock

KAVX0001-I The drmcgctl command will now start.

KAVX0303-I The copy group(s) associated with the specified backup ID were unlocked.

KAVX0002-I The drmcgctl command will now end.

Operation for SQL Server databases

326

Advertising