由于名称解析问题,SCV 备份无法发现资源
适用场景
适用于VMware vSphere的SnapCenter插件(SCV)
问题描述
- 选择控制阀备份作业无法发现资源,并显示错误:
The backup job <JOB_ID> has completed on primary
Status: failed
Task failures
Task 'Discovering Resources' failed with error: Unable to discover resources on SCV: Failed to get the storage system for host resource : Name : /<NFS_VOLUME>, Type: SDNASDir
wfe_<JOB_ID>.log
表示Unable to discover resources on SCV: Failed to get the storage system for host resource
INFO snapcenter --- [ Thread-3] c.n.w.m.WorkflowExecutor : Activity - Discovering Resources, Starting
DEBUG snapcenter --- [ Thread-3] c.n.w.u.LogHelper : Starting discover resources activity
DEBUG snapcenter --- [ Thread-3] c.n.w.r.SCVBackupServiceImpl : Discovering resources on SCV
DEBUG snapcenter --- [ Thread-3] c.n.w.r.u.RestClientUtil : Connecting to scv url: https://localhost:8144/scbr/smcoreplugin/discoverResources
ERROR snapcenter --- [ Thread-3] c.n.w.r.SCVBackupServiceImpl : Unable to discover resources on SCV: Failed to get the storage system for host resource : Name : <NFS_VOLUME>, Type: SDNASDir
DEBUG snapcenter --- [ Thread-3] c.n.w.u.LogHelper : Exception in discover resources com.netapp.wfe.model.ApiException: Unable to discover resources on SCV: Failed to get the storage system for host resource : Name : <NFS_VOLUME>, Type: SDNASDir
vmcontrol_<JOB_ID>.log
表示Failed to get the storage system for host resource
使用 NFS LIF IP
DEBUG snapcenter --- [tp1825027294-18] c.n.a.d.VsphereDiscoveryManager : Datastore type is NFS
DEBUG snapcenter --- [tp1825027294-18] c.n.a.m.DatastoreStorageDetailsCache : Calling GetNasStorageInfo with NFS LIF <IP> and exportPath <NFS_VOLUME>
..
ERROR snapcenter --- [tp1825027294-18] c.n.a.s.c.SnapManagerStorageServiceImpl : Failed to get the storage system for host resource : Name : <NFS_VOLUME>, Type: SDNASDir
ERROR snapcenter --- [tp1825027294-18] c.n.a.m.DatastoreStorageDetailsCache : Failed to get the storage system for host resource : Name : <NFS_VOLUME>, Type: SDNASDir
ERROR snapcenter --- [tp1825027294-18] c.n.a.s.p.DiscoverResourcesManager : [JobId:<JOB_ID>] com.netapp.nvpf.api.model.ApiException: Failed to get the storage system for host resource : Name : <NFS_VOLUME>, Type: SDNASDir
ERROR snapcenter --- [tp1825027294-18] c.n.a.s.p.DiscoverResourcesManager : Encountered error while processing discover resources. Error: Failed to get the storage system for host resource : Name : <NFS_VOLUME>, Type: SDNASDir
com.netapp.nvpf.api.model.ApiException: Failed to get the storage system for host resource : Name : <NFS_VOLUME>, Type: SDNASDir
- 在 与备份 作业不同的时间、
ProtectionService.log
报告错误:
[WRN] [Storage] [TID:11] [RID:] [CID:] [JID:-1] Failed to resolve <IP_ADDRESS> byHostEntry, Exception:System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (00000005, 0xFFFDFFFF): Name or service not known
at System.Net.Dns.InternalGetHostByAddress(IPAddress address)
at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
at SnapDrive.Nsf.Common.Infrastructure.Storage.NetworkResourceIdCache.ResolveWithDns(String hostName)