Naming guidelines

This topic provides guidelines to help you define objects and descriptions used in the administrative CLI.

Objects

Use the following guidelines when specifying names for objects:
  • You can use alphanumeric characters, dashes (-), underscores (_), and periods (.) in the object names; however, object names cannot start with a dash or underscore character and must contain at least one alphanumeric character.
  • The object name must not contain blank spaces.
  • Most object names can contain up to 256 characters; the exception is cluster and metadata server names, which can contain up to 32 characters.
  • Object names are case-sensitive.

Descriptions

Use the following guidelines when specifying descriptions:
  • A description can contain up to 256 characters and cannot start with a blank space.
  • For administrative commands, if a description contains spaces, enclose the description in single quotation marks (') or double quotation marks (").
  • For administrative commands, if a description contains quotation marks, enclose the description in opposite quotation marks (for example, 'This is a pool named \"Foo\"').
  • For administrative commands, if a description that is enclosed in quotation marks also contains single quotation marks ('), double quotation marks ("), or asterisks (*) within the string, precede the character with a backslash (for example, "\*\*This is a test\*\*").

Ports

You can specify a value from 1 024 to 65 535 for port numbers.

Host and domain names

Machine host names must not include the underscore character (_). Internet standards dictate that domain names conform to the host name requirements described in Internet Official Protocol Standards RFC 952 and RFC 1123.

Domain names must contain only letters (upper or lower case) and digits. Domain names can also contain dash characters ( - ) as long as the dashes are not on the ends of the name.

Parent topic: Administrative CLI overview

Parent topic: Reference

Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.