问题描述
我们在Azure托管上有两个Ubuntu(14.04)Linux服务器VM.当前正在尝试在Azure中为这些计算机设置备份服务.我遵循了本指南,并启动并运行代理.在bash输出中运行"waagent -version"时,显示:
We have two Ubuntu (14.04) Linux server VMs on Azure hosting. Currently trying to setup the backup service within Azure for these machines. I have followed this guide and have the agent up and running. When running "waagent -version" in bash output shows:
WALinuxAgent-2.2.5 running on ubuntu 14.04
Python: 2.7.6
Goal state agent: 2.2.5
然后尝试在Azure中启用备份服务时出现错误,部署失败,这是错误的代码段:
When then attempting to enable the backup service in Azure I get the error, deployment failed, here is a snippet of the error:
{
"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."
不确定代理在安装和运行时为何无响应".
Unsure why the Agent is "not responsive" as it is installed and running.
我想念什么?
我们已经重新启动并重新启动了服务器/服务.尝试了不同的备份作业创建.服务器之间确实设置了负载平衡,但是尝试禁用此功能.
We have rebooted and restarted the server/services. Tried different backup job creations. Servers do have a load balancing set between them, but have tried disabling this to no effect.
任何帮助将不胜感激.
谢谢.
推荐答案
Microsoft支持建议我使用Azure Powershell cmdlet运行以下命令:
Microsoft support advised me to run these commands using the Azure powershell cmdlets:
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,不需要其他任何东西即可运行该服务.
This did the trick! Have now been able to successfully backup the VM. This was with the walinuxagent installed from apt-get, nothing else was required in order for the service to run.
这篇关于Azure VM Linux Ubuntu备份代理-部署失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!