HP 3PAR StoreServ 7400 2-node HP 3PAR Command Line Interface Reference (OS 3.1 - Page 123
createhostset, option should still be used to specify which domain to use for the set when the hosts
View all HP 3PAR StoreServ 7400 2-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 123 highlights
createhostset DESCRIPTION The createhostset command defines a new set of hosts and provides the option of assigning one or more existing hosts to that set. The command also allows the addition of hosts to an existing set by use of the -add option. SYNTAX createhostset [options] [...] AUTHORITY • Super, Edit • Any role that is granted the hostset_create right. OPTIONS -add Specifies that the hosts listed should be added to an existing set. At least one host must be specified. -comment Specifies any comment or additional information for the set. The comment can be up to 255 characters long. Unprintable characters are not allowed. -domain Create the host set in the specified domain. For an empty set the default is to create it in the current domain, or no domain if the current domain is not set. A host set must be in the same domain as its members; if hosts are specified as part of the creation then the set will be created in their domain. The -domain option should still be used to specify which domain to use for the set when the hosts are members of domain sets. A domain cannot be specified when adding a host to an existing set with the -add option. SPECIFIERS Name of the host set to create/add to. ... Optional list of hosts or glob-style patterns matching hosts that are to be included in the host set. If no is specified a host set with no hosts is created. RESTRICTIONS None. EXAMPLES To create an empty hostset: cli% createhostset hostset To add a host to the set: cli% createhostset -add hostset hosta createhostset 123