linux - Azure VM Linux Ubuntu 备份代理 - 部署失败

标签 linux bash azure ubuntu

我们在 Azure 托管上有两个 Ubuntu (14.04) Linux 服务器虚拟机。目前正在尝试在 Azure 中为这些计算机设置备份服务。我已关注this guide并让代理启动并运行。在 bash 输出中运行“waagent -version”时显示:

WALinuxAgent-2.2.5 running on ubuntu 14.04
Python: 2.7.6
Goal state agent: 2.2.5

当尝试在 Azure 中启用备份服务时,我收到错误,部署失败,以下是错误片段:

{
  "status": "Failed",
  "error": {
    "code": "ResourceDeploymentFailure",
    "message": "The resource operation completed with terminal provisioning state 'Failed'.",
    "details": [
      {
        "code": "UserErrorGuestAgentStatusUnavailable",
        "message": "Unable to perform the operation as the VM Agent is not responsive."

不确定为什么代理在安装和运行时“没有响应”。

我错过了什么?

我们已重新启动并重新启动服务器/服务。尝试了不同的备份作业创建。服务器之间确实设置了负载平衡,但尝试禁用它没有效果。

任何帮助将不胜感激。

谢谢。

最佳答案

Microsoft 支持建议我使用 Azure powershell cmdlet 运行这些命令:

Add-Azureaccount
$vm = Get-AzureVM –ServiceName <cloud service name> –Name <VM name>
$vm.VM.ProvisionGuestAgent = $true
Update-AzureVM –Name <VM name> –VM $vm.VM –ServiceName <cloud service name>

这成功了!现在已经能够成功备份虚拟机了。这是通过 apt-get 安装的 walinuxagent,不需要其他任何东西就可以运行该服务。

关于linux - Azure VM Linux Ubuntu 备份代理 - 部署失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42643683/

相关文章:

azure - Windows azure redis缓存迁移问题

java - 在 Linux Mint 上安装 Oracle Java(而不是使用 OpenJDK)——链接可能出现的问题

c++ - Windows 和 Linux 中 USB 串口的区别

linux - 是否可以将目录中的所有文件重命名为 0.jpg、1.jpg、2.jpg 等?

bash - 外壳脚本 : bad interpreter: No such file or directory when using pwd

Bash:增加字符串中的计数器变量

linux - 如何使用 sshpass 在两台远程计算机之间复制数据?

powershell - 使用 powershell 将 Azure 网站平台从 32 位更改为 64 位

azure - 无效Xml文档: XML specified is not syntactically valid

c++ - libstdc++ 中奇怪的符号查找错误