Sun WorkShop Quick Install

Preparing To Use the clustadd Command-Line Executable

This section describes the steps to follow to prepare your system to use clustadd.


Note -

Throughout these instructions, replace platform with sparc if you use the Solaris SPARC Platform Edition or with intel if you use the Solaris Intel Platform Edition.


  1. Decide on a local or remote installation method.

    In a remote installation, you perform the installation on the system with the CD-ROM drive where you loaded the Sun WorkShop CD (the source computer) and install the software on another machine (the target computer). In a local installation, the source computer and the target computer are the same machine.

  2. Make sure your Sun WorkShop CD is in your CD-ROM drive.

  3. On your source computer, become a superuser (root) by typing:

    % su

    Password: root-password

  4. Follow the instructions for a local or a remote installation (see "Local Installation" or "Remote Installation").

Local Installation

For a local installation, follow these steps:

  1. If you have not already done so, go to the CD by typing:

    # cd /cdrom/devpro_v6n1_platform

  2. Skip to "Using the clustadd Command-Line Executable".

Remote Installation

For a remote installation, follow these steps:

  1. Add the following line to your /etc/dfs/dfstab file:

    share -F nfs -o ro /cdrom/devpro_v6n1_platform

  2. Find out if your source machine is an NFSTM server by typing:

    # ps -ef | grep nfsd

    If you see screen output that contains /usr/lib/nfs/nfsd, then nfsd is running. If nfsd is running, type:

    # /usr/sbin/shareall

    If nfsd is not running, start nfsd by typing:

    # /etc/init.d/nfs.server start

    # ps -ef | grep nfsd

    You should then get screen output that contains /usr/lib/nfs/nfsd. If not, contact your system administrator or your Sun authorized service provider.

  3. Make sure your source machine is exporting your product directory by typing:

    # /usr/sbin/dfshares

    Screen output shows the resource and server. See the dfshares man page for more information.

  4. Log in to the target machine.

    Replace user with your user login name (not root), and use a lowercase l (not the number 1) in the following command:

    # rlogin target-machine -l user

    Password: user-password

    % su

    Password: root-password

  5. Go to the source machine by typing:

    # cd /net/source-machine/cdrom/devpro_v6n1_platform

    If you cannot change to that directory and you do not have an automounter on your network, create a mount point on the target machine and mount the product directory by typing the following commands (do not type the backslash (\) as it indicates that the command must be typed as one line):

    # mkdir /remote_products

    # /usr/sbin/mount -F nfs -r source-machine:/cdrom/\

    devpro_v6n1_platform /remote_products

    # cd /remote_products

  6. Proceed to "Using the clustadd Command-Line Executable".