Shellserver Package Installation
| Line 1: | Line 1: | ||
| − | Since we no longer have a shared root, you have to be a little more careful in making changes to clio. | + | Since we no longer have a shared root, you have to be a little more careful in making changes to clio. Basically, you should install everything from a deb (even if you have to build it yourself), and config files have to go through cfengine. |
| + | |||
| + | Please do not just run through and install stuff via mssh. Update-apt is more powerful and takes care of some other issues too. | ||
| + | |||
| + | The code for all of this is in our debian package aptimager in /afs/.ugcs/ugcs-admin/source/aptimager (also in svn) | ||
=Installing packages= | =Installing packages= | ||
| − | To install a package, first install it on clio. Then, run /usr | + | To install a package, first install it on clio. Then, run /usr/sbin/update-apt. This script updates the dpkg selection list, and then uses some [[Remctl]] commands to make the shellservers run aptitude update, update their debconf databases, and then set the new selections. |
=Updating the image= | =Updating the image= | ||
| Line 10: | Line 14: | ||
You don't have to really do anything special for kernel upgrades, update-initramfs pulls everything in like it should. However, you should run "update-demeter-netboot" to scp the appropriate kernel files to demeter so the shellservers can boot with the new kernel. | You don't have to really do anything special for kernel upgrades, update-initramfs pulls everything in like it should. However, you should run "update-demeter-netboot" to scp the appropriate kernel files to demeter so the shellservers can boot with the new kernel. | ||
| − | |||
[[Category:Sysadmin_Documentation]] | [[Category:Sysadmin_Documentation]] | ||
Revision as of 19:56, 20 February 2010
Since we no longer have a shared root, you have to be a little more careful in making changes to clio. Basically, you should install everything from a deb (even if you have to build it yourself), and config files have to go through cfengine.
Please do not just run through and install stuff via mssh. Update-apt is more powerful and takes care of some other issues too.
The code for all of this is in our debian package aptimager in /afs/.ugcs/ugcs-admin/source/aptimager (also in svn)
Installing packages
To install a package, first install it on clio. Then, run /usr/sbin/update-apt. This script updates the dpkg selection list, and then uses some Remctl commands to make the shellservers run aptitude update, update their debconf databases, and then set the new selections.
Updating the image
Clio runs a cron job every morning to update the image. If you have updated the kernel, you should run /usr/local/sbin/update-demeter-netboot to push the most recent kernel version to demeter
Kernel Upgrades
You don't have to really do anything special for kernel upgrades, update-initramfs pulls everything in like it should. However, you should run "update-demeter-netboot" to scp the appropriate kernel files to demeter so the shellservers can boot with the new kernel.