Written by J. Moellenkamp on
Reading time: 2 minutes
SolarisEnglish
Less known Solaris Features: Point-in-time copy with AVS - Part 10: Administration
Okay, there are several administrative procedures with the point-in-time copy functionality. I will describe only the most important ones, as i don´t want to substitute the manal with this tutorial.
Deleting a point-in-time copy configuration
Okay, let´s assume you used the following configuration so far:
Forcing a full copy resync of a point-in-time copy
Whenever you are in doubt of the consistency of you point-in-time copy (flacky disks, you´ve swapped a disk) it may be sensible to force a full copy resync instead of coping only the changed parts. Le´ts assume the follwing config of an independent copy:
Again you use the name of the shadow volume to designate the configuration. You force the full copy resync with a single command:
When we check the status of the dependent copy, you will see that a full copy is in progress:
Let´s wait for a few moments and check the status again:
The full copy resync has completed.
Grouping point-in-time copies
Sometimes the data of an application is distributed over several disks. For example because you application is rather old can use only volumes sized at 2 Gigabytes each. When you want to make a consistent point-in-time copy of all volumes, you have to do it at the same time. To enable the admin to do so, you can group point-in-time copies. When you use the groupname, all members of the group get the commands at the same time.
Okay, let´s assume we have an independent copy so far.
Now we want to configure another one for the volume /dev/rdsk/c1d0s5 with /dev/rdsk/c1d1s5 as the shadow volume and /dev/rdsk/c1d1s6 as the bitmap volume.
At first we move the existing configuration into a group. I will name it database in my example but you could choose any other name for it.
With -g we designate the groupname and with -m we move the volume into the group. As usual we use the name of the shadowvolume to designate the configuration.
Now we create the point-in-time copy of the second volume. But we will create it directly in the group. To do so, we need the -g switch.
When you check the state of your copies again, you will recognize that you initated a full resync on both copies at the same time: