On Fri, Dec 12, 2003 at 09:51:24AM -0800, Bernard Li wrote:
> Hi Jason:
> 
> Jason Hlady wrote:
> 
> >Finally, an OSCAR type question: is it necessary to re-associate the  
> >machines with MACs and the like to switch images?  I already have a  
> >group of nodes associated with MACs.  All I want to do is blast out a  
> >different image to them (after creating that image with the image  
> >builder, say with a different kernel).  What is the best way to change  
> >the image that you want to send out to the same set of nodes?  And how  
> >will you know if it's used the different image that you want? The only  
> >place I've seen in the OSCAR wizard for setting which image file to use  
> >is on the Define Clients dialog.

Yes, this is easy.  (Just not exposed through the OSCAR interface.)

mksimachine -U --name=clientname --image=imagename

man mksimachine for more info.
 
> I don't think there is an easy way to do this - what you might have to 
> do is to delete the nodes and then re-define them with the new image.
> 
> If you don't want to do that, you can dig into SIS and change the 
> image<->node association and then manually change the scripts in 
> /var/lib/systemimager/scripts/ (basically changing the link from one 
> master script to the other).

Don't do this, it will put everything in an inconsistant state.  Use the SIS
commands to do the update.

        -Sean

-- 
__________________________________________________________________

Sean Dague                                       Mid-Hudson Valley
sean at dague dot net                            Linux Users Group
http://dague.net                                 http://mhvlug.org

There is no silver bullet.  Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to