- Make sure the rush network is idle.
To install the new release, you must first stop the old release
network wide. The new version is not backwards compatible.
Weekends are generally a good time to do upgrades.
In the text below, change the red text as needed.
- Verify no jobs are running.
Check the network to make sure no jobs are running with either:
OR
Dump any jobs that are running.
- Install first on the license server.
- Stop the daemon, e.g.:
/System/Library/StartupItems/Rush/Rush stop
- Rename out your old version:
mv /usr/local/rush /usr/local/rush.old
- Extract the new version:
cd /usr/local
gunzip -c /var/tmp/rush-102.31x-mac.tar.gz | tar xvfp -
- Preserve your hosts and license file:
cp /usr/local/rush.old/etc/{hosts,license.dat} /usr/local/rush/etc
Manually merge in any custom changes to your rush.conf file, e.g. check
for local customizations to ntrushuid/ntrushgid, and smtpserver/smtpfrom.
Do *NOT* just copy your old rush.conf file into the new release directory.
- Run the install script:
/usr/local/rush/etc/bin/install.sh
- Start the daemon:
/System/Library/StartupItems/Rush/Rush start
- Verify the local daemon is running:
rush -ping
- Upgrade the rest of the net.
To upgrade the other machines is similar:
Network Install Commands
|
foreach i ( host1 host2 host3 .. )
echo --- $i
rsh $i /System/Library/StartupItems/Rush/Rush stop \; mv /usr/local/rush /usr/local/rush.old    
rcp -rp /usr/local/rush ${i}:/usr/local/rush
rsh $i /usr/local/rush/etc/bin/install.sh \; /System/Library/StartupItems/Rush/Rush start
end
|
- Verify entire network is up.
When you're done, check your work with:
..all machines should reply with the same version number.
Any that don't, check the /usr/local/rush/var/rushd.log for errors.
If a machine complains about 'bind(): address in use' for more
than 2 minutes, you may need to reboot that machine.