微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Microsoft Academic Knowledge Exploration ServiceDeployHost 过程中需要帮助

如何解决Microsoft Academic Knowledge Exploration ServiceDeployHost 过程中需要帮助

在尝试使用 MAKES(Microsoft Academic KNowledge Exploration Service)API 时,我无法更进一步。

  1. 我一直在参考指南文档 (https://docs.microsoft.com/en-us/academic-services/knowledge-exploration-service/get-started-create-api-instances)

  2. 我的存储帐户中有 MAKES 实例(当前版本:makes/2020-12-07/),并且我的所有资源都在美国东部地区(eastus )

  3. 我使用的是从当前版本目录下载的最新版本的 kesm.exe。

  4. 我请求并授予了足够数量的标准 DS4v2 内核 (30)

  5. 到目前为止,我已经通过输入以下命令行成功创建了要托管的资源的图像(我必须在以下命令行中使用“”来屏蔽一些信息):

    kesm.exe CreateHostResources --AzureActiveDirectoryDomainName "my active directory" --HostResourceName "my resource name" --MakesPackage https://"my storage".blob.core.windows.net/makes/2020-12-07/ --AzureSubscriptionId "my subscription id" --Region eastus

  6. 成功创建如上所示的主机映像后,我进一步研究了 DeployHost 部分(在指南文档中)。我使用的命令行如下:

    kesm.exe DeployHost --HostName <my host name> --MakesPackage https://"my storage".blob.core.windows.net/makes/2020-12-07/ --MakesHostimageId /subscriptions/"my subscription id"/resourceGroups/"my resource group"/providers/Microsoft.Compute/images/"host image name" --AzureSubscriptionId "my subscription id" --AzureActiveDirectoryDomainName "my active directory domain name" --Region eastus --HostMachinesku Standard_DS4_v2 --HostMachineDatadiskSizeInGb 2048

  7. 在上面的命令行中,我添加了2048 Gb的数据盘(--HostMachineDatadiskSizeInGb 2048),参考指南文档,因为我一直收到“空间不足”的错误.

  8. 以下是上面 #6 中命令行的成功部分:

     To sign in,use a web browser to open the page https://microsoft.com/devicelogin and enter the code HL3V5ZGB6 to authenticate. *(I did the successful authentication)*
    
     [2020-12-30 3:13:12 PM] info: Kesm.Kesm[0]
           Begin host resource deployment
    
     [2020-12-30 3:13:12 PM] info: Kesm.Kesm[0]
           deploying host virtual network resource
    
     [2020-12-30 3:13:22 PM] info: Kesm.Kesm[0]
           deploying host public ip address resource
    
     [2020-12-30 3:13:27 PM] info: Kesm.Kesm[0]
           deploying host load balancer resource
    
     [2020-12-30 3:13:30 PM] info: Kesm.Kesm[0]
           deploying host network security group resource
    
     [2020-12-30 3:13:36 PM] info: Kesm.Kesm[0]
           deploying host virtual machine scaleset resource. AdminUserName: kesm,AdminPassword: "password"
    
  9. 但是,在上面的成功部分之后,我对以下错误感到迷茫和沮丧,这些错误继续为多个页面生成

    [2020-12-30 3:18:42 PM] info: Kesm.Kesm[0] Waiting for host to come online

    Instance 0: {"ClassName":"System.Exception","Message":"**Something went wrong downloading kes resources","Data":null**,"InnerException":{"ClassName":"System.Exception","Message":"**Cannot create/recreate kes resource download folder","Message":"**Could not find a part of the path 'Y:\\Indexes'.","InnerException":null,"HelpURL":null,"StackTraceString":" at System.IO.FileSystem.CreateDirectory(String fullPath,Byte[] securityDescriptor)\r\n at System.IO.Directory.CreateDirectory(String path)\r\n at Microsoft.Academic.KNowledge.Core.Service.KesResourceTransferService.DownloadKesResources(String indexFilesUrl,String indexFileKey,String grammarFileUrl,String grammarFileKey,String localResourceDestination,String localResourcePrefix) in D:\\a\\1\\s\\Core\\MakesServiceHost\\ServicesHost.Common\\KesResourceTransfer\\KesResourceTransferService.cs:line 162","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147024893,"Source":"System.IO.FileSystem","WatsonBuckets":null},"StackTraceString":" at Microsoft.Academic.KNowledge.Core.Service.KesResourceTransferService.DownloadKesResources(String indexFilesUrl,String localResourcePrefix) in D:\\a\\1\\s\\Core\\MakesServiceHost\\ServicesHost.Common\\KesResourceTransfer\\KesResourceTransferService.cs:line 166\r\n at Microsoft.Academic.KNowledge.Core.Service.KesResourceTransferService.StartKesResourceDownload(String indexFilesUrl,String localResourcePrefix) in D:\\a\\1\\s\\Core\\MakesServiceHost\\ServicesHost.Common\\KesResourceTransfer\\KesResourceTransferService.cs:line 141","HResult":-2146232800,"Source":"ServiceHost.Common","StackTraceString":" at Microsoft.Academic.KNowledge.Core.Service.ServiceInitialization.<>c__displayClass8_0.<<Initialize>b__0>d.MoveNext() in D:\\a\\1\\s\\Core\\MakesServiceHost\\ServiceHost\\Common\\ServiceInitialization.cs:line 43","Source":"ServiceHost","WatsonBuckets":nulInstance 0: {"ClassName":"System.Exception","Message":"Something went wrong downloading kes resources","Data":null,"Message":"Cannot create/recreate kes resource download folder","Message":"Could not find a part of the path 'Y:\\Indexes'." *(the error message continues for multiple pages)

  10. 在请求技术帮助后,我被重定向到此页面。 Azure 专家说错误来自 MAKES 产品本身,因为我的 kesm 命令似乎在正确的轨道上。

我需要任何提示以进一步使用 Microsoft Academic 材料。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。