Copyright © 2010 Caringo, Inc.All rights reserved 63Version 5.0December 2010H "Castor-Stream-Type: admin" --anyauth -u "cluster-administrator-username:password" --location-trusted "http://node-ip?domain=domain-name&admin&aliasuuid=uuid&newname=new-domain-name"For example, to rename cluster.example.com to archive.example.com by sendingcommands to a node whose IP address is 172.16.0.35:1. HEAD the domain to get its alias UUID:curl -I --anyauth -u "admin:ourpwdofchoicehere" --location-trusted"http://172.16.0.35?domain=cluster.example.com&admin"Sample output follows:HTTP/1.1 200 OKCache-Control: no-cache-contextCastor-Authorization: cluster.example.com/_administrators,POST=cluster.example.comCastor-Stream-Type: adminCastor-System-Alias: bbc2365b3283c23c47595abcfd09034aCastor-System-CID: ffffffffffffffffffffffffffffffffCastor-System-Cluster: cluster.example.comCastor-System-Created: Wed, 17 Nov 2010 15:59:13 GMTCastor-System-Name: cluster.example.comCastor-System-Owner: admin@CAStor administratorCastor-System-Version: 1290009553.775Content-Length: 0Last-Modified: Wed, 17 Nov 2010 15:59:13 GMTlifepoint: [] reps=16Etag: "099e2bc25eb8346ed5d94a598fa73bfa"Date: Wed, 17 Nov 2010 16:02:07 GMTServer: CAStor Cluster/5.0.0The information you need to rename the domain is:Castor-Authorization: cluster.example.com/_administrators,POST=cluster.example.comYou must change this header to: Castor-Authorization: archive.example.com/_administrators, POST=archive.example.comCastor-System-Alias: bbc2365b3283c23c47595abcfd09034aYou must also add the following headers exactly as shown:• -H "Castor-Stream-Type: admin"• -H "Cache-Control: no-cache-context"• -H "lifepoint: [] reps=16"NoteThe Cache-Control, lifepoint, and Castor-Stream-Type headers must beentered exactly as shown to match the headers used when domains are createdby the Admin Console. Cache-Control: no-cache-context does not prevent