2009-09-25 15:30:53 +00:00
=head1 NAME
2008-10-13 21:42:21 +00:00
2009-09-25 15:30:53 +00:00
B<updatenode> - Update nodes in an xCAT cluster environment.
2008-10-13 21:42:21 +00:00
2009-09-25 15:30:53 +00:00
=head1 SYNOPSIS
2008-10-13 21:42:21 +00:00
2013-02-28 20:55:30 +00:00
B<updatenode> B<noderange> [B<-V>|B<--verbose>] [B<-F>|B<--sync>] [B<-f>|B<--snsync>] [B<-S>|B<--sw>] [B<-l> I<userID>] [B<-P>|B<--scripts> [B<script1,script2...>]] [B<-s>|B<--sn>] [B<-A>|B<--updateallsw>] [B<-c>|B<--cmdlineonly>] [B<-d alt_source_dir>] [B<--fanout>] [B<attr=val> [B<attr=val...>]]
2008-10-13 21:42:21 +00:00
2012-08-26 10:07:41 +00:00
B<updatenode> B<noderange> [B<-k>|B<--security>]
2010-03-24 13:13:46 +00:00
2010-03-25 19:04:57 +00:00
B<updatenode> B<noderange> [B<-V>|B<--verbose>] [B<script1,script2...>]
2008-10-13 21:42:21 +00:00
2011-05-13 13:41:52 +00:00
B<updatenode> B<noderange> [B<-V>|B<--verbose>] [B<-f>|B<--snsync>]
2010-03-25 19:04:57 +00:00
B<updatenode> [B<-h>|B<--help>] [B<-v>|B<--version>]
2008-10-13 21:42:21 +00:00
2009-09-25 15:30:53 +00:00
=head1 DESCRIPTION
2008-10-13 21:42:21 +00:00
2009-09-25 15:30:53 +00:00
The updatenode command is run on the xCAT management node and can be used
to perform the following node updates:
2008-10-13 21:42:21 +00:00
2009-09-25 15:30:53 +00:00
=over 3
2008-10-13 21:42:21 +00:00
2009-09-25 15:30:53 +00:00
=item 1
2008-10-13 21:42:21 +00:00
2009-09-25 15:30:53 +00:00
Distribute and synchronize files.
2008-10-13 21:42:21 +00:00
2009-09-25 15:30:53 +00:00
=item 2
Install or update software on diskfull nodes.
=item 3
Run postscripts.
2010-03-24 13:13:46 +00:00
=item 4
2012-05-02 19:17:31 +00:00
Update the ssh keys and host keys for the service nodes and compute nodes;
2010-03-24 13:13:46 +00:00
Update the ca and credentials for the service nodes.
2009-09-25 15:30:53 +00:00
=back
2008-10-13 21:42:21 +00:00
2010-03-26 03:09:00 +00:00
The default behavior of updatenode will be to attempt to perform the update
which doing by "-S", "-P" and "-F" flags.
If you wish to limit updatenode to one or two specific
2009-07-20 12:50:31 +00:00
actions you can use combinations of the "-S", "-P", and "-F" flags.
2008-10-13 21:42:21 +00:00
2010-06-18 06:10:45 +00:00
If more than one actions doing by "-S", "-P" and "-F" need to be performed,
the execution sequence is "-F", "-S" and then "-P".
2009-07-20 12:50:31 +00:00
For example, If you just want to synchronize configuration file you could
specify the "-F" flag. If you want to synchronize files and update
software you would specify the "-F" and "-S" flags. See the descriptions
of these flags and examples below.
2008-10-13 21:42:21 +00:00
2010-03-25 19:04:57 +00:00
The flag "-k" (--security) can NOT be used together with "-S", "-P", and "-F"
2012-08-26 10:07:41 +00:00
flags.
2010-03-24 13:13:46 +00:00
2009-07-20 12:50:31 +00:00
Note: In a large cluster environment the updating of nodes in an ad hoc
manner can quickly get out of hand, leaving the system administrator with
a very confusing environment to deal with. The updatenode command is
designed to encourage users to handle cluster updates in a manner that
2009-11-13 14:41:51 +00:00
is recorded and easily repeatable.
2008-10-13 21:42:21 +00:00
2009-09-25 15:30:53 +00:00
=head2 To distribute and synchronize files
The basic process for distributing and synchronizing nodes is:
=over 3
=item *
Create a synclist file.
=item *
Indicate the location of the synclist file.
=item *
Run the updatenode command to update the nodes.
=back
Files may be distributed and synchronized for both diskless and
2011-07-04 10:43:53 +00:00
diskfull nodes. Syncing files to statelite nodes is not supported.
2009-09-25 15:30:53 +00:00
More information on using the synchronization file function is in
2011-04-12 18:11:00 +00:00
https://sourceforge.net/apps/mediawiki/xcat/index.php?title=Using_Updatenode.
2009-09-25 15:30:53 +00:00
=head3 Create the synclist file
The synclist file contains the configuration entries that specify
where the files should be synced to. In the synclist file, each
line is an entry which describes the location of the source files
and the destination location for the files on the target node.
2011-07-04 10:43:53 +00:00
For more information on creating your synclist files and where to put them, read:
2009-09-25 15:30:53 +00:00
2011-07-04 10:43:53 +00:00
http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Sync-ing_Config_Files_to_Nodes
2009-09-25 15:30:53 +00:00
=head3 Run updatenode to synchronize the files
2009-07-20 12:50:31 +00:00
2009-09-25 15:30:53 +00:00
updatenode <noderange> -F
2009-11-13 14:41:51 +00:00
=head2 To install or update software
2009-09-25 15:30:53 +00:00
2011-07-04 10:43:53 +00:00
updatenode can be use to install or update software on the nodes. See the following documentation for setting up otherpkgs:
https://sourceforge.net/apps/mediawiki/xcat/index.php?title=Install_Additional_Packages
2009-09-02 03:16:15 +00:00
2011-07-04 10:43:53 +00:00
To install/update the packages, run:
2009-07-20 12:50:31 +00:00
2009-09-25 15:30:53 +00:00
updatenode <noderange> -S
2009-07-20 12:50:31 +00:00
2011-07-04 10:43:53 +00:00
2009-07-20 12:50:31 +00:00
2009-11-13 14:41:51 +00:00
B<For AIX systems:>
Note: The updatenode command is used to update AIX diskfull nodes only. For updating diskless AIX nodes refer to the xCAT for AIX update documentation and use the xCAT mknimimage command.
2011-07-04 10:43:53 +00:00
For information on updating software on AIX cluster:
For diskful installs, read:
https://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_AIX_RTE_Diskfull_Nodes
For diskless installs, read:
https://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_AIX_Diskless_Nodes
2009-11-13 14:41:51 +00:00
2012-05-02 19:17:31 +00:00
B<For Linux systems:>
It is equivalent to running the
folloiwng command:
updatenode noderange -P ospkgs,otherpkgs
It will update all the rpms specified in the .pkglist file and .otherpkgs.pkglist
file. ospkgs postscript will normally remove all the existing rpm
repositories before adding server:/install/<os>/<arch/ as the new repository.
To preserve the existing repositories, you can run the following command instead:
updatenode noderange -P "ospkgs --keeprepo,otherpkgs"
2009-11-13 14:41:51 +00:00
2009-09-25 15:30:53 +00:00
=head2 To run postscripts
2009-07-20 12:50:31 +00:00
2009-09-25 15:30:53 +00:00
The scripts must be copied to the /install/postscripts
directory on the xCAT management node. (Make sure they are
executable.)
2008-10-13 21:42:21 +00:00
2009-09-25 15:30:53 +00:00
To run scripts on a node you must either specify them on the
command line or you must add them to the "postscripts" attribute
for the node.
2008-10-13 21:42:21 +00:00
2009-09-25 15:30:53 +00:00
To set the postscripts attribute of the node (or group)
definition you can use the xCAT chdef command. Set the value to
be a comma separated list of the scripts that you want to be
executed on the nodes. The order of the scripts in the list
determines the order in which they will be run. You could also set
the postscripts value by directly editing the xCAT "postscripts"
database table using the xCAT tabedit command.
2008-10-13 21:42:21 +00:00
2011-07-04 10:43:53 +00:00
Scripts can be run on both diskless and diskfull nodes.
2009-09-25 15:30:53 +00:00
To run all the customization scripts that have been designated
2013-01-04 12:19:30 +00:00
for the nodes, (in the "postscripts and postbootscripts" attributes), type:
2009-09-25 15:30:53 +00:00
updatenode <noderange> -P
To run the "syslog" script for the nodes, type:
updatenode <noderange> -P syslog
2011-08-25 19:11:43 +00:00
To run a list of scripts, type:
2009-09-25 15:30:53 +00:00
2011-08-25 19:11:43 +00:00
updatenode <noderange> -P "script1 p1 p2,script2"
where p1 p2 are the parameters for script1.
2009-09-25 15:30:53 +00:00
2013-01-04 12:19:30 +00:00
The flag '-P' can be omitted when only scripts names are
2009-09-25 15:30:53 +00:00
specified.
Note: script1,script2 may or may not be designated as scripts to
automatically run on the node. However, if you want script1 and
script2 to get invoked next time the nodes are deployed then make sure
2013-01-04 12:19:30 +00:00
to add them to the "postscripts/postbootscripts" attribute in the database for the nodes.
2009-09-25 15:30:53 +00:00
2010-03-24 13:13:46 +00:00
=head2 Update security
The basic functions of update security for nodes:
=over 3
=item *
2010-03-25 19:04:57 +00:00
Setup the ssh keys for the target nodes. It makes the management
2010-03-24 13:13:46 +00:00
node and service node access the target nodes without password.
=item *
Redeliver the host keys to the target nodes.
=item *
2010-03-25 19:04:57 +00:00
Redeliver the ca and certificates files to the service node.
These files are used to authenticate the ssl connection between
2010-03-24 13:13:46 +00:00
xcatd's of management node and service node.
=item *
Remove the entries of target nodes from known_hosts file.
=back
I<Set up the SSH keys>
2010-03-25 19:04:57 +00:00
A password for the user who is running this command is needed to setup
the ssh keys. This user must have the same uid and gid as
2010-03-24 13:13:46 +00:00
the userid on the target node where the keys will be setup.
If the current user is root, roots public ssh keys will be put in the
authorized_keys* files under roots .ssh directory on the node(s).
2010-03-25 19:04:57 +00:00
If the current user is non-root, the user must be in the policy table
2010-03-24 13:13:46 +00:00
and have credential to run the xdsh command.
The non-root users public ssh keys and root's public ssh keys will be put in
2010-03-25 19:04:57 +00:00
the authorized_keys* files under the non-root users .ssh directory on the node(s
).
2010-03-24 13:13:46 +00:00
I<Handle the hierarchical scenario>
2010-03-25 19:04:57 +00:00
When update security files for the node which is served by a service node,
2010-03-24 13:13:46 +00:00
the service node will be updated automatically first, and then the target
node.
2012-08-26 10:07:41 +00:00
The certificates files are needed for a service node to authenticate
2010-03-25 19:04:57 +00:00
the ssl connections between the xCAT client and xcatd on the service node,
2010-03-24 13:13:46 +00:00
and the xcatd's between service node and management node. The files in the
2010-03-25 19:04:57 +00:00
directories /etc/xcat/cert/ and ~/.xcat/ will be updated.
2010-03-24 13:13:46 +00:00
2010-03-25 19:04:57 +00:00
Since the certificates have the validity time, the ntp service is recommended
to be set up between management node and service node.
2010-03-24 13:13:46 +00:00
Simply running following command to update the security keys:
2010-03-25 19:04:57 +00:00
B<updatenode> I<noderange> -k
2010-03-24 13:13:46 +00:00
2009-09-25 15:30:53 +00:00
=head1 PARAMETERS
=over 10
2010-03-25 19:04:57 +00:00
=item B<noderange>
2009-09-25 15:30:53 +00:00
A set of comma delimited xCAT node names
and/or group names. See the xCAT "noderange"
man page for details on additional supported
formats.
2010-03-25 19:04:57 +00:00
=item B<script1,script2...>
2009-09-25 15:30:53 +00:00
A comma-separated list of script names.
The scripts must be executable and copied
to the /install/postscripts directory.
2011-08-25 19:11:43 +00:00
Each script can take zero or more parameters.
If parameters are spcified, the whole list needs to be quoted by double quotes.
For example:
B<"script1 p1 p2,script2">
2009-09-25 15:30:53 +00:00
2010-03-25 19:04:57 +00:00
=item [B<attr=val> [B<attr=val...>]]
2009-11-13 14:41:51 +00:00
Specifies one or more "attribute equals value" pairs, separated by spaces.
Attr=val pairs must be specified last on the command line. The currently
supported attributes are: "installp_bundle", "otherpkgs", "installp_flags",
2010-03-25 19:04:57 +00:00
"emgr_flags" and "rpm_flags". These attribute are only valid for AIX software
2009-11-13 14:41:51 +00:00
maintenance support.
2009-09-25 15:30:53 +00:00
=back
=head1 OPTIONS
=over 10
2013-02-28 20:55:30 +00:00
=item B<--fanout>=I<fanout_value>
Specifies a fanout value for the maximum number of concur-
rently executing remote shell processes. Serial execution
can be specified by indicating a fanout value of B<1>. If B<--fanout>
is not specified, a default fanout value of B<64> is used.
2010-03-25 19:04:57 +00:00
=item B<-A|--updateallsw>
Install or update all software contained in the source directory. (AIX only)
=item B<-c|cmdlineonly>
2009-11-13 14:41:51 +00:00
Specifies that the updatenode command should only use software maintenance
information provided on the command line. This flag is only valid when
using AIX software maintenance support.
2010-03-25 19:04:57 +00:00
=item B<-d alt_source_dir>
Used to specify a source directory other than the standard lpp_source directory specified in the xCAT osimage definition. (AIX only)
=item B<-F|--sync>
2009-09-25 15:30:53 +00:00
2011-05-13 13:41:52 +00:00
Specifies that file synchronization should be
2009-09-25 15:30:53 +00:00
performed on the nodes. rsync and ssh must
be installed and configured on the nodes.
2011-06-19 10:28:17 +00:00
The function is not supported for statelite installations.
For statelite installations to sync files, you should use the
read-only option for files/directories listed in
litefile table with source location specified in the litetree table.
2009-09-25 15:30:53 +00:00
2011-05-13 13:41:52 +00:00
=item B<-f|--snsync>
Specifies that file synchronization should be
performed to the service nodes that service the
nodes in the noderange. This updates the service
nodes with the data to sync to the nodes. rsync and ssh must
be installed and configured on the service nodes.
2012-07-30 13:20:43 +00:00
For hierachy, this optionally can be done before syncing the files
to the nodes with the -F flag. If the -f flag is not used, then
the -F flag will sync the servicenodes before the nodes automatically.
2012-07-31 13:15:42 +00:00
When installing nodes in a hierarchical cluster, this flag should be
used to sync the service nodes before the install, since the files will
be sync'd from the service node by the syncfiles postscript during the
install.
2011-06-19 10:28:17 +00:00
The function is not supported for statelite installations.
For statelite installations to sync files, you should use the
read-only option for files/directories listed in
litefile table with source location specified in the litetree table.
2011-05-13 13:41:52 +00:00
2010-03-25 19:04:57 +00:00
=item B<-h|--help>
2009-09-25 15:30:53 +00:00
Display usage message.
2010-03-25 19:04:57 +00:00
=item B<-k|--security>
2010-03-24 13:13:46 +00:00
2010-03-25 19:04:57 +00:00
Update the ssh keys and host keys for the service nodes and compute nodes;
2012-06-11 11:25:09 +00:00
Update the ca and credentials to the service nodes. Never run this command to the Management Node, it will take down xcatd.
2010-03-24 13:13:46 +00:00
2013-01-09 18:29:41 +00:00
=item B<-l>|B<--user> I<user_ID>
2013-01-10 11:43:54 +00:00
Specifies a non-root user name to use for remote command execution. This option is only available when running postscripts (-P) for
AIX and Linux and updating software (-S) for Linux only.
The non-root userid must be previously defined as an xCAT user.
The userid sudo setup will have to be done by the admin on the node.
2013-01-11 13:10:41 +00:00
This is not supported in a hiearchical cluster, that is the node is serviced by a service node.
2013-01-10 11:43:54 +00:00
See the document Granting_Users_xCAT_privileges for required xcat/sudo setup.
2013-01-09 18:29:41 +00:00
2013-01-11 13:10:41 +00:00
2010-03-25 19:04:57 +00:00
=item B<-P|--scripts>
2009-09-25 15:30:53 +00:00
2013-01-04 12:19:30 +00:00
Specifies that postscripts and postbootscripts should be run on the nodes.
2011-06-19 10:28:17 +00:00
updatenode -P syncfiles is not supported. The syncfiles postscript can only
2012-05-02 19:17:31 +00:00
be run during install. You should use updatenode <noderange> -F instead.
2009-09-25 15:30:53 +00:00
2010-03-25 19:04:57 +00:00
=item B<-S|--sw>
2009-09-25 15:30:53 +00:00
2012-05-02 19:17:31 +00:00
Specifies that node software should be updated.
2009-09-25 15:30:53 +00:00
2010-03-25 19:04:57 +00:00
=item B<-s|--sn>
Set the server information stored on the nodes.
=item B<-v|--version>
2009-09-25 15:30:53 +00:00
Command Version.
2010-03-25 19:04:57 +00:00
=item B<-V|--verbose>
2009-09-25 15:30:53 +00:00
Verbose mode.
=back
=head1 RETURN VALUE
0 The command completed successfully.
1 An error has occurred.
=head1 EXAMPLES
=over 3
=item 1
To perform all updatenode features for the Linux nodes in the group
"compute":
2009-11-13 14:41:51 +00:00
B<updatenode compute>
2009-07-20 12:50:31 +00:00
2013-01-04 12:19:30 +00:00
The command will: run any scripts listed in the nodes "postscripts and postbootscripts"
2009-07-20 12:50:31 +00:00
attribute, install or update any software indicated in the
/install/custom/install/<ostype>/profile.otherpkgs.pkglist (refer to the
B<To install or update software part>), synchronize any files indicated by
the synclist files specified in the osimage "synclists" attribute.
2009-09-25 15:30:53 +00:00
=item 2
2009-07-20 12:50:31 +00:00
2013-01-04 12:19:30 +00:00
To run postscripts,postbootscripts and file synchronization only on the node
2009-09-25 15:30:53 +00:00
"clstrn01":
2009-07-20 12:50:31 +00:00
2009-11-13 14:41:51 +00:00
B<updatenode clstrn01 -F -P>
2009-07-20 12:50:31 +00:00
2009-09-25 15:30:53 +00:00
=item 3
2011-04-14 14:39:41 +00:00
Running updatenode -P with the syncfiles postscript is not supported. You should use updatenode -F instead.
Do not run:
B<updatenode clstrno1 -P syncfiles>
Run:
B<updatenode clstrn01 -F>
2011-08-25 19:11:43 +00:00
=item 4
2011-04-14 14:39:41 +00:00
2013-01-04 12:19:30 +00:00
To run the postscripts and postbootscripts indicated in the postscripts and postbootscripts attributes on
2009-09-25 15:30:53 +00:00
the node "clstrn01":
2009-11-13 14:41:51 +00:00
B<updatenode clstrn01 -P>
2009-09-25 15:30:53 +00:00
2011-08-25 19:11:43 +00:00
=item 5
2009-09-25 15:30:53 +00:00
To run the postscripts script1 and script2 on the node "clstrn01":
2009-11-13 14:41:51 +00:00
B<cp script1,script2 /install/postscripts>
2011-08-25 19:11:43 +00:00
B<updatenode clstrn01 -P "script1 p1 p2,script2">
2009-09-25 15:30:53 +00:00
2013-01-04 12:19:30 +00:00
Since flag '-P' can be omitted when only script names are specified,
2009-09-25 15:30:53 +00:00
the following command is equivalent:
2011-08-25 19:11:43 +00:00
B<updatenode clstrn01 "script1 p1 p2,script2">
2009-09-25 15:30:53 +00:00
2012-05-02 19:17:31 +00:00
p1 p2 are parameters for script1.
2011-08-25 19:11:43 +00:00
=item 6
2009-09-25 15:30:53 +00:00
To synchronize the files on the node "clstrn01": Prepare the synclist file.
For AIX, set the full path of synclist in the osimage table synclists
attribute. For Linux, put the synclist file into the location:
2009-07-20 12:50:31 +00:00
/install/custom/<inst_type>/<distro>/<profile>.<os>.<arch>.synclist
2009-09-25 15:30:53 +00:00
Then:
2009-07-20 12:50:31 +00:00
2009-11-13 14:41:51 +00:00
B<updatenode clstrn01 -F>
2009-09-25 15:30:53 +00:00
2011-08-25 19:11:43 +00:00
=item 7
2009-09-25 15:30:53 +00:00
To perform the software update on the Linux node "clstrn01": Copy the extra
2009-07-20 12:50:31 +00:00
rpm into the /install/post/otherpkgs/<os>/<arch>/* and add the rpm names into
2009-09-25 15:30:53 +00:00
the /install/custom/install/<ostype>/profile.otherpkgs.pkglist . Then:
2009-11-13 14:41:51 +00:00
B<updatenode clstrn01 -S>
2011-08-25 19:11:43 +00:00
=item 8
2009-11-13 14:41:51 +00:00
To update the AIX node named "xcatn11" using the "installp_bundle" and/or
2010-03-25 19:04:57 +00:00
"otherpkgs" attribute values stored in the xCAT database. Use the default installp, rpm and emgr flags.
2009-11-13 14:41:51 +00:00
2010-03-25 19:04:57 +00:00
B<updatenode xcatn11 -V -S>
2009-11-13 14:41:51 +00:00
2010-03-25 19:04:57 +00:00
Note: The xCAT "xcatn11" node definition points to an xCAT osimage definition
which contains the "installp_bundle" and "otherpkgs" attributes as well as
the name of the NIM lpp_source resource.
2009-11-13 14:41:51 +00:00
2011-08-25 19:11:43 +00:00
=item 9
2009-11-13 14:41:51 +00:00
To update the AIX node "xcatn11" by installing the "bos.cpr" fileset using
the "-agQXY" installp flags. Also display the output of the installp command.
2012-02-15 21:07:26 +00:00
B<updatenode xcatn11 -V -S otherpkgs="I:bos.cpr" installp_flags="-agQXY">
Note: The 'I:' prefix is optional but recommended for installp packages.
2009-11-13 14:41:51 +00:00
2011-08-25 19:11:43 +00:00
=item 10
2009-11-13 14:41:51 +00:00
To uninstall the "bos.cpr" fileset that was installed in the previous example.
2012-02-15 21:07:26 +00:00
B<updatenode xcatn11 -V -S otherpkgs="I:bos.cpr" installp_flags="-u">
2009-11-13 14:41:51 +00:00
2011-08-25 19:11:43 +00:00
=item 11
2009-11-13 14:41:51 +00:00
To update the AIX nodes "xcatn11" and "xcatn12" with the "gpfs.base" fileset
and the "rsync" rpm using the installp flags "-agQXY" and the rpm flags "-i --nodeps".
2012-02-15 21:07:26 +00:00
B<updatenode xcatn11,xcatn12 -V -S otherpkgs="I:gpfs.base,R:rsync-2.6.2-1.aix5.1.ppc.rpm" installp_flags="-agQXY" rpm_flags="-i --nodeps">
2009-11-13 14:41:51 +00:00
Note: Using the "-V" flag with multiple nodes may result in a large amount of output.
2011-08-25 19:11:43 +00:00
=item 12
2009-11-13 14:41:51 +00:00
2010-03-25 19:04:57 +00:00
To uninstall the rsync rpm that was installed in the previous example.
B<updatenode xcatn11 -V -S otherpkgs="R:rsync-2.6.2-1" rpm_flags="-e">
2011-08-25 19:11:43 +00:00
=item 13
2010-03-25 19:04:57 +00:00
2009-11-13 14:41:51 +00:00
Update the AIX node "node01" using the software specified in the NIM "sslbnd" and "sshbnd" installp_bundle resources and the "-agQXY" installp flags.
B<updatenode node01 -V -S installp_bundle="sslbnd,sshbnd" installp_flags="-agQXY">
2011-08-25 19:11:43 +00:00
=item 14
2009-11-13 14:41:51 +00:00
To get a preview of what would happen if you tried to install the "rsct.base" fileset on AIX node "node42". (You must use the "-V" option to get the full output from the installp command.)
2012-02-15 21:07:26 +00:00
B<updatenode node42 -V -S otherpkgs="I:rsct.base" installp_flags="-apXY">
2009-11-13 14:41:51 +00:00
2011-08-25 19:11:43 +00:00
=item 15
2009-11-13 14:41:51 +00:00
To check what rpm packages are installed on the AIX node "node09". (You must use the "-c" flag so updatenode does not get a list of packages from the database.)
B<updatenode node09 -V -c -S rpm_flags="-qa">
2009-07-20 12:50:31 +00:00
2011-08-25 19:11:43 +00:00
=item 16
2010-03-25 19:04:57 +00:00
To install all software updates contained in the /images directory.
B<updatenode node27 -V -S -A -d /images>
Note: Make sure the directory is exportable and that the permissions are set
correctly for all the files. (Including the .toc file in the case of
installp filesets.)
2011-08-25 19:11:43 +00:00
=item 17
2010-03-25 19:04:57 +00:00
Install the interim fix package located in the /efixes directory.
2012-02-15 21:07:26 +00:00
B<updatenode node29 -V -S -d /efixes otherpkgs=E:IZ38930TL0.120304.epkg.Z>
2010-03-25 19:04:57 +00:00
2011-08-25 19:11:43 +00:00
=item 18
2010-03-25 19:04:57 +00:00
To uninstall the interim fix that was installed in the previous example.
B<updatenode xcatsn11 -V -S -c emgr_flags="-r -L IZ38930TL0">
2011-08-25 19:11:43 +00:00
=item 19
2010-03-24 13:13:46 +00:00
To update the security keys for the node "node01"
B<updatenode node01 -k>
2011-08-25 19:11:43 +00:00
=item 20
2011-05-13 13:41:52 +00:00
To update the service nodes with the files to be synchronized to node group compute:
B<updatenode compute -f>
2013-01-09 18:29:41 +00:00
=item 21
2013-01-09 19:30:36 +00:00
To run updatenode with the non-root userid "user1" that has been setup as an xCAT userid with sudo on node1 to run as root, do the following:
See Granting_Users_xCAT_privileges for required sudo setup.
2013-01-09 18:29:41 +00:00
B<updatenode node1 -l user1 -P syslog>
2013-01-09 19:30:36 +00:00
2009-09-25 15:30:53 +00:00
=back
2009-07-20 12:50:31 +00:00
2009-09-25 15:30:53 +00:00
=head1 FILES
2009-07-20 12:50:31 +00:00
/opt/xcat/bin/updatenode