由于端口 8145 或 8146 通信故障,SCSQL 资源发现或备份失败
适用于
- SnapCenter 服务器 (SC)
- SnapCenter Plugin for VMware(SCV)
- Microsoft SQL Server 的 SnapCenter 插件 (SCSQL)
问题描述
- 成功安装 SQL 插件后,添加新资源组时无法查看 并从可用性组中进行选择。
- "刷新资源"无法显示集群的 AvailabilityGroup。
- SC 和 SCSQL 插件之间的通信错误,消息见
<installation_path>\NetApp\SnapCenter\App_Data\log\SnapManagerWeb_<id>.log :
ERROR SnapManagerWeb_31894 PID=[21012] TID=[36] WebException Encountered, Response null
ERROR SnapManagerWeb_31894 PID=[21012] TID=[36] Exception in method: InvokeXML.
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it <IP_address>:8145
- 也可能在
<installation_path>\NetApp\SnapCenter\App_Data\log\SnapManagerWeb_<id>.log中看到以下资源发现错误:
ERROR SnapManagerWeb_74 PID=[5084] TID=[129] WebException caught while invoking https://Host_FQDN:8145/SMCoreHostManagementService/DiscoverResources
ERROR SnapManagerWeb_74 PID=[5084] TID=[129] WebException Encountered, Response null
ERROR SnapManagerWeb_74 PID=[5084] TID=[129] Exception in method: InvokeXML.
System.Net.WebException: The operation has timed out
- PowerShell(PS)命令
Test-NetConnection <remote_computer_IP> -port 8145来自 SC 和 SCQL 插件失败 - 在 VMDK 磁盘的情况下,在 SCV
vmcontrol.log中发现 SCV 设备和 SnapCenter 在端口 8146 之间的通信错误:
2023-06-02 18:29:22.714 DEBUG scv.appliance.name --- [qtp359023572-12] c.n.a.s.u.SnapManagerServiceHelper : Connecting to url: https://<snapcenter.server.name>:8146/StorageService.svc/GetNASStorageInfo
2023-06-02 18:29:22.714 DEBUG scv.appliance.name --- [qtp359023572-12] c.n.a.s.m.SmTokenManager : Checking for existing token
2023-06-02 18:29:22.714 DEBUG scv.appliance.name --- [qtp359023572-12] c.n.a.s.u.RequestIdThreadLocal : Getting isLocalSC to: false
2023-06-02 18:29:22.714 INFO scv.appliance.name --- [qtp359023572-12] c.n.a.s.m.SmTokenManager : Returning remote token
2023-06-02 18:29:22.714 DEBUG scv.appliance.name --- [qtp359023572-12] c.n.a.s.u.RequestIdThreadLocal : Getting isLocalSC to: false
2023-06-02 18:29:22.714 INFO scv.appliance.name --- [qtp359023572-12] c.n.a.s.m.SmTokenManager : Returning remote token
2023-06-02 18:29:22.714 DEBUG scv.appliance.name --- [qtp359023572-12] c.n.a.s.u.SnapManagerServiceHelper : Getting registered host
2023-06-02 18:29:22.715 DEBUG scv.appliance.name --- [qtp359023572-12] c.n.a.s.u.RequestIdThreadLocal : Getting isLocalSC to: false
2023-06-02 18:29:22.715 DEBUG scv.appliance.name --- [qtp359023572-12] c.n.a.s.u.SnapManagerServiceHelper : getSnapManagerConfiguration Returning remote SC
2023-06-02 18:29:22.715 DEBUG scv.appliance.name --- [qtp359023572-12] c.n.a.s.u.RequestIdThreadLocal : Getting isLocalSC to: false
2023-06-02 18:29:22.715 DEBUG scv.appliance.name --- [qtp359023572-12] c.n.a.s.u.SnapManagerServiceHelper : getSnapManagerConfiguration Returning remote SC
2023-06-02 18:29:22.715 INFO scv.appliance.name --- [qtp359023572-12] c.n.a.r.x.X509Configuration : Certificate config has secure communication value set to:false
2023-06-02 18:29:22.715 INFO scv.appliance.name --- [qtp359023572-12] c.n.a.r.x.X509Configuration : Certificate config has secure communication value set to:false
2023-06-02 18:29:22.715 DEBUG scv.appliance.name --- [qtp359023572-12] c.n.a.s.u.SnapManagerServiceHelper : Ignoring certificate validation as secure communication status is set to false
2023-06-02 18:29:54.288 DEBUG scv.appliance.name --- [qtp359023572-12] c.n.a.s.u.RequestIdThreadLocal : Getting isLocalSC to: false
2023-06-02 18:29:54.288 ERROR scv.appliance.name --- [qtp359023572-12] c.n.a.s.c.SnapManagerStorageServiceImpl : Unable to connect to SnapCenter Server: Connection timed out (Connection timed out).
2023-06-02 18:29:54.288 ERROR scv.appliance.name --- [qtp359023572-12] c.n.a.m.DatastoreStorageDetailsCache : Unable to connect to SnapCenter Server: Connection timed out (Connection timed out).