beautypg.com

HP StoreAll Storage User Manual

Page 168

background image

5.

When you create the Object Store, be sure to select SSL certificate on the Settings page or,
if you are creating the Object Store using the CLI, make sure you create it with the —S option.

Sample command

ibrix_objectstore -a -s ObjectStore4 -f fs1 -I

10.13.15.81,10.13.15.82 -S ssl_cert

Sample output

Info: Object Store endpoints use local server IP, as dual network is not configured.

Keystone Auth URLs:
Public: https://10.13.15.86:5000/v2.0
Admin: https://10.13.15.86:35357/v2.0

List of endpoints:
https://10.21.12.24:8888/v1/AUTH_%(tenant_id)s
https://10.21.12.23:8888/v1/AUTH_%(tenant_id)s

Object Store created successfully on dev-sys2, dev-sys1

Object Store services started successfully.
Command succeeded!

6.

Download the certificate from the client side.

Sample command

openssl s_client -showcerts -connect 10.13.15.24:5000 ‘/BEGIN/CERTIFICATE/,/END\CERTIFICATE/p’> test.crt
depth=0 /C=GB/ST=Berkshire/L=Newbury/O=My Company Ltd/CN=10.13.15.* verify error:num=18:self signed
certificate verify return:1 depth=0 /C=GB/ST=Berkshire/L=Newbury/O=My Company Ltd/CN=10.13.15.* verify
return:1 DONE"

7.

Stat (display information for) the container from the client side.

Sample command

curl -i https://10.21.12.24:8888/v1/AUTH_7b9a902423a582c9eda266dcf3ad69744037ce77e61f526b0739578e87695f32
-I -H "X-Auth-Token: eb733772d0e741b2abdc137ec080213a" --cacert /root/cert.crt

Sample output

HTTP/1.1 204 No Content
Content-Length: 0
Accept-Ranges: bytes
X-Timestamp: 1385681580.82235
X-Account-Bytes-Used: 0
X-Account-Container-Count: 0
Content-Type: text/plain; charset=utf-8
X-Account-Object-Count: 0
Date: Fri, 29 Nov 2013 00:38:10 GMT

8.

View the Object Store.

Sample command

ibrix_objectstore -l

Sample output

Share Name Share Path FS Name Server Name Proxy IP VIF Object Port Container
Port Account Port
------------- ------------------ ------- ----------- ----------- ----------- -----------
-------------- ------------
objectStore14 /fs1/objectStore14 fs1 dev-sys2 10.21.12.24 10.13.15.82 6003 6004
6005
objectStore14 /fs1/objectStore14 fs1 dev-sys1 10.21.12.23 10.13.15.81 6000 6001
6002
objectStore14 /fs1/objectStore14 fs1 dev-sys4 10.21.12.26 10.13.15.84 6009 6010
6011
objectStore14 /fs1/objectStore14 fs1 dev-sys3 10.21.12.25 10.13.15.83 6006 6007
6008

Proxy Server Port: 8888

Keystone Auth URLs:
Public: https://10.13.15.86:5000/v2.0
Admin: https://10.13.15.86:35357/v2.0

168 Using Object Store