Table Of Contents
Installing the CTM R8.0 Server and Oracle9i
2.1 Installing CTM R8.0 and Oracle9i on the Same Workstation
2.1.1 Installing Oracle9i
2.1.2 Updating the System Parameters
2.1.3 Installing the CTM R8.0 Server and Database
2.1.4 Copying the Client Upgrade Files After the CTM Server Installation
2.2 Installing CTM R8.0 and Oracle9i on Separate Workstations
2.2.1 Installing Oracle9i on the CTM Server Workstation
2.2.2 Updating the System Parameters on the CTM Server Workstation
2.2.3 Installing the CTM R8.0 Server on the CTM Server Workstation
2.2.4 Copying the Client Upgrade Files After the CTM Server Installation
2.2.5 Installing Oracle9i on the CTM Database Workstation
2.2.6 Updating the System Parameters on the CTM Database Workstation
2.2.7 Installing the CTM R8.0 Database
2.2.8 Verifying the Oracle9i Client Installation on the CTM Server Workstation and Starting the CTM Server
2.3 Setting Up Sudo
Installing the CTM R8.0 Server and Oracle9i
This chapter describes how to install CTM R8.0 and Oracle9i. It contains the following sections:
•
Installing CTM R8.0 and Oracle9i on the Same Workstation
•
Installing CTM R8.0 and Oracle9i on Separate Workstations
•
Setting Up Sudo
Note
For an explanation of error messages that you might encounter during the server installation, see Appendix A, "Understanding Installation Error Messages."
Note
If you need instructions to mount or unmount CDs, see Appendix C, "Mounting and Unmounting CDs on Sun Solaris."
Note
You must use the CTM installation CDs to complete the installation. If you manually copy the installer to a storage disk, the installation could fail because of missing permissions in the installation scripts.
2.1 Installing CTM R8.0 and Oracle9i on the Same Workstation
This section describes how to install the CTM R8.0 server and Oracle9i on the same Sun Solaris 10 server.
Note
The C shell is assumed for all UNIX commands.
2.1.1 Installing Oracle9i
This section provides supporting information to assist you with the Oracle9i installation. Use this information with Oracle's documentation.
2.1.1.1 Setting the Environment for Installation
To set the environment for installation, log in as the root user and complete the following steps:
Step 1
Enter the following command to verify that the disk directories shown in Table 2-1 exist:
Table 2-1 Disk Directories
Directory
|
Contents
|
/db01
|
For the system tablespace used by Oracle
|
/db02
|
For the basedata tablespace, the alarmdata tablespace, and the eventdata tablespace used by CTM
|
/db03
|
For the data tablespace used by CTM
|
/db04
|
For the INDEX tablespace used by CTM
|
/db051
|
For the archived logs
|
/ctm_backup2 ,3
|
For the backed-up database and configuration files
|
/oraclesw9i
|
For the Oracle software
|
/tftpboot
|
For the TFTP directory
Note Disk partitioning is not required for /tftpboot, but the directory is required.
|
Step 2
If your system is already configured with the standard CTM partition names (for example, /db01, /db02) proceed to Step 3. If your system is not configured with the standard CTM partition names, enter the following commands to create soft links to your existing partitions:
ln -s /<partition_name_1> /db01
ln -s /<partition_name_2> /db02
ln -s /<partition_name_3> /db03
ln -s /<partition_name_4> /db04
ln -s /<partition_name_5> /db05
ln -s /<partition_name_6> /ctm_backup
ln -s /<partition_name_7> /oraclesw9i
Step 3
If you do not have a TFTP directory, complete the following substeps to create one:
a.
Enter the following commands:
b.
Verify that the TFTP entry in the /etc/inetd.conf file is not commented.
The following example represents a typical TFTP entry in the /etc/inetd.conf file. In this example, the TFTP directory is /tftpboot:
tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
c.
If the TFTP entry is commented, remove the pound sign (#) at the beginning of the line to uncomment it.
Note
Do not place servers on an NIS/NIS+ network when creating an Oracle group and a user.
Step 4
Enter the following command to create a UNIX group for database administrators:
Step 5
Enter the following command to create a UNIX account to own the Oracle software:
useradd -g dba -m -s /bin/csh -d /oraclesw9i oracle
Step 6
Enter the following command to change the oracle user password:
Enter the new password; then, re-enter the password to confirm it.
Step 7
Insert the CTM Server Disk 1 installation CD and enter the following command:
Step 8
Enter the following command to list the files in the cdrom/cdrom0/Disk1 directory:
Note
If a list of files is returned, it indicates that you can access the CD-ROM successfully. If no files are visible, or if an error message is returned, refer to Sun Solaris documentation for mounting the CD-ROM.
Step 9
Enter the following command to copy the default profile to the Oracle home directory:
cp /cdrom/cdrom0/Disk1/InstData/Solaris/VM/cfg/{small | medium | large | highend}/.cshrc
/oraclesw9i/.cshrc
For example, to copy the default profile for a small network, enter:
cp /cdrom/cdrom0/Disk1/InstData/Solaris/VM/cfg/small/.cshrc /oraclesw9i/.cshrc
Note
If you installed Oracle Standard Edition, you must copy the default profile for a small network.
Step 10
Enter the following command to determine what type of applications you can run on your operating system (OS):
If the output reads "64-bit sparcv9 kernel modules," you can run both 64-bit and 32-bit applications. If the output reads "32-bit sparcv9 kernel modules," you can run only 32-bit applications.
Note
It is recommended that you be able to run 64-bit applications.
Step 11
Complete one of the following options, depending on your Oracle version:
Note
The Oracle patches 9.2.0.7 and 9.2.0.8 are available officially only for 64-bit. These patches are not available for 32-bit.
•
If you are installing 64-bit Oracle Enterprise Edition and 9.2.0.7, enter:
cp /cdrom/cdrom0/Disk1/svrcustom_64bit.rsp /oraclesw9i
cp /cdrom/cdrom0/Disk1/patchset_64bit_9207.rsp /oraclesw9i
•
If you are installing 64-bit Oracle Standard Edition and 9.2.0.7, enter:
cp /cdrom/cdrom0/Disk1/svrcustom_std_64bit.rsp /oraclesw9i
cp /cdrom/cdrom0/Disk1/patchset_64bit_9207.rsp /oraclesw9i
•
If you are installing 64-bit Oracle and 9.2.0.8, you must download the Oracle installation response file from Cisco.com.
Go to http://tools.cisco.com/support/downloads/pub/Redirect.x?mdfid=278875317 (which requires a registered Cisco.com username and password) and download the patchset_64bit_9208.rsp file. Then, complete one of the following options, depending on your Oracle version:
–
If you are installing 64-bit Oracle Enterprise Edition and 9.2.0.8, enter:
cp /cdrom/cdrom0/Disk1/svrcustom_64bit.rsp /oraclesw9i
Then, copy the downloaded patchset_64bit_9208.rsp file to /oraclesw9i.
–
If you are installing 64-bit Oracle Standard Edition and 9.2.0.8, enter:
cp /cdrom/cdrom0/Disk1/svrcustom_std_64bit.rsp /oraclesw9i
Then, copy the downloaded patchset_64bit_9208.rsp file to /oraclesw9i.
Step 12
Enter the following commands to change ownership of the Oracle software directories:
/usr/bin/chown -R oracle:dba /oraclesw9i
/usr/bin/chown -R oracle:dba /db01
/usr/bin/chown -R oracle:dba /db02
/usr/bin/chown -R oracle:dba /db03
/usr/bin/chown -R oracle:dba /db04
/usr/bin/chown -R oracle:dba /db05
/usr/bin/chown -R oracle:dba /ctm_backup
Step 13
Enter the following commands to eject the CTM Server Disk 1 installation CD:
Step 14
Enter the following commands to create a temporary staging area:
Step 15
Enter the following command on both the database workstation and the server workstation:
Step 16
Comment the "stty" statement from the /.cshrc file, if it exists.
Step 17
If you are using an xterm window or a remote host, enter the following command to enable the xterm connection from the clients:
2.1.1.1.1 Understanding the ctm_backup Directory
As shown in Table 2-1, the ctm_backup directory is a repository used by the oracle user to back up the following main categories of information:
•
CTM database
•
Configuration files
•
Database ARCHIVELOG files
The oracle user must have read/write permissions or the database backup will fail. The database should be blocked if the ARCHIVELOG files cannot be backed up.
Note that ctm_backup is a symbolic link to a user-defined directory and must have read/write permissions.
2.1.1.2 Installing the Oracle9i Software with the .rsp Response File Provided by Cisco
Note
The C shell is assumed for all UNIX commands.
Step 1
Enter the following command to log in as the oracle user:
Tip
To verify the username, enter the id command.
Step 2
Insert disk one of the Oracle9i installation CDs in the CD-ROM drive.
Step 3
Enter the following command to set the display on your terminal:
setenv DISPLAY <hostname_or_IP_address>:0.0
Step 4
Enter the following command to verify that the display is set correctly:
In the output, you should see:
<hostname_or_IP_address>:0.0
Step 5
Depending on your Oracle version, complete one of the following options to start the Oracle Installer:
•
If you are installing 64-bit Oracle Enterprise Edition, enter:
./runInstaller -responseFile /oraclesw9i/svrcustom_64bit.rsp &
•
If you are installing 64-bit Oracle Standard Edition, enter:
./runInstaller -responseFile /oraclesw9i/svrcustom_std_64bit.rsp &
Step 6
At the Inventory Location screen, click OK.
Step 7
The Oracle Universal Installer screen appears and prompts you to run the /tmp/orainstRoot.sh script. Log into another terminal window as the root user and enter the following command:
Note
The Installer does not prompt you to run the /tmp/orainstRoot.sh script if you have a previous version of Oracle installed on your workstation or if the /var/opt/oracle/oratab file already exists on your workstation.
Step 8
Enter the following command to run the orainstRoot.sh script:
Step 9
Return to the Oracle Universal Installer screen and click Continue.
Note
The Oracle Universal Installer process might take up to 5 minutes.
Step 10
The Disk Location dialog box prompts you for disk two of the Oracle9i installation CDs. Return to the terminal window where you ran the ./runInstaller command and press Return on your keyboard to bring up the command prompt.
Step 11
Enter the following command at the command prompt:
Step 12
Remove disk one and insert disk two of the Oracle9i installation CDs.
Step 13
Minimize the terminal window.
Step 14
Return to the Disk Location dialog box and change the path to read:
Step 15
Click OK.
Step 16
The Disk Location dialog box prompts you for disk three of the Oracle9i installation CDs. Return to the terminal window where you ran the ./runInstaller command and press Return on your keyboard to bring up the command prompt.
Step 17
Enter the following command at the command prompt:
Step 18
Remove disk two and insert disk three of the Oracle9i installation CDs.
Step 19
Minimize the terminal window.
Step 20
Return to the Disk Location dialog box and change the path to read:
Step 21
Click OK.
Step 22
You are prompted to run /oraclesw9i/product/9.2/root.sh from another window. Log into another terminal window as the root user and enter the following command:
cd /oraclesw9i/product/9.2
Step 23
Enter the following command to run the root.sh script:
Step 24
At the prompt for the local bin directory, enter the following path in the root.sh script:
Note
The /oraclesw9i/product/9.2/local/bin directory must be created before running the root.sh script.
/oraclesw9i/product/9.2/local/bin
Step 25
Return to the Oracle Setup Privileges screen and click OK.
Step 26
Enter the following command to eject the CD:
2.1.1.3 Downloading the 9.2.0.7 Patch for Oracle9i
CTM R8.0 supports both the 9.2.0.7 and 9.2.0.8 patches for Oracle9i. Complete this section if you want to use the 9.2.0.7 patch for Oracle9i.
If you already have the 9.2.0.7 or 9.2.0.8 patch for Oracle9i installed, you can skip this section. To find out which patches have been installed, enter the following commands as the oracle user:
cd $ORACLE_HOME/OPatch/
./opatch lsinventory -detail | grep -i "oracle9i patch"
The output shows:
Note
•
The preceding commands will fail if Oracle9i is not installed.
•
You must create a MetaLink account to download the 9.2.0.7 patch from the Oracle website.
Step 1
Go to http://metalink.oracle.com and click Login to MetaLink. Enter your Oracle MetaLink username and password.
Note
This website is Copyright © 2004, Oracle Corporation. All rights reserved.
Step 2
Click Patches.
Step 3
Click Simple Search.
Step 4
In the Search by Patch Number(s) field, enter 4163445.
Step 5
In the Platform or Language field, choose Solaris Operating System (SPARC 64-bit).
Step 6
Click Go.
Step 7
Click Download. Download p4163445_92070_SOLARIS64.zip.
Step 8
As the oracle user, save the patch to the /oraclesw9i directory.
Step 9
Enter the following commands to prepare the patch:
unzip p4163445_92070_SOLARIS64.zip
2.1.1.4 Installing the 9.2.0.7 Patch for Oracle9i
If you already have the 9.2.0.7 or 9.2.0.8 patch for Oracle9i installed, you can skip this section.
Step 1
Enter the following command to log into the database workstation as the oracle user:
Step 2
If you are using an xterm window or a remote host, enter the following command to set the DISPLAY variable:
setenv DISPLAY <hostname_or_IP_address>:0.0
Step 3
Enter the following command to verify that the display is set correctly:
In the output, you should see:
<hostname_or_IP_address>:0.0
Step 4
Enter the following commands to install the 9.2.0.7 patch:
./runInstaller -silent -responseFile /oraclesw9i/patchset_64bit_9207.rsp
Note
If the Disk Location screen pops up, click Cancel.
Step 5
At the prompt to run the root.sh script, log into another terminal window as the root user and enter the following commands:
cd /oraclesw9i/product/9.2
Step 6
At the prompt for the local bin directory, enter the following path in the root.sh script:
/oraclesw9i/product/9.2/local/bin
Step 7
The script asks if you would like to overwrite the existing files. Confirm the request.
Step 8
After the script finishes running, return to the prompt popup window and click OK.
Step 9
Click Exit.
Step 10
Enter the following commands to remove the 9.2.0.7 patch installation files:
rm -rf /oraclesw9i/p4163445_92070_SOLARIS64.zip
rm -rf /oraclesw9i/README.html
2.1.1.5 Downloading the 9.2.0.8 Patch for Oracle9i
CTM R8.0 supports both the 9.2.0.7 and 9.2.0.8 patches for Oracle9i. Complete this section if you want to use the 9.2.0.8 patch for Oracle9i.
If you already have the 9.2.0.7 or 9.2.0.8 patch for Oracle9i installed, you can skip this section. To find out which patches have been installed, enter the following commands as the oracle user:
cd $ORACLE_HOME/OPatch/
./opatch lsinventory -detail | grep -i "oracle9i patch"
The output shows:
Note
•
The preceding commands will fail if Oracle9i is not installed.
•
You must create a MetaLink account to download the 9.2.0.8 patch from the Oracle website.
Step 1
Go to http://metalink.oracle.com and click Login to MetaLink. Enter your Oracle MetaLink username and password.
Step 2
Click Patches.
Step 3
Click Simple Search.
Step 4
In the Search by Patch Number(s) field, enter 4547809.
Step 5
In the Platform or Language field, choose Solaris Operating System (SPARC 64-bit).
Step 6
Click Go.
Step 7
Click Download. Download p4547809_92080_SOLARIS64.zip.
Step 8
As the oracle user, save the patch to the /oraclesw9i directory.
Step 9
Enter the following commands to prepare the patch:
unzip p4547809_92080_SOLARIS64.zip
2.1.1.6 Installing the 9.2.0.8 Patch for Oracle9i
If you already have the 9.2.0.7 or 9.2.0.8 patch for Oracle9i installed, you can skip this section.
Step 1
Enter the following command to log into the database workstation as the oracle user:
Step 2
If you are using an xterm window or a remote host, enter the following command to set the DISPLAY variable:
setenv DISPLAY <hostname_or_IP_address>:0.0
Step 3
Enter the following command to verify that the display is set correctly:
In the output, you should see:
<hostname_or_IP_address>:0.0
Step 4
Enter the following commands to install the 9.2.0.8 patch:
./runInstaller -silent -responseFile /oraclesw9i/patchset_64bit_9208.rsp
Note
If the Disk Location screen pops up, click Cancel.
Step 5
At the prompt to run the root.sh script, log into another terminal window as the root user and enter the following commands:
cd /oraclesw9i/product/9.2
Step 6
At the prompt for the local bin directory, enter the following path in the root.sh script:
/oraclesw9i/product/9.2/local/bin
Step 7
The script asks if you would like to overwrite the existing files. Confirm the request.
Step 8
After the script finishes running, return to the prompt popup window and click OK.
Step 9
Click Exit.
2.1.1.7 Downloading the Oracle Patch Installer (Required Only for 9.2.0.7)
The Oracle patch installer is used with 9.2.0.7 to install additional Oracle patches. If you have already installed the Oracle patch installer or if you are using the 9.2.0.8 patch, you can skip this section.
You must log in as an oracle UNIX user to download and unzip files.
Step 1
Go to http://metalink.oracle.com and click Login to MetaLink. Enter your Oracle MetaLink username and password.
Step 2
Click Patches.
Step 3
Click Simple Search.
Step 4
In the Search by Patch Number(s) field, enter 2617419.
Step 5
In the Platform or Language field, choose Solaris Operating System (SPARC 64-bit).
Step 6
Click Go.
Step 7
Click Download.
Step 8
In the list of patches returned, click the first patch, which has the latest release number.
Note
Do not be concerned if the patch refers to a later version of Oracle.
Step 9
In the Patch 2617419 window, go to the Platform or Language field and choose Generic Platform (the default).
Step 10
Click Download.
Step 11
Save the patch to the /oraclesw9i/product/9.2 directory.
Step 12
Enter the following commands to change the patch ownership and unzip the patch:
chown oracle:dba /oraclesw9i/product/9.2/p2617419_10102_GENERIC.zip
cd /oraclesw9i/product/9.2
unzip p2617419_10102_GENERIC.zip
2.1.2 Updating the System Parameters
Note
The C shell is assumed for all UNIX commands.
To update the system parameters, log in as the root user and complete the following steps:
Step 1
If you are using an xterm window or a remote host, enter the following command to set the DISPLAY variable:
setenv DISPLAY <hostname_or_IP_address>:0.0
Step 2
Enter the following command to verify that the display is set correctly:
In the output, you should see:
<hostname_or_IP_address>:0.0
Step 3
Insert the CTM Server Disk 1 installation CD and enter the following commands:
cdrom/cdrom0/Disk1/ctmsetup.sh
The setup program searches for Sun Microsystems JRE version 1.5.0_06 on your workstation.
Note
If JRE is not installed, the setup program starts the Java installation program. Follow the prompts to install JRE. Enter yes at the following binary license code agreement prompt:
Do you agree to the above license terms? [yes or no]
Then, continue this procedure.
Note
If the required Solaris patches are missing, you must install them manually. Click Cancel; then, click Quit. Download the patches from SunSolve Online at http://sunsolve.sun.com. After you install the patches, continue this procedure.
This website is Copyright © 1994-2008, Sun Microsystems, Inc. All rights reserved.
Wait for up to 60 seconds while the following message appears:
Please wait, Cisco Transport Manager Server Release 8.0 is being configured for your
system. This may take a moment...
Step 4
Click Next at the Introduction screen.
Step 5
At the License Agreement screen, read the license agreement and click the I accept the terms of the license agreement radio button. Click Next.
Step 6
At the Installation Options screen, choose New installation; then, click Next.
Step 7
At the Select Products to Install screen, check the Cisco Transport Manager server check box; then, click Next.
Note
The Web Server check box is selected automatically when you choose Cisco Transport Manager server. The web server allows you to use an HTTP connection to download files from the CTM server to the CTM client. The web server is also used to launch the online help. The web server is required for the CTM server.
Caution 
Do not check the other check boxes on the Select Products to Install screen.
Note
The license for CTM GateWay/CORBA is sold separately. If you are using this feature in a production environment, you must purchase a license. You can install CTM GateWay/CORBA when you install the CTM server; however, this section assumes that you are installing the two products separately. For more information, see Chapter 4, "Installing CTM GateWay/CORBA R8.0."
Note
The license for CiscoView (an optional application used by CTM to configure and monitor ONS 155xx NEs) is sold separately if used to manage the ONS 15530, ONS 15540 ESP, or ONS 15540 ESPx. If you are using this feature in a production environment to manage the ONS 15530, ONS 15540 ESP, or ONS 15540 ESPx, you must purchase a license for LAN Management Solution (LMS) Release 2.5, which includes CiscoView.
The license for CiscoView is bundled with CTM if used to manage the ONS 15501 DC or AC. You do not need to purchase a separate CiscoView license to manage the ONS 15501 DC or AC.
Step 8
At the Select Modules to Install screen, choose All of the Above Modules. Click Next.
Step 9
At the Main Options screen, check only the Check system settings check box; then, click Next.
Caution 
Do not check the other check boxes on the Main Options screen. You will check the other options during the next phase of the installation.
Step 10
At the Select Network Configuration screen, specify the size of your network; then, click Next.
Note
If you installed Oracle Standard Edition, you can only choose Small.
Step 11
At the Update the System Parameters screen, check the following check boxes; then, click Next:
•
Optimize CTM database parameters
•
Optimize CTM server parameters
Step 12
At the warning prompt, click Exit Setup and enter the following command to reboot the system:
Note
The warning prompt only appears the first time that the CTM software is installed. If this is not a first time installation, proceed without rebooting.
2.1.3 Installing the CTM R8.0 Server and Database
Note
The C shell is assumed for all UNIX commands.
To install the CTM server, log in as the root user and complete the following steps:
Step 1
If you are using an xterm window or a remote host, enter the following command to set the DISPLAY variable:
setenv DISPLAY <hostname_or_IP_address>:0.0
Step 2
Enter the following command to verify that the display is set correctly:
In the output, you should see:
<hostname_or_IP_address>:0.0
Step 3
Insert the CTM Server Disk 1 installation CD and enter the following commands:
cdrom/cdrom0/Disk1/ctmsetup.sh
The setup program searches for Sun Microsystems JRE version 1.5.0_06 on your workstation.
Note
If JRE is not installed, the setup program starts the Java installation program. Follow the prompts to install JRE. Enter yes at the following binary license code agreement prompt:
Do you agree to the above license terms? [yes or no]
Then, continue this procedure.
Note
If the required Solaris patches are missing, you must install them manually. Click Cancel; then, click Quit. Download the patches from SunSolve Online at http://sunsolve.sun.com. After you install the patches, continue this procedure.
Wait for up to 60 seconds while the following message appears:
Please wait, Cisco Transport Manager Server Release 8.0 is being configured for your
system. This may take a moment...
Step 4
Click Next at the Introduction screen.
Step 5
At the License Agreement screen, read the license agreement and click the I accept the terms of the license agreement radio button. Click Next.
Step 6
At the Installation Options screen, choose New installation; then, click Next.
Step 7
At the Select Products to Install screen, check the Cisco Transport Manager server check box; then, click Next.
Note
The Web Server check box is selected automatically when you choose Cisco Transport Manager server. The web server allows you to use an HTTP connection to download files from the CTM server to the CTM client. The web server is also used to launch the online help. The web server is required for the CTM server.
Caution 
Do not check the other check boxes on the Select Products to Install screen.
Note
The license for CTM GateWay/CORBA is sold separately. If you are using this feature in a production environment, you must purchase a license. You can install CTM GateWay/CORBA when you install the CTM server; however, this section assumes that you are installing the two products separately. For more information, see Chapter 4, "Installing CTM GateWay/CORBA R8.0."
Step 8
At the Select Modules to Install screen, select individual modules or select all; then, click Next.
•
Optical Module: ONS 15xxx (inc. shelf controller)
•
Cisco MGX Voice Gateway
•
IOS XR Module: XR 12000, CRS-1 (inc. shelf controller)
•
IOS Module: Cisco 7600
•
All of the Above Modules
Note
•
The MDS 9000 module is a common module that will be installed with any selection.
•
You cannot install the Cisco 7600 module without /etc/resolv.conf on the workstation.
•
The Catalyst 6509 is included in the optical module and IOS XR module.
Step 9
At the Main Options screen, check the Check system settings, Create CTM database, and Install CTM server check boxes; then, click Next.
Step 10
At the Select Network Configuration screen, specify the size of your network; then, click Next.
Step 11
At the Update the System Parameters screen, check only the Optimize CTM server parameters check box; then, click Next.
Step 12
At the CTM Group Information & Sudo Installation screen, complete the following substeps:
a.
Enter the name of the UNIX group to which you want to assign administrator privileges.
b.
To install sudo, check the Install CTM Sudo check box. If you do not want to install sudo, uncheck the check box.
c.
Click Next.
Note
For information about the sudo feature, see 1.4.1 Overview of Sudo Commands, page 1-19.
Step 13
(For optical and Cisco 7600 modules only) At the FTP Information screen, complete the following substeps to configure an FTP account for software download operations:
a.
Enter the following information:
•
FTP username
•
FTP user password
•
Confirm FTP user password
•
FTP directory
b.
Check or uncheck the Create new FTP account check box. If checked, the FTP user will be created automatically on the CTM server workstation by the install script. If unchecked, it is assumed that an FTP user already exists on the CTM server workstation.
c.
Click Next.
Step 14
At the Server IP Address screen, specify an IP address for the CTM server; then, click Next.
Step 15
(For optical, IOS XR, and Cisco 7600 modules only) At the Configure TFTP Server screen, complete the following substeps if you want to enable TFTP:
a.
Check the Enable TFTP Server check box.
b.
Enter the TFTP directory name. The default is /tftpboot.
c.
Click Next.
Step 16
At the Database Information screen, specify the IP address of the database workstation and specify whether or not you want to install the database in ARCHIVELOG mode. Click Next.
Step 17
At the CTM Database Installation Directories screen, the setup program verifies that the directories exist as recommended in Table 2-1. Click Next.
Step 18
At the Destination Folder screen, specify where you want to install the CTM server. The default directory is /opt/CiscoTransportManagerServer. You can click Change to choose a different destination. After you specify your destination, click Next.
Note
If the destination directory that you specified is a new directory, you will receive the message "Specified directory does not exist, create it?" Click Yes.
Note
Do not specify any mount point as the target installation directory for the server installation, or the installation data might be lost when the workstation restarts.
Caution 
CTM checks for the /opt/CiscoTransportManagerServer directory or a symbolic link to it. If CTM cannot find the /opt/CiscoTransportManagerServer directory or a symbolic link, CTM creates a symbolic link automatically. Therefore, do not delete any instances of /opt/CiscoTransportManagerServer from your CTM file structure.
Step 19
The Pre-Installation Summary screen shows the items that will be installed. Click Install.
Step 20
At the Insert New Media screen, complete the following substeps:
a.
Eject the CTM Server Disk 1 installation CD, insert the CTM Server Disk 2 installation CD, and click Browse.
b.
The Select a Folder dialog box opens. Double-click cdrom; then, double-click cdrom0, and then single-click Disk2. The filename text box now reads /cdrom/cdrom0/Disk2.
c.
In the Select a Folder dialog box, click Select.
d.
In the Insert New Media screen, click OK.
Step 21
At the Insert New Media screen, complete the following substeps:
a.
Eject the CTM Server Disk 2 installation CD, insert the CTM Server Disk 3 installation CD, and click Browse.
b.
The Select a Folder dialog box opens. Double-click cdrom; then, double-click cdrom0, and single-click Disk3. The filename text box now reads /cdrom/cdrom0/Disk3.
c.
In the Select a Folder dialog box, click Select.
d.
In the Insert New Media screen, click OK.
Step 22
The Web Server Installation Summary screen summarizes the results of the web server installation. Click Next.
Step 23
The Install Complete screen summarizes the results of the installation. Click Done.
Step 24
As the root user, enter the following command to reboot the system. The CTM server starts automatically after rebooting:
Caution 
After you click the Done button, background processes continue to run for several minutes. Before rebooting, you must wait for the reboot message on the terminal where you started the installation. Depending on the server performance, the background processes can take up to 15 minutes before the reboot message appears. Rebooting the server before this message appears will break CTM functionalities.
Step 25
To verify that the CTM R8.0 server is running, enter the showctm command after the server reboots. The showctm command displays the CTM server version running as 8.0, followed by the build number. In the output, you will see two instances of "CTM Server," "SnmpTrapService," "SMService," and "Apache Web Server." This indicates that the CTM server is running. You should also see NE-specific processes, depending on your network. You might also see CTM GateWay/CORBA and CTM GateWay/TL1 instances.
2.1.4 Copying the Client Upgrade Files After the CTM Server Installation
You have two options for upgrading each client installation to the latest version of CTM that is on the server. You can choose to:
•
Manually upgrade each client installation. If you have a previously installed version of the CTM client, you must delete the directory where the previous client is installed before installing the CTM R8.0 client. See 5.1 Installing the CTM Client and Cisco Edge Craft on Microsoft Windows, page 5-2 or 5.4 Installing the CTM Client and Cisco Edge Craft on Sun Solaris, page 5-7 for more information.
•
Automatically upgrade each client when it connects to a server. During login, if the CTM client software version is older than the CTM server software version, the client will be prompted for upgrade. See 5.2 Starting the CTM Client in Microsoft Windows, page 5-5 or 5.5 Starting the CTM Client in Sun Solaris, page 5-9 for more information.
For this option you must copy the client installation files to the server. The CTM client and server installation files reside on separate installation CDs. Files for the Solaris client are located on Disk 1; files for the Windows client are located on Disk 2.
To copy the client installation files to the server, you must eject the CTM server CD, insert the CTM client CD, and run an automated script, CopyUpgradeFiles.sh, to copy the client installation files to a specific folder under the CTM server installation directory. To do this, log in as the root user and complete the following steps.
Note
The CTM server must be installed before completing the following steps.
Step 1
Enter the following commands to eject the CTM server installation CD:
Step 2
Insert the CTM client installation CD and enter the following command:
cdrom/cdrom0/ctmc/CopyUpgradeFiles.sh
You should see the following output:
Copying the client upgrade files can take several minutes.
Copying CTM Client upgrade files...
Copying Solaris client upgrade files
Solaris client upgrade files copied
Please insert CTM client Windows CD to CD ROM, Copy will continue in 60 seconds...
Could not find Window Client CD, Please insert CTM client Windows CD to continue
Copy will continue in 300 seconds...
Copying Windows client upgrade files
Done...All upgrade files have been copied to server successfully!
Please hit Enter key to return to the prompt mode
Note
This operation will occupy 800 MB of disk space.
2.2 Installing CTM R8.0 and Oracle9i on Separate Workstations
This section describes how to install the CTM R8.0 server and Oracle9i on separate Sun Solaris 10 servers.
Note
The C shell is assumed for all UNIX commands entered during the server installation.
2.2.1 Installing Oracle9i on the CTM Server Workstation
This section describes how to install the Oracle9i client software on a Sun Solaris 10 server to meet the CTM server requirements for a remote database configuration.
Log in as the root user on the workstation where the CTM server will run and complete the following steps:
Step 1
Enter the following command to verify that the disk directories shown in Table 2-2 exist:
Table 2-2 Disk Directories
Directory
|
Contents
|
/ctm_backup1
|
For the backed-up configuration files
|
/oraclesw9i
|
For the Oracle software
|
/tftpboot
|
For the TFTP directory
Note Disk partitioning is not required for /tftpboot, but the directory is required.
|
Step 2
If your system is already configured with the standard CTM partition names proceed to Step 3. If your system is not configured with the standard CTM partition names, enter the following commands to create soft links to your existing partitions:
ln -s /<partition_name_1> /ctm_backup
ln -s /<partition_name_2> /oraclesw9i
Step 3
Enter the following command to enable the xterm connection from the clients:
Step 4
Enter the following command to create a UNIX group for database administrators:
Step 5
Enter the following command to create a UNIX account to own the Oracle software:
useradd -g dba -m -s /bin/csh -d /oraclesw9i oracle
Step 6
Enter the following command to change the oracle user password:
Enter the new password; then, re-enter the password to confirm it.
Step 7
Insert the CTM Server Disk 1 installation CD.
Step 8
Enter the following command to copy the default profile to the Oracle home directory:
cp /cdrom/cdrom0/Disk1/InstData/Solaris/VM/cfg/{small | medium | large | highend}/.cshrc
/oraclesw9i/.cshrc
For example, to copy the default profile for a small network, enter:
cp /cdrom/cdrom0/Disk1/InstData/Solaris/VM/cfg/small/.cshrc /oraclesw9i/.cshrc
Step 9
Complete one of the following options, depending on your Oracle version:
Note
The Oracle patches 9.2.0.7 and 9.2.0.8 are available officially only for 64-bit. These patches are not available for 32-bit.
•
If you are installing 64-bit Oracle Enterprise Edition and 9.2.0.7, enter the following commands to copy the clientcustom_64bit.rsp response file to your workstation:
cp /cdrom/cdrom0/Disk1/clientcustom_64bit.rsp /oraclesw9i
cp /cdrom/cdrom0/Disk1/patchset_64bit_9207.rsp /oraclesw9i
•
If you are installing 64-bit Oracle Standard Edition and 9.2.0.7, enter the following commands to copy the clientcustom_std_64bit.rsp response file to your workstation:
cp /cdrom/cdrom0/Disk1/clientcustom_std_64bit.rsp /oraclesw9i
cp /cdrom/cdrom0/Disk1/patchset_64bit_9207.rsp /oraclesw9i
•
If you are installing 64-bit Oracle and 9.2.0.8, you must download the Oracle installation response file from Cisco.com.
Go to http://tools.cisco.com/support/downloads/pub/Redirect.x?mdfid=278875317 (which requires a registered Cisco.com username and password) and download the patchset_64bit_9208.rsp file. Then, complete one of the following options, depending on your Oracle version:
–
If you are installing 64-bit Oracle Enterprise Edition and 9.2.0.8, enter:
cp /cdrom/cdrom0/Disk1/clientcustom_64bit.rsp /oraclesw9i
Then, copy the downloaded patchset_64bit_9208.rsp file to /oraclesw9i.
–
If you are installing 64-bit Oracle Standard Edition and 9.2.0.8, enter:
cp /cdrom/cdrom0/Disk1/clientcustom_std_64bit.rsp /oraclesw9i
Then, copy the downloaded patchset_64bit_9208.rsp file to /oraclesw9i.
Step 10
Enter the following commands to change ownership of the Oracle software directories:
/usr/bin/chown -R oracle:dba /oraclesw9i
/usr/bin/chown -R oracle:dba /ctm_backup
Step 11
Enter the following commands to eject the CTM Server Disk 1 installation CD:
Step 12
Enter the following command to log in as the oracle user:
Tip
To verify the username, enter the id command.
Step 13
Insert disk one of the Oracle9i installation CDs.
Step 14
Enter the following command to set the display on your terminal:
setenv DISPLAY <hostname_or_IP_address>:0.0
Step 15
Enter the following command to verify that the display is set correctly:
In the output, you should see:
<hostname_or_IP_address>:0.0
Step 16
Enter the following command to point to the cdrom/cdrom0 directory:
Step 17
Depending on your Oracle version, complete one of the following options to install the Oracle client:
•
If you are installing 64-bit Oracle Enterprise Edition, enter:
./runInstaller -silent -responseFile /oraclesw9i/clientcustom_64bit.rsp
•
If you are installing 64-bit Oracle Standard Edition, enter:
./runInstaller -silent -responseFile /oraclesw9i/clientcustom_std_64bit.rsp
Step 18
The Oracle Universal Installer screen prompts you to run the /tmp/orainstRoot.sh script. Log into another terminal window as the root user and enter the following command:
Note
The Installer does not prompt you to run the /tmp/orainstRoot.sh script if you have a previous version of Oracle installed on your workstation or if the /var/opt/oracle/oratab file already exists on your workstation.
Step 19
Enter the following command to run the orainstRoot.sh script:
Step 20
Return to the Oracle Universal Installer screen and click Continue.
Note
The Oracle Universal Installer process might take up to 5 minutes.
Step 21
You are prompted to run /oraclesw9i/product/9.2/root.sh from another window. Log into another terminal window as the root user and enter the following command:
cd /oraclesw9i/product/9.2
Step 22
Enter the following command to run the root.sh script:
Step 23
At the prompt for the local bin directory, enter the following command in the root.sh script:
/oraclesw9i/product/9.2/local/bin
Step 24
Return to the Oracle Setup Privileges screen and click OK.
Step 25
Enter the following commands to eject the CD:
2.2.1.1 Downloading the 9.2.0.7 Patch for Oracle9i on the CTM Server Workstation
CTM R8.0 supports both the 9.2.0.7 and 9.2.0.8 patches for Oracle9i. Complete this section if you want to use the 9.2.0.7 patch for Oracle9i.
If you already have the 9.2.0.7 or 9.2.0.8 patch for Oracle9i installed, you can skip this section. To find out which patches have been installed, enter the following commands as the oracle user:
cd $ORACLE_HOME/OPatch/
./opatch lsinventory -detail | grep -i "oracle9i patch"
The output shows:
Step 1
Go to http://metalink.oracle.com and click Login to MetaLink. Enter your Oracle MetaLink username and password.
Step 2
Click Patches.
Step 3
Click Simple Search.
Step 4
In the Search by Patch Number(s) field, enter 4163445.
Step 5
In the Platform or Language field, choose Solaris Operating System (SPARC 64-bit).
Step 6
Click Go.
Step 7
Click Download. Download p4163445_92070_SOLARIS64.zip.
Step 8
As the oracle user, save the patch to the /oraclesw9i directory.
Step 9
As the oracle user, enter the following commands to prepare the patch set:
unzip p4163445_92070_SOLARIS64.zip
2.2.1.2 Installing the 9.2.0.7 Patch for Oracle9i on the CTM Server Workstation
If you already have the 9.2.0.7 or 9.2.0.8 patch for Oracle9i installed, you can skip this section.
Step 1
Enter the following command to log into the database workstation as the oracle user:
Step 2
If you are using an xterm window or a remote host, enter the following command to set the DISPLAY variable:
setenv DISPLAY <hostname_or_IP_address>:0.0
Step 3
Enter the following command to verify that the display is set correctly:
In the output, you should see:
<hostname_or_IP_address>:0.0
Step 4
Enter the following commands to install the 9.2.0.7 patch:
./runInstaller -silent -responseFile /oraclesw9i/patchset_64bit_9207.rsp
Note
If the Disk Location screen pops up, click Cancel.
Step 5
At the prompt to run the root.sh script, log into another terminal window as the root user and enter the following commands:
cd /oraclesw9i/product/9.2
Step 6
At the prompt for the local bin directory, enter the following path in the root.sh script:
/oraclesw9i/product/9.2/local/bin
Step 7
The script asks if you would like to overwrite the existing files. Confirm the request.
Step 8
After the script finishes running, return to the prompt popup window and click OK.
Step 9
Click Exit.
Step 10
Enter the following commands to remove the 9.2.0.7 patch installation files:
rm -rf /oraclesw9i/p4163445_92070_SOLARIS64.zip
rm -rf /oraclesw9i/README.html
2.2.1.3 Downloading the 9.2.0.8 Patch for Oracle9i on the CTM Server Workstation
CTM R8.0 supports both the 9.2.0.7 and 9.2.0.8 patches for Oracle9i. Complete this section if you want to use the 9.2.0.8 patch for Oracle9i.
If you already have the 9.2.0.7 or 9.2.0.8 patch for Oracle9i installed, you can skip this section. To find out which patches have been installed, enter the following commands as the oracle user:
cd $ORACLE_HOME/OPatch/
./opatch lsinventory -detail | grep -i "oracle9i patch"
The output shows:
Step 1
Go to http://metalink.oracle.com and click Login to MetaLink. Enter your Oracle MetaLink username and password.
Step 2
Click Patches.
Step 3
Click Simple Search.
Step 4
In the Search by Patch Number(s) field, enter 4547809.
Step 5
In the Platform or Language field, choose Solaris Operating System (SPARC 64-bit).
Step 6
Click Go.
Step 7
Click Download. Download p4547809_92080_SOLARIS64.zip.
Step 8
As the oracle user, save the patch to the /oraclesw9i directory.
Step 9
As the oracle user, enter the following commands to prepare the patch set:
unzip p4547809_92080_SOLARIS64.zip
2.2.1.4 Installing the 9.2.0.8 Patch for Oracle9i on the CTM Server Workstation
If you already have the 9.2.0.7 or 9.2.0.8 patch for Oracle9i installed, you can skip this section.
Step 1
Enter the following command to log into the database workstation as the oracle user:
Step 2
If you are using an xterm window or a remote host, enter the following command to set the DISPLAY variable:
setenv DISPLAY <hostname_or_IP_address>:0.0
Step 3
Enter the following command to verify that the display is set correctly:
In the output, you should see:
<hostname_or_IP_address>:0.0
Step 4
Enter the following commands to install the 9.2.0.8 patch:
./runInstaller -silent -responseFile /oraclesw9i/patchset_64bit_9208.rsp
Note
If the Disk Location screen pops up, click Cancel.
Step 5
At the prompt to run the root.sh script, log into another terminal window as the root user and enter the following commands:
cd /oraclesw9i/product/9.2
Step 6
At the prompt for the local bin directory, enter the following path in the root.sh script:
/oraclesw9i/product/9.2/local/bin
Step 7
The script asks if you would like to overwrite the existing files. Confirm the request.
Step 8
After the script finishes running, return to the prompt popup window and click OK.
Step 9
Click Exit.
2.2.1.5 Downloading the Oracle Patch Installer on the CTM Server Workstation (Required Only for 9.2.0.7)
The Oracle patch installer is used with 9.2.0.7 to install additional Oracle patches. If you have already installed the Oracle patch installer or if you are using the 9.2.0.8 patch, you can skip this section.
You must log in as an oracle UNIX user to download and unzip files.
Step 1
Go to http://metalink.oracle.com and click Login to MetaLink. Enter your Oracle MetaLink username and password.
Step 2
Click Patches.
Step 3
Click Simple Search.
Step 4
In the Search by Patch Number(s) field, enter 2617419.
Step 5
In the Platform or Language field, choose Solaris Operating System (SPARC 64-bit).
Step 6
Click Go.
Step 7
Click Download.
Step 8
In the list of patches returned, click the first patch, which has the latest release number.
Note
Do not be concerned if the patch refers to a later version of Oracle.
Step 9
In the Patch 2617419 window, go to the Platform or Language field and choose Generic Platform (the default).
Step 10
Click Download.
Step 11
Save the patch to the /oraclesw9i/product/9.2 directory.
Step 12
Enter the following commands to change the patch ownership and unzip the patch:
chown oracle:dba /oraclesw9i/product/9.2/p2617419_10102_GENERIC.zip
cd /oraclesw9i/product/9.2
unzip p2617419_10102_GENERIC.zip
2.2.1.6 Setting Up the UNIX Environment on the CTM Server Workstation
Step 1
Insert the CTM Server Disk 1 installation CD.
Step 2
If the tnsnames.ora file in the /oraclesw9i/product/9.2/network/admin directory exists, enter the following command to copy it from the CTM Server Disk 1 installation CD:
cp /cdrom/cdrom0/Disk1/InstData/Solaris/VM/cfg/{small | medium | large |
highend}/tnsnames.ora /oraclesw9i/product/9.2/network/admin/tnsnames.ora
Step 3
If the listener.ora file in the /oraclesw9i/product/9.2/network/admin directory exists, enter the following command to copy it from the CTM Server Disk 1 installation CD:
cp /cdrom/cdrom0/Disk1/InstData/Solaris/VM/cfg/{small | medium | large |
highend}/listener.ora /oraclesw9i/product/9.2/network/admin/listener.ora
Step 4
If the sqlnet.ora file in the /oraclesw9i/product/9.2/network/admin directory exists, enter the following command to copy it from the CTM Server Disk 1 installation CD:
cp /cdrom/cdrom0/Disk1/InstData/Solaris/VM/cfg/{small | medium | large |
highend}/sqlnet.ora /oraclesw9i/product/9.2/network/admin/sqlnet.ora
Step 5
Enter the following commands to change file permissions and ownership:
chmod +w /oraclesw9i/product/9.2/network/admin/*
chown oracle:dba /oraclesw9i/product/9.2/network/admin/*
Step 6
Edit the tnsnames.ora file by replacing the parameter newdbname with the default CTM SID (which is CTM) and the parameter CTMhostname with the hostname or IP address of the workstation where you will install the CTM database.
Note
There are multiple instances of the parameter newdbname, and you must replace all instances with CTM.
Step 7
Edit the listener.ora file by replacing the parameter newdbname with the default CTM SID (which is CTM) and the parameter CTMhostname with the hostname or IP address of the workstation where you will install the CTM database.
Note
There are multiple instances of the parameter newdbname, and you must replace all instances with CTM.
Step 8
Edit the /var/opt/oracle/oratab file by adding the following line as the first line in the file:
CTM:/oraclesw9i/product/9.2:N
Note
The default Oracle SID is CTM.
2.2.2 Updating the System Parameters on the CTM Server Workstation
To update the system parameters, log in as the root user on the workstation where the CTM server will run and complete the following steps:
Step 1
If you do not have a TFTP directory, complete the following substeps to create one:
a.
Enter the following commands:
b.
Verify that the TFTP entry in the /etc/inetd.conf file is not commented.
The following example represents a typical TFTP entry in the /etc/inetd.conf file. In this example, the TFTP directory is /tftpboot:
tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
c.
If the TFTP entry is commented, remove the pound sign (#) at the beginning of the line to uncomment it.
Step 2
Insert the CTM Server Disk 1 installation CD and enter the following commands:
cdrom/cdrom0/Disk1/ctmsetup.sh
The CTM server installation begins. Wait for up to 60 seconds while the following message appears:
Please wait, Cisco Transport Manager Server Release 8.0 is being configured for your
system. This may take a moment...
The setup program searches for Sun Microsystems JRE version 1.5.0_06 on your workstation.
Note
If JRE is not installed, the setup program starts the Java installation program. Follow the prompts to install JRE. Enter yes at the following binary license code agreement prompt:
Do you agree to the above license terms? [yes or no]
Then, continue this procedure.
Step 3
Click Next at the Introduction screen.
Step 4
At the License Agreement screen, read the license agreement and click the I accept the terms of the license agreement radio button. Click Next.
Step 5
At the Installation Options screen, choose New installation; then, click Next.
Step 6
At the Select Products to Install screen, check the Cisco Transport Manager server check box. The Web Server check box is selected by default. Click Next.
Step 7
At the Select Modules to Install screen, select individual modules or select all; then, click Next.
•
Optical Module: ONS 15xxx (inc. shelf controller)
•
Cisco MGX Voice Gateway
•
IOS XR Module: XR 12000, CRS-1 (inc. shelf controller)
•
IOS Module: Cisco 7600
•
All of the Above Modules
Note
•
The MDS 9000 module is a common module that will be installed with any selection.
•
Additional individual modules can be installed after the original module installation is complete. For installation of additional modules, the server will need to be reinstalled but the database does not need to be recreated.
•
You cannot install the Cisco 7600 module without /etc/resolv.conf on the workstation.
Step 8
At the Main Options screen, check only the Check system settings check box; then, click Next.
Caution 
Make sure to uncheck the other check boxes on the Main Options screen.
Step 9
At the Select Network Configuration screen, specify the size of your network; then, click Next.
Note
If you installed Oracle Standard Edition, you can only choose Small.
Step 10
At the Update the System Parameters screen, check only the Optimize CTM server parameters check box; then, click Next.
Step 11
At the CTM Group Information & Sudo Installation screen, confirm the name of the UNIX group to which you want to assign administrator privileges. Check or uncheck the Install CTM Sudo check box. Click Next.
Step 12
(For optical and Cisco 7600 modules only) At the FTP Information screen, accept the default values; then, click Next.
Step 13
At the warning prompt, click Exit Setup and enter the following command to reboot the system:
2.2.3 Installing the CTM R8.0 Server on the CTM Server Workstation
To install the CTM R8.0 server, log in as the root user on the workstation where the CTM server will run and complete the following steps:
Step 1
Insert the CTM Server Disk 1 installation CD and enter the following commands:
cdrom/cdrom0/Disk1/ctmsetup.sh
The CTM server installation begins. Wait for up to 60 seconds while the following message appears:
Please wait, Cisco Transport Manager Server Release 8.0 is being configured for your
system. This may take a moment...
Step 2
Click Next at the Introduction screen.
Step 3
At the License Agreement screen, read the license agreement and click the I accept the terms of the license agreement radio button. Click Next.
Step 4
At the Installation Options screen, choose New installation; then, click Next.
Step 5
At the Select Products to Install screen, check the Cisco Transport Manager server check box. The Web Server check box is selected by default. Click Next.
Step 6
At the Select Modules to Install screen, select individual modules or select all; then, click Next.
•
Optical Module: ONS 15xxx (inc. shelf controller)
•
Cisco MGX Voice Gateway
•
IOS XR Module: XR 12000, CRS-1 (inc. shelf controller)
•
IOS Module: Cisco 7600
•
All of the Above Modules
Note
•
The MDS 9000 module is a common module that will be installed with any selection.
•
You cannot install the Cisco 7600 module without /etc/resolv.conf on the workstation.
•
The Catalyst 6509 is included in the optical module and the IOS XR module.
Step 7
At the Main Options screen, check the Install CTM server check box; then, click Next.
Caution 
Make sure to uncheck the other check boxes on the Main Options screen.
Step 8
At the Select Network Configuration screen, specify the size of your network; then, click Next.
Note
If you installed Oracle Standard Edition, you can only choose Small.
Step 9
At the CTM Group Information & Sudo Installation screen, confirm the name of the UNIX group to which you want to assign administrator privileges. Check or uncheck the Install CTM Sudo check box. Click Next.
Step 10
(For optical and Cisco 7600 modules only) At the FTP Information screen, complete the following substeps to configure an FTP account for software download operations:
a.
Enter the following information:
•
FTP username
•
FTP user password
•
Confirm FTP user password
•
FTP directory
b.
Check or uncheck the Create new FTP account check box. If checked, the FTP user will be created automatically on the CTM server workstation by the install script. If unchecked, it is assumed that an FTP user already exists on the CTM server workstation.
c.
Click Next.
Step 11
At the Server IP Address screen, accept the default value and click Next.
Note
If you are installing the MGX module, you are prompted for the hostname, which is editable.
Step 12
(For optical, IOS XR, and Cisco 7600 modules only) At the Configure TFTP screen, complete the following substeps if you want to enable TFTP:
a.
Check the Enable TFTP Server check box.
b.
Enter the TFTP directory name. The default is /tftpboot.
c.
Click Next.
Step 13
At the Specify CTM Database to Connect to screen, enter the IP address or hostname of the workstation where you will install the CTM database; then, click Next.
Caution 
Be sure to enter the correct IP address or hostname. Do not simply accept the default.
Note
If you entered a hostname, the setup program automatically translates the hostname to a physical IP address and prompts you to confirm the address. Click Yes.
Step 14
At the Destination Folder screen, specify where you want to install the CTM server. The default directory is /opt/CiscoTransportManagerServer. You can click Change to choose a different destination. After you specify your destination, click Next.
Note
If the destination directory that you specified is a new directory, you will receive the message "Specified directory does not exist, create it?" Click Yes.
Note
Do not specify any mount point as the target installation directory for the server installation, or the installation data might be lost when the workstation restarts.
Caution 
CTM checks for the /opt/CiscoTransportManagerServer directory or a symbolic link to it. If CTM cannot find the /opt/CiscoTransportManagerServer directory or a symbolic link, CTM creates a symbolic link automatically. Therefore, do not delete any instances of /opt/CiscoTransportManagerServer from your CTM file structure.
Step 15
The Pre-Installation Summary screen shows the items that will be installed. Click Install.
Step 16
At the Insert New Media screen, complete the following substeps:
a.
Eject the CTM Server Disk 1 installation CD, insert the CTM Server Disk 2 installation CD, and click Browse.
b.
The Select a Folder dialog box opens. Double-click cdrom; then, single-click cdrom0. The filename text box now reads /cdrom/cdrom0.
c.
In the Select a Folder dialog box, click Select.
d.
In the Insert New Media screen, click OK.
Step 17
The Web Server Installation Summary screen summarizes the results of the web server installation. Click Next.
Step 18
The Install Complete screen summarizes the results of the installation. Click Done.
Step 19
After you click the Done button, background processes continue to run for several minutes. When the installation is complete, the following message is displayed:
Installation complete. Please see <install_directory>/install.log for details.
Please REBOOT THE SYSTEM before starting Cisco Transport Manager Server
Do not reboot the system at this time. Before rebooting, you must install the CTM database, which you will do in a later section.
2.2.4 Copying the Client Upgrade Files After the CTM Server Installation
You have two options for upgrading each client installation to the latest version of CTM that is on the server. You can choose to:
•
Manually upgrade each client installation. If you have a previously installed version of the CTM client, you must delete the directory where the previous client is installed before installing the CTM R8.0 client. See 5.1 Installing the CTM Client and Cisco Edge Craft on Microsoft Windows, page 5-2 or 5.4 Installing the CTM Client and Cisco Edge Craft on Sun Solaris, page 5-7 for more information.
•
Automatically upgrade each client when it connects to a server. During login, if the CTM client software version is older than the CTM server software version, the client will be prompted for upgrade. See 5.2 Starting the CTM Client in Microsoft Windows, page 5-5 or 5.5 Starting the CTM Client in Sun Solaris, page 5-9 for more information.
For this option you must copy the client installation files to the server. The CTM client and server installation files reside on separate installation CDs. To copy the client installation files to the server, you must eject the CTM server CD, insert the CTM client CD, and run an automated script, CopyUpgradeFiles.sh, to copy the client installation files to a specific folder under the CTM server installation directory. To do this, log in as the root user and complete the following steps.
Note
The CTM server must be installed before completing the following steps.
Step 1
Enter the following commands to eject the CTM server installation CD:
Step 2
Insert the CTM client installation CD and enter the following command:
cdrom/cdrom0/ctmc/CopyUpgradeFiles.sh
You should see the following output:
Copying the client upgrade files can take several minutes.
Copying CTM Client upgrade files...
Copying Solaris client upgrade files
Solaris client upgrade files copied
Please insert CTM client Windows CD to CD ROM, Copy will continue in 60 seconds...
Could not find Window Client CD, Please insert CTM client Windows CD to continue
Copy will continue in 300 seconds...
Copying Windows client upgrade files
Done...All upgrade files have been copied to server successfully!
Please hit Enter key to return to the prompt mode
Note
This operation will occupy 800 MB of disk space.
2.2.5 Installing Oracle9i on the CTM Database Workstation
This section provides supporting information to assist you with the Oracle9i installation. Use this information with Oracle's documentation.
2.2.5.1 Setting the Environment for Installation on the CTM Database Workstation
To set the environment for installation, log in as the root user on the workstation where the CTM database will run and complete the following steps:
Step 1
Enter the following command to verify that the disk directories shown in Table 2-3 exist:
Table 2-3 Disk Directories
Directory
|
Contents
|
/db01
|
For the system tablespace used by Oracle
|
/db02
|
For the basedata tablespace, the alarmdata tablespace, the eventdata tablespace used by CTM, and the system tablespace used by Oracle
|
/db03
|
For the data tablespace used by CTM
|
/db04
|
For the INDEX tablespace used by CTM
|
/db051
|
For the archived logs
|
/ctm_backup2
|
For the backed-up database and configuration files
|
/oraclesw9i
|
For the Oracle software
|
/tftpboot
|
For the TFTP directory
Note Disk partitioning is not required for /tftpboot, but the directory is required.
|
Step 2
If your system is already configured with the standard CTM partition names (for example, /db01, /db02) proceed to Step 3. If your system is not configured with the standard CTM partition names, enter the following commands to create soft links to your existing partitions:
ln -s /<partition_name_1> /db01
ln -s /<partition_name_2> /db02
ln -s /<partition_name_3> /db03
ln -s /<partition_name_4> /db04
ln -s /<partition_name_5> /db05
ln -s /<partition_name_6> /ctm_backup
ln -s /<partition_name_7> /oraclesw9i
Step 3
Enter the following command to create a UNIX group for database administrators:
Step 4
Enter the following command to create a UNIX account to own the Oracle software:
useradd -g dba -m -s /bin/csh -d /oraclesw9i oracle
Step 5
Enter the following command to change the oracle user password:
Enter the new password; then, re-enter the password to confirm it.
Step 6
Insert the CTM Server Disk 1 installation CD and enter the following command:
Step 7
Enter the following command to list the files in the cdrom/cdrom0/Disk1 directory:
Note
If a list of files is returned, it indicates that you can access the CD-ROM successfully. If no files are visible, or if an error message is returned, refer to Sun Solaris documentation for mounting the CD-ROM.
Step 8
Enter the following command to copy the default profile to the Oracle home directory:
cp /cdrom/cdrom0/Disk1/InstData/Solaris/VM/cfg/{small | medium | large | highend}/.cshrc
/oraclesw9i/.cshrc
For example, to copy the default profile for a small network, enter:
cp /cdrom/cdrom0/Disk1/InstData/Solaris/VM/cfg/small/.cshrc /oraclesw9i/.cshrc
Note
If you installed Oracle Standard Edition, you must copy the default profile for a small network.
Step 9
Enter the following command to determine what type of applications you can run on your OS:
If the output reads "64-bit sparcv9 kernel modules," you can run both 64-bit and 32-bit applications. If the output reads "32-bit sparcv9 kernel modules," you can run only 32-bit applications.
Note
It is recommended that you be able to run 64-bit applications.
Step 10
Complete one of the following options, depending on your Oracle version:
Note
The Oracle patches 9.2.0.7 and 9.2.0.8 are available officially only for 64-bit. These patches are not available for 32-bit.
•
If you are installing 64-bit Oracle Enterprise Edition and 9.2.0.7, enter:
cp /cdrom/cdrom0/Disk1/svrcustom_64bit.rsp /oraclesw9i
cp /cdrom/cdrom0/Disk1/patchset_64bit_9207.rsp /oraclesw9i
•
If you are installing 64-bit Oracle Standard Edition and 9.2.0.7, enter:
cp /cdrom/cdrom0/Disk1/svrcustom_std_64bit.rsp /oraclesw9i
cp /cdrom/cdrom0/Disk1/patchset_64bit_9207.rsp /oraclesw9i
•
If you are installing 64-bit Oracle and 9.2.0.8, you must download the Oracle installation response file from Cisco.com.
Go to http://tools.cisco.com/support/downloads/pub/Redirect.x?mdfid=278875317 (which requires a registered Cisco.com username and password) and download the patchset_64bit_9208.rsp file. Then, complete one of the following options, depending on your Oracle version:
–
If you are installing 64-bit Oracle Enterprise Edition and 9.2.0.8, enter:
cp /cdrom/cdrom0/Disk1/svrcustom_64bit.rsp /oraclesw9i
Then, copy the downloaded patchset_64bit_9208.rsp file to /oraclesw9i.
–
If you are installing 64-bit Oracle Standard Edition and 9.2.0.8, enter:
cp /cdrom/cdrom0/Disk1/svrcustom_std_64bit.rsp /oraclesw9i
Then, copy the downloaded patchset_64bit_9208.rsp file to /oraclesw9i.
Step 11
Enter the following commands to change ownership of the Oracle software directories:
/usr/bin/chown -R oracle:dba /oraclesw9i
/usr/bin/chown -R oracle:dba /db01
/usr/bin/chown -R oracle:dba /db02
/usr/bin/chown -R oracle:dba /db03
/usr/bin/chown -R oracle:dba /db04
/usr/bin/chown -R oracle:dba /db05
/usr/bin/chown -R oracle:dba /ctm_backup
Step 12
Enter the following commands to eject the CTM Server Disk 1 installation CD:
Step 13
Enter the following commands to create a temporary staging area:
Step 14
Enter the following command on both the database workstation and the server workstation:
Step 15
Comment the "stty" statement from the /.cshrc file, if it exists.
Step 16
If you are using an xterm window or a remote host, enter the following command to enable the xterm connection from the clients:
2.2.5.2 Installing Oracle9i on the CTM Database Workstation
Note
The C shell is assumed for all UNIX commands.
To install Oracle9i on the workstation where the CTM database will run:
Step 1
Enter the following command to log in as the oracle user:
Tip
To verify the username, enter the id command.
Step 2
Insert disk one of the Oracle9i installation CDs in the CD-ROM drive.
Step 3
Enter the following command to set the display on your terminal:
setenv DISPLAY <hostname_or_IP_address>:0.0
Step 4
Enter the following command to verify that the display is set correctly:
In the output, you should see:
<hostname_or_IP_address>:0.0
Step 5
Depending on your Oracle version, complete one of the following options to start the Oracle Installer:
•
If you are installing 64-bit Oracle Enterprise Edition, enter:
./runInstaller -silent -responseFile /oraclesw9i/svrcustom_64bit.rsp &
•
If you are installing 64-bit Oracle Standard Edition, enter:
./runInstaller -silent -responseFile /oraclesw9i/svrcustom_std_64bit.rsp &
Step 6
At the Inventory Location screen, click OK.
Step 7
The Oracle Universal Installer screen appears and prompts you to run the /tmp/orainstRoot.sh script. Log into another terminal window as the root user and enter the following command:
Note
The Installer does not prompt you to run the /tmp/orainstRoot.sh script if you have a previous version of Oracle installed on your workstation or if the /var/opt/oracle/oratab file already exists on your workstation.
Step 8
Enter the following command to run the orainstRoot.sh script:
Step 9
Return to the Oracle Universal Installer screen and click Continue.
Note
The Oracle Universal Installer process might take up to 5 minutes.
Step 10
The Disk Location dialog box prompts you for disk two of the Oracle9i installation CDs. Return to the terminal window where you ran the ./runInstaller command and press Return on your keyboard to bring up the command prompt.
Step 11
Enter the following command at the command prompt:
Step 12
Remove disk one and insert disk two of the Oracle9i installation CDs.
Step 13
Minimize the terminal window.
Step 14
Return to the Disk Location dialog box and change the path to read:
Click OK.
Step 15
The Disk Location dialog box prompts you for disk three of the Oracle9i installation CDs. Return to the terminal window where you ran the ./runInstaller command and press Return on your keyboard to bring up the command prompt.
Step 16
Enter the following command at the command prompt:
Step 17
Remove disk two and insert disk three of the Oracle9i installation CDs.
Step 18
Minimize the terminal window.
Step 19
Return to the Disk Location dialog box and change the path to read:
Click OK.
Step 20
You are prompted to run /oraclesw9i/product/9.2/root.sh from another window. Log into another terminal window as the root user and enter the following command:
cd /oraclesw9i/product/9.2
Step 21
Enter the following command to run the root.sh script:
Step 22
At the prompt for the local bin directory, enter the following path in the root.sh script:
Note
The /oraclesw9i/product/9.2/local/bin directory must be created before running the root.sh script.
/oraclesw9i/product/9.2/local/bin
Step 23
Return to the Oracle Setup Privileges screen and click OK.
Step 24
Enter the following command to eject the CD:
2.2.5.3 Downloading the 9.2.0.7 Patch for Oracle9i on the CTM Database Workstation
CTM R8.0 supports both the 9.2.0.7 and 9.2.0.8 patches for Oracle9i. Complete this section if you want to use the 9.2.0.7 patch for Oracle9i.
If you already have the 9.2.0.7 or 9.2.0.8 patch for Oracle9i installed, you can skip this section. To find out which patches have been installed, enter the following commands as the oracle user:
cd $ORACLE_HOME/OPatch/
./opatch lsinventory -detail | grep -i "oracle9i patch"
The output shows:
Step 1
Go to http://metalink.oracle.com and click Login to MetaLink. Enter your Oracle MetaLink username and password.
Step 2
Click Patches.
Step 3
Click Simple Search.
Step 4
In the Search by Patch Number(s) field, enter 4163445.
Step 5
In the Platform or Language field, choose Solaris Operating System (SPARC 64-bit).
Step 6
Click Go.
Step 7
Click Download. Download p4163445_92070_SOLARIS64.zip.
Step 8
As the oracle user, save the patch to the /oraclesw9i directory.
Step 9
As the root user, enter the following commands to prepare the patch set:
unzip p4163445_92070_SOLARIS64.zip
2.2.5.4 Installing the 9.2.0.7 Patch for Oracle9i on the CTM Database Workstation
If you already have the 9.2.0.7 or 9.2.0.8 patch for Oracle9i installed, you can skip this section.
Step 1
Enter the following command to log into the database workstation as the oracle user:
Step 2
If you are using an xterm window or a remote host, enter the following command to set the DISPLAY variable:
setenv DISPLAY <hostname_or_IP_address>:0.0
Step 3
Enter the following command to verify that the display is set correctly:
In the output, you should see:
<hostname_or_IP_address>:0.0
Step 4
Enter the following commands to install the 9.2.0.7 patch:
./runInstaller -silent -responseFile /oraclesw9i/patchset_64bit_9207.rsp
Note
If the Disk Location screen pops up, click Cancel.
Step 5
At the prompt to run the root.sh script, log into another terminal window as the root user and enter the following commands:
cd /oraclesw9i/product/9.2
Step 6
At the prompt for the local bin directory, enter the following path in the root.sh script:
/oraclesw9i/product/9.2/local/bin
Step 7
The script asks if you would like to overwrite the existing files. Confirm the request.
Step 8
After the script finishes running, return to the prompt popup window and click OK.
Step 9
Click Exit.
Step 10
Enter the following commands to remove the 9.2.0.7 patch installation files:
rm -rf /oraclesw9i/p4163445_92070_SOLARIS64.zip
rm -rf /oraclesw9i/README.html
2.2.5.5 Downloading the 9.2.0.8 Patch for Oracle9i on the CTM Database Workstation
CTM R8.0 supports both the 9.2.0.7 and 9.2.0.8 patches for Oracle9i. Complete this section if you want to use the 9.2.0.8 patch for Oracle9i.
If you already have the 9.2.0.7 or 9.2.0.8 patch for Oracle9i installed, you can skip this section. To find out which patches have been installed, enter the following commands as the oracle user:
cd $ORACLE_HOME/OPatch/
./opatch lsinventory -detail | grep -i "oracle9i patch"
The output shows:
Step 1
Go to http://metalink.oracle.com and click Login to MetaLink. Enter your Oracle MetaLink username and password.
Step 2
Click Patches.
Step 3
Click Simple Search.
Step 4
In the Search by Patch Number(s) field, enter 4547809.
Step 5
In the Platform or Language field, choose Solaris Operating System (SPARC 64-bit).
Step 6
Click Go.
Step 7
Click Download. Download p4547809_92080_SOLARIS64.zip.
Step 8
As the oracle user, save the patch to the /oraclesw9i directory.
Step 9
As the root user, enter the following commands to prepare the patch set:
unzip p4547809_92080_SOLARIS64.zip
2.2.5.6 Installing the 9.2.0.8 Patch for Oracle9i on the CTM Database Workstation
If you already have the 9.2.0.7 or 9.2.0.8 patch for Oracle9i installed, you can skip this section.
Step 1
Enter the following command to log into the database workstation as the oracle user:
Step 2
If you are using an xterm window or a remote host, enter the following command to set the DISPLAY variable:
setenv DISPLAY <hostname_or_IP_address>:0.0
Step 3
Enter the following command to verify that the display is set correctly:
In the output, you should see:
<hostname_or_IP_address>:0.0
Step 4
Enter the following commands to install the 9.2.0.8 patch:
./runInstaller -silent -responseFile /oraclesw9i/patchset_64bit_9208.rsp
Note
If the Disk Location screen pops up, click Cancel.
Step 5
At the prompt to run the root.sh script, log into another terminal window as the root user and enter the following commands:
cd /oraclesw9i/product/9.2
Step 6
At the prompt for the local bin directory, enter the following path in the root.sh script:
/oraclesw9i/product/9.2/local/bin
Step 7
The script asks if you would like to overwrite the existing files. Confirm the request.
Step 8
After the script finishes running, return to the prompt popup window and click OK.
Step 9
Click Exit.
Step 10
Enter the following commands to remove the 9.2.0.8 patch installation files:
rm /oraclesw9i/p4547809_92080_SOLARIS64.zip
rm /oraclesw9i/README.html
2.2.5.7 Downloading the Oracle Patch Installer on the CTM Database Workstation (Required Only for 9.2.0.7)
The Oracle patch installer is used with 9.2.0.7 to install additional Oracle patches. If you have already installed the Oracle patch installer or if you are using the 9.2.0.8 patch, you can skip this section.
You must log in as an oracle UNIX user to download and unzip files.
Step 1
Go to http://metalink.oracle.com and click Login to MetaLink. Enter your Oracle MetaLink username and password.
Step 2
Click Patches.
Step 3
Click Simple Search.
Step 4
In the Search by Patch Number(s) field, enter 2617419.
Step 5
In the Platform or Language field, choose Solaris Operating System (SPARC 64-bit).
Step 6
Click Go.
Step 7
Click Download.
Step 8
In the list of patches returned, click the first patch, which has the latest release number.
Note
Do not be concerned if the patch refers to a later version of Oracle.
Step 9
In the Patch 2617419 window, go to the Platform or Language field and choose Generic Platform (the default).
Step 10
Click Download.
Step 11
Save the patch to the /oraclesw9i/product/9.2 directory.
Step 12
Enter the following commands to change the patch ownership and unzip the patch:
chown oracle:dba /oraclesw9i/product/9.2/p2617419_10102_GENERIC.zip
cd /oraclesw9i/product/9.2
unzip p2617419_10102_GENERIC.zip
2.2.6 Updating the System Parameters on the CTM Database Workstation
Note
The C shell is assumed for all UNIX commands.
To update the system parameters, log in as the root user on the workstation where the CTM database will run and complete the following steps:
Step 1
If you are using an xterm window or a remote host, enter the following command to set the DISPLAY variable:
setenv DISPLAY <hostname_or_IP_address>:0.0
Step 2
Enter the following command to verify that the display is set correctly:
In the output, you should see:
<hostname_or_IP_address>:0.0
Step 3
Insert the CTM Server Disk 1 installation CD and enter the following commands:
cdrom/cdrom0/Disk1/ctmsetup.sh
The setup program searches for Sun Microsystems JRE version 1.5.0_06 on your workstation.
Note
If JRE is not installed, the setup program starts the Java installation program. Follow the prompts to install JRE. Enter yes at the following binary license code agreement prompt:
Do you agree to the above license terms? [yes or no]
Then, continue this procedure.
Note
If the required Solaris patches are missing, you must install them manually. Click Cancel; then, click Quit. Download the patches from SunSolve Online at http://sunsolve.sun.com. After you install the patches, continue this procedure.
This website is Copyright © 1994-2008, Sun Microsystems, Inc. All rights reserved.
Wait for up to 60 seconds while the following message appears:
Please wait, Cisco Transport Manager Server Release 8.0 is being configured for your
system. This may take a moment...
Step 4
Click Next at the Introduction screen.
Step 5
At the License Agreement screen, read the license agreement and click the I accept the terms of the license agreement radio button. Click Next.
Step 6
At the Installation Options screen, choose New installation; then, click Next.
Step 7
At the Select Products to install screen, check the Cisco Transport Manager server check box; then, click Next.
Note
The Web Server check box is selected automatically when you choose Cisco Transport Manager server. The web server allows you to use an HTTP connection to download files from the CTM server to the CTM client. The web server is also used to launch the online help. The web server is required for the CTM server.
Note
The license for CTM GateWay/CORBA is sold separately. If you are using this feature in a production environment, you must purchase a license. You can install CTM GateWay/CORBA when you install the CTM server; however, this section assumes that you are installing the two products separately. For more information, see Chapter 4, "Installing CTM GateWay/CORBA R8.0."
Note
The license for CiscoView (an optional application used by CTM to configure and monitor ONS 155xx NEs) is sold separately if used to manage the ONS 15530, ONS 15540 ESP, or ONS 15540 ESPx. If you are using this feature in a production environment to manage the ONS 15530, ONS 15540 ESP, or ONS 15540 ESPx, you must purchase a license for LAN Management Solution (LMS) Release 2.5, which includes CiscoView.
The license for CiscoView is bundled with CTM if used to manage the ONS 15501 DC or AC. You do not need to purchase a separate CiscoView license to manage the ONS 15501 DC or AC.
Step 8
At the Select Modules to Install screen, select individual modules or select all; then, click Next.
•
Optical Module: ONS 15xxx (inc. shelf controller)
•
Cisco MGX Voice Gateway
•
IOS XR Module: XR 12000, CRS-1 (inc. shelf controller)
•
IOS Module: Cisco 7600
•
All of the Above Modules
Note
•
The MDS 9000 module is a common module that will be installed with any selection.
•
You cannot install the Cisco 7600 module without /etc/resolv.conf on the workstation.
Step 9
At the Main Options screen, check only the Check system settings check box; then, click Next.
Caution 
Do not check the other check boxes on the Main Options screen. You will check the other options during the next phase of the installation.
Step 10
At the Select Network Configuration screen, specify the size of your network; then, click Next.
Note
If you installed Oracle Standard Edition, you can only choose Small.
Step 11
At the Update the System Parameters screen, check only the Optimize CTM database parameters check box; then, click Next.
Step 12
At the warning prompt, click Exit Setup and enter the following command to reboot the system:
Step 13
(Optional) If you plan to perform a database backup on the remote database setup, you must add an entry for the root user to the /.rhosts file on the database server. Enter the following commands to modify the /.rhosts file:
where <server_name> is the hostname of the server workstation.
2.2.7 Installing the CTM R8.0 Database
Note
•
The C shell is assumed for all UNIX commands.
•
Before installing the CTM R8.0 database, verify that Oracle9i is installed in the /oraclesw9i directory.
To install the CTM R8.0 database, log in as the root user on the workstation where the CTM database will run and complete the following steps:
Step 1
If you are using an xterm window or a remote host, enter the following command to set the DISPLAY variable:
setenv DISPLAY <hostname_or_IP_address>:0.0
Step 2
Enter the following command to verify that the display is set correctly:
In the output, you should see:
<hostname_or_IP_address>:0.0
Step 3
To install CTM, the remote shell (rsh) must be enabled. Enter the following command to verify whether rsh is enabled:
rsh <IP_address_of_CTM_server> ls
If an error is returned, you must open a shell on the CTM server workstation and edit the /.rhosts file. As the root user, enter the following commands to modify the /.rhosts file:
<database_workstation_name> root
where <database_workstation_name> is the hostname of the CTM database workstation.
Step 4
Insert the CTM Server Disk 1 installation CD and enter the following commands:
cdrom/cdrom0/Disk1/ctmsetup.sh
Wait for up to 60 seconds while the following message appears:
Please wait, Cisco Transport Manager Server Release 8.0 is being configured for your
system. This may take a moment...
Step 5
Click Next at the Introduction screen.
Step 6
At the License Agreement screen, read the license agreement and click the I accept the terms of the license agreement radio button. Click Next.
Step 7
At the Installation Options screen, choose New installation; then, click Next.
Step 8
At the Select Products to Install screen, check only the Cisco Transport Manager server check box. The Web Server check box is selected by default. Click Next.
Step 9
At the Select Modules to Install screen, select individual modules or select all; then, click Next.
•
Optical Module: ONS 15xxx (inc. shelf controller)
•
Cisco MGX Voice Gateway
•
IOS XR Module: XR 12000, CRS-1 (inc. shelf controller)
•
IOS Module: Cisco 7600
•
All of the Above Modules
Note
•
The MDS 9000 module is a common module that will be installed with any selection.
•
You cannot install the Cisco 7600 module without /etc/resolv.conf on the workstation.
Step 10
At the Main Options screen, check only the Create CTM database check box and specify the Oracle SID. (The default is CTM.) Click Next.
Caution 
Make sure to uncheck the other check boxes on the Main Options screen.
Step 11
At the Select Network Configuration screen, specify the size of your network; then, click Next.
Note
If you installed Oracle Standard Edition, you can only choose Small.
Step 12
At the CTM Group Information & Sudo Installation screen, confirm the name of the UNIX group to which you want to assign administrator privileges. Check or uncheck the Install CTM Sudo check box. Click Next.
Step 13
(For optical and Cisco 7600 modules only) At the FTP Information screen, accept the default values; then, click Next.
Step 14
At the Server IP Address screen, accept the default value and click Next.
Note
If you are installing the MGX module, you are prompted for the hostname, which is editable.
Step 15
At the Database Information screen, specify the IP address of the database workstation and specify whether or not you want to install the database in ARCHIVELOG mode. Click Next.
Step 16
At the Specify CTM Server IP to connect screen, specify either the hostname or the IP address of the workstation on which the CTM server is installed. Click Next.
Note
If you entered a hostname, the setup program automatically translates the hostname to a physical IP address and prompts you to confirm the address. Click Yes.
Step 17
At the CTM Database Installation Directories screen, the setup program verifies that the directories exist as recommended in Table 2-2. Click Next.
Step 18
At the Pre-Installation Summary screen, click Install to create the CTM database.
Step 19
The Install Complete screen summarizes the results of the installation. Click Done.
Step 20
Enter the following command to verify that the Oracle9i database and listener are running:
The output displays tnslsnr and ora_[...]_<Oracle_SID> processes.
2.2.8 Verifying the Oracle9i Client Installation on the CTM Server Workstation and Starting the CTM Server
Log in as the root user on the workstation where the CTM server is installed and complete the following steps:
Step 1
Enter the following command to log in as the oracle user:
Step 2
Enter the following command to verify that the Oracle9i database can connect to the CTM server:
Note
The default Oracle SID is CTM.
You should receive the following reply:
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL= TCP)(Host=
<IP_address_where_database_is_running>)(Port= 1521)) (
CONNECT_DATA = (SID = <ORACLE_SID>)))
Note
The value can be greater than 0.
Step 3
Log out from the oracle user and enter the following command to return to the shell as the root user:
Step 4
Enter the following command to reboot the system. The CTM server starts automatically after rebooting:
Step 5
To verify that the CTM R8.0 server is running, enter the showctm command after the server reboots. The showctm command displays the CTM server version running as 8.0, followed by the build number. In the output, you will see two instances of "CTM Server," "SnmpTrapService," "SMService," and "Apache Web Server." This indicates that the CTM server is running. You should also see NE-specific processes, depending on your network. You might also see CTM GateWay/CORBA and CTM GateWay/TL1 instances.
Step 6
If the following error is returned on the command prompt for the web server:
(125)Address already in use: make_sock: could not bind to address <IP_address> no
listening sockets available, shutting down
Complete the following substeps:
a.
Enter the following command on the server workstation; then, kill the processes listed:
ps -ef | grep httpd | grep CiscoTransportManagerServer | grep -v grep
b.
Enter the following command to shut down the CTM server:
c.
Restart the CTM server (this restarts the latest installed web server).
2.3 Setting Up Sudo
As described in 1.4.1 Overview of Sudo Commands, page 1-19, the CTM server installation includes installation of the UNIX sudo command. This command allows nonroot users who belong to the UNIX group specified during installation to run certain CTM administrative commands. For security reasons, the installed sudo command setuid is disabled by default. You must enable setuid on the sudo command in order for it to work.
Note
Sudo is often available in the standard UNIX environment established by the CTM server system administrator. If so, it is not necessary to use the sudo bundled with CTM or follow this procedure to enable it. Instead, you can use the sudo established by the system administrator.
To enable setuid:
Step 1
Log into the CTM server as the root user and enter the following command:
chmod 4111 /opt/CiscoTransportManagerServer/admin/sudo/sudo
Step 2
Verify that users have /opt/CiscoTransportManagerServer/admin/sudo in their path environment, so that they can execute sudo without having to specify the full path.
Note
After the CTM R8.0 installation is complete, you have the option of upgrading the CTM network configuration size and adding new modules. For more information, see 3.5 Upgrading the CTM Network Configuration Size, page 3-37 and 3.6 Adding New Modules, page 3-37.