2012-11-01 09:19:19 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
2013-04-09 12:00:20 +00:00
|
|
|
B<nodediscoverls> - List the discovered nodes
|
2012-11-01 09:19:19 +00:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2013-05-16 08:36:11 +00:00
|
|
|
B<nodediscoverls> [B<-t seq>|B<profile>|B<switch>|B<blade>|B<manual>|B<undef>|B<all>] [B<-l>]
|
2012-11-01 09:19:19 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
B<nodediscoverls> [B<-u uuid>] [B<-l>]
|
2013-04-09 12:00:20 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
B<nodediscoverls> [B<-h>|B<--help>|B<-v>|B<--version>]
|
2013-04-09 12:00:20 +00:00
|
|
|
|
2012-11-01 09:19:19 +00:00
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
The B<nodediscoverls> command lists nodes that have recently been discovered. If discovery
|
|
|
|
is currently in progress (i.e. B<nodediscoverstart> has been run, but B<nodediscoverstop> has not been),
|
|
|
|
then B<nodediscoverls> will list the nodes that have been discovered so far in this session.
|
|
|
|
If discovery is not currently in progress, B<nodediscoverls> will list all of the nodes that were
|
|
|
|
discovered in the last discovery session.
|
2013-04-09 12:00:20 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
You can use the B<-t> option to limit the output to just the nodes that were discovered in a
|
|
|
|
particular method of discovery.
|
2013-04-09 12:00:20 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
=head1 OPTIONS
|
2013-04-09 12:00:20 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
=over 10
|
2012-11-01 09:19:19 +00:00
|
|
|
|
2013-05-16 08:36:11 +00:00
|
|
|
=item B<-t seq|profile|switch|blade|manual|undef|all>
|
2012-11-01 09:19:19 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
Display the nodes that have been discovered by the specified discovery method:
|
2012-11-01 09:19:19 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
=over 3
|
|
|
|
|
|
|
|
=item *
|
2012-11-01 09:19:19 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
B<seq> - Sequential discovery (started via nodediscoverstart noderange=<noderange> ...).
|
2012-11-01 09:19:19 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
=item *
|
2012-11-01 09:19:19 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
B<profile> - Profile discovery (started via nodediscoverstart networkprofile=<network-profile> ...).
|
2013-04-09 12:00:20 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
=item *
|
2013-04-09 12:00:20 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
B<switch> - Switch-based discovery (used when the switch and switches tables are filled in).
|
2013-04-09 12:00:20 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
=item *
|
2013-04-09 12:00:20 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
B<blade> - Blade discovery (used for IBM Flex blades).
|
2013-04-09 12:00:20 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
=item *
|
2013-04-09 12:00:20 +00:00
|
|
|
|
2013-05-16 08:36:11 +00:00
|
|
|
B<manual> - Manually discovery (used when defining node by nodediscoverdef command).
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
B<undef> - Display the nodes that were in the discovery pool, but for which xCAT has not yet received a discovery request.
|
2013-04-09 12:00:20 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
=item *
|
2013-04-09 12:00:20 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
B<all> - All discovered nodes.
|
2013-04-09 12:00:20 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
=item B<-l>
|
|
|
|
|
|
|
|
Display more detailed information about the discovered nodes.
|
2013-04-09 12:00:20 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
=item B<-u uuid>
|
2013-04-09 12:00:20 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
Display the discovered node that has this uuid.
|
2013-04-09 12:00:20 +00:00
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
=item B<-h|--help>
|
|
|
|
|
|
|
|
Display usage message.
|
|
|
|
|
|
|
|
=item B<-v|--version>
|
|
|
|
|
|
|
|
Command version.
|
|
|
|
|
|
|
|
=back
|
2013-04-09 12:00:20 +00:00
|
|
|
|
2012-11-01 09:19:19 +00:00
|
|
|
=head1 RETURN VALUE
|
|
|
|
|
|
|
|
0 The command completed successfully.
|
|
|
|
|
|
|
|
1 An error has occured.
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
2013-04-10 20:50:31 +00:00
|
|
|
=over 3
|
|
|
|
|
2013-04-09 12:00:20 +00:00
|
|
|
=item 1
|
|
|
|
|
|
|
|
Display the discovered nodes when sequential discovery is running:
|
|
|
|
|
|
|
|
B<nodediscoverls>
|
|
|
|
|
|
|
|
UUID NODE METHOD MTM SERIAL
|
|
|
|
51E5F2D7-0D59-11E2-A7BC-3440B5BEDBB2 distest1 sequential 786310X 1052EF2
|
|
|
|
51E5F2D7-0D59-11E2-A7BC-3440B5BEDBB3 distest2 sequential 786310X 1052EF3
|
|
|
|
|
|
|
|
=item 2
|
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
Display the nodes that were in the discovery pool, but for which xCAT has not yet received a discovery request:
|
2013-04-09 12:00:20 +00:00
|
|
|
|
|
|
|
B<nodediscoverls> -t undef
|
|
|
|
|
|
|
|
UUID NODE METHOD MTM SERIAL
|
|
|
|
51E5F2D7-0D59-11E2-A7BC-3440B5BEDBB0 undef undef 786310X 1052EF0
|
|
|
|
51E5F2D7-0D59-11E2-A7BC-3440B5BEDBB1 undef undef 786310X 1052EF1
|
|
|
|
|
|
|
|
=item 3
|
|
|
|
|
|
|
|
Display all the discovered nodes:
|
|
|
|
|
|
|
|
B<nodediscoverls> -t all
|
|
|
|
|
|
|
|
UUID NODE METHOD MTM SERIAL
|
|
|
|
51E5F2D7-0D59-11E2-A7BC-3440B5BEDBB0 undef undef 786310X 1052EF0
|
|
|
|
51E5F2D7-0D59-11E2-A7BC-3440B5BEDBB1 undef undef 786310X 1052EF1
|
|
|
|
51E5F2D7-0D59-11E2-A7BC-3440B5BEDBB2 distest1 sequential 786310X 1052EF2
|
|
|
|
51E5F2D7-0D59-11E2-A7BC-3440B5BEDBB3 distest2 sequential 786310X 1052EF3
|
|
|
|
|
|
|
|
=item 4
|
|
|
|
|
2013-05-02 16:41:18 +00:00
|
|
|
Display the discovered node whose uuid is B<51E5F2D7-0D59-11E2-A7BC-3440B5BEDBB2>, with detailed information:
|
2013-04-09 12:00:20 +00:00
|
|
|
|
|
|
|
B<nodediscoverls> -u 51E5F2D7-0D59-11E2-A7BC-3440B5BEDBB2 -l
|
|
|
|
|
|
|
|
Object uuid: 51E5F2D7-0D59-11E2-A7BC-3440B5BEDBB2
|
|
|
|
node=distest1
|
|
|
|
method=sequential
|
|
|
|
discoverytime=03-31-2013 17:05:12
|
|
|
|
arch=x86_64
|
|
|
|
cpucount=32
|
|
|
|
cputype=Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz
|
|
|
|
memory=198460852
|
|
|
|
mtm=786310X
|
|
|
|
serial=1052EF2
|
|
|
|
nicdriver=eth0!be2net,eth1!be2net
|
|
|
|
nicipv4=eth0!10.0.0.212/8
|
|
|
|
nichwaddr=eth0!34:40:B5:BE:DB:B0,eth1!34:40:B5:BE:DB:B4
|
|
|
|
nicpci=eth0!0000:0c:00.0,eth1!0000:0c:00.1
|
|
|
|
nicloc=eth0!Onboard Ethernet 1,eth1!Onboard Ethernet 2
|
|
|
|
niconboard=eth0!1,eth1!2
|
|
|
|
nicfirm=eth0!ServerEngines BE3 Controller,eth1!ServerEngines BE3 Controller
|
|
|
|
switchname=eth0!c909f06sw01
|
|
|
|
switchaddr=eth0!192.168.70.120
|
|
|
|
switchdesc=eth0!IBM Flex System Fabric EN4093 10Gb Scalable Switch, flash image: version 7.2.6, boot image: version 7.2.6
|
|
|
|
switchport=eth0!INTA2
|
|
|
|
|
2013-04-10 20:50:31 +00:00
|
|
|
=back
|
2012-11-01 09:19:19 +00:00
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2013-05-16 08:36:11 +00:00
|
|
|
L<nodediscoverstart(1)|nodediscoverstart.1>, L<nodediscoverstatus(1)|nodediscoverstatus.1>, L<nodediscoverstop(1)|nodediscoverstop.1>, L<nodediscoverdef(1)|nodediscoverdef.1>
|