6.5 HP StoreAll OS CLI Reference Guide

Table Of Contents
Table 3 Adding an HTTP share (continued)
Enter the following command on one lineType of HTTP share to add
ibrix_httpshare -a SHARENAME -c PROFILENAME -t VHOSTNAME -f
FSNAME -p dirpath -P urlpath [-u USERLIST] -S
HTTP-StoreAll REST API share in
object mode
The StoreAll REST API share in
object mode provides concepts
"ibrixRestApiMode=object,anonymous=false,readonly=false,
browseable=true,defaultperms=0777"
The anonymous setting must be set to false. If you do not provide the anonymous
setting ("ibrixRestApiMode=object"), the anonymous value is false by default.
similar to OpenStack object
Storage API to support
programmatic access to user-stored
files and their metadata. Users
allowed to use this share are
represented by an account on the
file system. Users can store an
infinite amount of objects in a
container created and each object
is assigned object key which is
mapped to a relative file system
path name.
ibrix_httpshare -a SHARENAME -c PROFILENAME -t VHOSTNAME -f
FSNAME -p dirpath -P urlpath -S
WebDAV-enabled HTTP share
"readonly=false,anonymous=true,browseable=true,
defaultperms=0777,davmethods=true,expressQueryWSI=true"
The -u USERLIST is of form user1=access,user2=access,... where access can be
r/w/rw.
For the -S option, use a comma to separate the settings, and enclose the settings in quotation
marks, such as
"davmethods=true,browseable=true,readonly=true,expressQueryWSI=true".
The following -S options are available:
Table 4 -S options
ValuesDescription
-S option
true/falseSet anonymous to false only if you
want to restrict access to specific
users.
anonymous
If you plan to create an
EQWSI-enabled share, set the
Anonymous setting for the share to
true. EQWSI is not supported on HTTP
shares that have user access restricted
to specific users.
true/falseIf Browseable is set to true, the user
can issue HTTP GET requests for any
browseable
directory path within the share's
directory tree, and that directory's
listing of files and subdirectories will
be returned in the HTTP response. An
error will be returned if the user
issuing the HTTP request does not have
file system permission to navigate
down the path to that directory and
read its contents.
Set the Browseable field to true if you
want the EQWSI search results to be
browseable from the Windows client.
If Browseable is set to false, a GET
request for a directory path will
ibrix_httpshare 113