VERITAS FlashSnap Point-In-Time-Copy Solutions Administrator's Guide
Chapter 5, Decision Support
Creating an Off-Host Replica Database
59
Updating a Warm Standby Sybase ASE 12.5 Database
If you specified the for external dump clause when you quiesced the primary database, and
you started the replica database by specifying the -q option to the dataserver command, you
can use transaction logs to update the replica database. As the database administrator, perform the
following steps each time that you want to update the replica database:
1. On the primary host, use the following isql command to dump the transaction log for the
database:
dump transaction to dump_device with standby_access
Copy the transaction log dump to the appropriate database directory on the OHP host.
2. On the OHP host, use the following isql command to load the new transaction log:
load transaction from dump_device with standby_access
3. On the OHP host, use the following isql command to put the database online:
online database database_name for standby_access
Reattaching Snapshot Plexes
Note This operation is not supported for space-optimized instant snapshots.
Using the following command, some or all plexes of an instant snapshot may be reattached to the
specified original volume, or to a source volume in the snapshot hierarchy above the snapshot
volume:
# vxsnap [-g diskgroup] reattach snapvol source=vol \
[nmirror=number]
By default, all the plexes are reattached, which results in the removal of the snapshot. If required,
the number of plexes to be reattached may be specified as the value assigned to the nmirror
attribute.
Note The snapshot being reattached must not be open to any application. For example, any file
system configured on the snapshot volume must first be unmounted.
For example the following command reattaches 1 plex from the snapshot volume, snapmyvol, to
the volume, myvol:
# vxsnap -g mydg reattach snapmyvol source=myvol nmirror=1
While the reattached plexes are being resynchronized from the data in the parent volume, they
remain in the SNAPTMP state. After resynchronization is complete, the plexes are placed in the
SNAPDONE state.