Bruce Becker wrote:

Hi Damien

we have just setup an oscar cluster , and now are installing additional
software on it.
What is the best way for example to install a file.tar.gz or a whole
directory on each nodes in /usr/local for example?

This depends how much work you want to do ;) We usually get the code,
tarball it and then use cpush to push it over to the nodes (we then
compile it locally on the nodes, but depending on the homogeneity of
your machines, this might not be necessary).

If it's a fairly big and well-packaged piece of software (eg. in rpm
package), you might want to pre-install it on the images that OSCAR
created when you set up the cluster...

Since cpush expects only single files, we usually use rsync from the
node-side to bring over many directories, by using cexec. Eg. :
cexec 'cd /usr/local/software ; mkdir name ; rsync -e ssh
head_node:/path/to/software/ . ; (configure, make, etc)'

Like I said, you're fairly free, in the sense that OSCAR doesn't
provide much constraint on how to do this, it just depends how much
work you want to do initially.

Bonne chance,
Bruce

Thanks,

what we do is to install it first on the head node (gfortran-xx.tar.gz),it's a binary package, then copied it in /var/lib/systemimager/images/opteron/usr/local/ because /var/lib/systemimager/images/opteron is where our image is, and we believed that it will be copied on the nodes too but it doesn't seems to be. We do that because if we add more nodes after the current ones , then we hope that they will be installed with the image of previous ones and their updates too without having to use the cexec on the newest nodes.

Damien

--
Damien MATTEI                        [EMAIL PROTECTED]
Departement Gemini - UMR6203         http://www.obs-azur.fr/
Observatoire de la Cote d'Azur       Nice-Grasse-Caussols FRANCE



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Oscar-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to