Feedback
|
Table Of Contents
Diagnosing Problems with the CiscoWorks2000 Server
Troubleshooting the CiscoWorks2000 Server
Diagnosing Problems with the CiscoWorks2000 Server
Use these tools and suggestions to diagnose problems with the CiscoWorks2000 Server:
•
Troubleshooting the CiscoWorks2000 Server
Verifying Server Status
Server tools enable you to gather and analyze information about your CiscoWorks2000 Server (see Table 5-1).
Testing Device Connectivity
The connectivity tools enable you to test device connectivity and reachability and troubleshoot nonresponsive devices. Some connectivity tools require system administrative-level privileges (see Table 5-2).
Troubleshooting the CiscoWorks2000 Server
This section provides information on frequently asked questions (FAQs) and suggestions for troubleshooting the CiscoWorks2000 Server components. If the suggestions do not resolve the error, check the release notes supporting your platform for possible workarounds, or contact the Cisco TAC or your customer support.
Frequently Asked Questions
•
Why do some CiscoWorks2000 applications not appear in the product?
•
Why can't I start my CiscoWorks2000 application?
•
What kind of directory structure does CiscoWorks2000 use when backing up data?
•
What does "cmf" stand for in the database path?
•
I'm locked out of the CiscoWorks2000 Server. Why did this happen, and how do I regain access?
•
How can I check the status of the ANI Server?
•
How can I verify whether the ANI discovery is complete or almost complete?
•
How can I verify whether the ANI Server is fully functional?
•
What if the database is inaccessible?
I installed CD One and got an error message that EDS wasn't registered with the daemon manager. Did I do anything wrong?
EDS is part of the CD One deliverable but is not enabled without Campus Manager or Resource Manager Essentials. If you are going to install either of these application suites, EDS will be automatically enabled after installation.
Why do some CiscoWorks2000 applications not appear in the product?
The CiscoWorks2000 Server represents a common set of management services which are shared by multiple network management applications. These services are enabled when a suite is installed and an application that relies on a particular service enables it.
If a particular suite of applications does not use a particular services, the services might not appear on the CiscoWorks2000 Server desktop. Applications and application suites may not use these features at all or to the fullest extent to which they are available. Refer to the user guide for your application suite to determine the extent to which these features are used.
Why can't I start my CiscoWorks2000 application?
If you cannot start your CiscoWorks2000 application and receive error messages complaining that the WebServer or ANIServer might not be running (even though pdshow indicates that those processes are up and running), you might need to check how your machine is resolving its server name and IP address.
The CiscoWorks2000 CORBA applications require name resolution to work properly. Choose Domain Name Service (DNS) or any other form of name resolution supported by both your client and server.
Configure the name resolution mechanism and restart the CiscoWorks2000 Server to access the application correctly.
What kind of directory structure does CiscoWorks2000 use when backing up data?
CiscoWorks2000 uses a standard database structure for backing up all suites and applications. See Table 5-3 for sample directory structure for the CiscoWorks2000 Server (represented by the cmf acronym). The cmf directory has two databases: cmf and ani.
What does "cmf" stand for in the database path?
The cmf acronym in the database structure represents the Common Management Foundation (CMF). This phrase describes the set of management services provided by the CiscoWorks2000 Server.
I'm locked out of the CiscoWorks2000 Server. Why did this happen, and how do I regain access?
There are several reasons why you might have been locked out. Most likely it is due to changes made using the Select Login Module option (see "Understanding Fall Back Options"in the"Setting Up the CiscoWorks2000 Server"chapter). You will need to replace the incorrect login module with a default configuration, log into CiscoWorks2000, and return to the login module to correct one or more of the following:
•
Authentication service that doesn't exist
•
Authentication service that isn't reachable
•
Incorrect host name
•
Incorrect port number
•
Incorrect configuration parameters
Note
Do not alter the existing technologies in the default configuration file.
If all of the parameters listed above are correct, see the "Troubleshooting Suggestions" section.
How can I check the status of the ANI Server?
To check the status of the ANI Server to determine if it is up and running properly:
Step 1
From the CiscoWorks2000 desktop, select Server Configuration > Administration > Process Management > Process Status.
Step 2
Use the information in Table 5-4 to verify the current status of the ANI Server.
How can I verify whether the ANI discovery is complete or almost complete?
Use the Discovery Metrics task to check if discovery is in progress. From the CiscoWorks2000 desktop:
Step 1
Select Server Configuration > Diagnostics > Discovery Metrics.
Step 2
Use the "Percent Complete" column to determine if the discovery task is finished.
How can I verify whether the ANI Server is fully functional?
The CiscoWorks2000 Server includes several tools to verify varying functional states of the ANI Server. To progressively determine the cause of any problems:
Step 1
Select Server Configuration > About the Server > About ANI Server > Copyrights and Versions.
•
If this page appears, you have verified that the web server and its applets are working properly.
•
If this page does not appear, the problem is not related to the ANI Server. The CiscoWorks2000 web server is not running properly.
Step 2
Select Server Configuration > About the Server > About ANI Server > Devices Support.
•
If a list of icons, device names, and device OIDs appears, you have verified that the ANI Server is up-and-running.
•
If an error occurs, follow the suggestions appropriate to the reported state of the ANI Server (see Table 5-4).
Step 3
Select Server Configuration > Diagnostics > Analyze ANI Server.
•
If this page appears, verify that the name of the ANI Server and the host running it is correct.
•
If an error occurs, follow the suggestions appropriate to the reported state of the ANI Server (see Table 5-4).
Step 4
Select Server Configuration > Diagnostics >Discovery Metrics.
•
If this page appears, you have verified that the ANI Server is working.
•
If an error occurs, the ANI Server is not working properly.
What if the database is inaccessible?
If the server is not able to connect to the database, the database might be corrupt or inaccessible. This can occur if processes are not running. Try the following:
Step 1
Log in to CiscoWorks2000 as admin.
Step 2
Select Server Configuration > Diagnostics > Process Failures to get a list of CiscoWorks2000 back-end processes that have failed.
Step 3
Select Server Configuration > Diagnostics > Self Test.
Click Create to create a report.
Click Display to display the report.
Step 4
Select Server Configuration >Diagnostics >Collect Server Info.
Step 5
Click the Product Database Status link to get detailed database status.
Step 6
Contact the Cisco TAC or your customer support to get the information you need to access the database and find out details about the problem. After you have the required information, perform the following tasks for detecting and fixing database errors.
Depending upon the degree of corruption, the database engine may or may not start. For certain corruptions, such as bad indexes, the database can function normally until the corrupt index is accessed.
Database corruptions, such as index corruptions, can be detected by the dbvalid utility, which requires the database engine to be running.
To detect database corruption:
Step 1
Log on as root (UNIX) or with administrator privileges (Microsoft Windows).
Step 2
Stop the Daemon manager if it is already running:
•
UNIX—/etc/init.d/dmgtd stop
•
Microsoft Windows—net stop crmdmgtd (enter command in an MS-DOS window)
Step 3
Make sure no database (dbeng50) processes are running and there is no database log file. For example, if the database file is /opt/CSCOpx/databases/rme/rme.db, the database log file is /opt/CSCOpx/databases/rme/rme.log. This file is not present if the database process shuts down cleanly.
Step 4
(UNIX only) Check if the database files(s) and the transaction log file (*.log) are owned by user bin. If not, change the ownership of these files to user bin and group bin.
Step 5
(UNIX only) Set environment variables (K-Shell syntax):
export SATMP=/tmp/.SQLAnywhere
export LD_LIBRARY_PATH=/opt/CSCOpx/lib (Solaris only)
export SQLANY=/opt/CSCOpx/objects/db
Step 6
Start the database engine:
•
UNIX—start it in the foreground:
$SQLANY/bin/dbeng50 -c 16M -m -n validateEng {database file name} -n validateDb
•
Microsoft Windows—start it in an MS-DOS window. For example, if CiscoWorks2000 is installed in d:\cw2000:
d:\cw2000\objects\db\win32\dbeng50 -c 16M -n testEng {database file name} -n testDb
If the database engine starts, it displays messages like this (in Microsoft Windows, message appears in a new window):
16384K of memory used for cachingTransaction log: xxx.logStarting checkpointFinished checkpointDatabase: xxx.db startedPress 'q' to quitIf this message does not appear, the database has a fatal corruption, but can sometimes be recovered.
Step 7
(UNIX only) If there was no error in step 5, Restart the engine as a daemon:
$SQLANY/bin/dbeng50 -ud -c 16M -m -n validateEng {database file name} -n validateDb
Step 8
Run dbvalid to detect any other errors such as corrupt indexes:
•
UNIX syntax—$SQLANY/bin/dbvalid -c "uid={dba user id for the database};pwd={dba password for the database}; eng=validateEng;dbn=validateDb"
•
NT syntax—d:\cw2000\objects\db\win32\dbvalid -c "uid={dba user id for the database};pwd={dba password for the database};eng=validateEng;dbn=validateD"
The dbvalid command displays a list of tables being validated. The Validation utility scans the entire table, and looks up each record in every index and key defined on the table. If there are errors, the utility displays something like:
Validating DBA.xxxxrun time SQL error -- Foreign key parent_is has invalid or duplicate indexentries 1 error reportedOn UNIX, the command also returns a non-zero return code, that is, $? = 1.
To fix database errors:
Fatal errors may be due to a corrupt database or a corrupt or missing database transaction log file. If the transaction log is missing or corrupt, the database can be recovered at the cost of a few missing transactions. This can be done by forcibly starting the database without a transaction log; for example:
$SQLANY/bin/dbeng50 -f -n rmeTst /opt/CSCOpx/databases/rme/rme.db
This starts the database engine in recovery mode, recovers the database, and immediately terminates the engine. Messages similar to the following appear during the recovery process:
2648K of memory used for cachingDatabase recovery in progressLast checkpoint on Mon Dec 06 1999 03:06 pmCheckpoint log...Transaction log: px.log...Forcing recovery without transaction logRollback log...Checkpointing...Starting checkpointFinished checkpointRecovery completeRecovered to last checkpointIf the corruption is due to bad indexes, the indexes must be dropped and then recreated:
Step 1
Start the engine as in step 6 for Microsoft Windows or step 7 for UNIX.
Step 2
Run the isql utility to fix the bad indexes:
•
UNIX syntax—$SQLANY/bin/isql -c "uid={dba user id};pwd={dba password};
eng=validateEng;dba=validateDb"•
Microsoft Windows syntax (run in an MS-DOS window). For example, if CiscoWorks2000 is installed in d:\cw2000: d:\cw2000\objects\db\win32\isql-c "uid={dba user id};pwd={dba password};
eng=validateEng;dbn=validateDb"Step 3
Run the following isql commands to delete and add the indexes. This could take a while to run depending upon the number of rows in the table.
•
Delete an index with the SQL statement:
DROP INDEX {the index in question}
•
Add an index with the SQL statement:
CREATE [UNIQUE] INDEX xyz on {your table pqr} column_name {ASC|DESC},...
Troubleshooting Suggestions
Use the suggestions in Table 5-5 to resolve errors or other problems with the CiscoWorks2000 Server.
Feedback