Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Upgrading the M Nodes in the Cluster

 

To perform a rolling restart upgrade in your cluster, first you need to install the new software and configure it on each M node in the cluster.

Note

Execute this procedure on each M node, one at a time. This example procedure uses two M nodes bng-mars.englab.juniper.net (10.212.10.68) and bng-sbr-perf1 (10.212.10.66).

Note

If you have limited disk space, you can just copy the file *mysqlcluster*.tar.gz to every M node, or mount it over NFS. Refer to Installing Only the Latest MySQL Package.

Installing the New SBRC Software on the M Nodes

Installing the New SBRC Software on the M Nodes

Execute the following steps to install the new SBRC software package on the M node:

  1. Stop the SSR process.

    Log in to the node as root and execute:

    root@bng-mars: /opt/JNPRsbr/radius/sbrd stop ssr

  2. Log in to the SM node and execute ./sbrd status. Verify that the M node is disconnected from other nodes.

    Execute:

    root@sbr1: /opt/JNPRsbr/radius/sbrd status

  3. Navigate to the install directory.

    Execute:

    root@bng-mars: /opt/JNPRsbr/radius/install

  4. Unconfigure the node.

    Execute:

    root@bng-mars:./unconfigure

  5. Move your original installation to a different location to prevent the removal of files. Be sure not to move the /opt/JNPRshare directory, which should contain your original cluster configuration files. For example, if you previously installed Release 7.6.0, execute the following as root:

    1. Navigate to the opt directory: root@bng-mars: cd /opt.

    2. Create a new directory: root@bng-mars: mkdir 760.

    3. Move the configuration files to the new directory: root@bng-mars: mv JNPRsbr JNPRmysql JNPRmysqld JNPRhadm JNPRndb_mgmd JNPRndbd 760.

    4. Remove the old software package: root@bng-mars: pkgrm JNPRsbr.

  6. Install the new SBRC software distribution package.

    Execute:

    root@bng-mars: cd /opt/tmp pkgadd –d

  7. Enter 1 to install the JNPRsbr.pkg. The system installs the new software.

  8. Once the system displays the message Installation of JNPRsbr.pkg was successful, repeat this procedure on the next SM node. Once the new software is installed on each SM node, proceed to Configuring the New SBRC Software on the M Node.

Configuring the New SBRC Software on the M Node

Configuring the New SBRC Software on the M Node

Configure the new software on each M node, one at a time:

  1. Configure the SBRC software on the M node, using the original cluster configuration files.

    Execute:

    root@bng-mars: ./configure

  2. Enter y to accept the license agreement.

  3. Enter 3 to select option 3. Configure Cluster Node.

  4. Specify the name of your existing cluster. In this example the cluster name is “6node_cluster”.

  5. Migrate the configuration from your previous software release to the new software package. In most cases, you simply need to identify your previous installation. In this example, the cluster configuration is named configure.6node_cluster.tar (see the previous step), and is stored in the /opt/JNPRsbr/radius/install directory. Once you specify the configuration, SBRC migrates your configuration.

    Enter:

    root@bng-mars: /opt/JNPRsbr/radius/install

  6. Enter a to accept the configuration files.

  7. Enter y to continue.

  8. Start the SSR process on the M node.

    Execute:

    root@bng-mars: /opt/JNPRsbr/radius/sbrd start ssr

  9. Check the status of the M node and verify it has properly reconnected to the cluster.

    Execute:

    root@bng-mars: /opt/JNPRsbr/radius/sbrd status

  10. (Optional) Make any modifications to the config.ini file in the /opt/JNPRhadm directory. For example, you may need to make adjustments to items like DataMemory and IndexMemory based on previous values recommended for your existing cluster.

    Once you make any adjustments to the config.ini file, you must restart each node hosting a management server (SM and M nodes).

    Execute:

    root@bng-mars:/opt/JNPRsbr/radius/sbrd restart

    Note

    All SM and M nodes must have the same values in the config.ini file.

  11. Verify that SBRC is performing correctly by checking logs and counters.

  12. Repeat this process on the other M node; see Upgrading the M Nodes in the Cluster.