2012-11-01 09:19:19 +00:00
=head1 NAME
2013-01-23 07:20:41 +00:00
B<nodepurge> - Removes nodes.
2012-11-01 09:19:19 +00:00
=head1 SYNOPSIS
2013-01-23 07:20:41 +00:00
B<nodepurge> [-h| --help | -v | --version]
2012-11-01 09:19:19 +00:00
B<nodepurge> <noderange>
=head1 DESCRIPTION
2013-01-23 07:20:41 +00:00
The B<nodepurge> automatically removes all nodes from the database and any related configurations used by the node.
2012-11-01 09:19:19 +00:00
2013-01-23 07:20:41 +00:00
After the nodes are removed, the configuration files related to these nodes are automatically updated, including the following files: /etc/hosts, DNS, DHCP. Any kits that are used by the nodes are triggered to automatically update kit configuration and services.
2012-11-01 09:19:19 +00:00
=head1 OPTIONS
B<-h|--help>
Display usage message.
B<-v|--version>
Command Version
B<noderange>
The nodes to be removed.
=head1 RETURN VALUE
0 The command completed successfully.
1 An error has occured.
=head1 EXAMPLES
2013-01-23 07:20:41 +00:00
To remove nodes compute-000 and compute-001, use the following command:
2012-11-01 09:19:19 +00:00
nodepurge compute-000,compute-001
=head1 SEE ALSO
L<nodeimport(1)|nodeimport.1>, L<nodechprofile(1)|nodechprofile.1>, L<noderefresh(1)|noderefresh.1>, L<noderange(3)|noderange.3>