next up previous
Next: Manual startup Up: Starting up and Previous: Starting up and

Startup using the PRM_startup script

PRM_startup is a script that takes as input, the name of the host on which the system manager runs, and list of hostnames on which node managers are to be started. PRM_startup starts all node managers and a system manager. PRM_startup needs to run only once, since the manager processes continue running until they are killed by PRM_kill or by the Unix kill(1) command or a system crash.

PRM_startup can execute in interactive mode in which it prompts for hostnames, or non-interactive mode in which hostnames are specified in a file and the file name is passed as a command-line argument to PRM_startup. PRM_startup is executed as

        PRM_startup [ -f Nodes-file ] [ other-options ]
where Nodes-file contains a list of host names on one or more lines and the system manager's host name is preceded by a -s. For example, a Node-Config file containing
        zephyr.isi.edu
        nii-server.isi.edu
        bhs.isi.edu
        -s zephyr.isi.edu
will start up node managers on the hosts zephyr.isi.edu, nii-server.isi.edu, and bhs.isi.edu and a system manager on the host zephyr.isi.edu. Unlike PRM Version 1.0, running a node manager on your local host is now optional. Other options to PRM_startup are described in the man pages.

PRM_startup creates a config file in the current directory: by default, a file PRM_config. pid, where pid is the process id of the shell that executed the startup commands. This file contains the list of hosts on which managers are running and their process ids, and is used as an argument to the PRM_kill and PRM_shutdown commands. From the list of node-manager hostnames, PRM_startup also creates a node-configuration file for use by the system manager.



Santosh Rao
Tue Feb 13 13:59:23 PST 1996