Getting Replica Counts and Location
Use the query argument countreps=yes to request INFO to return the number and location of object replicas that are online in the cluster. This was previously the default behavior but was changed as of 4.0 replicas are not counted unless requested.
Include the countreps=yes query argument to enable Swarm to return the replica count and location of an object:
HEAD /mybucket/samplefile.txt?countreps=yes HTTP/1.1
Host: cluster.example.com
User-Agent: Swarm Client/0.1
Swarm returns the replica count and location when completed.
HEAD / HTTP/1.1 HTTP/1.1 200 OK
Castor-System-Cluster: cluster.example.com
Castor-System-Created: Sun, 07 Jul 2013 17:10:06 GMT
Content-Length: 4
Content-Type: application/x-www-form-urlencoded
Last-Modified: Sun, 07 Jul 2013 17:10:06 GMT
Location: http://192.168.1.6:80/70ef3152c831c2c80bbce6505dfb7d0a
Volume: 992c9259b37637927cec444bf9865b8c
Location: http://192.168.1.52:80/70ef3152c831c2c80bbce6505dfb7d0a
Volume: 4d2ffe4f5b8403af3bb9b5408c1babf7
Replica-Count: 2
Etag: "70ef3152c831c2c80bbce6505dfb7d0a"
Volume: 992c9259b37637927cec444bf9865b8c
Volume-Hint: 4d2ffe4f5b8403af3bb9b5408c1babf7
Entity-MD5: 5r0hE+hjVdcj6owxoDRhaw==
Stored-Digest: e6bd2113e86355d723ea8c31a034616b
MinReps: 2
Date: Sun, 07 Jul 2013 17:10:33 GMT
Server: CAStor Cluster/6.1.0
, multiple selections available,
Related content
swarmctl -t Disk related statistics
swarmctl -t Disk related statistics
More like this
Swarm Cluster Services (SCS) Implementation
Swarm Cluster Services (SCS) Implementation
More like this
Using cURL Commands with Swarm Storage and Gateway
Using cURL Commands with Swarm Storage and Gateway
More like this
Copyright
Copyright
Read with this
Search Examples
Search Examples
Read with this
SCSP INFO
SCSP INFO
Read with this
© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.