6.5 HP StoreAll OS User Guide

In this instance, we are setting the source container:
The secretkey123 is the Sync-Key value.
The
http://10.2.11.10:8888/v1/AUTH_7b9a902423a582c9eda266dcf3ad69744037ce77e61f526b0739578e87695f32/ContainerSyncTarget
is the Sync-To value.
3. If no Sync-Key value is set on the target container, or you want to change the pre-existing
Sync-Key value, enter the following command:
IMPORTANT: Keep in mind the following:
The Sync-Key values for both containers must match.
The Sync-To value is NOT set on target container.
curl -i -X POST <ENDPOINT_FOR_TARGET_CONTAINER> -H
"X-Container-Sync-Key:<SYNC_KEY> -H
"X-Auth-Token:<AUTHENTICATION_TOKEN>
Sample command
# curl -i -X POST
http://10.2.11.10:8888/v1/AUTH_7b9a902423a582c9eda266dcf3ad69744037ce77e61f526b0739578e87695f32/ContainerSyncTarget"
-H "X-Container-Sync-Key: secretkey123" -H "X-Auth-Token:8cd4745f3c7042ac83785410de00ffac"
In this instance, we are setting the target container. The secretkey123 is the Sync-Key value.
4. Repeat these steps for each container that you want to be designated as a source or target
container.
5. Once you post an object to the source container, the source containers are synced to the
target container every five minutes. See “Posting metadata to a container” (page 148) for more
information.
Viewing the status of container sync
You can view the status of the syncing of each backup source container. StoreAll provides the
details of the sync of each container, such as number of components synced.
Any container that does not have syncing enabled will return a “skipped” message. Containers
returning a “failed” message were set up to sync but have failed to sync.
To view the status of container sync:
grep container-sync /var/log/messages
NOTE: The time is set to UTC/GMT time.
Deleting container sync configuration
Deleting the Object Store container sync configuration removes the configured target/source IP
address and therefore stops further sync to that IP address. You can perform this operation using
the HP StoreAll CLI or the HP StoreAll Management Console.
Synchronization of containers 155