Common rules
White space (usually blanks) may be included almost anywhere between words. Two special cases exist:
No white space may exist in the parameters of an options statement or in a devopt parameter. For example,
device(00)
is incorrect; there should not be spaces before or after the equal sign.
If a device number range is used, there must be spaces before and after the hyphen. For example:
device(00 - 15) 3278 OFFLINE
is correct because there is a space before and after the hyphen.
Numbers (in system and resource definitions) are always decimal. If you want a hexadecimal number, you must indicate it. For example:
cu devad(0xA80,10) path(1) resource(xyz)
contains a hexadecimal number (0xA80) and a decimal number (10). CLI commands differ; they assume device addresses are hexadecimal.
You should not use duplicate names in any definitions.
The resadm command
The resadm command has a number of options that are frequently used. Using R10A.rescf as an example of a compiled resource definition, the options are:
# resadm | (start the | resource manager) |
# resadm | (kill the resource manager) | |
# resadm | (terminate | an individual resource) |
# resadm | (terminate | all resources) |
$ resadm | (list all active resources) | |
$ resadm | (list node | names) |
# resadm | (refresh the resource definitions) |
A few notes about the resource manager may be useful:
The
The
For all except the
The
You should terminate resources gracefully, with
A common sequence is to
Appendix B.