简体   繁体   English

无法使用 Azure 站点恢复连接到 SAP HANA 备份中的“AAD1”服务

[英]Failed to connect to 'AAD1' service in SAP HANA Backup using Azure site recovery

I am using the SAP Hana 2.0 & trying to implement the SAP HANA backup using the Azure Recovery vault.我正在使用 SAP Hana 2.0 并尝试使用 Azure 恢复保管库实施 SAP HANA 备份。

For that, I have to run the file "msawb-plugin-config-com-sap-hana.sh".为此,我必须运行文件“msawb-plugin-config-com-sap-hana.sh”。 So it was showing the error as Failed to connect AAD1 service.所以它显示错误为无法连接 AAD1 服务。

Anyone knows the issue.任何人都知道这个问题。 please resolve.请解决。

I am facing the same issue too.我也面临同样的问题。 I'm working with SAP Hana running on a SUSE 15sp1 Azure VM, with network connectivity established by the use of NSG service tags as from https://docs.microsoft.com/en-us/azure/backup/backup-azure-sap-hana-database .我正在使用在 SUSE 15sp1 Azure VM 上运行的 SAP Hana,通过使用 NSG 服务标签建立网络连接,如https://docs.microsoft.com/en-us/azure/backup/backup-azure- sap-hana 数据库

Looking inside the script I noticed that a curl request is used to run connectivity checks查看脚本内部,我注意到 curl 请求用于运行连接检查

curl --silent --output /dev/null --location --request "HEAD" "https://login.windows.net/" --write-out "%{http_code}\n"

If I run curl manually, changing the options in order to make it display the whole of the command output, it returns the following:如果我手动运行 curl,更改选项以使其显示整个命令输出,它将返回以下内容:

Warning: Setting custom HTTP method to HEAD with -X/--request may not work the
Warning: way you want. Consider using -I/--head instead.
curl: (56) OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 104

This error is reported as a closed issue on the curl Github repo ( https://github.com/curl/curl/issues/4409 ).此错误在 curl Github 存储库 ( https://github.com/curl/curl/issues/4409 ) 上报告为已关闭问题。 It looks like if it would be solved by subsequent curl release.看起来是否可以通过后续的 curl 发布来解决。

Mine is 7.60.0.我的是 7.60.0。 Latest is 7.73.0.最新的是 7.73.0。 Unfortunately 7.60 seems to be the latest available in SUSE repos and I do not want to intall not officially approved packages on a production system.不幸的是,7.60 似乎是 SUSE 存储库中可用的最新版本,我不想在生产系统上安装未经官方批准的软件包。

So in my case the only way out would be to run the script with the --skip-network-checks parameter.因此,在我的情况下,唯一的出路是使用--skip-network-checks参数运行脚本。

We just fixed this issue in the latest version of script updated yesterday.我们刚刚在昨天更新的最新版本的脚本中修复了这个问题。 Can you please re-check with the latest version?你能重新检查一下最新版本吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM