To reimage a node, you need to use the admin wizard currently.  There
are some notes about it here:
http://svn.oscar.openclustergroup.org/trac/oscar/wiki/AdminGuide/Wizard#Overview

As far as installing programs and rpms in general, there are lots of
ways to do this, the main thing is to make sure you update the image
(found in /var/lib/systemimager/images/oscarimage by default, or
somewhere close) as well as updating the existing nodes.

For installing an rpm I would do the following

1) Move the file to somewhere it will be available on all the nodes
cpush ./blah.rpm /tmp/blah.rpm

2) Install the rpm using cexec (which executes commands on all the
nodes at once)
cexec rpm -ivh /tmp/blah.rpm

3)Verify that the commands installed by the rpm work, probably using cexec again
You could also just do "cexec rpm -qa | grep blah.rpm" to make sure it
actually installed.

6) Copy the rpm to somewhere on the image that will be accessable when
you chroot
cp blah.rpm /var/lib/systemimager/images/oscarimage/tmp

5) Change the environment to install the rpm on the image
chroot /var/lib/systemimager/images/oscarimage

6) Install rpm on image (cross fingers, expect strange warnings)
rpm -ivh /tmp/blah.rpm

7) Verify that the install was successful.  Really the easiest way to
do this is to reimage a node and then see if the program you installed
actually worked.  So, if you want, and the rpm install on the image
works (which it doesn't always), you can skip installing it on the
nodes at all and just reimage the cluster after installation.

On Sun, May 18, 2008 at 12:23 PM, Andre Kurniawan
<[EMAIL PROTECTED]> wrote:

> But I need install some rpm and library to all node..
>
> What the file i edit ??
>
> Thx Before....
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to