Creating http shares, Managing the http configuration – HP StoreAll Storage User Manual

Page 132

Advertising
background image

Creating HTTP shares

See

“Checklist for creating HTTP shares” (page 116)

for a list of prerequisites that must be completed

before creating an HTTP share.

IMPORTANT:

Keep in mind the following when creating StoreAll REST API shares in file-compatible

mode:

Do not create file-compatible mode and object mode REST API shares on the same file system.
Use separate file systems for each type of REST API share.

Do not create an object mode REST API share on any file system where Express Query is
enabled. Express Query does not support storing metadata from objects in object mode shares.
If Express Query is enabled on a file system with an object mode API share, metadata from
the object mode files are ingested incorrectly, causing unusable metadata to be added to the
Express Query database. This situation negatively impacts the performance of Express Query
for the files outside the object mode share on the same file system that it ingests correctly.

Table 14 Adding an HTTP share

Enter the following command on one line

Type of HTTP share to add

ibrix_httpshare -a SHARENAME -c PROFILENAME -t VHOSTNAME

-f FSNAME -p dirpath -P urlpath [-u USERLIST] [-S

SETTINGLIST]

Standard HTTP Share

ibrix_httpshare -a SHARENAME -c PROFILENAME -t VHOSTNAME

-f FSNAME -p dirpath -P urlpath [-u USERLIST] -S

"ibrixRestApiMode=filecompatible"

HTTP StoreAll REST API share in
file-compatible mode

1

ibrix_httpshare -a SHARENAME -c PROFILENAME -t VHOSTNAME

-f FSNAME -p dirpath -P urlpath [-u USERLIST] -S

"ibrixRestApiMode=object,anonymous=false"

HTTP StoreAll REST API share in object
mode

1,2

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.

1

The parameter userlist is optional, and it is not necessarily needed for the StoreAll REST API.

All the other listed arguments are required for the StoreAll REST API.

2

Additional steps are required to take full advantage of the object mode and its use of containers.

See

“Tutorial for using the HTTP StoreAll REST API object mode” (page 139)

.

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".

For example, to create a new HTTP share and enable the WebDAV property on that share:

# ibrix_httpshare -a share3 -c cprofile1 -t dav1vhost1 -f ifs1 -p

/ifs1/dir1 -P url3 -S "davmethods=true"

To see all of the valid settings for an HTTP share, use the following command:

ibrix_httpshare -L

Managing the HTTP configuration

View a configuration profile:

ibrix_httpconfig -i PROFILENAME [-v level]

Modify a configuration profile:

ibrix_httpconfig -m PROFILENAME [-h HOSTLIST] [-S SETTINGLIST]

Delete a configuration profile:

ibrix_httpconfig -d PROFILENAME

View a virtual host:

132

Using HTTP

Advertising