beautypg.com

Managing http from the cli, Configuring http – HP StoreAll Storage User Manual

Page 117

background image

ibrix_httpconfig –a profile1 –h node1,node2 -S

“wblocksize=,rblocksize=

You can also set the values on the Modify HTTP Profile dialog box:

Managing HTTP from the CLI

On the command line, HTTPis 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 IBRIX 9000 Storage

CLI Reference Guide

.

Configuring HTTP

Add a configuration profile:

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

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

Add a virtual host:

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

SETTINGLIST]

Add an HTTP share:

ibrix_httpshare -a SHARENAME -c PROFILENAME -t VHOSTNAME -f FSNAME -p

dirpath -P urlpath [-u USERLIST] [-S SETTINGLIST]

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 HTTP from the CLI

117