6.5 HP StoreAll OS CLI Reference Guide

Table Of Contents
ibrix_httpshare
Manages HTTP shares.
Description
An HTTP share provides access to data on StoreAll file systems. HTTP clients access the shares
using standard HTTP and HTTPS protocol services.
The ibrix_httpshare command can be used to add a share to an existing file system. You
can create multiple shares having the same physical path, but with different sets of properties, and
then assign users to the share that is appropriate for their usage.
NOTE: The file system must be mounted when you add the share.
Synopsis
Add an HTTP share:
ibrix_httpshare -a SHARENAME -c PROFILENAME -t VHOSTNAME -f FSNAME -p
dirpath -P urlpath [-u USERLIST] [-S SETTINGLIST]
See the section, “Checklist for creating HTTP shares,” in the HP StoreAll Storage File System User
Guide 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 object 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 enable Express Query on object mode REST API shares.
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.
You cannot assign groups to be given access to a share, only users.
Table 3 Adding an HTTP share
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 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
The StoreAll REST API share in
file-compatible mode provides
programmatic access to user-stored
files and their metadata. The
metadata is stored on the HP
StoreAll Express Query database
in the StoreAll cluster and provides
fast query access to metadata
without scanning the file system.
ibrix_httpshare -a SHARENAME -c PROFILENAME -t VHOSTNAME -f
FSNAME -p dirpath -P urlpath - S
HTTP-StoreAll REST API share in
file-compatible mode and enabled
for EQWSI
"readonly=false,anonymous=true,browseable=true,
defaultperms=0777,ibrixRestApiMode=filecompatible,
expressQueryWSI=true"
112 StoreAll commands