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

Page 55

$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

Image 55
Contents Corporate Headquarters USA Cisco Performance Visibility Manager Historical Information Data Collection and Traffic AnalysisTraffic Analysis including Top-N Analysis ART MonitoringCiscoWorks and Ldap Integration NAM GUI Drill downSample Deployment Scenario PVM in LAN and WAN Placing Cisco NAM in Your Network Basic questions about the Problems to be addressedTypical workflow for deploying Cisco PVM Configure the NAMs in Your NetworkDeploy PVM and add the NAMs in Cisco PVM Create the Datasource Groups DSGs in Cisco PVM Start monitoring your network using Cisco PVMUsage Scenarios NAM SetupUser Setup Cisco PVM Initial SetupUser Management through the GUI User management through Ldap Adding a NAM through the GUI Mapping Ldap users to PVM rolesCisco Internal Use Only Importing Multiple Devices DCR Export File Import File FormatsUser created CSV file Datasource Group DSG Creation Cisco Internal Use Only Scenario 1 Traffic Profiling Contd Cisco Internal Use Only Cisco Internal Use Only Cisco Internal Use Only Contd Create an ART Group that carries traffic you are interested Scenario 2 Proactive MonitoringContd Click the Setup tab Click the Thresholds menu item Click Add Contd Cisco Internal Use Only PVM displays the details of the threshold violation Scenario 3 Troubleshooting Click Refresh Verify the link utilization on the client Branch RouterClick Connect Cisco Internal Use Only Overview of PVM functionality Traffic Analysis using Cisco PVMMonitoring Cisco Internal Use Only Aggregation Schemes Report Views Real-Time and Trend ChartsDrill-downs Reporting Report Name Drill-Down Reports AvailableCisco Internal Use Only Application Response Time Analysis in Cisco PVM Art SetupArt Reports Cisco Internal Use Only ART Report Archives Baselining and Alerts in Cisco PVM Cisco Internal Use Only Generating Snmp Traps Alerts in Cisco PVM Cisco Internal Use Only Minimum Client Requirements Hardware Cisco PVM Requirements and SizingMinimum Server Requirements Hardware SoftwareMaximum NAMs CPUs Cisco PVM Installation and UninstallationDisk Space Required Cd PVMINSTALLDIR/j2sdk142/bin Install ProcedureUninstall Procedure $su pvmadm $pvm stop Start and Stop ProcedureMaintaining and Troubleshooting Cisco PVM Troubleshooting Tips$su pvmadm Database ManagementPurging and retention period ArchivingImporting the archived files Gunzip -c archivefilenamecpio -icvB *switchConclusion Deployment Q&A AppendixCisco Internal Use Only Cisco Internal Use Only Deployment Troubleshooting Cisco Internal Use Only For More Information USA