Troubleshooting
Problem
Failure when trying to query "Virtual Networks" via HMC Enhanced GUI:
> All systems
> Managed system name
> Virtual Networks
Symptom
The follow error may repeat for more than one VIO Server.
"Error occurred while querying for SharedEthernetAdapter from VIOS <VIOS_PARTITION_NAME> with ID <VIOS_PARTITION_ID) in System <MANAGED_SYSTEM_NAME>- Unable to connect to Database."
Cause
1. VIOS hostname cannot be resolved.
2. vgpadmin user ID does not belong to the correct groups.
Environment
PowerVM VIOS 3.1 or higher managed by a Hardware Management Console (HMC)
Resolving The Problem
Probable Cause #1 - Hostname cannot be resolved
Issue may be with the VIOS hostname resolution. Hostname resolution is important because if the hostname IP look up does not resolve as expected then this causes internal DB to have trouble resolving the hostname needed for communicating with the HMC.
Recommendation:
Determine if there is trouble resolving the VIOS hostname. Note: The FQDN must be done when doing local name resolution.
Ensure VIOS hostname resolution is getting resolved for the VIOS partition(s) in question. For how-to details, refer to the support document below or contact your IBM SupportLine Network Specialist.
When Using HMC GUI you see message "Unable to connect to the Database Error occurred" with scenarios
Probable Cause #2 - vgpadmin user ID does not belong to the correct groups
System user, vpgadmin, is not a member of the groups, system and staff.
Recommendation:
Ensure vpgadmin is a member of the system and staff groups
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSPHKW","label":"PowerVM Virtual I\/O Server"},"ARM Category":[{"code":"a8m3p000000PCZsAAO","label":"CMDB"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"3.1.0;3.1.1;3.1.2;3.1.3;3.1.4;4.1.0;4.1.1"}]
Was this topic helpful?
Document Information
More support for:
PowerVM Virtual I/O Server
Component:
CMDB
Software version:
3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 4.1.0, 4.1.1
Operating system(s):
AIX
Document number:
961332
Modified date:
29 May 2025
UID
ibm10961332
Manage My Notification Subscriptions