HP 1032 ClusterPack V2.4 Tutorial - Page 135

clinfo - Shows nodes and cluster information., 1.11 clgroup - Creates a logical cluster group

Page 135 highlights

3.1.10 clinfo - Shows nodes and cluster information. The clinfo command lists which hosts make up a cluster. By default, with no arguments, the current cluster is listed. Non-flag arguments are interpreted as cluster names. Three different output modes are supported. z Short format (enabled by the -s option) The short format lists the cluster (followed by a colon) and the hosts it contains; one cluster per line. Long lines do not wrap. If there is only one cluster to be listed and the -v option has not been used, the leading cluster and colon are omitted. This is the default mode if the output is not to a tty device; facilitating the use of clinfo as a component in a larger script. z Medium format (enabled by the -m option) The medium format is tabular. It is easier to read, but harder on programs. Long lines wrap and the cluster name is always given, even when there is only one cluster. This is the default mode if the output is to a tty device, like the user's screen. z Long format (enabled by the -l option) The long format is essentially a dump of the internal database maintained by cladmin. The cluster name is always output, followed by one record per host. Each field of the record occurs by itself on a line, a blank line separates each record. The -a option instructs clinfo to display information about all defined clusters, regardless of the -C option or the CLUSTER environment variable setting. The -C is entirely optional, and is supplied only for consistency with other cluster commands. clinfo is used as follows: % clinfo [-a] [-v] [-s|-m|-l] [[-C] cluster ...] For more details on the usage of clinfo, invoke the command: % man clinfo Back to Top 3.1.11 clgroup - Creates a logical cluster group of nodes. The clgroup command allows the user to create, modify, remove, and list node groups in the

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173

3.1.10 clinfo - Shows nodes and cluster information.
The clinfo command lists which hosts make up a cluster. By default, with no arguments, the
current cluster is listed. Non-flag arguments are interpreted as cluster names. Three different
output modes are supported.
Short format (enabled by the -s option)
The short format lists the cluster (followed by a colon) and the hosts it
contains; one cluster per line. Long lines do not wrap. If there is only one
cluster to be listed and the -v option has not been used, the leading cluster
and colon are omitted. This is the default mode if the output is not to a tty
device; facilitating the use of clinfo as a component in a larger script.
Medium format (enabled by the -m option)
The medium format is tabular. It is easier to read, but harder on programs.
Long lines wrap and the cluster name is always given, even when there is
only one cluster. This is the default mode if the output is to a tty device,
like the user's screen.
Long format (enabled by the -l option)
The long format is essentially a dump of the internal database maintained
by cladmin. The cluster name is always output, followed by one record per
host. Each field of the record occurs by itself on a line, a blank line
separates each record.
The -a option instructs clinfo to display information about all defined clusters, regardless of
the -C option or the CLUSTER environment variable setting.
The -C is entirely optional, and is supplied only for consistency with other cluster commands.
clinfo is used as follows:
%
clinfo [-a] [-v] [-s|-m|-l] [[-C] cluster ...]
For more details on the usage of clinfo, invoke the command:
%
man clinfo
Back to Top
3.1.11 clgroup - Creates a logical cluster group of nodes.
The clgroup command allows the user to create, modify, remove, and list node groups in the