SCW 无法通过 " 无存储连接 " 创建 / 连接磁盘 为 StorageSystem" 设置
适用场景
适用于Microsoft Windows的SnapCenter 插件(SCW)
问题描述
- 即使 SVM 已添加 到存储系统中, SCW 仍无法创建或连接磁盘,但出现以下错误。
示例:
Failed - Failed to connect disk Error: No storage connection is set for StorageSystem : <SVN>
SCWDebug.log
显示对 SCW 主机的访问被拒绝或超时。
示例:
Verbose SDW PID=[<PID>] TID=[<TID>] ++SDProvisioningServiceProvider::SDProvisionConnectStorage
Verbose SDW PID=[<PID>] TID=[<TID>] no matching task for SDW SmTaskCode: ConnectStorage
Verbose SDW PID=[<PID>] TID=[<TID>] ++DiskProvisioningManager::SDProvisionConnectStorage
Verbose SDW PID=[<PID>] TID=[<TID>] ++DiskProvisioningHelper::ValidateConnectRequest
Verbose SDW PID=[<PID>] TID=[<TID>] --DiskProvisioningHelper::ValidateConnectRequest
Verbose SDW PID=[<PID>] TID=[<TID>] ++DiskProvisioningManager::SDProvisionCreateStorage
Verbose SDW PID=[<PID>] TID=[<TID>] Validating request
Verbose SDW PID=[<PID>] TID=[<TID>] ++DiskProvisioningHelper::PreProcessandValidateCreateRequest
Verbose SDW PID=[<PID>] TID=[<TID>] ++StorageSystemManager::GetStorageSystemId
Verbose SDW PID=[<PID>] TID=[<TID>] SVM: <SVM>
Verbose SDW PID=[<PID>] TID=[<TID>] ++StorageSystemManager::GetStorageSystemIdFromCache
Verbose SDW PID=[<PID>] TID=[<TID>] SVM: <SVM>
Verbose SDW PID=[<PID>] TID=[<TID>] The storage is not in the storage systemId cache: Available cached storage are...
Verbose SDW PID=[<PID>] TID=[<TID>] --StorageSystemManager::GetStorageSystemIdFromCache
Verbose SDW PID=[<PID>] TID=[<TID>] <SVM> is missing from storage cache. Starting update from server. Thread ID: 7
Verbose SDW PID=[<PID>] TID=[<TID>] Update storage system '<SVM>' from SnapCenter. updateFromServer flag = False
Verbose SDW PID=[<PID>] TID=[<TID>] ++StorageSystemManager::UpdateStorageSystemIDFromServerCache
Verbose SDW PID=[<PID>] TID=[<TID>] Making a rest call to https://localhost:8145//SMCoreCacheService//GetStorageCache
Verbose SDW PID=[<PID>] TID=[<TID>] Call remote Rest API https://localhost:8145//SMCoreCacheService//GetStorageCache
Verbose SDW PID=[<PID>] TID=[<TID>] Entering ValidateSmCertificate
Verbose SDW PID=[<PID>] TID=[<TID>] Accepting certificates
Verbose SDW PID=[<PID>] TID=[<TID>] Finished ValidateSmCertificate
Error SDW PID=[<PID>] TID=[<TID>] Cannot retrieve storage connection setting from SMS server.
Error SDW PID=[<PID>] TID=[<TID>] Response error: Access denied for server: <SCW host> or timeout expired.
Verbose SDW PID=[<PID>] TID=[<TID>] --StorageSystemManager::UpdateStorageSystemIDFromServerCache
Verbose SDW PID=[<PID>] TID=[<TID>] --StorageSystemManager::GetStorageSystemId
Error SDW PID=[<PID>] TID=[<TID>] Error: No storage connection is set for StorageSystem : <SVM>
Verbose SDW PID=[<PID>] TID=[<TID>] --DiskProvisioningHelper::PreProcessandValidateCreateRequest
Error SDW PID=[<PID>] TID=[<TID>] Failed to provision disk
Error SDW PID=[<PID>] TID=[<TID>] Error: No storage connection is set for StorageSystem : <SVM> at SnapDrive.Nsf.Core.DiskProvisioningHelper.PreProcessandValidateCreateRequest(SDProvisionCreateStorageRequest request, DiskOperationContext context, HostDetails& host)
at SnapDrive.Nsf.Core.DiskProvisioningManager.SDProvisionCreateStorage(SDProvisionCreateStorageRequest request, DiskOperationContext context, Boolean provisioning)
Verbose SDW PID=[<PID>] TID=[<TID>] --DiskProvisioningManager::SDProvisionCreateStorage
Verbose SDW PID=[<PID>] TID=[<TID>] --DiskProvisioningManager::SDProvisionConnectStorage
Verbose SDW PID=[<PID>] TID=[<TID>] no matching task for SDW SmTaskCode: ConnectStorage
Verbose SDW PID=[<PID>] TID=[<TID>] --SDProvisioningServiceProvider::SDProvisionConnectStorage
SMCoreService.log
显示使用 FQDN 解析自己主机的名称失败。
示例:
ERROR SMCore PID=[<PID>] TID=[<TID>] Exception in method: InvokeXML.
System.Net.WebException: The remote name could not be resolved: '<SCW FQDN>'
at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
at System.Net.WebClient.UploadString(Uri address, String method, String data)