6.2 HP IBRIX 9000 Storage CLI Reference Guide (TA768-96070, December 2012)
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 more information on the “objectapi=true” setting, see “Synopsis”
(page 101).
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"
Create a StoreAll REST API (also known as an Object API) enabled virtual host set
ibrix_httpvhost –a VHOSTNAME –c PROFILENAME –I IP-Address:Port –S
“objectapi=true”
To create a StoreAll REST API enabled virtual host set “objectapi=true”; otherwise, set
“objectapi=false” or do not include objectapi in the command. See the HP IBRIX 9000
Storage File System User Guide for a list of prerequisites that must be completed before creating
a StoreAll REST API virtual host.
Modify a virtual host
ibrix_httpvhost -m VHOSTNAME -c PROFILENAME -I IP-Address:Port [-S
SETTINGLIST]
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
Options
DescriptionOption
Specifies the IP addresses/ports assigned to this virtual host.-I
IP-Address:Port
Lists valid HTTP virtual host settings.-L
ibrix_httpvhost 101