How to change the configured S3-compliant bucket of an existing Generic Simple Storage Service (S3) partition
Description
This article describes the steps to change the bucket of an existing Generic Simple Storage Service (S3) partition.
Note: This article is applicable only when replication is enabled on the S3-compliant storage device's bucket .
Steps
Changing the configured S3-compliant bucket of an existing Generic Simple Storage Service (S3) partition consists of the following steps:
Step 1:
Ensure that you have created the S3-compliant source and destination buckets as per your business requirements. You must confirm that the new S3-compliant bucket is created with the existing settings and policy as existing S3-compliant bucket attached to the Generic Simple Storage Service (S3) partition.
Step 2:
Configure replication on the S3-compliant source bucket. Ensure that all the files are replicated to the destination bucket before using the destination bucket on the Generic Simple Storage Service (S3) partition.
Step 3:
Confirm that all the archived items have been backed up.
- Open the SQL Server Management Studio.
- Run the following query:
USE [Vault Store Database Name]
SELECT COUNT(*)
FROM WatchFile - If the count is 0, perform step 4. If the count is greater than 0, there are items left waiting backup.
Step 4:
Set the vault store backup mode and then stop services on the Enterprise Vault server.
- To set the backup mode:
- Open the Administration Console.
- On the left pane of the Administration Console, expand the Vault Store Groups container.
- Right-click the vault store group whose vault stores need to be placed in the backup mode, and click Set State > Set Backup Mode on all Vault Stores.
For details, see Enterprise Vault backup mode.
- Stop all Enterprise Vault services.
Step 5:
Confirm that all the archived files from the existing S3-compliant bucket are moved to the newly created S3-compliant bucket.
Step 6:
Update partition with the new bucket in the SQL Server.
- Open SQL Server Management Studio.
- Expand Databases.
- Select EnterpriseVaultDirectory.
- Create a new SQL query.
- Copy-paste the following SQL query:
USE EnterpriseVaultDirectory
DECLARE @PartitionName AS VARCHAR(200)
DECLARE @NewBucket AS VARCHAR(200)SET @PartitionName = 'Legal_HR_Data'
SET @NewBucket = 'destination-bucket101'
SELECT settingValueText AS 'Previous Bucket' FROM ExtendedSetting
WHERE RootId = (SELECT PartitionEntryId FROM PartitionEntry WHERE PartitionName = @PartitionName)
AND settingTypeId = 3125UPDATE ExtendedSetting SET settingValueText = @NewBucket
WHERE RootId = (SELECT PartitionEntryId FROM PartitionEntry WHERE PartitionName = @PartitionName)
AND settingTypeId = 3125SELECT settingValueText AS 'New Bucket' FROM ExtendedSetting
WHERE RootId = (SELECT PartitionEntryId FROM PartitionEntry WHERE PartitionName = @PartitionName)
AND settingTypeId = 3125 - Replace @PartitionName and @NewBucket variables in the above script.
- Execute the above SQL script.
- Verify that the bucket is changed for that partition.
- Repeat these steps for each partition that is being updated.
Step 7:
Start Enterprise Vault services, confirm that the archived items can be opened, and clear the backup mode on the Enterprise Vault Server.
- Start all Enterprise Vault services.
- Confirm that the archived items can be opened.
- Clear the backup mode.
- In the left pane of the Administration Console, expand the Vault Store Groups container.
- Right-click the vault store group whose vault stores need to have the backup mode cleared, and then click Set State > Clear Backup Mode on all Vault Stores.
For more information about Enterprise Vault backup mode, see How to verify backup mode for Enterprise Vault (EV) event log using Event ID messages.
Important Notes
- Change the replication from When archived files are replicated on the storage to When archived files exist on the storage, if the S3-compliant device does not support reverse replication. If not done so,
- Users will get the error related with Storage File Watch and Storage Management under Window event viewer.
- It will stop updating the information related to secured and unsecured items on Replication tab Details pop-up.
- Your newly archived items to the destination bucket will not get replicated to the source bucket if the S3-compliant device does not support reverse replication.
- On the destination bucket, Generic S3 admin can only configure the storage classes supported by Enterprise Vault.