2008-02-06 14:45:20 +00:00
|
|
|
=head1 NAME
|
2008-02-08 21:53:41 +00:00
|
|
|
|
|
|
|
B<nodels> - lists the nodes in the noderange.
|
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
|
2008-02-06 14:45:20 +00:00
|
|
|
=head1 SYNOPSIS
|
2008-02-08 21:53:41 +00:00
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
B<nodels> [I<noderange>] [I<table.column> | I<shortname>] [I<...>]
|
2008-02-29 18:50:38 +00:00
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
B<nodels> {B<-v> | B<--version>}
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
B<nodels> [B<-?> | B<-h> | B<--help>]
|
2008-02-06 14:45:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
2008-02-08 21:53:41 +00:00
|
|
|
|
2008-02-29 18:50:38 +00:00
|
|
|
The nodels command lists the nodes specified in the node range. If no noderange is provided, then all nodes are listed.
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-02-29 18:50:38 +00:00
|
|
|
Additional attributes of the nodes will also be displayed if the table names and attribute names
|
2008-03-08 14:14:00 +00:00
|
|
|
are specified after the noderange in the form: I<table.column> . A few shortcut names can
|
2008-02-29 18:50:38 +00:00
|
|
|
also be used as aliases to common attributes:
|
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
=over 10
|
2008-02-29 18:50:38 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
=item I<groups>
|
2008-02-29 18:50:38 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
nodelist.groups
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
=item I<tags>
|
2008-02-29 18:50:38 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
nodelist.groups
|
|
|
|
|
|
|
|
=item I<mgt>
|
|
|
|
|
|
|
|
nodehm.mgt
|
|
|
|
|
|
|
|
=item I<switch>
|
|
|
|
|
|
|
|
switch.switch
|
2008-02-29 18:50:38 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
The nodels command with a specific node and one or more table.attribute parameters is a good substitute
|
|
|
|
for grep'ing through the tab files, like was done in xCAT 1.x. This is because nodels will translate
|
|
|
|
any regular expression rows in the tables into their meaning for the specified node. The tab* commands
|
|
|
|
will not do this, instead they will just display the single regular expression row.
|
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
|
2008-02-29 18:50:38 +00:00
|
|
|
=head1 OPTIONS
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
=over 10
|
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
=item B<-v|--version>
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
Command Version.
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
=item B<-?|-h|--help>
|
2008-03-05 16:49:19 +00:00
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
Display usage message.
|
2008-03-05 16:49:19 +00:00
|
|
|
|
|
|
|
=back
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
|
2008-02-06 14:45:20 +00:00
|
|
|
=head1 RETURN VALUE
|
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
=over 3
|
|
|
|
|
|
|
|
=item 0
|
|
|
|
|
|
|
|
The command completed successfully.
|
|
|
|
|
|
|
|
=item 1
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
An error has occurred.
|
|
|
|
|
|
|
|
=back
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
|
2008-02-06 14:45:20 +00:00
|
|
|
=head1 EXAMPLES
|
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
=over 2
|
|
|
|
|
|
|
|
=item *
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
To list all defined nodes, enter:
|
|
|
|
|
|
|
|
B<nodels>
|
2008-02-06 14:45:20 +00:00
|
|
|
|
|
|
|
Output is similar to:
|
|
|
|
node1
|
|
|
|
node2
|
|
|
|
node3
|
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
=item *
|
|
|
|
|
|
|
|
To list nodes in node group ppc, enter:
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
B<nodels> I<ppc>
|
2008-02-06 14:45:20 +00:00
|
|
|
|
|
|
|
Output is similar to:
|
|
|
|
ppcnode1
|
|
|
|
ppcnode2
|
|
|
|
ppcnode3
|
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
=item *
|
2008-02-29 18:50:38 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
To list the groups each node is part of:
|
|
|
|
|
|
|
|
B<nodels> I<all> I<groups>
|
2008-02-29 18:50:38 +00:00
|
|
|
|
|
|
|
Output is similar to:
|
|
|
|
node1: groups: all
|
|
|
|
node2: groups: all,storage
|
|
|
|
node3: groups: all,blade
|
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
=item *
|
|
|
|
|
|
|
|
To list the groups each node is part of:
|
2008-02-29 18:50:38 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
B<nodels> I<all> I<nodehm.power>
|
2008-02-29 18:50:38 +00:00
|
|
|
|
|
|
|
Output is similar to:
|
|
|
|
node1: nodehm.power: blade
|
|
|
|
node2: nodehm.power: ipmi
|
|
|
|
node3: nodehm.power: ipmi
|
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
=item *
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
To list the out-of-band mgt method for blade1:
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
B<nodels> I<blade1> I<nodehm.mgt>
|
2008-02-29 18:50:38 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
Output is similar to:
|
|
|
|
blade1: nodehm.mgt: blade
|
2008-02-29 18:50:38 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
=back
|
2008-02-29 18:50:38 +00:00
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
=head1 FILES
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
/opt/xcat/bin/nodels
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
=head1 SEE ALSO
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-05 16:49:19 +00:00
|
|
|
noderange(5)
|
2008-02-08 21:53:41 +00:00
|
|
|
|