$su - oracle

$export ORACLE_SID=cnam $sqlplus /nolog sqlplus>connect /as sysdba sqlplus>shutdown immediate sqlplus>quit

$export ORACLE_SID=spdw $sqlplus /nolog sqlplus>connect /as sysdba sqlplus>shutdown immediate sqlplus>quit

$lsnrctl stop

4.Shutdown any rogue Oracle processes

$ps –ef grep ora

If you see any oracle process, kill them manually.

At this point, you should check any semaphores or queues that might be left open by the terminated oracle processes. $ ipcs

If you see any semaphores or queues that belong to oracle, kill them using: $ipcrm

The options for this command are:

-M <shmkey> removes the shared memory segment created with shmkey after the last detach is performed. -m <shmid> removes the shared memory segment identified by shmid after the last detach is performed. -Q <msgkey> removes the message queue created with msgkey.

-q <msgid> removes the message queue identified by msgid. -S <semkey> removes the semaphore created with semkey. -s <semid> removes the semaphore identified by semid.

5.Remove Cisco PVM directories.

$rm –rf /tmp/*

$rm – rf /var/tmp/.oracle $rm –rf /var/tmp/.flexlm $rm – rf /var/tmp/root $rm –rf /var/adm/PVM/* $rm –rf /opt/CSCOpvm/* $rm –rf /opt/oracle/* $rm –rf /u01/*

6.Follow your security guidelines to remove the ‘pvmadm’ and ‘oracle’ users from the system.

Start and Stop Procedure:

Starting and stopping Cisco PVM is a simple procedure.

To start Cisco PVM:

$su – pvmadm $pvm start

To stop Cisco PVM:

$su – pvmadm $pvm stop

Note:

1.Cisco PVM is automatically started at server restart. Both Cisco PVM server processes and Oracle processes are started at server

Cisco Internal Use Only

Copyright © 2006 Cisco Systems, Inc. All rights reserved.

Page 55 of 66

Page 55
Image 55
Cisco Systems 1 manual Start and Stop Procedure, $su pvmadm $pvm stop