Skip to content

Updatenode_to_the_Management_Node

ligc edited this page Jul 30, 2015 · 7 revisions

Table of Contents

{{:Design Warning}}

Overview

In release 2.8, we are adding the ability to managed the xCAT Management Node with xCAT on the Management Node. Although it is a special node and some function is restricted, like updatenode -k, we would like to be able to run other xCAT command to update the Management Node.

The following sections outline a design for the additional xCAT functions that should be able to run on the Management Node.

xcatconfig

The first step was defining the Management Node in the xCAT database. Function has been added in xcatconfig to define the Management node in the database such tht xCAT commands have a reliable way to recognize it as the Management node. To do this run:

xcatconfig -m

xdcp/xdsh

xdcp and xdsh should be able to run on the Management node with the Management Node in the noderange. They accomplish this by not using ssh or scp. If xdcp is used, then it will either use the cp function or the rsync function locally. If xdsh is used, it will use the local shell. The one exception to this is the xdsh -K command to update ssh keys which is denied on the Management node. (TBD are there other exceptions?)

updatenode

updatenode should be able to run syncfiles, postscripts and install rpms. updatenode -k will not be supported to a Management Node.

Interface

<s>A new option would be added to updatenode. This option (-m) would replace the noderange and indicate the function is being run the the Management Node. It could not be combined with a noderange. </s>

updatenode -m 
updatenode -m -F
updatenode -m -P
updatenode -m -P myscript

Syncfiles and postscripts

Currently updatenode requires a defined synclist in a defined image for the node, to know what synclist to run. It runs the postscripts defined for the nodes per the postscripts table. Since the Management Node today does not have a defined image in provmethod, I am suggesting we enhance the setup of the Management Node (MN) in the database to include defining a special osimage name for the MN. This would allow us a place to store the synclist file location and a list of postscripts and postbootscripts. I think in most cases the ones defined in the postscripts table (especially the defaults) would not apply to the MN.

tabdump osimage
#imagename,groups,profile,imagetype,provmethod,rootfstype,osname,osvers,osdistro,
osdistroupdates,osarch,synclists,postscripts,postbootscripts,serverrole,comments,disable

Installing/updating packages

Need to design the setup of packages/kits to be installed on the Management Node.

News

History

  • Oct 22, 2010: xCAT 2.5 released.
  • Apr 30, 2010: xCAT 2.4 is released.
  • Oct 31, 2009: xCAT 2.3 released. xCAT's 10 year anniversary!
  • Apr 16, 2009: xCAT 2.2 released.
  • Oct 31, 2008: xCAT 2.1 released.
  • Sep 12, 2008: Support for xCAT 2 can now be purchased!
  • June 9, 2008: xCAT breaths life into (at the time) the fastest supercomputer on the planet
  • May 30, 2008: xCAT 2.0 for Linux officially released!
  • Oct 31, 2007: IBM open sources xCAT 2.0 to allow collaboration among all of the xCAT users.
  • Oct 31, 1999: xCAT 1.0 is born!
    xCAT started out as a project in IBM developed by Egan Ford. It was quickly adopted by customers and IBM manufacturing sites to rapidly deploy clusters.
Clone this wiki locally