sysadmin
@
extreme.indiana.edu
|
Lab Directory Infrastructure
Most packages typically require one of the following types
of installs:
- API only install (e.g., jython, doxygen)
- server only install (e.g., apache)
- API and server install (e.g., MySQL, OpenLDAP)
All package APIs are installed within /l/esysadm/packages. The install location of a
server varies on the type of installation:
- lab installation: One server can serve the whole
lab (e.g., MySQL, LDAP). In this case install server locally
to rainier at /usr/local since the files do not need to be
accessible to other machines. Furthermore, often these files
require root protection and root privileges do not carry
across NFS.
-
individual installation: Server needs to be deployed
to two or more machines in the lab.
- root-protected files: If files need to be root
read-only or some other form of root protection, do a
local deployment at /usr/local for
each machine. Again, root privileges do not carry across
NFS.
- no protection: If there are no special
permissions needed on the server files, go ahead and do a
global server install at /l/esysadm/packages.
If you want a server to boot up when a machine is rebooted,
usually server scripts are placed in the startup directory
/etc/init.d/rc.d. CSG has instead placed a special script in
the /etc/init.d directory called rc.host where we can place
calls to server scripts. The advantage of this approach is that
the calls to the rc.host script have been placed in the
appropriate run directories. Furthermore, this will allow us to
track all the changes that the extreme lab makes in one place.
Therefore, please use the rc.host script.
Important Notes
-
DO NOT CONFIGURE ON XRAID! It
is very important that you configure a package from a
machine which nfs mounts xraid's user1 disk. For packages
that hard code their installation path, if you configure on
xraid, /home/user1 will be hard coded
into the installation and no other machines will be able to
use it (since /home/user1 does not
exist on the other machines; at least not as it does on xraid).
-
Note that if you have to change any system configuration
files (i.e., any files in /etc) such as inetd.conf, let the
CSG know. CSG maintains versions of most system
configuration files at a central location and will need to
update their version.
|