Once you have finished Installing the Management Pack (Hyper-V) and Configuring the Management Pack (Hyper-V), check the Collection State and Collection Status for the adapter instance on the Solutions page. If they show as Not Collecting or No Data Receiving, respectively, the following troubleshooting topics can help you diagnose and correct common problems with your adapter instance.
Common Error Messages
Errors that are fatal will cause test connection to fail or will cause collection to exit without returning resources.
Key | Label | Fatal | Test Connection or Collection | Recommendation |
---|---|---|---|---|
host_validation | Host Validation | True | Both | Verify your host settings |
port_validation | Port Validation | True | Both | Change the instance_or_port parameter to either the instance name or a port in range 1 to 65535. |
ssl_certificate_validation | SSL Certificate Validation | True | Both | Ensure that a valid SSL certificate is present or change the SSL settings. |
ssl_support | SSL Support | True | Both | Verify your SSL settings. |
user_authentication | User Authentication | True | Both | Verify your user credentials. |
domain_validation | Domain Format Validation | True | Both | Verify that the format for a LDAP user is 'domain\user' and that a standard username does not contain the character ''. |
database_connection | Database Connection | True | Both | Verify that the database is running and accepting connections. |
sql_server_target_check | SQL Server Target Check | True | Both | Make sure that the connection info provided points to a SQL Server |
vmm_database_check | VMM Database Check | True | Both | Make sure that the connection points to the SQL Server Instance hosting the VMM database (VirtualManagerDB). |
vmm_supported_version | VMM Supported Version | True | Test Connection | Upgrade VMM to a current version. |
query_execution | Query Execution | False | Both | Verify that the user has permissions to run the query, or disable the query using the connection info. |
Adapter and Collector Log Files
You can review adapter errors in the adapter and collector log files, which can be viewed in the vROps UI or in an external log viewer.
- Adapter log files are located in the $VCOPS_BASE/user/log/adapters/SCVMMAdapter/ folder.
- Collector log files are located in the $VCOPS_BASE/user/log/ folder.
To set the base log level for the collector in vROps:
- Navigate to Administration>Logs.
- Expand the MASTER folder, then select the COLLECTOR folder.
- Click the Edit Properties icon.
-
In the Root logger level drop-down menu, select the desired option:
-
The default logging level is warning.
- To troubleshoot issues, set the logging level to info.
-
To view detailed messages, including micro steps, queries, and returned results, set the logging level to debug.
Caution: If you set the logging level to debug, log files can become large very quickly. Set the logging level to debug only for short periods of time.
-
For more information about viewing log files and modifying levels, refer to the vROps online help.