Add pods for node* commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@397 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
54fc7ea33b
commit
3a75ed5ac3
65
xCAT-client-2.0/pods/man1/nodeadd.1.pod
Normal file
65
xCAT-client-2.0/pods/man1/nodeadd.1.pod
Normal file
@ -0,0 +1,65 @@
|
||||
=head1 NAME
|
||||
|
||||
B<nodeadd> -Adds nodes to the cluster.
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
I<nodeadd [-h| --help]>
|
||||
|
||||
I<nodeadd [noderange] nodelist.groups= [groupname] >
|
||||
|
||||
I<nodeadd [noderange] [table.column=value, table.column=value] >
|
||||
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
The nodeadd command adds the node from the input node range. At least one groupname must be supplied
|
||||
|
||||
nodeadd also supports some short cut tags:
|
||||
groups is equivalent to table.column = nodelist.groups
|
||||
for example:nodeadd blade1-blade8 groups=all,compuTe
|
||||
|
||||
mgt is equivalent to table.column = nodehm.mgt
|
||||
for example:nodeadd blade7 mgt=blade
|
||||
switch is equivalent to table.colum= switch.switch
|
||||
for example:nodeadd blade8 switch=switch1
|
||||
|
||||
|
||||
=head1 OPTIONS
|
||||
|
||||
|
||||
B<-h> Display usage message.
|
||||
|
||||
B<-v> Command Version.
|
||||
|
||||
B<-V> Verbose output.
|
||||
|
||||
|
||||
=head1 RETURN VALUE
|
||||
|
||||
0 The command completed successfully.
|
||||
|
||||
1 An error has occurred.
|
||||
|
||||
=head1 EXAMPLES
|
||||
|
||||
1. To add nodes in noderange node1-node4 with group all:
|
||||
|
||||
I<nodeadd node1-node4 groups=all >
|
||||
|
||||
2. To add nodes in noderange node1-node4 to the nodetype table with os=rhel5:
|
||||
|
||||
I<nodeadd node1-node4 nodetype.os=rhel5>
|
||||
|
||||
|
||||
=head1 FILES
|
||||
|
||||
/opt/xcat/bin/nodeadd
|
||||
|
||||
|
||||
=head1 NOTES
|
||||
|
||||
This command is part of the xCAT software product.
|
||||
See nodels,nodech,noderange
|
||||
|
||||
|
54
xCAT-client-2.0/pods/man1/nodech.1.pod
Normal file
54
xCAT-client-2.0/pods/man1/nodech.1.pod
Normal file
@ -0,0 +1,54 @@
|
||||
=head1 NAME
|
||||
|
||||
B<nodech> -Changes node attributes in the database.
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
I<nodech [-h| --help]>
|
||||
|
||||
|
||||
I<nodech [noderange] [table.column=value, table.column=value] >
|
||||
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
The nodech command changes the attribute value in the input table.column for the input node range.
|
||||
|
||||
|
||||
=head1 OPTIONS
|
||||
|
||||
|
||||
B<-h> Display usage message.
|
||||
|
||||
B<-v> Command Version.
|
||||
|
||||
|
||||
|
||||
=head1 RETURN VALUE
|
||||
|
||||
0 The command completed successfully.
|
||||
|
||||
1 An error has occurred.
|
||||
|
||||
=head1 EXAMPLES
|
||||
|
||||
1. To change the group name nodes in noderange node1-node4:
|
||||
|
||||
I<nodech node1-node4 nodelist.groups=compute >
|
||||
|
||||
2. To change nodes in noderange node1-node4 to os=rhel5 in nodetype table:
|
||||
|
||||
I<nodech node1-node4 nodetype.os=rhel5>
|
||||
|
||||
|
||||
=head1 FILES
|
||||
|
||||
/opt/xcat/bin/nodech
|
||||
|
||||
|
||||
=head1 NOTES
|
||||
|
||||
This command is part of the xCAT software product.
|
||||
See nodels,nodeadd,noderange
|
||||
|
||||
|
66
xCAT-client-2.0/pods/man1/nodels.1.pod
Normal file
66
xCAT-client-2.0/pods/man1/nodels.1.pod
Normal file
@ -0,0 +1,66 @@
|
||||
=head1 NAME
|
||||
|
||||
B<nodels> -Lists the nodes in the noderange.
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
I<nodels [-h| --help]>
|
||||
|
||||
I<nodels [-v| --version]>
|
||||
|
||||
|
||||
I<nodels [-V| --verbose] noderange>
|
||||
|
||||
|
||||
=head1 DESCRIPTION
|
||||
The nodels command lists the nodes in the input node range. If no noderange is provided, then all nodes are listed.
|
||||
|
||||
=head1 OPTIONS
|
||||
|
||||
|
||||
B<-h> Display usage message.
|
||||
|
||||
B<-v> Command Version.
|
||||
|
||||
B<-V> Verbose output.
|
||||
|
||||
|
||||
=head1 RETURN VALUE
|
||||
|
||||
0 The command completed successfully.
|
||||
|
||||
1 An error has occurred.
|
||||
|
||||
=head1 EXAMPLES
|
||||
|
||||
1. To list all defined nodes, enter:
|
||||
|
||||
I<nodels>
|
||||
|
||||
Output is similar to:
|
||||
node1
|
||||
node2
|
||||
node3
|
||||
|
||||
2.To list nodes in noderange ppc, enter:
|
||||
|
||||
I<nodels ppc>
|
||||
|
||||
Output is similar to:
|
||||
|
||||
ppcnode1
|
||||
ppcnode2
|
||||
ppcnode3
|
||||
|
||||
|
||||
=head1 FILES
|
||||
|
||||
/opt/xcat/bin/nodels
|
||||
|
||||
|
||||
=head1 NOTES
|
||||
|
||||
This command is part of the xCAT software product.
|
||||
|
||||
|
||||
|
48
xCAT-client-2.0/pods/man1/noderm.1.pod
Normal file
48
xCAT-client-2.0/pods/man1/noderm.1.pod
Normal file
@ -0,0 +1,48 @@
|
||||
=head1 NAME
|
||||
|
||||
B<noderm> -Removes the nodes in the noderange from all database table.
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
I<noderm [-h| --help]>
|
||||
|
||||
|
||||
|
||||
I<noderm noderange>
|
||||
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
The noderm command removes the nodes in the input node range.
|
||||
|
||||
=head1 OPTIONS
|
||||
|
||||
|
||||
B<-h> Display usage message.
|
||||
|
||||
|
||||
|
||||
=head1 RETURN VALUE
|
||||
|
||||
0 The command completed successfully.
|
||||
|
||||
1 An error has occurred.
|
||||
|
||||
=head1 EXAMPLES
|
||||
|
||||
1. To remove the nodes in noderange node1-node4, enter:
|
||||
|
||||
I<noderm node1-node4>
|
||||
|
||||
|
||||
=head1 FILES
|
||||
|
||||
/opt/xcat/bin/noderm
|
||||
|
||||
|
||||
=head1 NOTES
|
||||
|
||||
This command is part of the xCAT software product.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user