|
|
In order to properly execute the TransPath system software, a user must first configure the shell environment using the steps in this procedure. The shell environment is the system interface within which the user is placed after logging in.
There are two major types of UNIX shell environments: the Bourne Shell and the C Shell. For clients who have purchased Dial Plan Provisioning, there is a third environment: DPP.
To determine the type of shell, enter the following at the command:
> echo $SHELL
/sh" then a Bourne Shell is being used.
csh" or "/tcsh" then a C Shell is being used.
Each has a unique way of configuring the environment.
The following commands must be executed depending on the shell environment:
BASEDIR = /opt/TransPath XE_PLATFORM_ID=<user number> XE_CONFIG_FILE_<user number>=$BASEDIR/etc/XECfgParm.dat export BASEDIR XE_PLATFORM_ID XE_CONFIG_FILE_<user_number> PATH=$PATH:$BASEDIR/bin:$BASEDIR/local:/usr/ccs/bi | |
set BASEDIR = /opt/TransPath setenv XE_PLATFORM_ID <user number> setenv XE_CONFIG_FILE_<user number>$BASEDIR/etc/XECfgParm.dat set path = ($path $BASEDIR/bin $BASEDIR/local /usr/ccs/bin) |
For sites with the Dial Plan Provisioning System, the following environmental variables will need to be added to each users UNIX shell. The DPP user must add the these entries to set up their UNIX shell environment for the Number Manipulation functions. The examples provided below assume that the C shell is used.
setenv DIALPLAN_HOST <HOSTNAME>.<DOMAIN NAME>.COM
HOSTNAME | Name of the machine where the DPP is resident. |
DOMAIN NAME | Name of the domain in which the host machine resides. |
An example of what this command string should look like is as follows:
setenv DIALPLAN_HOST rome-1.cisco.com
If the DPP Host is an NT server, you will also need to enter the following command:
setenv DIALPLAN_DIR/DIALPLAN/OUTPUT
If the DPP Host is a UNIX box, you will need to enter this command string:
setenv LDIALPLAN_DIR/opt/TransPath/dialPlan
The <user number> is to be replaced with a chosen integer between 1 and 32 that indicates the user. While the number does not need to be unique (for example all users could chose "1"), it helps to have a unique number for identification purposes.
For example, if a user is assigned a unique number of "7" in a C Shell environment, the user would enter the following environment configuration commands after they log in to operate the TransPath system:
> set BASEDIR = /opt/TransPath
> setenv XE_PLATFORM_ID 7
> setenv XE_CONFIG_FILE_7 $BASEDIR/etc/XECfgParm.dat
> set path = ($path $BASEDIR/bin $BASEDIR/local /usr/ccs/bin)
To avoid doing this every time a user logs in, a standard C shell configuration script is in ".cshrc" under the "local" directory. This script configures the user with an indicator of 1. To execute it, enter the following:
source .cshrc
When the standard configuration script needs to be modified for individual users, it is useful to place it at the bottom of the user's primary environment configuration script. This script is executed immediately after the user logs in. The C shell script is called .cshrc.
If the user is running C shell, append this configuration script to the end of .cshrc in the home directory (see Provided C Shell Configuration Script above).
The Bourne shells script is called .profile.
If the user is running the Bourne shell, then append this configuration script to the end of the profile in the home directory.
The Administrator is responsible for adding users to the /etc/group file under the group entry "transpath". If a user is not a member of the group, then their access privilege is READ ONLY.
The Administrator is responsible for removing users from the /etc/group file under the group entry transpath. When a user is removed from this group, their access privilege becomes READ ONLY.
|
|