Creating http shares from the cli, Creating http – HP StoreAll Storage User Manual

Page 131

Advertising
background image

Creating HTTP shares from the CLI

On the command line, HTTP shares are managed by the ibrix_httpconfig,
ibrix_httpvhost

, and ibrix_httpshare commands. The ibrix_httpshare command

is also used for creating a StoreAll REST API-enabled HTTP share. For detailed information, see
the

HP StoreAll Storage CLI Reference Guide

.

Table 13 Creating HTTP shares from the CLI

Command/Pointer

Task

Step

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

Add a
configuration
profile.

1

For the -S option, use a comma to separate the settings, and enclose the settings in quotation
marks,I such as "keepalive=true,maxclients=200,...". To see a list of available
settings for the share, use ibrix_httpconfig -L.

ibrix_httpvhost -a VHOSTNAME -c PROFILENAME -I IP-Address:port [-S

SETTINGLIST]

Add a virtual
host.

2

To create a virtual host with the REST API enabled, use the ibrixrestapi setting for example:

ibrix_httpvhost -a VHOSTNAME -c PROFILENAME -I IP-Address:port -S

ibrixrestapi=true

For the -S option, use a comma to separate the settings, and enclose the settings in quotation
marks, such as "sslcert=name,...". To see a list of the allowable settings for the vhost,
use ibrix_httpvhost -L.

For the -I option, use a semicolon to separate the IP-address:port settings and enclose
the settings in quotation marks, such a "ip1:port1;ip2:port2;...". For example:

ibrix_httpvhost -a vhost1 -c myprofile -I "99.1.26.1:80;99.1.26.1:81"

Use the IP-Address of the User Virtual Interface (the User VIF) of a file serving node as that
interface will be migrated to the node’s HA partner in event of the first node failing. Use
theibrix_nic -l command to find the VIF. The VIF is the IP address of type cluster in an
up, Link Up state, and it is not an Active FM.

See

“Creating HTTP shares” (page 132)

for detailed steps.

Add an HTTP
share.

3

Creating HTTP shares from the CLI

131

Advertising