Installing AR


Typically AR is installed from a downloaded file. To install AR from this file, perform the following tasks as the root user:

Step 1.

Create a temporary directory, such as /tmp-ar, to hold the downloaded software package.

Step 2.

Change to the directory where the downloaded file exists, as follows:

 #cd /tmp-ar 

Step 3.

Uncompress the tar files and extract the installation files, as follows:

 ./gunzip -c ar-3.0r5-sunos58.tar.gz 

After the preceding preparations have been made, you can proceed with the following steps. If you do not plan on using AR's Simple Network Management Protocol (SNMP) features, skip Steps 1 and 2 in the following step sequence:

Step 1.

If you plan to use Cisco CNS AR's SNMP features, disable the Sun SNMP daemon by entering the following:

 /etc/rc3.d/S76snmpdx stop /etc/rc3.d/S77dmi stop 

Step 2.

If you plan to use Cisco CNS AR's SNMP features, prevent the Sun SNMP daemon from restarting after a reboot by entering the following:

 mkdir /etc/rc3.d/.disabled mv /etc/rc3.d/S76snmpdx /etc/rc3.d/.disabled mv /etc/rc3.d/S77dmi /etc/rc3.d/.disabled 

Step 3.

Add the AR package using the pkgadd command. Replace the following directory in the example with the path where you have decompressed the Cisco CNS AR files:

 Pkgadd d /tmp-ar CSCOar 

Step 4.

At this point, the installation script prompts you with a number of questions. For some of these, you have the option of taking a default value; for others, you must provide an answer. Example 14-1 is an install of Cisco CNS AR on a SPARCstation. In the example, explanation has been given for major configuration information.

Example 14-1. Installing Cisco CNS Access Registrar

[View full width]

 !The following command initiates the installation if CISCO CNS ACCESS REGISTRAR. #pkgadd -d /export/home/tmp-ar CSCOar Processing package instance <CSCOar> from </export/home/tmp-ar> Cisco CNS Access Registrar 3.0R1 [SunOS-5.8, official] (sparc) 3.0R1 Copyright (C) 1998-2002 by Cisco Systems, Inc. This program contains proprietary and confidential information. All rights reserved except as may be permitted by prior written consent. !The following is the default location of the install.  You can hit !enter and accept the  default or you may choose to change the path of !the install. Where do you want to install <CSCOar>? [/opt/CSCOar] [?,q] Cisco AR provides extensions that can be written in Java. If you intend to write Java extensions, the Java Runtime Environment (JRE) is required. Do you require the Cisco AR Java extension? [No]:  [?,q] !At this point you can choose what type of install you wish to perform. This package contains the  Access Registrar Server and the Access Registrar Configuration Utility.  You can choose to perform a Full installation, just install the Server, or just install the Configuration Utility. What type of installation: Full, Server only, Config only [Full] [?,q] !It is a good idea to install the sample configurations. Enter the letter "y" at the  prompt to install the sample configurations. If you want to learn about Cisco CNS Access Registrar by following the examples in the Installation and Configuration Guide, you need to populate the database with the example configuration. Do you want to install the example configuration now [y,n,?,q] y You can delete the example configuration at any time by running the command: /opt/CSCOar/bin/aregcmd -f /opt/CSCOar/examples/cli/delete-example-configuration.rc If you are not using ODBC, press Enter/Return to skip this step. ORACLE installation directory is required for ODBC configuration. ORACLE_HOME variable will be set in /etc/init.d/arserver script Where is ORACLE installed ? [] [?,q] Here you need to hit This is set to root for Cisco TAC to perform  diagnostics.  /opt/CSCOar/bin/aregcmd <setgid staff> This gives AR the permissions necessary to  write to this log file. Do you want to install these as setuid/setgid files [y,n,?,q] y This package contains scripts that will be executed with super-user permission during the process of installing this package. Do you want to continue with the installation of <CSCOar> [y,n,?] y Installing Cisco CNS Access Registrar 3.0R1 [SunOS-5.8, official] as <CSCOar> !At this point the installation begins and the files used in CISCO CNS ACCESS REGISTRAR  are !installed. ## Installing part 1 of 1. /opt/CSCOar/.system/screen /opt/CSCOar/README /opt/CSCOar/bin/arbug <text omitted> /opt/CSCOar/ucd-snmp/share/snmp/snmpd.conf [ verifying class <snmp> ] ## Executing postinstall script. # setting up product configuration file /opt/CSCOar/conf/Cisco CNS Access Registrar.conf # linking /etc/init.d/arserver to /etc/rc.d files # setting ORACLE_HOME variable in arserver # removing old session information # flushing old replication archive # creating initial configuration database Rollforward recovery using "/opt/CSCOar/data/db/vista.tjf" started Mon May 26 15:35:59 2003 Rollforward recovery using "/opt/CSCOar/data/db/vista.tjf" finished Mon May 26 15:35:59 2003 # installing example configuration Starting Cisco CNS Access Registrar Server Agent..completed. The Radius server is now running. If SNMP needs to be reconfigured please follow the following procedure: (1) stop AR: /opt/CSCOar/bin/arserver stop (2) edit: /cisco-ar/ucd-snmp/share/snmp/snmpd.conf (3) restart AR: /opt/CSCOar/bin/arserver start # done with postinstall. Installation of <CSCOar> was successful. 

At this point, the installation process is completed, and you can begin configuration of AR. However, first you should become familiar with AR's subdirectories.




Cisco Access Control Security(c) AAA Administrative Services
Cisco Access Control Security: AAA Administration Services
ISBN: 1587051249
EAN: 2147483647
Year: 2006
Pages: 173

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net