Normally, you let HCP choose the node on which to process an HS3 API request. You can, however, use an IP address in the request URL to access the system on a specific node. To do this, you replace the fully qualified hostname in the URL with the IP address of an HCP node.
When you use an IP address in a URL, you also need to specify the fully qualified hostname in an HTTP Host request header.
Here’s an example of an s3curl command that uses a URL with an IP address and a Host header that identifies the finance bucket:
./s3curl --id=lgreen --put=Q4_2012.ppt -- -k
-H "Host:finance.europe.hcp.example.com"
"https://192.168.210.16/quarterly_rpts/Q4_2012.ppt"
Here’s a command that does the same thing as the command above but uses the format in which the bucket name follows the URL:
./s3curl --id=lgreen --put=Q4_2012.ppt -- -k
-H "Host:europe.hcp.example.com"
"https://192.168.210.16/finance/quarterly_rpts/Q4_2012.ppt"
For information on HCP nodes, see HCP nodes. For information on when to use an IP address instead of a hostname, see Hostname and IP address considerations.
For the IP addresses of the HCP nodes, contact your tenant administrator.
© 2017 Hitachi Data Systems Corporation. All rights reserved.