Troubleshooting SnapManager
You can find information about some of the most common issues that might occur and how you can resolve them.
The following table describes common issues and possible solutions:
Issue-driven question |
Possible solution |
||
Are the target database and listener running? |
Run the lsnrctl status command. Ensure that the database instance is registered with the listener. |
||
Is the storage visible? |
Perform the following steps:
|
||
Is the SnapManager server running? |
Check the status, and then start the server by using Service Configuration. Before you can use the graphical user interface (GUI) or the command-line interface (CLI) to initiate SnapManager commands related to profiles, the server must be running. You can create or update repositories without starting the server, but to execute all other SnapManager operations, the server must be running. To start the SnapManager server, enter the following command: smo_server start. |
||
Are all the components required to run SnapManager set up correctly? |
Run the smo system verify command to verify that SnapDrive is set up correctly. |
||
Do you have the correct version of SnapManager? |
Use the smo version command to check the SnapManager version. |
||
Have you looked at the SnapManager log files to determine if the error messages can help isolate the issue? |
SnapManager records all log entries into one set of rotating log files. The log files are found at C:\program_files\NetApp\SnapManager for Oracle\logs. If you are using Windows 2008, the logs are at the following locations:
It might also be helpful to look at the logs in the following location: C:\Documents and Settings\hostname\Application Data\NetApp\smo\3.3.0\log Each operation log is written to its own log file of the form smo_of_date_time.log. |
||
If you have archive logs stored on a storage system that is not running Data ONTAP, have you excluded them from consideration for backup with SnapManager? |
The smo.config file enables you to exclude certain archive log files. For Windows, the file is at the following location: C:\program_files\NetApp\smo\properties\smo.config Use the format mentioned in the file to exclude the local archive logs. For additional information, see the “Setting configuration properties” topic. You can also exclude the archive log destinations while creating a backup from the SnapManager CLI. For additional information, see the “Creating database backups” topic. You can also exclude the archive log destinations while creating a backup from the SnapManager GUI. |
||
Do you have an MS-DOS window open in the directory in which you are attempting to install or upgrade SnapManager on Windows? |
You will see an error message similar to the following:
|
||
Were you unable to connect to the repository? |
If connecting to a repository fails, run the lsnrctl status command on the repository database and check the active service names. When SnapManager connects to the repository database, it uses the service name of the database. Depending on how the listener is setup, this might be the short service name or the fully qualified service name. When SnapManager connects to a database for a backup, restore, or other operation, it uses the host name and the SID. If the repository does not initialize correctly because it is currently unreachable, you receive an error message asking whether you want to remove the repository. You can remove the repository from your current view so that you can perform operations on other repositories. Also, check whether the corresponding service is running. |
||
Can system resolve the host name? |
Check whether the specified host name is on a different subnet. If you receive an error message that SnapManager cannot resolve the host name, then add the host name in the host file. Add the host name to the file located at C:\WINDOWS\system32\drivers\etc\hosts: xxx.xxx.xxx.xxx hostname IP address |
||
Is SnapDrive running? |
To view the status of SnapDrive, go to Services, and then select the SnapDrive service. |
||
Which storage systems are configured to be accessed with SnapDrive? |
To find the storage systems configured for SnapDrive, perform the following steps:
|
||
How can SnapManager GUI performance be improved? |
|
||
SnapManager GUI takes more time to refresh when there are multiple SnapManager operations started and running simultaneously in the background. When you right-click the backup (that is already deleted but still gets displayed in the SnapManager GUI), the backup options for that backup are not enabled in the Backup or Clone window. |
You need to wait until the SnapManager GUI gets refreshed, and then check for the backup status. |
||
What would you do when the Oracle database is not set in English? |
SnapManager operations might fail if the language for an Oracle database is not set to English.Set the language of the Oracle database to English:
|
||
What would you do when the backup scheduling operation fails if the repository database points to more than one IP and each IP has a different host name? |
|
||
What would you do when the SnapManager operation fails with credential file lock error? |
SnapManager locks the credential file before updating, and unlocks it after updating.When multiple operations run simultaneously, one of the operations might lock the credential file to update it. If another operation tries to access the locked credential file at the same time, the operation fails with the file lock error. Configure the following parameters in the smo.config file depending on the frequency of simultaneous operations:
|
||
What would you do when the backup verify operation's intermediate status shows failed in the Monitor tab even though the backup verify operation is still running? |
The error message is logged in the sm_gui.log file. You must look in the log file to determine the new values for the operation.heartbeatInterval and operation.heartbeatThreshold parameters which will resolve this issue.
|
||
What to do when you encounter a heap-space issue? |
When you encounter a heap-space issue during SnapManager for Oracle operations, you must perform the following steps:
|
||
What would you do when the SnapManager services do not start in a Windows environment and the following error message is displayed: Windows could not start Snap Manager on Local Computer. For more information, review the System Event log. If this is a non-Microsoft service, contact service vendor, and refer to service-specific error code 1? |
Configure the following parameters in the wrapper.conf file located at Installation_directory\service.
|