2008-02-06 14:45:20 +00:00
|
|
|
=head1 NAME
|
2008-03-08 14:14:00 +00:00
|
|
|
|
|
|
|
B<nodeadd> - Adds nodes to the xCAT cluster database.
|
|
|
|
|
|
|
|
|
2008-02-06 14:45:20 +00:00
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
B<nodeadd> I<noderange> B<groups>=I<groupnames> [I<table.column=value>] [I<...>]
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
B<nodeadd> {B<-v> | B<--version>}
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
B<nodeadd> [B<-?> | B<-h> | B<--help>]
|
2008-02-06 14:45:20 +00:00
|
|
|
|
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
=head1 DESCRIPTION
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
The nodeadd command adds the nodes specified in noderange to the xCAT database. It also stores
|
|
|
|
the any additional attributes specified for these nodes. At least one groupname must be supplied.
|
|
|
|
You should also consider specifying attributes in at least the following tables: B<nodehm>, B<noderes>,
|
|
|
|
B<nodetype>. See the man page for each of these for details. Also see the B<xcatdb> man page for an
|
|
|
|
overview of each table.
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
The nodeadd command also supports some short cut names as aliases to common attributes. See the
|
|
|
|
B<nodels> man page for details.
|
2008-02-06 14:45:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
=over 10
|
2008-02-06 14:45:20 +00:00
|
|
|
|
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>
|
|
|
|
|
|
|
|
Display usage message.
|
|
|
|
|
|
|
|
=back
|
2008-02-06 14:45:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
=head1 RETURN VALUE
|
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
=over 3
|
|
|
|
|
|
|
|
=item 0
|
|
|
|
|
|
|
|
The command completed successfully.
|
|
|
|
|
|
|
|
=item 1
|
|
|
|
|
|
|
|
An error has occurred.
|
|
|
|
|
|
|
|
=back
|
2008-02-06 14:45:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
=over 2
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
To add nodes in noderange node1-node4 with group all:
|
|
|
|
|
|
|
|
B<nodeadd> I<node1-node4 groups=all>
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
=item *
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
To add nodes in noderange node1-node4 to the nodetype table with os=rhel5:
|
|
|
|
|
|
|
|
B<nodeadd> I<node1-node4 groups=all,rhel5 nodetype.os=rhel5>
|
|
|
|
|
|
|
|
=back
|
2008-02-06 14:45:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
=head1 FILES
|
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
/opt/xcat/bin/nodeadd
|
2008-02-06 14:45:20 +00:00
|
|
|
|
|
|
|
|
2008-03-08 14:14:00 +00:00
|
|
|
=head1 SEE ALSO
|
2008-02-06 14:45:20 +00:00
|
|
|
|
2008-08-02 16:18:07 +00:00
|
|
|
L<nodels(1)|nodels.1>, L<nodech(1)|nodech.1>, L<noderange(3)|noderange.3>
|