Dell DX6004S DX Object Storage Administration Guide - Page 67

D.2.2, Renaming, a Domain in a Mirrored or DR Cluster, Rules

Page 67 highlights

To resolve a conflict in a mirrored configuration, skip this section and use Section D.2.2, "Renaming a Domain in a Mirrored or DR Cluster" instead. To rename a domain in the source cluster of a DR cluster, use the Admin Console as follows: 1. Start the Admin Console as discussed in Chapter 2, Introduction to the Admin Console. 2. On the first page, click Settings. 3. On the Cluster Settings page, click Edit next to the name of the domain to rename. 4. In the Add Cluster Tenant section, enter a new name in the Domain Name field. 5. Click Save. 6. If prompted, enter an administrator user name and password. D.2.2. Renaming a Domain in a Mirrored or DR Cluster To rename a domain in a mirrored or DR cluster, use an SCSP COPY command with the following query arguments, and authenticate as a cluster administrator: Query argument admin newname=new-domain-name aliasuuid=domain-UUID Meaning Also referred to as administrative override, enables you to ignore Allow headers and bypass the CastorAuthorization header; requires your cluster administrator credentials. New name for the domain. Make sure you use a name that follows the rules discussed in Section 4.4, "Rules and Recommendations for Managing Tenants". The UUID of the domain to rename. You can find the UUID using a HEAD on the domain in its source cluster, as discussed in the example following the table. To rename a domain in a mirrored or DR cluster: 1. HEAD the alias UUID of the domain to rename. Use SCSP INFO command as follows: INFO /?domain=domain-name&admin Host: domain-name-or-ip You must authenticate as a cluster administrator (that is, a user in the CAStor administrator realm). The value of the Castor-System-Alias header is the domain's UUID. You must also get the value of the Castor-Authorization header from the HEAD request and pass it in using the new cluster name with the rename command as shown in the next step. 2. Rename the domain. curl -X COPY -H "Castor-Authorization: renamed-value-from-HEAD" H "Cache-Control: no-cache-context" -H "lifepoint: [] reps=16" - Copyright © 2010 Caringo, Inc. All rights reserved 62 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
62
Version 5.0
December 2010
To resolve a conflict in a
mirrored
configuration, skip this section and use
Section D.2.2, “Renaming
a Domain in a Mirrored or DR Cluster”
instead.
To rename a domain in the source cluster of a DR cluster, use the Admin Console as follows:
1. Start the Admin Console as discussed in
Chapter 2,
Introduction to the Admin Console
.
2. On the first page, click
Settings
.
3. On the Cluster Settings page, click
Edit
next to the name of the domain to rename.
4. In the Add Cluster Tenant section, enter a new name in the
Domain Name
field.
5. Click
Save
.
6. If prompted, enter an administrator user name and password.
D.2.2. Renaming a Domain in a Mirrored or DR Cluster
To rename a domain in a mirrored or DR cluster, use an SCSP COPY command with the following
query arguments, and authenticate as a cluster administrator:
Query argument
Meaning
admin
Also referred to as
administrative override
, enables
you to ignore Allow headers and bypass the
Castor-
Authorization
header; requires your cluster
administrator credentials.
newname=
new-domain-name
New name for the domain. Make sure you use a name
that follows the rules discussed in
Section 4.4, “Rules and
Recommendations for Managing Tenants”
.
aliasuuid=
domain-UUID
The UUID of the domain to rename. You can find the
UUID using a HEAD on the domain in its source cluster,
as discussed in the example following the table.
To rename a domain in a mirrored or DR cluster:
1. HEAD the alias UUID of the domain to rename.
Use SCSP INFO command as follows:
INFO /?domain=
domain-name
&admin
Host:
domain-name-or-ip
You must authenticate as a cluster administrator (that is, a user in the
CAStor administrator
realm).
The value of the
Castor-System-Alias
header is the domain's UUID.
You must also get the value of the
Castor-Authorization
header from the HEAD request
and pass it in
using the new cluster name
with the rename command as shown in the next step.
2. Rename the domain.
curl -X COPY -H "Castor-Authorization:
renamed-value-from-HEAD
" -
H "Cache-Control: no-cache-context" -H "lifepoint: [] reps=16" -