Filename: Install Contents: Install instructions for ru Author: Gregory Shaw Created: 3/6/02
To install ru:
- Select your ru server. Add an alias in DNS of 'ruserver' to that host.
- Log into that host, unpack the distribution.
- Replace PREFIX with the install directory (binaries).
- Replace DATA_DIR with the data directory.
- Use 'make' to identify the relevant target (e.g. solaris, linux)
- Build with 'make arch' (e.g. 'make solaris')
- 'make install'
- Add the following cron entry to the root crontab of the server: 59 23 * * * $PREFIX/ru-1.4/scripts/ru_nightly > /dev/null 2>&1
- Copy the ru (or create one, if you prefer) startup script (Documentation/startup/ru.sysv) to your system's startup area, and start the daemons.
- Add the following /etc/inittab entry to the master server and all clients: for solaris (only): ru:234:respawn:$PREFIX/ru-1.4/sbin/rucd -g 1 for other archs: ru:234:once:$PREFIX/ru-1.4/sbin/rucd -g 1
Note that the above will put the client into the default group of 'production'. For group names and numbers, execute a 'scripts/ru -help'.
11. Do an 'init q' or equivalent on your system to activate the inittab changes.
If your system doesn't have an inittab (my condolances), reference the ru.sysv script to add to the end of your rc scripts.
12. You're done. Try an 'ru' command to verify operation. It should look something like:
curufin: up 37+09:11, ( 0 users), load average: 0.01, 0.01, 0.01
eonwe: up 37+09:12, ( 0 users), load average: 0.01, 0.01, 0.01 finwe: up 4+09:39, ( 7 users), load average: 0.00, 0.00, 0.00 indis: up 14+04:46, ( 0 users), load average: 0.00, 0.00, 0.00 manwe: up 36+13:40, ( 0 users), load average: 0.59, 0.31, 0.11
