Recovering a point in time for the universal share accelerator
To recover a point in time or snapshot for the universal share accelerator it requires some work on the storage server side to grant the share ID permissions. These permissions are so the client-side accelerator can use that share ID to connect to the storage server.
Use the following steps to recover one snapshot and start it with universal share accelerator. The ID of usa_snap is used as the new accelerator ID in the following procedures.
On the storage side
- Register the new share ID, which is share ID for the accelerator.
vpfscld --manage_accl_id --reg --share_id usa_snap --mode byo --lsu labvol --client usademo.name.name.domain.com
On the client side:
- Recover the snapshot from the cloud bucket. Use the vpfscld --list command to find the snapshot PIT before recovery.
vpfscld --list /msdp/meta_dir/usa/usa Name: pit_0f0430a8-4cea-41dc-8e22-ed1b6f7804e9 Type: full Create_time: 1683642234
Name: The snapshot ID, which can be used to recover the share.
Type: The snapshot type, it can be full and incremental.
Create_time: The snapshot creation time.
- Recover on the client.
vpfscld --recover --share_id usa --tgt_id usa_snap --pit pit_0f0430a8-4cea-41dc-8e22-ed1b6f7804e9 --lsu labvol
share_id: The original universal share accelerator share ID.
tgt_id: The target share ID.
pit: The snapshot ID which is used to do the recovery.
lsu: The cloud volume name.
- Start the new accelerator using the following:
vpfs_accelerator.sh --start --share-id usa_snap
- The new mount point can access all the files in the accelerator.
Example:
/mnt/vpfs_shares/usa_/usa_snap