Rush Unix Install Instructions
(C) Copyright 1995,2003 Greg Ercolano. All rights reserved.
V 102.40g 05/06/03




Unix Install Instructions
                                                     

   Installing Rush  

   Network Install  
    To install rush on the rest of the network (assuming you've got it working on one machine), you will want to rdist(1) the /usr/local/rush directory to all the machines, start the daemons, and verify they're running.

  1. Copy the rush directory to the remotes, run install and start commands.

    Make sure /usr/local/rush/etc/hosts contains the names of all the hosts that will be running rushd, including the license server, and that the license.dat file is in place.

    Then, release everything to the net, and start the daemons:

      Network Install
        The new install script can greatly simplify installation; it handles the platform
        specific stuff, and simplifies things down to single rdist(1) and rsh(1) commands:
        
        # IRIX REMOTES
        foreach i ( octane1 octane2 octane3 octane4 )
            rdist -c /usr/local/rush ${i}:/usr/local/rush
            rsh $i /usr/local/rush/etc/bin/install.sh \; /etc/rc.d/init.d/rush start       
        end
        
        # LINUX REMOTES
        foreach i ( linux1 linux2 linux3 linux4 )
            rdist -c /usr/local/rush ${i}:/usr/local/rush
            rsh $i /usr/local/rush/etc/bin/install.sh \; /etc/rc.d/init.d/rush start
        end
                          

      Old Network Install Commands
        These are the old install commands. It's up to you to automate adding /usr/local/rush/bin   
        to the system PATHs:
        
        # IRIX REMOTES
        foreach i ( octane1 octane2 octane3 octane4 )
            rdist -c /usr/local/rush             ${i}:/usr/local/rush
            rdist -c /usr/local/rush/etc/S99rush ${i}:/etc/init.d/rush
            rsh $i ln -s /etc/init.d/rush /etc/rc2.d/S99rush
            rsh $i ln -s /etc/init.d/rush /etc/rc0.d/K01rush
            rsh $i /etc/init.d/rush start
        end
        
        # LINUX REMOTES
        foreach i ( linux1 linux2 linux3 linux4 )
            echo -n Working on ${i}: dist..
            rdist -c /usr/local/rush             ${i}:/usr/local/rush
            rdist -c /usr/local/rush/etc/S99rush ${i}:/etc/rc.d/init.d/rush
            rsh $i ln -s /etc/rc.d/init.d/rush /etc/rc.d/rc3.d/S99rush
            rsh $i ln -s /etc/rc.d/init.d/rush /etc/rc.d/rc5.d/S99rush    
            rsh $i ln -s /etc/rc.d/init.d/rush /etc/rc.d/rc0.d/K01rush
            rsh $i ln -s /etc/rc.d/init.d/rush /etc/rc.d/rc6.d/K01rush
            rsh $i /etc/rc.d/init.d/rush start
        end
                

  2. Verify all the daemons have started.

    You can 'ping' all the daemons in the rush/etc/hosts file:

      rush -ping +any

  3. Check the daemon logs for errors.

    Common errors (and their soultions) can be found in the Admin FAQ.

   Installing www-rush  
To use www-rush, the web GUI interface for rush, make sure *one* of the rush machines is also running a web server (like Apache). You would only need to the following config on the web server.

  1. Copy the www-rush perl script to the webserver's 'cgi-bin' directory.
    
        cp /usr/local/rush/cgi-bin/www-rush /usr/local/apache/cgi-bin
    
  2. Install the www-rush documentation in the 'htdocs' directory.
    
        cp -rp /usr/local/rush/html/www-rush /usr/local/apache/htdocs/www-rush
    
  3. Test it by opening Netscape to the URL for the script.
    
        http://yourserver.com/cgi-bin/www-rush
    
  4. Customize the www-rush script's variables if need be.
    Usually the defaults work fine, but sometimes the variables at the top of the www-rush script will need to be modified to help it know about your web server's environment.