CT Access Installation for Solaris
P/N 6409-11
Introduction
This installation sheet provides instructions for installing CT Access on the Solaris operating system. You will complete the following steps:

1. Install the software.
2. Modify the superuser environment.

Note:  Before installing CT Access, ensure that any earlier installation of CT Access has been removed by the procedures discussed in Software Removal.

BUG NOTE:  If you are running AG Access 1.3 for the first time on a fresh machine (not an upgrade), please ensure that before you configure the driver, you run download and run devlinktab.sh shell script patch as root from NMS engineering website (http://www.engweb.nmss.com/download/75192.htm) or contact one of our Techical Support representative.   Ensure that you have execute permission on devlinktab.sh before running it (type chmod +x devlinktab.sh if needed).

Running the Installation Script
1. Log in as root at your shell’s command prompt by entering:

su

2. Insert the first CT Access for Solaris installation disk into a floppy disk drive.
3. Invoke the pkgadd utility by entering the following:

pkgadd -d devicename ctaccess
devicename is the name of the floppy disk drive from which you are installing. For example, if you are installing from your first floppy disk drive, at your shell’s command prompt enter:
pkgadd -d diskette1 ctaccess
Note:  In order to use the diskette device, the vold process must be killed before performing installation from the command line.

pkgadd displays the following prompt:
Insert diskette into Floppy Drive 1.
Type [go] when ready,
or [e] to eject the diskette,
or [q] to quit:

4. type go for go.
5. Follow the prompts as appropriate for your system.

When the installation has completed, the following appears:

Installation of <ctaccess> for Solaris was successful.
Modifying the Superuser Environment
Follow these steps to modify the superuser environment.

Note:  Some of these environment variables may have already been added because these variables are also required by other NMS products.

1. Log in as root at your shell’s command prompt by entering:

su
2. With your text editor, open the shell script file executed by the root user’s login shell as part of the login sequence.

For the Bourne or Korn shell, edit the /.profile file to add the following environment variables:

a. Create the CTA_DPATH environment parameter. For example:

CTA_DPATH=.:/opt/nms/ctacess /prompts:/opt/nms/ctaccess/cfg
export CTA_DPATH
b. Append the following to the PATH environment parameter assignment:
/opt/nms/bin
A sample PATH environment parameter assignment after your editing might look like:
PATH=$PATH:/opt/nms/bin
export PATH
c. Append the following to the LD_LIBRARY_PATH environment parameter assignment:
/opt/nms/lib
A sample LD_LIBRARY_PATH environment parameter assignment after your editing might look like:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/nms/lib
export LD_LIBRARY_PATH

If the root user’s shell is the C shell, edit the /.login file to add the following environment variables:
a. Create the CTA_DPATH environment parameter. For example:

setenv CTA_DPATH .:/opt/nms/ctaccess/prompts:/opt/nms/ctaccess/cfg

b. Append the following to the PATH environment parameter assignment:

/opt/nms/bin
A sample PATH assignment might look like:
setenv PATH "$PATH":/opt/nms/bin
c. Append the following to the LD_LIBRARY_PATH environment parameter assignment:
/opt/nms/lib
A sample PATH assignment might look like
setenv LD_LIBRARY_PATH "$LD_LIBRARY_PATH":/opt/nms/lib
3. Save the modified shell script file and exit your text editor.
4. For the changes to the root user’s environment parameters to take affect, log out and log back in as root (e.g., exit, su -).

Software Removal

CT Access can be removed from your system using the command line interface.

Note:  Before removing the CT Access library, ensure there are no applications running which use CT Access.
To remove the CT Access software package from your system:

1. Log in as root.
2. Remove the root user’s CTA_DPATH environment parameter by completing the following steps:

3. To invoke the pkgrm utility, enter the following at your shell’s command prompt:
pkgrm ctaccess
pkgrm displays the following prompt:
The following package is currently installed:
CT Access Software Development Kit for Solaris (i386)
Do you want to remove this package [y,n,?,q]
4. Enter y.
After the removal has completed, pkgrm displays the following confirmation:
Removal of <ctaccess> was successful.
5. Exit the root shell.
At the shell command prompt, type:
exit