2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-22 22:15:30 +00:00

Remove trailing spaces in file xCAT-client/pods/man1/chzone.1.pod

This commit is contained in:
GONG Jie
2017-12-31 23:59:59 +00:00
parent 56ffbfdb4d
commit c57e923be8

View File

@ -1,10 +1,10 @@
=head1 B<NAME>
B<chzone> - Changes a zone defined in the cluster.
B<chzone> - Changes a zone defined in the cluster.
=head1 B<SYNOPSIS>
B<chzone> I<zonename> [B<--defaultzone>] B<[-K]> [B<-k> I<full path to the ssh RSA private key>] [B<-a> I<noderange> | B<-r> I<noderange>] [B<-g>] [B<-f>] [B<-s> B<{yes|no}>] [B<-V>]
B<chzone> I<zonename> [B<--defaultzone>] B<[-K]> [B<-k> I<full path to the ssh RSA private key>] [B<-a> I<noderange> | B<-r> I<noderange>] [B<-g>] [B<-f>] [B<-s> B<{yes|no}>] [B<-V>]
B<chzone> [B<-h> | B<-v>]
@ -13,20 +13,20 @@ B<chzone> [B<-h> | B<-v>]
The B<chzone> command is designed to change the definition of a zone previous defined in the cluster.
The chzone command is only supported on Linux ( No AIX support).
The nodes are not updated with the new root ssh keys by chzone. You must run updatenode -k or xdsh -K to the nodes to update the root ssh keys to the new generated zone keys. This will also sync any service nodes with the zone keys, if you have a hierarchical cluster.
The nodes are not updated with the new root ssh keys by chzone. You must run updatenode -k or xdsh -K to the nodes to update the root ssh keys to the new generated zone keys. This will also sync any service nodes with the zone keys, if you have a hierarchical cluster.
Note: if any zones in the zone table, there must be one and only one defaultzone. Otherwise, errors will occur.
=head1 B<OPTIONS>
=over 5
=item B<-h>|B<--help>
=item B<-h>|B<--help>
Displays usage information.
Displays usage information.
=item B<-v>|B<--version>
=item B<-v>|B<--version>
Displays command version and build date.
Displays command version and build date.
=item B<-k | --sshkeypath> I<full path to the ssh RSA private key>
@ -42,7 +42,7 @@ The nodes are not automatically updated with the new root ssh keys by chzone. Yo
if B<--defaultzone> is input, then it will set the zone defaultzone attribute to yes.
if B<--defaultzone> is input and another zone is currently the default,
then the B<-f> flag must be used to force a change to the new defaultzone.
If B<-f> flag is not use an error will be returned and no change made.
If B<-f> flag is not use an error will be returned and no change made.
Note: if any zones in the zone table, there must be one and only one defaultzone. Otherwise, errors will occur.
=item B<-a | --addnoderange> I<noderange>
@ -61,13 +61,13 @@ it will remove the group name "zonename" from each node in the noderange.
=item B<-s| --sshbetweennodes> B<yes|no>
If -s entered, the zone sshbetweennodes attribute will be set to yes or no based on the input. When this is set to yes, then ssh will be setup to allow passwordless root access between nodes. If no, then root will be prompted for a password when running ssh between the nodes in the zone.
If -s entered, the zone sshbetweennodes attribute will be set to yes or no based on the input. When this is set to yes, then ssh will be setup to allow passwordless root access between nodes. If no, then root will be prompted for a password when running ssh between the nodes in the zone.
=item B<-f | --force>
=item B<-f | --force>
Used with the B<--defaultzone> flag to override the current default zone.
=item B<-g | --assigngroup>
=item B<-g | --assigngroup>
Used with the B<-a> or B<-r> flag to add or remove the group zonename for all nodes in the input noderange.
@ -93,14 +93,14 @@ To generate new root ssh keys for zone2A using the ssh id_rsa private key in /ro
chzone zone2A -k /root/.ssh
Note: you must use xdsh -K or updatenode -k to update the nodes with the new keys
Note: you must use xdsh -K or updatenode -k to update the nodes with the new keys
=item 3.
To generate new root ssh keys for zone2A, enter :
chzone zone2A -K
chzone zone2A -K
Note: you must use xdsh -K or updatenode -k to update the nodes with the new keys
Note: you must use xdsh -K or updatenode -k to update the nodes with the new keys
=item 4.
To add a new group of nodes (compute3) to zone3 and add zone3 group to the nodes, enter:
@ -116,7 +116,7 @@ To remove a group of nodes (compute4) from zone4 and remove zone4 group from the
=item 6.
To change the sshbetweennodes setting on the zone to not allow passwordless ssh between nodes, enter:
chzone zone5 -s no
chzone zone5 -s no
Note: you must use B<xdsh -K> or B<updatenode -k> to update the nodes with this new setting.