Hi,
Listed below is a outline of the steps to be followed to update RPM packages on medusa.
1) Download or create the RPM and put this rpm in /home/install/contrib/4.1/arch/RPMS
2) Install it on the front end as follows:
# rpm -Uvh /path/to/created-or-downloaded RPM
3) Once the required RPM is installed on the front-end it requires to distributed to the compute nodes.This is done as follows:
# /home/install/site-profiles/4.1/nodes
# cp skeleton.xml extend-compute.xml
Inside extend-compute.xml, add the package name by changing the section from:
< package > < !-- insert your package name here -- > < /package >
to:
< package > your package < /package >
Also, remember that 'your package' is only the package name and not the entire rpm file name.
4) Rebuild the rocks-dist as follows:
# cd /home/install
# rocks-dist rocks
This makes sure the compute-node image is ready for the future reinstall that will happen some day.
5) Do *not* follow the rocks documentation step that tells the nodes to reimage themselves.
6) put the rpms you need to install on the compute node in a shared directory readable by root on the compute nodes. A dir under the usser's home is a good choice for now. say /home/user/RPMS/current
7) Then run the command # cluster-fork "rpm -ihv /home/user/RPMS/current/*"
8)And wait for the RPM install to complete.
The only deviation from the rocks documentation are steps 5 to 8. The reason being that the network boot or PXE boot is not supported currently on medusa.
Thanks,
Srividya

