cp /share/apps/large_files /start/partition1/
However, this doesn't works, perhaps because /share/apps is not
mounted while extend-compute is processed. Is there an easy way to let
some files be copied to compute nodes each time a node is rebuilt?
Thanks,
-- Amit
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
Edit the file /var/411/Files.mk and add to the FILES_NOCOMMENT section with
the path to the file you want replicated eg. /etc/rc.d/rc.local
Then run make clean and make, when you do rocks sync users this will
replicate the file specified in Files.mk to the nodes. This also
happens on
node reinstallation.
Don't know how well it scales to large files though but may be worth a try.
The documentation here is out of date but will give you an idea how the
system works
http://www.rocksclusters.org/rocks-documentation/4.2/service-411.html
Regards,
JF Prieur
2010/1/12 Amit U Sinha <amit_...@dfci.harvard.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20100112/9f154d9d/attachment.html
If you want to do this you can possibly use scp like this, as scp should
be available and does not require authentication.
scp headnodename:/share/apps/large_files /state/partition1/
or create a post install script to run on first boot as a service, the
last line of the script removes the script.
Another option is add a symlink in the /var/www/html folder to
/share/apps/large_files and use wget to copy them.
Scott
I have a frontend and a test compute node (not yet a NAS).
>From the frontend,
* I can execute anything on the compute node with
rocks iterate host ...
* the addition of a user succeded, and I can see it on the compute node,
with its .ssh files.
But either ssh root@compute-0-0 or user@compute-0-0 fail :
I receive the password prompt, I type the same password than on the
front-end, but I get :
'Permission denied, please try again'.
Moreover, rocks-console does not work :
'vncviewer: unable to open display "" '
Perhaps I missed something obvious.
Thanks for any hint,
Alain
--
Dr Alain EMPAIN, Bioinformatics, Bryology
National Botanic Garden of Belgium alain....@br.fgov.be
University of Liège, GIGA +1, Alma-in-silico alain....@ulg.ac.be
Rue des Martyrs, 11 B-4550 Nandrin
Mobile: +32 497 701764 HOME:+32 85 512341 ULG: +32 4 3664157
after you added the user, did you run:
# rocks sync users
- gb
Hello Bruno,
yes I did it, and I used 'rocks iterate' to verify the presence of the
user within the compute-0-0 files passwd, shadow, its ~/ files, including
the .ssh files.
Thanks,
Alain
>
> - gb