[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Setting Up Data Node Hosts Included with the Starter Kit

Use this procedure for any data node host installation. The examples in this section install and set up each of the two data nodes in a Starter Kit, using the blue cluster example, but the procedure is the same for expansion kit installations.

Populating the JNPRShare Directory

Before running the configure script, make a local copy of the configuration files that were created during installation on the first combined .

To copy the cluster's base configuration files to this target machine:

  1. Log in as hadm.
  2. Change directories to the working directory on the local server.

Execute:
cd /opt/JNPRshare/install/<cluster_name> 

For example:
cd /opt/JNPRshare/install/blue

  1. Use FTP binary mode to connect to the first server that was set up and navigate to the radius/install subdirectory of the directory in which the JNPRsbr package was installed (/opt/JNPRsbr/radius/install by default) on the source server.
  2. Execute a get command to transfer the configure.<cluster name>.tar file to the local directory.

For example:
bin
get configure.blue.tar

  1. Extract the configuration files from the archive.

For example:
tar xvf configure.blue.tar

The output display includes five files similar to this example:

$ tar xvf configure.cambridge.tar 
x dbcluster.rc, 1925 bytes, 4 tape blocks
x config.ini, 2435 bytes, 5 tape blocks
x my.cnf, 1017 bytes, 2 tape blocks
x dbclusterndb.gen, 33474 bytes, 66 tape blocks
x dbcluster.dat, 921 bytes, 2 tape blocks

Configuring the Host Software on the Data Nodes

To configure the software on a data node in a Starter Kit cluster:

NOTE: You must repeat this procedure on every data node in the cluster.


  1. As root, navigate to the directory where you installed the Steel-Belted Radius Carrier package in Step 3, Extract the Steel-Belted Radius Carrier installation package..

Navigate to the radius/install subdirectory and run:

Execute:

cd /opt/JNPRsbr/radius/install/

  1. Execute the configure script to install the Steel-Belted Radius Carrier server software:
  2. Execute:
    
    ./configure
    
    
    
  3. Review and accept the Steel-Belted Radius Carrier license agreement.

Press the spacebar to move from one page to the next. When you are prompted to accept the terms of the license agreement, enter y.

Do you accept the terms in the license agreement? [n] y


  1. From the menu of configuration tasks, enter 3 to specify Configure Cluster Node.
  2. Configuring SBR Software
    
    
    
    ---------------------------------------------------------------------------
    
    SBR 7.20.4712 cluster 
    
    on SunOS 5.10 Generic_120011-14 node blue-18
    
    is not configured and processes are down, needs to be configured
    
    ---------------------------------------------------------------------------
    
    
    
    
    
    1.  Unconfigure Cluster Node
    
            Not used when merely updating existing cluster definitions.
    
    
    
    2.  Generate Cluster Definition
    
            Creates new or updates existing cluster definitions.
    
            Modifies the shared directory but does not modify this node.
    
    
    
    3.  Configure Cluster Node
    
            To be preceded by 'Generate Cluster Definition' on any node.
    
            Must be invoked on each and every node of the cluster.
    
    
    
    4.  Reconfigure RADIUS Server
    
            Only on SBR nodes, updates the existing SBR configuration.
    
    
    
    5.  Create Temporary Cluster
    
            Used to approximate a cluster using only this one machine.
    
            Intended for migration and demonstration purposes only.
    
    
    
    Enter number of desired configuration task, or q to quit [2]: 3
    
    
    
  3. Specify the name of the cluster.

Enter the name exactly as you specified it in Table 10, "Starter Kit Cluster, Machine, and Interface Naming Worksheet" .

Enter SBR cluster name [blue]: blue

You are prompted to verify whether you want to proceed, unless the script detects any unusual installation conditions (a pre-existing directory, for example). In some cases, you may be prompted to resolve or ignore them.

  1. The system reads the configuration files that you copied to the server and prompts you to change some settings to adapt them to this server. Enter y to proceed.
  2. WARNING: You are about to make irreversible changes to this node.
    
    Are you sure that you wish to continue? [n]: y 
    
    
    
    Cleaning old directories
    
    /opt/JNPRhadm
    
    ---------------------------------------------------------------------------
    
    SBR 7.20.4712 cluster blue{0s,2sm,0m,2d}
    
    on SunOS 5.10 Generic_120011-14 node blue-18.spgma.juniper.net(d)
    
    Reviewing Configuration Files...
    
    ---------------------------------------------------------------------------
    
    
    
    /opt/JNPRsbr/radius/install/tmp/dbcluster.rc
    
    /opt/JNPRsbr/radius/install/tmp/config.ini
    
    /opt/JNPRsbr/radius/install/tmp/my.cnf
    
    /opt/JNPRsbr/radius/install/tmp/dbclusterndb.gen
    
    
    
    View (v), accept (a), or reject (r) configuration files: a
    
    
    
  3. Enter a to accept the modified configuration files and continue or v to view them.

    CAUTION: We recommend that you enter an r to reject them only if a serious error was made when you provided information. We recommend that you not edit these files.


  4. Specify that you want to configure the data node host to autoboot (restart automatically when the operating system is restarted).
  5. Enable (e), disable (d), or preserve (p) autoboot scripts [e]: e
    
    
    

A local /radiusdir/radius/sbrd script is always created, and /opt/JNPRhadm/sbrd is always a symbolic link to this local copy.

  1. Repeat this procedure on each data node in the cluster.
  2. Now that the two SBR/management (sm) nodes and two data (d) nodes are configured, start the cluster following the procedure described in Initial Cluster Startup Procedure.

[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]