Shellserver Package Installation

From UGCS
(Difference between revisions)
Jump to: navigation, search
 
(8 intermediate revisions by one user not shown)
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/local/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.
+
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
 +
 
 +
To manually do this, run
 +
/usr/sbin/update-md5lists
 +
/usr/sbin/update-imageserver
 +
 
  
 +
=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.
  
 
[[Category:Sysadmin_Documentation]]
 
[[Category:Sysadmin_Documentation]]

Latest revision as of 03:26, 22 May 2011

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

To manually do this, run

/usr/sbin/update-md5lists
/usr/sbin/update-imageserver


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.

Personal tools