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-02-06 14:45:20 +00:00
|
|
|
=head1 SYNOPSIS
|
2008-02-08 21:53:41 +00:00
|
|
|
|
2008-02-29 18:50:38 +00:00
|
|
|
I<nodels noderange [table.attribute | shortname] ...>
|
|
|
|
|
2008-02-06 14:45:20 +00:00
|
|
|
I<nodels [-h| --help]>
|
|
|
|
|
|
|
|
I<nodels [-v| --version]>
|
|
|
|
|
|
|
|
|
|
|
|
=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
|
|
|
|
are specified after the noderange in the form: I<table.attribute> . A few shortcut names can
|
|
|
|
also be used as aliases to common attributes:
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item I<groups> - nodelist.groups
|
|
|
|
|
|
|
|
=item I<tags> - nodelist.groups
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-02-29 18:50:38 +00:00
|
|
|
=item I<mgt> - nodehm.mgt
|
|
|
|
|
|
|
|
=item I<switch> - switch.switch
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 OPTIONS
|
2008-02-06 14:45:20 +00:00
|
|
|
|
|
|
|
B<-h> Display usage message.
|
|
|
|
|
2008-02-08 21:53:41 +00:00
|
|
|
B<-v> Command Version.
|
2008-02-06 14:45:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
=head1 RETURN VALUE
|
|
|
|
|
|
|
|
0 The command completed successfully.
|
|
|
|
|
|
|
|
1 An error has occurred.
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
2008-02-08 21:53:41 +00:00
|
|
|
1. To list all defined nodes, enter:
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-02-08 21:53:41 +00:00
|
|
|
I<nodels>
|
2008-02-06 14:45:20 +00:00
|
|
|
|
|
|
|
Output is similar to:
|
|
|
|
node1
|
|
|
|
node2
|
|
|
|
node3
|
|
|
|
|
2008-02-29 18:50:38 +00:00
|
|
|
2. To list nodes in noderange ppc, enter:
|
2008-02-06 14:45:20 +00:00
|
|
|
|
|
|
|
I<nodels ppc>
|
|
|
|
|
|
|
|
Output is similar to:
|
|
|
|
ppcnode1
|
|
|
|
ppcnode2
|
|
|
|
ppcnode3
|
|
|
|
|
2008-02-29 18:50:38 +00:00
|
|
|
3. To list the groups each node is part of:
|
|
|
|
|
|
|
|
I<nodels all groups>
|
|
|
|
|
|
|
|
Output is similar to:
|
|
|
|
node1: groups: all
|
|
|
|
node2: groups: all,storage
|
|
|
|
node3: groups: all,blade
|
|
|
|
|
|
|
|
4. To list the groups each node is part of:
|
|
|
|
|
|
|
|
I<nodels all nodehm.power>
|
|
|
|
|
|
|
|
Output is similar to:
|
|
|
|
node1: nodehm.power: blade
|
|
|
|
node2: nodehm.power: ipmi
|
|
|
|
node3: nodehm.power: ipmi
|
|
|
|
|
2008-02-06 14:45:20 +00:00
|
|
|
|
|
|
|
=head1 FILES
|
2008-02-08 21:53:41 +00:00
|
|
|
|
2008-02-06 14:45:20 +00:00
|
|
|
/opt/xcat/bin/nodels
|
|
|
|
|
|
|
|
|
2008-02-29 18:50:38 +00:00
|
|
|
=head1 SEE ALSO
|
|
|
|
|
|
|
|
The B<noderange> man page.
|
|
|
|
|
|
|
|
|
2008-02-06 14:45:20 +00:00
|
|
|
=head1 NOTES
|
|
|
|
|
|
|
|
This command is part of the xCAT software product.
|
|
|
|
|
|
|
|
|
2008-02-08 21:53:41 +00:00
|
|
|
|