Setting Up the Second SBR/Management Node in a Starter Kit
This section describes installing the software on the second SBR/management node host in a Starter Kit cluster, following the initial combined SBR/management node installation. (See Setting Up a Starter Kit's First SBR/Management Node.)
CAUTION: If you have not installed the Cluster's first server yet, do not proceed with the cluster installation.
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 server. (In the following procedures, FTP is used to copy files. You may use whatever distribution mechanism you want to keep the share directories synchronized, so long as all
/JNPRsharedirectories on all servers are readable and writable by the root and hadm accounts.)To copy the cluster's base configuration files to this target machine:
Execute:
cd /opt/JNPRshare/install/<cluster_name>For example:
cd /opt/JNPRshare/install/blue
- Use FTP binary mode to connect to the first server that was set up and navigate to the
radius/installsubdirectory of the directory in which theJNPRsbrpackage was installed (/opt/JNPRsbr/radius/installby default) on the source server.- Execute a
getcommand to transfer theconfigure.<cluster name>.tarfile to the local directory.For example:
bin
get configure.blue.tarFor example:
tar xvf configure.blue.tarThe output display includes five files similar to this example:
$tar xvf configure.blue.tarx dbcluster.rc, 1925 bytes, 4 tape blocksx config.ini, 2435 bytes, 5 tape blocksx my.cnf, 1017 bytes, 2 tape blocksx dbclusterndb.gen, 33474 bytes, 66 tape blocksx dbcluster.dat, 921 bytes, 2 tape blocksConfiguring Host Software on the Second SBR Carrier and Management Node
Before starting this procedure, review Before You Install Software. In particular, review requirements for: Setting Up External Database Connectivity (Optional) and Installing Signalware and SS7 Interfaces (Optional), as steps in this procedure require the server to be preconfigured for these capabilities.
To configure SSR software on the second SBR Carrier and management node host in a Starter Kit cluster:
- 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/installsubdirectory and run:Execute:cd /opt/JNPRsbr/radius/install/
- Execute the
configurescript to install the Steel-Belted Radius Carrier server software:Execute:./configure- 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
- From the menu of configuration tasks, enter
3to specifyConfigure Cluster Node.Configuring SBR Software---------------------------------------------------------------------------SBR 7.20.4712 clusteron SunOS 5.10 Generic_120011-14 node blue-2is not configured and processes are down, needs to be configured---------------------------------------------------------------------------1. Unconfigure Cluster NodeNot used when merely updating existing cluster definitions.2. Generate Cluster DefinitionCreates new or updates existing cluster definitions.Modifies the shared directory but does not modify this node.3. Configure Cluster NodeTo be preceded by 'Generate Cluster Definition' on any node.Must be invoked on each and every node of the cluster.4. Reconfigure RADIUS ServerOnly on SBR nodes, updates the existing SBR configuration.5. Create Temporary ClusterUsed 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- 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]:
blueYou 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.
- The system reads the configuration files that you copied to the server and prompts you to change some settings from the original server's to adapt them to this server. Enter
yto proceed.WARNING: You are about to make irreversible changes to this node.Are you sure that you wish to continue? [n]: yCleaning old directories/opt/JNPRhadm---------------------------------------------------------------------------SBR 7.20.4712 cluster blue{0s,2sm,0m,2d}on SunOS 5.10 Generic_120011-14 node blue-2.spgma.juniper.net(sm)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.genView (v), accept (a), or reject (r) configuration files:a- Enter
ato accept the modified configuration files and continue orvto view them.
CAUTION: We recommend that you enter an
rto reject them only if a serious error was made when you provided information. We recommend that you not edit these files.
- Specify the server's initial admin user.
Enter initial admin user (UNIX account must have a valid password) [root]:Press Enter to accept the default, root.
- Specify whether you want to set up Centralized Configuration Management (CCM).
Enable Centralized Configuration Management (CCM) for this SBR node? [n]:yConfigure SBR node as CCM primary (p) or replica (r)? [r]:r
- Because this is not the first server to be installed, if CCM is used, this server cannot be the primary. Enter
rto set the role as replica.- Specify the primary CCM server's hostname.
Enter primary host name:For example:
Enter primary host name:blue-1.juniper.netFor example:
Enter primary host IPv4 address [172.28.84.35]:198.168.0.1
- Specify the primary host secret string.
Enter primary host secret:
Type the secret string and press Enter.- Confirm the host secret string.
Confirm primary host secret:
Type the secret string again and press Enter.To support this option, the server must already be configured as an Oracle client (See Setting Up External Database Connectivity (Optional).).
Configuring for use with generic databaseDo you want to configure for use with Oracle? [n]:If yes, type
yand press Enter. You are prompted for version and path information for the Oracle library files.Do you want to configure for use with Oracle? [n]:ySupported Oracle versions: 9, 10What version of Oracle will be used? [9]:10Configuring for use with Oracle 10Setting the environment variable ORACLE_HOMEEnter ORACLE_HOME [/dbms/u10/app/oracle/product/10.2.0]:Enter path for Oracle shared libraries [/dbms/u10/app/oracle/product/10.2.0/lib32]:Setting the environment variable TNS_ADMINEnter TNS_AMDIN [/dbms/u10/app/oracle/product/10.2.0/network/admin]:
To support this option, the server must already be configured with Signalware and, if required, an SS7 communication interface. (See Installing Signalware and SS7 Interfaces (Optional) for an overview, and Signalware 9 Support for Steel-Belted Radius Carrier for specific instructions.)
Do you want to configure for use with SS7? [n]: yConfiguring for use with SS7Setting the environment variable OMNI_HOMEEnter OMNI_HOME [/opt/JNPRss7]:
- Specify whether you want to install the optional SNMP module to monitor your Steel-Belted Radius Carrier server from an SNMP management station.
Do you want to configure SNMP? [n]:
- If no, press Enter to proceed to the next prompt.
- If yes, type
yand press Enter. The installer prompts you for the information it needs to configure the jnprsnmpd.conf and startsnmp.sh files.
- When you are prompted for a community string, enter the community string used to validate information sent from the SNMP subagent on the Steel-Belted Radius Carrier server to your SNMP management station.
Choose a community string:public- When you are prompted for a range of IPv4 addresses, specify a starting IP address in Classless Inter-Domain Routing format. To specify that only one host may query the agent, enter the IP address of the host followed by
/32. To specify that any host on a designated class C network may query the agent, enter the starting address of the network followed by/24.Specify the range of IPv4 addresses that may query this agent, such as 1.2.3.0/24.Address range:192.168.70.0/24- If you are using SNMPv2, enter the DNS name or IP address of the trap sink that you want to receive trap information from the SNMP subagent on the Steel-Belted Radius Carrier server.
SNMPv2 trap sink:192.168.70.86- Set the SNMP agent port.
Although you may specify the default SNMP port, 161, we recommend that you specify a different port to avoid contention with other agents that are likely to already be using 161. If you choose an alternate port, make a note of it because your MIB browser needs to be configured to the same setting.
Specify SNMP agent listening port[161]: 24161
- Specify a trap sink address, if required.
Optionally specify a trap sink address that will receive SNMPv2 trap [localhost]: 172.28.72.83 2SNMPv2 trap sink port[162]:Configuration of SNMP complete.To support this option, the server must already be configured as an RSA Client. See Setting Up RSA Authorization Client (Optional).
Do you want to register SBR with an RSA server (requires RSA Auth Manager 6.1 or later)? [n]: y
NOTE: When you register your Steel-Belted Radius Carrier master or replica server as an Agent Host with an RSA SecurID server, it registers itself as an RSA replica. This is normal behavior.
- Specify whether you want to configure the Steel-Belted Radius Carrier software (both RADIUS and SSR processes as appropriate for the given node type) to autoboot (restart automatically when the operating system is restarted). We recommend that you enable this behavior.
Enable (e), disable (d), or preserve (p) autoboot scripts [e]: eA local
/radiusdir/radius/sbrdscript is always created, and/opt/JNPRhadm/sbrdis always a symbolic link to this local copy.
- If you enter e (enable), the
configurescript copies the localsbrdscript to/etc/init.d, where it is automatically invoked by the OS whenever the OS is stopped or started.- If you enter d (disable), the
configurescript removes all copies of thesbrdscript from/etc/init.d, thus, disabling autoboot for all versions of Steel-Belted Radius Carrier.- If you enter p (preserve), the
configurescript does nothing, thereby leaving your previous autoboot scripts unchanged.
- When prompted, confirm that you want the installation to proceed and to configure Steel-Belted Radius Carrier with the specified settings. When the script finishes, it displays:
The SBR Administrator can be launched using the following URL:http://<servername>:1812Configuration complete- Configure the two data nodes in the Starter Kit using the procedure described in Setting Up Data Node Hosts Included with the Starter Kit.