Installing IMS AAA Server and Administrator Software
The installation procedure copies the installation files to the Solaris server and runs the installer package.
To install IMS AAA Server and the Administrator software:
- Log into the Solaris server as
root.- Copy the IMS AAA Server installation files to the Solaris server.
Copy the files from the
/solarisdirectory on the installation CD to a local or remote hard disk partition that is readable byroot.The following example copies the files to the
/opt/tempdirectory.
# mkdir -p /opt/temp
# cp -pR /cdrom/solaris/* /opt/temp
# gunzip -c a3s-1.0.2150.0-solaris-10-sparcv8plus-sun-5.8.tar.gz | tar xvf -As a result, two package files are extracted:
- JNPRa3s.pkg - package containing IMS AAA Server software
- JNPRa3sa.pkg - package containing IMS AAA Server Administrator software
- For each IMS AAA Server installation package, run the
pkgaddcommand as follows:
NOTE: You must have
rootprivileges to run thepkgaddcommand.
# pkgadd -ddirectoryJNPRa3s.pkgdirectory
# pkgadd -dJNPRa3sa.pkgwhere
directoryspecifies the directory where you placed the package.In the following command, the directory that follows the
-dparameter specifies the location where the JNPRa3s.pkgcan be found. In this example (from step 2), the package was copied to/opt/tempand that is the location where it can be found.
# pkgadd -d /opt/temp JNPRa3s.pkg
Do you want to continue with the installation of <JNPRa3s.pkg> [y,n,?] yExample Output of pkgadd Command for IMS AAA Server Package-New Installation
The following example shows the output for the pkgadd command for a new installation of the IMS AAA Server package. Throughout this procedure, "a3s" refers to the IMS AAA Server software package.
root@myserver:/export/home/qa/Server #pkgadd -d JNPRa3s.pkgThe following packages are available:1 JNPRa3s Juniper Networks IMS AAA Server(sun4u) 1.0.0Select package(s) you wish to process (or 'all' to processall packages). (default: all) [?,??,q]:Processing package instance <JNPRa3s> from </export/home/qa/Server/JNPRa3s.pkg>Juniper Networks IMS AAA Server(sun4u) 1.0.0Juniper Networks, Inc.Checking for a running a3s server...Please enter the license string:xxxx xxxx xxxx xxxx xxxxPlease enter the name of the directory where a3s should be installed, if target directory doesn't exist, it will be created [/usr/local/a3s]:/opt/AAA/a3sDo you want to configure a3s to be automatically launched during boot time and stopped during shutdown time [y,n]:y.You may use 'root' to log on to a3s UI at any time. In addition to that, you may choose an existing unix group.Any unix user account in that group will be able to log on to a3s UI as administrator.Please enter an existing unix group name [other]:
NOTE: By default, the Unix group "other" is chosen. To use a different group, type in the name of the group. No validation is performed on the Unix group entered, so be sure to enter a valid group.
Enter a3s admin TCP port[1813]:
NOTE: This is the TCP port between IMS AAA Server and Administrator.
Enter a3s admin TCP port for snmp agent private access[6669]:
NOTE: This is the internal port between IMS AAA Server and SNMP agent that is built into the server.
Enter listening port for snmp agent[161]:
NOTE: This is the port between SNMP agent and SNMP management station.
Enter address a3s will send snmp trap to (usually a snmp trap daemon is running there) (hostname or ip address) [localhost]: 172.25.66.59
NOTE: This is the SNMP network management station to which the server will send traps or alerts.
Enter listening port for snmp trap daemon[162]:
NOTE: This is the port the SNMP network management station uses to receive traps or alerts.
Enter community string[public]:
..................installing files/opt/AAA/a3s/snmp/mibs/jnx-diameter-nas-application.mib/opt/AAA/a3s/snmp/mibs/jnx-smi.mib/opt/AAA/a3s/snmp/mibs/rfc1155-smi.mib/opt/AAA/a3s/snmp/mibs/rfc1213.mib/opt/AAA/a3s/snmp/mibs/rfc4668.mib/opt/AAA/a3s/snmp/mibs/rfc4669.mib.../opt/AAA/a3s/v_funk.dic/opt/AAA/a3s/v_juniper.dic/opt/AAA/a3s/v_microsoft.dic[ verifying class <none> ]## Executing postinstall script.Creating S90a3s.Setting the default a3s directory /opt/AAA/a3sCopying S90a3s to /etc/rc2.dCreating link.generating script resetDatabase.shgenerating snmpd.confWarning: No database to delete .. continuingcreated system.xdbcreated system.xdb/aaa_decoratorloaded config/aaa_decorator.xmlcreated system.xdb/access_group_mgrloaded config/access_group_mgr.xml...created system.xdb/wf_decoratorloaded config/wf_decorator.xmlcreated system.xdb/wx_decoratorloaded config/wx_decorator.xmlInstallation of <JNPRa3s> was successful.root@myserver:/export/home/qa/Server #Validating the Server Installation Procedure
To validate the installation, navigate to the directory where the server was installed and verify that the system.xdb file is present. If this file is not present, the installation was not properly completed.
Example Output of pkgadd Command for IMS AAA Server Administrator Package
The following example shows the output for the pkgadd command for the IMS AAA Server Administrator package:
pkgadd -d JNPRa3sa.pkgThe following packages are available:1 JNPRa3sa Juniper Networks IMS AAA Server Administrator(sun4u) 1.0.0Select package(s) you wish to process (or 'all' to processall packages). (default: all) [?,??,q]:Processing package instance <JNPRa3sa> from </export/home/qa/JNPRa3sa.pkg>Juniper Networks IMS AAA Server Administrator(sun4u) 1.0.0Juniper Networks, Inc.Please enter the name of the directory where a3s admin should be installed, if target directory doesn't exist, it will be created [/usr/local/a3sadmin]:The selected base directory </usr/local/a3sadmin> must exist beforeinstallation is attempted.Do you want this directory created now [y,n,?,q] yUsing </usr/local/a3sadmin> as the package base directory.## Processing package information.## Processing system information.## 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-userpermission during the process of installing this package.Do you want to continue with the installation of <JNPRa3sa> [y,n,?] y........installing files/usr/local/a3sadmin/com/sun/plugin/desktop/sun_java.png/usr/local/a3sadmin/com/sun/plugin/sparc/ns4/libjavaplugin.so/usr/local/a3sadmin/com/sun/plugin/sparc/ns610/libjavaplugin_oji.so[ verifying class <none> ]## Executing postinstall script.generating script a3sadmin.shInstallation of <JNPRa3sa> was successful.