Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation  Back up to About Overview 
  
[+] Expand All
[-] Collapse All

Adding a New SBR Carrier Server to an Existing Cluster

This section describes how to add additional SBR Carrier servers to an existing cluster. To add an SBR node to an existing cluster, you perform the following high-level tasks:

  1. Update the existing cluster definition files.

    See Updating the Existing Cluster Definition Files for the New SBR Node.

  2. Distribute the updated cluster definition files to the existing nodes in the cluster.

    See Distributing the Updated Cluster Definition Files to the Existing Nodes.

  3. Install the SBR Carrier software on the new SBR node.

    See Installing the SBR Carrier Software on the New SBR Node Host Machine.

  4. Configure the SBR Carrier software on the new SBR node.

    See Configuring the Software on the New SBR Node.

  5. One by one, stop the process on each existing node, configure it with the new cluster definition file, and restart the process.

    See Configuring Each Existing Node in the Cluster with the New Cluster Definition Files.

  6. Start the RADIUS process on the new SBR node.

    See Starting the New SBR Node.

The following procedure adds a single SBR node to the existing cluster. The procedure is the same when adding multiple SBR nodes to an existing cluster.

The following designations are used throughout the examples in this section:

sm = Hardware has SBR node and Management node.
s = Hardware has only SBR node.
m = Hardware has only Management node.
d = Hardware has Data node.
2sm, 2d = Two SBR/Management nodes and 2 Data nodes.
2S, 2SM, 2D = Two SBR nodes and 2 SBR/Management nodes, 2 Data nodes.

Display the existing cluster:

hadm@wrx07:~> ndb_mgm -e show 
Connected to Management Server at: 172.28.84.166:5235
Cluster Configuration
---------------------
[ndbd(NDB)]     2 node(s)
id=10   @172.28.84.163  (mysql-5.6.28 ndb-7.4.10, Nodegroup: 0, Master)
id=11   @172.28.84.113  (mysql-5.6.28 ndb-7.4.10, Nodegroup: 0)
[ndb_mgmd(MGM)] 2 node(s)
id=1    @172.28.84.36  (mysql-5.6.28 ndb-7.4.10)
id=2    @172.28.84.166  (mysql-5.6.28 ndb-7.4.10)
[mysqld(API)]   4 node(s)
id=6    @172.28.84.36  (mysql-5.6.28 ndb-7.4.10)
id=7    @172.28.84.166  (mysql-5.6.28 ndb-7.4.10)
id=58   @172.28.84.166  (mysql-5.6.28 ndb-7.4.10)
id=59   @172.28.84.36  (mysql-5.6.28 ndb-7.4.10)

The existing cluster includes two full SBR Carrier licenses and a license for the Starter Kit resulting in a configuration that includes two sm nodes and two d nodes.

For the purposes of this procedure, the existing two sm nodes are identified as sm1 and sm2 as follows:

id=1 @172.28.84.36 = sm1
id=2 @172.28.84.166 = sm2

Updating the Existing Cluster Definition Files for the New SBR Node

In this first part of the procedure, you update the existing cluster definition files on SM1 to reflect the new configuration: 1s, 2sm, 0m, 2d.

Before proceeding, make sure the machine that you want to host the new SBR node meets all system requirements. See Before You Install Software.

The following steps create a new set of cluster definition files in /opt/JNPRshare/install/ <cluster_name> and in configure.<cluster_name>.tar. You may want to make a backup copy of the existing configure.<cluster_name>.tar file before creating the new files, in case you need to restore the existing configuration.

To generate the updated cluster definition files:

  1. As root, on the sm1 node, navigate to the radius/install subdirectory of the directory in which the JNPRsbr package was installed (/opt/JNPRsbr by default).

    Example:
    cd /opt/JNPRsbr/radius/install/

  2. Run the configure script:

    Execute:
    ./configure

    Example:

    root@sbrha-4:/opt/JNPRsbr/radius/install> ./configure

    Configuring SBR Software
    ---------------------------------------------------------------------------
    SBR 8.30.50006 cluster cambridge{0s,2sm,0m,2d}
    on SunOS 5.10 Generic_141444-09 node sbrha-4(sm)
    is CONFIGURED and processes are UP, may be stopped if reconfigured
    ---------------------------------------------------------------------------
    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 one 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.
    6.  Upgrade From Restricted Cluster License
            Used to upgrade from restricted cluster to regular cluster.
            Removes database restriction on the number of concurrent
            sessions and enables the addition of an expansion kit license
    Enter the number of the desired configuration task or quit (4,q): 
  3. From the menu of configuration tasks, enter 2 to specify Generate Cluster Definition.
    ---------------------------------------------------------------------------
    SBR 8.30.50006 cluster cambridge{0s,2sm,0m,2d}
    on SunOS 5.10 Generic_141444-09 node sbrha-4(sm)
    is CONFIGURED and processes are UP, may be stopped if reconfigured
    ---------------------------------------------------------------------------
    Generating Cluster Definition...
    Enter SBR cluster name [cambridge]:

    You are prompted to enter the name of the cluster.

  4. Press Enter to use the current cluster name.

    You are prompted either to create a new cluster or update an existing cluster definition.

    Create (c) new or update (u) existing cluster definition? [u]:
  5. Enter u to update the existing cluster definition.
    The SBR Cluster Starter Kit license allows you to create a minimal
    cluster of 2 SBR nodes, 2 management nodes, and 2 data nodes.  When
    each node is installed on a separate machine the cluster topology is
    denoted as {2s,2m,2d}.  When SBR nodes are paired with management
    nodes on the same machines the cluster topology is denoted as {2sm,2d}.
    An optional SBR Cluster Management Expansion Kit allows you to add a
    third management node for {2sm,1m,2d} and an optional Data Expansion
    Kit allows you to add 2 more data nodes for {2sm,1m,4d} clusters.
    Additional SBR licenses allow you to add up to 18 more SBR nodes to
    obtain a maximal cluster {18s,2sm,1m,4d} and/or enable extra features.
    While it is not difficult to add management and/or SBR nodes to an
    existing cluster, adding data nodes is more difficult and may require
    you to shutdown the entire cluster as opposed to a rolling restart.
    Another license is required if you wish to add a third management node.
    Adding a third management node will require a rolling restart later.
    Enter Management Expansion Kit license, if any:
    Another license is required if you wish to add more data nodes.
    Adding data nodes may require you to shutdown the entire cluster.
    Enter Data Expansion Kit license, if any:
    This cluster presently contains 2 of 20 possible SBR nodes.
    Adding more SBR nodes will require a rolling restart later.
    Enter number of SBR nodes to be added [0]: 
  6. Enter 1 to add one SBR node.
    Updating cluster cambridge{1s,2sm,0m,2d}
    will require 1 new machines.  Do you wish to continue? [y]:
  7. Verify the proper configuration of {1s,2sm,0m,2d} for the cluster named cambridge and enter y to continue.
    Information will now be gathered for each new machine to be added.
    You will have a chance to review all information at least once
    before any machines are modified.
  8. When prompted, enter the IP address and license number for the new SBR node.
    ---------------------------------------------------------------------------
    SBR 8.30.50006 cluster cambridge{1s,2sm,0m,2d}
    on SunOS 5.10 Generic_141444-09 node sbrha-4(sm)
    Partial configuration at present is {0s,2sm,0m,2d} of {1s,2sm,0m,2d}
    ---------------------------------------------------------------------------
    IMPORTANT: node names must be entered as reported by 'uname -n'.
    Enter node name [cambridge-5]: sbrha-8.carrier.spgma.juniper.net
    Enter node type (s) [s]:
    Enter SBR node ID (40-59) [57]:
    Enter SBR node IP address by which it is known to management nodes.
    Enter SBR node IP address: 172.28.84.178
    Enter SBR licenses meant only for this particular SBR node.
    Enter one license per line and an empty line when finished.
    Enter SBR full license: 1760 0003 0212 0455 0001 0050 4530 2771
    Enter SBR feature license:
    ---------------------------------------------------------------------------
    SBR 8.30.50006 cluster cambridge{1s,2sm,0m,2d}
    on SunOS 5.10 Generic_141444-09 node sbrha-4(sm)
    Generated configuration is {1s,2sm,0m,2d} of {1s,2sm,0m,2d}
    ---------------------------------------------------------------------------
    Generating configuration files

    The system generates the required cluster definition files and prompts you to view, accept, or reject them.

  9. Enter a to accept them 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.

    Reviewing configuration files
    /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
    Writing shared configuration to /opt/JNPRshare/install/cambridge
    ---------------------------------------------------------------------------
    SBR 8.30.50006 cluster cambridge{0s,2sm,0m,2d}
    on SunOS 5.10 Generic_141444-09 node sbrha-4(sm)
    is CONFIGURED and processes are UP, may be stopped if reconfigured
    ---------------------------------------------------------------------------
    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 one 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.
    6.  Upgrade From Restricted Cluster License
            Used to upgrade from restricted cluster to regular cluster.
            Removes database restriction on the number of concurrent
            sessions and enables the addition of an expansion kit license
    READY: last operation succeeded, generated cluster definition.
    Enter the number of the desired configuration task or quit (4,q):

    The software writes the new cluster definition files to this node and returns you to the main configuration menu.

  10. Press q to quit.

Distributing the Updated Cluster Definition Files to the Existing Nodes

At this point, the updated cluster definition files (*.tar file) have been created on the sm1 node only. Now you need to distribute the new definition files to the other nodes in the cluster, including the new SBR node.

On both the existing nodes and the new SBR node in the expanded cluster, create a copy of the new cluster definition files. Doing this does not invoke the new files, but makes them available to the configure script later in the workflow.

To distribute the new cluster definition files:

  1. Log in to each node (existing and new) as hadm.
  2. Change directories to the install directory.

    (On new nodes, the entire path may not exist because the <cluster name> portion of the path was not created when you prepared the new machine, so you may need to create it.) See Creating Share Directories.

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

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

  3. Use FTP binary mode to connect to the node host (in this example sm1) where you created the new cluster definition files.
  4. Execute the get command to transfer the configure. <cluster name> .tar file.

    For example:
    bin
    get /opt/JNPRsbr/radius/install/configure.cambridge.tar

  5. In a terminal window, extract the new cluster definition files from the archive.

    Execute:
    tar xvf configure. <cluster_name> .tar

    Output similar to this example is displayed:

    $ tar xvf configure.MyCluster.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
  6. Repeat these steps until every node in the cluster has a copy of the new cluster definition files.

Installing the SBR Carrier Software on the New SBR Node Host Machine

This procedure describes how to unpack and install the SBR Carrier software on the host machine for the new SBR node.

  1. Log in to the machine as root.
  2. Copy the Steel-Belted Radius Carrier installation files from their download location to the machine. Make sure to copy them to a local or remote hard disk partition that is readable by root.

    This example copies the files from a download directory to the /tmp/sbr directory.

    Execute:
    mkdir -p /opt/tmp
    cp -pR /tmp/sbr/solaris/* /opt/tmp/

  3. Extract the SBR Carrier installation package.

    For 32-bit Solaris, execute:
    cd /tmp/sbr
    ls -ltr

    total 216240
    -rw-r--r-- 1 root root 110712276 Aug 25 09:44
    sbr-cl-8.3.0.R-1.sparc.tgz

    Execute:
    gunzip sbr-cl-8.3.0.R-1.sparc.tgz
    tar xf sbr-cl-8.3.0.R-1.sparc.tar

    For 64-bit Solaris, execute:
    cd /tmp/sbr
    ls -ltr

    total 216240
    -rw-r--r-- 1 root root 110712276 Aug 25 09:44
    sbr-cl-8.3.0.R-1.sparcv9.tgz

    Execute:
    gunzip sbr-cl-8.3.0.R-1.sparcv9.tgz
    tar xf sbr-cl-8.3.0.R-1.sparcv9.tar

  4. Verify that the extraction worked and confirm the name of the package file.

    For 32-bit Solaris, execute:
    ls -ltr

    total 216256
    drwxr-xr-x   4 Xtreece  other        370 Aug 24 17:01 JNPRsbr.pkg
    -rw-r--r--   1 root     root     110712276 Aug 25 09:44 
    sbr-cl-8.3.0.R-1.sparc.tar
    

    For 64-bit Solaris, execute:
    ls -ltr

    total 216256
    drwxr-xr-x   4 Xtreece  other     370 Aug 24 17:01 JNPRsbr.pkg
    -rw-r--r--   1 root     root      110712276 Aug 25 09:44 
    sbr-cl-8.3.0.R-1.sparcv9.tar
    
  5. Install the package.

    Execute:
    pkgadd -d /tmp/sbr

    The following packages are available:
    1  JNPRsbr.pkg        JNPRsbr - Juniper Networks Steel-Belted Radius 
    (Carrier Cluster Edition)          (sparc) 8.30.50006
    
    
    Select package(s) you wish to process (or 'all' to process all packages). 
    (default: all) [?,??,q]: 
  6. Type all and press Enter.
    The script resumes.
    Processing package instance <JNPRsbr.pkg> from </tmp>
  7. Confirm the installation directory.

    Depending on the system configuration, you are prompted whether to create the /opt/JNPRsbr directory if it does not exist, or to over-write an already extracted package, or any of several other questions.

    The selected base directory </opt/JNPRsbr> must exist before installation is attempted.
    Do you want this directory created now [y,n,?,q]
  8. Answer the question appropriately (or change the extraction path if necessary) so that the script can proceed.

    To accept the default directory as a target, enter y.
    The script resumes.

    Using </opt/JNPRsbr> as the package base directory.
    #Processing package information.
    #Processing system information.
       48 package pathnames are already properly installed.
    #Verifying disk space requirements.
    #Checking for conflicts with packages already installed.
    #Checking for setuid/setgid programs.
    This package contains scripts which will be executed with super-user
    permission during the process of installing this package.
    Do you want to continue with the installation of <JNPRsbr> [y,n,?]
  9. Enter y to confirm that you want to continue to install the package.
    Installing JNPRsbr - Juniper Networks Steel-Belted Radius (Carrier Cluster Edition) as <JNPRsbr>
    ## Executing preinstall script.
    ## Installing part 1 of 1.
    .
    .
    .
    [ verifying class <none> ]
    ## Executing postinstall script.
    Newly installed server directory will be backed up as:
    /opt/JNPRsbr/radius/install/backups/2009:03:31-00:34:06
    Installation of <JNPRsbr> was successful.

Configuring the Software on the New SBR Node

Before starting this procedure, review Before You Install Software. In particular, review requirements for Setting Up External Database Connectivity (Optional) and Installing the SIGTRAN Interface (Optional), because steps in this procedure require the server to be preconfigured for these capabilities.

To install the software on the new SBR node:

  1. As root, navigate to the radius/install subdirectory of directory where you installed the Steel-Belted Radius Carrier package in Installing the SBR Carrier Software on the New SBR Node Host Machine.

    Example: cd /opt/JNPRsbr/radius/install

  2. Run the configure script.

    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

  4. From the menu of configuration tasks, enter 3 to specify Configure Cluster Node.
    ---------------------------------------------------------------------------
    SBR 8.30.50006 cluster
    on SunOS 5.10 Generic_141444-09 node sbrha-8.carrier.spgma.juniper.net
    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 one 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.
    6.  Upgrade From Restricted Cluster License
            Used to upgrade from restricted cluster to regular cluster.
            Removes database restriction on the number of concurrent
            sessions and enables the addition of an expansion kit license
    Enter the number of the desired configuration task or quit (2,q): 3
  5. Specify the name of the cluster.
    ---------------------------------------------------------------------------
    SBR 8.30.50006 cluster
    on SunOS 5.10 Generic_141444-09 node sbrha-8.carrier.spgma.juniper.net
    is not configured and processes are down, needs to be configured
    ---------------------------------------------------------------------------
    Configuring Cluster Node...
    Enter SBR cluster name [sbrha]:cambridge
    Reading shared configuration from /opt/JNPRshare/install/cambridge
    Generating configuration files
    Reviewing configuration files
    /opt/JNPRsbr/radius/install/tmp/dbclusterndb.gen
    View (v), accept (a), or reject (r) configuration files: a
  6. 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.

  7. The configure script prompts you with a warning about whether or not to apply the cluster definition to this node. Enter y to proceed.
    WARNING: You are about to make irreversible changes to this node.
    Are you sure that you wish to continue? (y,n): y
    Cleaning directories
    /opt/JNPRhadm
    Applying configuration
    Initializing Session State Register, please wait a few minutes...
  8. Configure the SBR node.

    For information about responding to the following prompts, see Configuring the Host Software on the First Server in the Cluster.

    Do you want to configure Java Runtime Environment for JDBC Feature [n] :
    Please enter backup or radius directory from which to migrate.
    Enter n for new configuration, s to search, or q to quit
    [n]:
    Enter initial admin user (UNIX account must have a valid password) [root]:
    Enable Centralized Configuration Management (CCM) for this SBR node? [n]:
    Configuring for use with generic database
    Do you want to enable "Radius WatchDog" Process? [n]: 
    Do you want to enable "GWrelay" Process? [n]:
    Do you want to enable LCI? [n]: 
    Do you want to configure for use with Oracle? [n]:
    Removing oracle references from startup script
    Do you want to configure for use with SS7? [n]:
    Removing SS7 references from startup script
    Do you want to configure SNMP? [n]:
    Configuring Admin GUI Webserver
    Compatible Java version found : 
    Do you want to install custom SSL certificate for Admin WebServer? [n]:
    Enable (e), disable (d), or preserve (p) autoboot scripts [e]:
    The SBR Admin Web GUI can be launched using the following URL:
    https://<servername>:2909
    
    Configuration complete
    ---------------------------------------------------------------------------
    SBR 8.30.50006 cluster cambridge{1s,2sm,0m,2d}
    on SunOS 5.10 Generic_141444-09 node sbrha-8.carrier.spgma.juniper.net(s)
    is configured and processes are down, may be reconfigured if desired
    ---------------------------------------------------------------------------
    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 one 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.
    6.  Upgrade From Restricted Cluster License
            Used to upgrade from restricted cluster to regular cluster.
            Removes database restriction on the number of concurrent
            sessions and enables the addition of an expansion kit license
    READY: last operation succeeded, node configured.
    Enter the number of the desired configuration task or quit (4,q):
  9. Enter q to quit.

Configuring Each Existing Node in the Cluster with the New Cluster Definition Files

At this point in the process, all nodes in the cluster have the new cluster definition files loaded and the new SBR node has been configured with the new files. The existing nodes are still running with the old cluster definition files.

In this procedure, you log in to each existing node, stop the process, run the configure script, and restart the processes. You must complete these steps on every existing node in the cluster. This example starts with the sm1 node.

Caution: In this procedure, you need to stop and restart each existing node one by one to apply the new cluster definition to each of the original cluster nodes and to keep the cluster up and running. Do not operate on multiple nodes at the same time because that creates multiple faults that can stop the entire cluster.

Always review the recommended start and stop order and processes and plan the order in which to perform the equivalent steps in your cluster. See When and How to Restart Session State Register Nodes, Hosts, and Clusters.

  1. Log in to the first existing node (in this example, sm1) as root.
  2. Navigate to the radius subdirectory of the directory in which the JNPRsbr package was installed (/opt/JNPRsbr by default).

    Example: cd /opt/JNPRsbr/radius

  3. Stop the RADIUS processes on the node you are configuring:
    1. Execute:
      ./sbrd stop radius
    2. Execute:
      ./sbrd status
  4. Stop the ssr processes on the node you are configuring:

    ./sbrd stop ssr

  5. Check the status of the node:

    ./sbrd status

    Cluster Configuration
    ---------------------
    [ndbd(NDB)]     2 node(s)
    id=10   @172.28.84.163  (mysql-5.6.28 ndb-7.4.10, Nodegroup: 0, Master)
    id=11   @172.28.84.113  (mysql-5.6.28 ndb-7.4.10, Nodegroup: 0)
    [ndb_mgmd(MGM)] 2 node(s)
    id=1 (not connected, accepting connect from 172.28.84.36)
    id=2    @172.28.84.166  (mysql-5.6.28 ndb-7.4.10)
    [mysqld(API)]   4 node(s)
    id=6 (not connected, accepting connect from 172.28.84.36)
    id=7    @172.28.84.166  (mysql-5.6.28 ndb-7.4.10)
    id=58   @172.28.84.166  (mysql-5.6.28 ndb-7.4.10)
    id=59 (not connected, accepting connect from 172.28.84.36)

    hadm@wrx07:~>

  6. Verify that the node you are about to configure is not connected. In this example, the node ID for sm1 indicates: id=1 (not connected, accepting connect from 172.28.84.36), indicating the sm1 node is stopped.
  7. Run the configure script:

    Execute:
    ./configure

    Configuring SBR Software
    ---------------------------------------------------------------------------
    SBR 8.30.50006 cluster cambridge{0s,2sm,0m,2d}
    on SunOS 5.10 Generic_141444-09 node sbrha-4(sm)
    is configured and processes are down, may be reconfigured if desired
    ---------------------------------------------------------------------------
    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 one 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.
    6.  Upgrade From Restricted Cluster License
            Used to upgrade from restricted cluster to regular cluster.
            Removes database restriction on the number of concurrent
            sessions and enables the addition of an expansion kit license
    Enter the number of the desired configuration task or quit (4,q): 
  8. From the menu of configuration tasks, enter 3 to specify Configure Cluster Node.
    ---------------------------------------------------------------------------
    SBR 8.30.50006 cluster cambridge{0s,2sm,0m,2d}
    on SunOS 5.10 Generic_141444-09 node sbrha-4(sm)
    is configured and processes are down, may be reconfigured if desired
    ---------------------------------------------------------------------------
    Configuring Cluster Node...
    Enter SBR cluster name [cambridge]:
  9. Press Enter to accept the existing cluster name (in the example: cambridge).
    Create (c) new or update (u) existing node configuration? [u]: 
  10. Enter u to update the existing node configuration.
    Reading shared configuration from /opt/JNPRshare/install/cambridge
    Generating configuration files
    Reviewing configuration files
    /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: 
  11. Enter a to accept the new cluster definition files.
    WARNING: You are about to make irreversible changes to this node.
    Are you sure that you wish to continue? (y,n): 

    The configure script prompts you with a warning about whether or not to apply the new cluster definition to the node.

  12. Enter y to continue.
    Applying configuration
    ---------------------------------------------------------------------------
    SBR 8.30.50006 cluster cambridge{1s,2sm,0m,2d}
    on SunOS 5.10 Generic_141444-09 node sbrha-4(sm)
    is configured and processes are down, may be reconfigured if desired
    ---------------------------------------------------------------------------
    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 one 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.
    6.  Upgrade From Restricted Cluster License
            Used to upgrade from restricted cluster to regular cluster.
            Removes database restriction on the number of concurrent
            sessions and enables the addition of an expansion kit license
    READY: last operation succeeded, node configured.
    Enter the number of the desired configuration task or quit (4,q): 
  13. Enter q to quit.
    root@sbrha-4:/opt/JNPRsbr/radius/install>
  14. Notice that the first line in the applied configuration is: SBR 8.30.50006 cluster cambridge{1s,2sm,0m,2d}, indicating that the new configuration has been applied to the sm1 node.
  15. Restart the SSR process on the newly configured sm1 node:
    1. Execute:
      ./sbrd start ssr
    2. Execute:
      ./sbrd status
    3. Examine each line and ensure the SSR process is running without error.
  16. Restart the RADIUS process on sm1:
    1. Execute:
      ./sbrd start radius
    2. Execute:
      ./sbrd status
      Cluster Configuration
      ---------------------
      [ndbd(NDB)]     2 node(s)
      id=10   @172.28.84.163  (mysql-5.6.28 ndb-7.4.10, Nodegroup: 0, Master)
      id=11   @172.28.84.113  (mysql-5.6.28 ndb-7.4.10, Nodegroup: 0)
      [ndb_mgmd(MGM)] 2 node(s)
      id=1    @172.28.84.36  (mysql-5.6.28 ndb-7.4.10)
      id=2    @172.28.84.166  (mysql-5.6.28 ndb-7.4.10)
      [mysqld(API)]   4 node(s)
      id=6    @172.28.84.36  (mysql-5.6.28 ndb-7.4.10)
      id=7    @172.28.84.166  (mysql-5.6.28 ndb-7.4.10)
      id=58   @172.28.84.166  (mysql-5.6.28 ndb-7.4.10)
      id=59   @172.28.84.36  (mysql-5.6.28 ndb-7.4.10)
    3. Examine each line and ensure the RADIUS process is running without error.
  17. Repeat steps 1 through 16 on sm2 node and then on each data node, one at a time. For the data nodes, you do not need to stop and restart the RADIUS process because data nodes only run the SSR process.

    Do not operate on multiple nodes at once. Doing so creates multiple faults that can stop the entire cluster. Complete the procedure on each node one at a time until the node is operating without error.

Starting the New SBR Node

At this point in the process, the original nodes in the cluster (sm1, sm2, d1, and d2) are up and running with the new cluster definition files and the new SBR node is configured with the proper configuration, but is not yet running in the cluster. This final process starts the RADIUS process on the new SBR node.

  1. Start the RADIUS process on the new SBR node:
    1. Log in as root to the SBR (s) node.
    2. Change directories to /opt/JNPRsbr/radius/.
    3. Execute:
      ./sbrd start radius
    4. Execute:
      ./sbrd status
    5. Examine each line of the final cluster configuration and ensure the RADIUS process is running without error.
  2. Complete the configuration of the new SBR node using Web GUI. See Basic SBR Carrier Node Configuration. For complete details, see the SBR Carrier Administration and Configuration Guide.

Modified: 2017-03-07