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

Creating a Test Database

If all the nodes come up correctly and see each other, you can create a test database with the DemoSetup.sh script.

To create a test database, on each management node:

  1. Log in as root. (You use both root and hadm accounts; using two windows makes this easier.)
  2. Stop the SBR Carrier node.
    1. Change directories to /opt/JNPRsbr/radius/.
    2. Execute:
      sbrd stop radius
  3. Log in (using the second window) as hadm.
  4. Create a database with the DemoSetup.sh script, using the default values.

    Execute: DemoSetup.sh

    For example:
    DemoSetup.sh

  5. Respond to the script prompts with yes.

    For example:

    SBRs must be offline, do you want to proceed? <yes|no> yes
    This will destroy the “ SteelBeltedRadius” database (if it exists), OK? <yes|no> yes
  6. In the hadm window, check the status of all nodes as they come online.

    /opt/JNPRsbr/radius/sbrd status

    Results similar to this example are displayed:

    hadmUser$>/opt/JNPRsbr/radius/sbrd status
    [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=21   @172.28.84.36  (mysql-5.6.28 ndb-7.4.10)
    id=22   @172.28.84.166  (mysql-5.6.28 ndb-7.4.10)
    id=30   @172.28.84.36  (mysql-5.6.28 ndb-7.4.10)
    id=31   @172.28.84.166  (mysql-5.6.28 ndb-7.4.10)

    Examine the line starting with “id=”, and verify that there are no references to starting, connecting, or not connected. Any of these references indicate the process has either not finished starting, or the node is not connected properly. You may need to execute the sbrd status command more than once because it only shows a snapshot of activity; the display does not refresh. Do not proceed to the next node until you are sure the process has started properly and the node is connected.

Modified: 2017-03-07