Dell DX6004S DX Object Storage Administration Guide - Page 65

D.1.2. Recovering a Deleted Bucket, Clear Errors

Page 65 highlights

If you added a domain manager successfully, the procedure completed successfully. There is likely an alert in the Admin Console due to not having an _administrators bucket for the domain. You can optionally clear the error from the Admin Console as discussed in the next step. 12.Optional. Return to the cluster settings page and click the IP address of any node for which there is a red Alert message. Look for an alert message similar to the following: Error reading admin bucket 'cluster.example.com/_administrators' ([Errno 2] Bucket not found) 13.Click Clear Errors. You are required to confirm the action. D.1.2. Recovering a Deleted Bucket In the procedure that follows, assume that an application developer notifies you that the following objects are not accessible: photo1.jpg, photo2.jpg, photo3.jpg You do not know the name of the bucket in which the objects were contained. To recover the bucket: 1. Add a DX Content Router filter rule to search for streams where the value of the CastorSystem-Name header is photo1.jpg, photo2.jpg, or photo3.jpg. 2. Using the SDK, instantiate a metadata enumerator subscribed to the rule channel you created in the preceding step to obtain the object's metadata. 3. In the metadata returned for the object, look for the value of the Castor-System-CID header. The Castor-System-CID header is the UUID of the bucket in which the object was contained. 4. After you find the bucket's UUID, use the following command to recover it: curl -i -X POST --post301 --digest -u "cluster-administratorusername:password" --data-binary @realm --location-trusted "http://nodeip/bucket-name?domain=domain-name&admin&recreatecid=alias-uuid" Copyright © 2010 Caringo, Inc. All rights reserved 60 Version 5.0 December 2010

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74

Copyright © 2010 Caringo, Inc.
All rights reserved
60
Version 5.0
December 2010
If you added a domain manager successfully, the procedure completed successfully. There is
likely an alert in the Admin Console due to not having an
_administrators
bucket for the
domain. You can optionally clear the error from the Admin Console as discussed in the next step.
12.
Optional
. Return to the cluster settings page and click the IP address of any node for which there
is a red Alert message.
Look for an alert message similar to the following:
Error reading admin bucket 'cluster.example.com/_administrators' ([Errno
2] Bucket not found)
13.Click
Clear Errors
. You are required to confirm the action.
D.1.2. Recovering a Deleted Bucket
In the procedure that follows, assume that an application developer notifies you that the following
objects are not accessible:
photo1.jpg
,
photo2.jpg
,
photo3.jpg
You do not know the name of the bucket in which the objects were contained.
To recover the bucket:
1. Add a DX Content Router filter rule to search for streams where the value of the
Castor-
System-Name
header is
photo1.jpg
,
photo2.jpg
, or
photo3.jpg
.
2. Using the SDK, instantiate a metadata enumerator subscribed to the rule channel you created in
the preceding step to obtain the object's metadata.
3. In the metadata returned for the object, look for the value of the
Castor-System-CID
header.
The
Castor-System-CID
header is the UUID of the bucket in which the object was contained.
4. After you find the bucket's UUID, use the following command to recover it:
curl -i -X POST --post301 --digest -u "
cluster-administrator-
username
:
password
" --data-binary @
realm
--location-trusted "http://
node-
ip
/
bucket-name
?domain=
domain-name
&admin&recreatecid=
alias-uuid
"