6.5 HP StoreAll OS CLI Reference Guide

Table Of Contents
ibrix_httpvhost
Manages HTTP virtual hosts.
Description
An HTTP virtual host is associated with an HTTP configuration profile. The virtual host specifies the
IP addresses/ports that clients will use to access the HTTP shares associated with the configuration
profile. The virtual host also specifies the SSL certificate that will be used for HTTPS connections.
Synopsis
Add a virtual host:
ibrix_httpvhost -a VHOSTNAME -c PROFILENAME -I IP-Address:Port [-S
SETTINGLIST]
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.
Create a StoreAll REST API enabled virtual host set
ibrix_httpvhost -a VHOSTNAME -c PROFILENAME -I IP-Address:Port -S
ibrixrestapi=true
To create a StoreAll REST API enabled virtual host, set ibrixrestapi=true; otherwise, set
ibrixrestapi=false or do not include ibrixrestapi in the command.
All other parameters for creating a standard virtual host apply.
Modify a virtual host
ibrix_httpvhost -m VHOSTNAME -c PROFILENAME -I IP-Address:Port [-S
SETTINGLIST]
IMPORTANT: You cannot change the value of the StoreAll REST API mode (ibrixrestapi)
setting for a virtual host on an HTTP share.
Delete a virtual host
ibrix_httpvhost -d VHOSTNAME -c PROFILENAME
Display information about a virtual host:
ibrix_httpvhost -i VHOSTNAME -c PROFILENAME [-v level]
Use -v 1 to display detailed information.
List all virtual hosts, or virtual hosts associated with a specific profile:
ibrix_httpvhost -l [-c PROFILENAME] [-v level]
Use -v 1 to display detailed information.
List the valid settings for a virtual host:
ibrix_httpvhost -L
ibrix_httpvhost 117