Cisco Resource Policy Management System 2.0.2 Troubleshooting Guide
Cisco RPMS System Start and Stop Procedures
Downloads: This chapterpdf (PDF - 193.0KB) The complete bookPDF (PDF - 1.43MB) | Feedback

Cisco RPMS System Start and Stop Procedures

Table Of Contents

Cisco RPMS System Start and Stop Procedures

Overview: Cisco RPMS System Start and Stop Flow

Overview: Manual Start Procedures

Rules

Manually Starting the Oracle Database

Manually Starting the TNS Listener

Manually Starting Cisco RPMS

Checking for Errant Processes

Overview: Start Up Messages

The Oracle Database Start Up Message

The TNS Listener Start Up Message

The Cisco RPMS Startup Message

Overview: Manual Stop Procedures

Rules

Manually Stopping the Oracle Database

Manually Stopping the TNS Listener

Manually Stopping Cisco RPMS


Cisco RPMS System Start and Stop Procedures


This chapter describes the procedures for starting and stopping Cisco RPMS, and the messages you will encounter while doing so.

Topics in this chapter include:

Overview: Cisco RPMS System Start and Stop Flow

Overview: Manual Start Procedures

Manually Starting the Oracle Database

Manually Starting the TNS Listener

Manually Starting Cisco RPMS

Checking for Errant Processes

Overview: Start Up Messages

The Oracle Database Start Up Message

The TNS Listener Start Up Message

The Cisco RPMS Startup Message

Overview: Manual Stop Procedures

Manually Stopping the Oracle Database

Manually Stopping the TNS Listener

Manually Stopping Cisco RPMS

Overview: Cisco RPMS System Start and Stop Flow

When the Cisco RPMS system is started, the components start in this order:

1. Oracle

2. Listener

3. Cisco RPMS

When Cisco RPMS is stopped, the components stop in reverse order, or:

1. Cisco RPMS

2. Listener

3. Oracle

Overview: Manual Start Procedures

You can manually start the procedures for Cisco RPMS. This is helpful in troubleshooting problems, or for re-starting processes that have stopped.

However, there are a few rules for running the start procedures.

Rules

You must be logged in as the `oracle' user to start or stop the Oracle database and the TNS Listener. Ensure that the environmental variables are inherited.

Oracle must be running before the TNS listener is started.

Oracle and the TNS Listener must be running before Cisco RPMS is started.

You must be logged in as root to start or stop Cisco RPMS.

Ensure that there are no errant processes running before re-starting Cisco RPMS.

Manually Starting the Oracle Database


Note Read the "Rules" section before starting the Oracle database.


You can manually start the Oracle database by using the following commands:

rlogin localhost -l oracle
<Oracle_home_dir>/bin/svrmgrl
connect internal;
startup
exit

Manually Starting the TNS Listener


Note Read the "Rules" section before starting the Oracle database.


To manually start the TNS Listener, use the following command:

<Oracle_home_dir>/bin/lsnrctl start

Manually Starting Cisco RPMS


Note Read the "Rules" section before starting the Oracle database.


You can manually start Cisco RPMS by using the following commands:

su
RPMS_home_dir/sbin/crpms start

Checking for Errant Processes


Note Read the "Rules" section before starting the Oracle database.


You can check for errant processes by using the following command:

RPMS_home_dir/bin/showrpms


Note If any processes are not listed, manually stop and re-start Cisco RPMS.


Overview: Start Up Messages

When starting up the Oracle database, TNS Listener or Cisco RPMS, you encounter different messages. This section displays examples of those start up messages.

The Oracle Database Start Up Message

The Oracle database displays the following start up message:

ORACLE instance started.
Total System Global Area                     4775440 bytes
Fixed Size                                     48656 bytes
Variable Size                                4235264 bytes
Database Buffers                              409600 bytes
Redo Buffers                                   81920 bytes
Database mounted.
Database opened.

The TNS Listener Start Up Message

The following TNS Listener start up message also displays:

LSNRCTL for Solaris: Version 8.0.5.0.0 - Production on 30-NOV-00 14:33:06
(c) Copyright 1997 Oracle Corporation.  All rights reserved.
Starting /opt/app/oracle/product/8.0.5/bin/tnslsnr: please wait...
TNSLSNR for Solaris: Version 8.0.5.0.0 - Production
System parameter file is /opt/app/oracle/product/8.0.5/network/admin/ 
listener.ora
Log messages written to /opt/app/oracle/product/8.0.5/network/log/ 
listener.log
Listening on: (ADDRESS=(PROTOCOL=ipc)(DEV=8)(KEY=epicurus))
Listening on: (ADDRESS=(PROTOCOL=ipc)(DEV=12)(KEY=PNPKEY))
Listening on: (ADDRESS=(PROTOCOL=tcp)(DEV=14)(HOST=172.19.50.125) 
(PORT=1521))
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=epicurus))
STATUS of the LISTENER
------------------------
Alias                     				LISTENER
Version                   				TNSLSNR for Solaris: Version 8.0.5.0.0 - Production
Start Date                				30-NOV-00 14:33:09
Uptime                    				0 days 0 hr. 0 min. 0 sec
Trace Level               				off
Security                  				OFF
SNMP                      				OFF
Listener Parameter File   /opt/app/oracle/product/8.0.5/network/admin/ 
listener.ora
Listener Log File         				/opt/app/oracle/product/8.0.5/network/log/ 
listener.log
Services Summary...
  epicurus              			has 1 service handler(s)
  extproc               			has 1 service handler(s)
The command completed successfully 

The Cisco RPMS Startup Message

Cisco RPMS displays the following start up message:

Starting Cisco RPM Server on Fri Jul 20 15:55:54 PDT 2001
Note: using VM "/opt/app/rpms/java/bin/jre"
Java VM version 1.1.7
Starting RPMS Database Server... DBServer Started
Starting RPMS... RPMS Started
Starting administrative servlets... Admin Servlets Started
Starting Fast Track Admin Web server
warning: daemon is running as super-user
startup: listening to port 64000 as root
 Fast Track Admin Web server Started
 FastTrack Web Server (Delayed Start)
commands will be executed using /bin/sh
job 995669819.a at Fri Jul 20 15:56:59 2001
CRPMS successfully started...

Overview: Manual Stop Procedures

You can manually stop the procedures for Cisco RPMS. This is helpful in troubleshooting problems, or for stopping processes that have stopped.

However, there are a few rules for running the stop procedures.

Rules

Oracle is NOT automatically started or stopped at the system boot or shut down. There is a risk of database corruption if the Oracle database is not shut down prior to system shut down.

Start or stop scripts must be manually installed.

You must be logged in as `oracle' to start or stop the Oracle database and the TNS Listener.

You must be logged in as root to start or stop Cisco RPMS.

Manually Stopping the Oracle Database


Note Read the "Rules" section before starting the Oracle database.


You can manually stop the Oracle database by using the following commands:

<Oracle_home_dir>/bin/svrmgrl
connect internal;
shutdown
exit

Manually Stopping the TNS Listener


Note Read the "Rules" section before starting the Oracle database.


To manually start the TNS Listener, use the following commands:

rlogin localhost -l oracle
<Oracle_home_dir>/bin/lsnrctl stop

Manually Stopping Cisco RPMS


Note Read the "Rules" section before starting the Oracle database.


You can manually start Cisco RPMS by using the following commands:

<RPMS_home_dir>/sbin/crpms stop