跳转到主内容

NetApp_Insight_2020.png 

如何在 SANtricity System Manager 上重新启动 Web 服务

Views:
10
Visibility:
Public
Votes:
0
Category:
e-series-santricity-os-controller-software
Specialty:
esg
Last Updated:

适用于

  • E 系列
  • SANtricity OS 控制器软件
  • SANtricity System Manager
  • WebServer

解答

  • 从 Linux 主机使用 curl ,运行以下 API 调用:

curl -k -X POST -u USERNAME:PASSWORD https://<Controller_Management_Address>/devmgr/v2/restart

  • 使用 Windows 主机从 PowerShell 6 或更高版本运行以下命令:

$Header = @{"Authorization" = "Basic "+[System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes("USERNAME:PASSWORD "))}
Invoke-RestMethod -Method POST -Headers $Header -ContentType "application/json" -SkipCertificateCheck -Uri "https://controller_ip/devmgr/v2/restart"

注意:每个控制器都运行一个 Web 服务实例。对于双控制器配置,如果要重新启动存储阵列上的所有 Web 服务,则应将 API 调用发送到每个控制器。 

请记住,重新启动 Web 服务后、 SANtricity System Manager Web 界面将需要大约的时间5 到 10 分钟后再次可用。 

其他信息

Invoke-RestMethod 

 

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support