HP 3PAR StoreServ 7400 2-node HP 3PAR Command Line Interface Reference (OS 3.1 - Page 13
Numbering Formats, Object Sets, Regular Expressions Patterns, able to be a member of a domain set
View all HP 3PAR StoreServ 7400 2-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 13 highlights
The following actions are practical examples of the glob-style pattern in use: Example * [a]* [a-z]x* Explanation of Action Shows all names. Matches all names beginning with the letter a. Matches any character a-z in the first character position and "x" in the second position, followed by any character "*". NOTE: Brackets ([ ]) are significant in Tcl and must be escaped using a backslash (\) or enclosed in braces ({ }). Other characters such as star (*) are significant in most shells and must be escaped or quoted if running CLI commands from the shell. Numbering Formats # clihelp sub,number sub,number - explain the use of number format in commands. Integer values may be specified in following formats in CLI commands: • decimal - decimal is base-10 number system and uses the digits 0 to 9. • octal - octal is base-8 number system. It uses the digits 0 to 7. The first character of the operand is 0 (For example: 010). • hexadecimal - hexadecimal is base-16 number system. It uses 0-9 to represent values zero to nine, and a, A, b, B, c, C, d, D, e, E, f, F to represent values ten to fifteen. The first two characters of the operand are Ox or OX (For example: Ox100). Object Sets # clihelp sub,objectsets sub,objectsets - Using object sets with commands Object sets provide a convenient method of grouping logically connected objects together. For example all host members of an ESX cluster could be grouped together into an esxhosts host set, while the common VVs exported to them might be in a esxexports VV set. Sets are referred to in commands with the set: prefix. For example, to export the esxexports VV set to the esxhosts host set you could do: createvlun set:esxexports 1 set:esxhostswhich would export the VVs sequentially from LUN 1 onward to the hosts in the esxhosts set. Any hosts that were later added to the host set would also automatically be able to see these VVs. As well as support for host and VV sets the system currently supports domain sets. Only a host is able to be a member of a domain set, which allows it to have VVs from all domains that are a member of the domain set exported to it. This allows VVs under separate administrative control to all be centrally backed up, for example. Set members are ordered according to when they were added. This affects vv set exports and when they are used for createvvcopy. Not all commands support object sets in their parameters; those that do indicate that they will take a set parameter in the command description. Examples of commands with set support are: createhost, createvlun, createsv, createvvcopy, movetodomain, removevlun. Regular Expressions Patterns Patterns are specified as regular expressions. The clihelp -sub regexpat command describes regular expressions in further detail: Numbering Formats 13