跳转到主内容

由于操作超时(或)无法解析主机、工作负载安全代理安装命令失败

Views:
280
Visibility:
Public
Votes:
0
Category:
cloud-insights
Specialty:
oci
Last Updated:

适用场景

  • 数据基础架构 洞察力(Data Infrastructure Insight、DII)(原Cloud Insights) 存储工作负载安全性
  • 工作负载安全代理
  • 使用代理服务器
  • env_reset 已在Linux的/etc/sudoers 中启用

问题描述

  • 在运行 由 DII图形用户界面提供的命令来安装工作负载安全代理时、由于操作超时 (或)无法解析curl 命令的主机、此命令将失败

# token='XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX' installerName=cloudsecure-linux-agent-installer-1.554.0.zip && sudo curl
-H "Authorization: Bearer $token" -o $installerName 
https://XXXXXX.XXXX.cloudinsights.netapp.com/rest/v1/agents/installers/linux/1.554.0
&& sudo unzip $installerName -d . && sudo chmod 750 -Rf ./cloudsecure-agent-install.sh
&& sudo /bin/bash -c "TOKEN=$token HTTPS_PROXY='$https_proxy'
./cloudsecure-agent-install.sh"  
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- 0:04:59 --:--:--      0
curl: (28) Operation timed out after 300000 milliseconds with 0 out of 0 bytes received

# token='XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXX' installerName=cloudsecure-linux-agent-installer-1.554.0.zip && sudo curl
-H "Authorization: Bearer $token" -o $installerName 
https://XXXXXX.XXXX.cloudinsights.netapp.com/rest/v1/agents/installers/linux/1.554.0
&& sudo unzip $installerName -d . && sudo chmod 750 -Rf ./cloudsecure-agent-install.sh
&& sudo /bin/bash -c "TOKEN=$token HTTPS_PROXY='$https_proxy'
./cloudsecure-agent-install.sh"  
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- 0:04:59 --:--:--      0
curl: (6) Could not resolve host: XXXXXX.XXXX.cloudinsights.netapp.com

  • 代理服务器的访问日志表示无法从尝试安装的主机进行访问

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.