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 Start Up 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 Start Up 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 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 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 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 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:
Total System Global Area 4775440 bytes
Variable Size 4235264 bytes
Database Buffers 409600 bytes
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))
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
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
epicurus has 1 service handler(s)
extproc has 1 service handler(s)
The command completed successfully
The Cisco RPMS Start Up 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"
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 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 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 before starting the Oracle database.
You can manually start Cisco RPMS by using the following commands:
<RPMS_home_dir>/sbin/crpms stop