Quantcast
Channel: Azure Virtual Machines forum
Viewing all 12545 articles
Browse latest View live

Cannot reset SSH settings Linux VM

$
0
0

Hello, I have a linux VM running Ubunutu 14.04.

After restarting the VM, I noticed that I could not longer SSH or use remote desktop with XRDP, it kept saying the password was incorrect. Naturally, I tried to reset the password and the SSH config from the Azure portal but the progress bar just sits there indefinitely and nothing gets reset. I have no idea what else to try, I used the Azure CLI but it kept giving me errors.

Thanks.


Cannot change the imageReference of an existing VM Scale Set

$
0
0

Hi,

I have a VM Scale Set running between 2 and 4 machines behind a Load Balancer and serving some production web traffic. This is a system I've brought over from AWS.

In AWS the machines were based on Ubuntu 14.04.0 LTS from mid-2014 so I choose a matching Azure Ubuntu image to minimise migration issues.

I have since verified the system operates on the newer Ubuntu 14.04.4 from February 2016 and I am attempting to update my VM Scale Set so that new machines provisioned during a scale-out event will use the new base image.

In my ARM template I have changed the Scale Set's virtualMachineProfile.storageProfile.imageReference from this:

"imageReference": {
    "publisher": "Canonical",
    "offer": "UbuntuServer",
    "sku": "14.04.0-LTS",
    "version": "14.04.201406061"
}

To this:

"imageReference": {
    "publisher": "Canonical",
    "offer": "UbuntuServer",
    "sku": "14.04.4-LTS",
    "version": "14.04.201602220"
}

But when I attempt to deploy the template I get the error message:

Changing property 'imageReference.sku' is not allowed.

It seems I am now back in the same situation of incurring an outage as per my previous question here:

https://social.msdn.microsoft.com/Forums/en-US/2e81dd6a-1741-48aa-ab02-fc5c8c4450c1/how-to-update-vm-scale-sets-customdata-without-down-time

In AWS, replacing the Launch Configuration of a AutoScaling Group so that new machines will be provisioned from a new image (AMI) is a standard operation.

Ideas on how to solve this are appreciated.

Regards,

Jason

How to take a VM snapshot on Azure new portal

$
0
0

Hello,

I would like to do backup VM on Azure new portal. I found a good url https://azure.microsoft.com/en-us/documentation/articles/backup-azure-vms/ But it seems the URL is Azure old portal. Is there the backup URL of new portal ? Please let me know. 

Best Regards,

hiro



What's the MHz on D11 v2 cores?

$
0
0

From Jens Vestergaard @vestergaardjvia Twitter

 

@Azure VM D11_v2, what's the core MHz on the CPU?

We provided customer with:aka.ms/d1000499 &http://aka.ms/d1000499a 

@AzureSupport Thanks for the input - had been looking at the first article - but nothing concrete, only describing 2.4 to possible 3.2

https://twitter.com/vestergaardj/status/705350557708525568 

Thanks,

@AzureSupport

 


Virtual Machine not responding in portal or by powershell

$
0
0

Hi!

I have a VM in Azure that does not shutdown, nor wants to be deleted.

Anyone seen this case before?

It has been standing with status "Deleting" for a day now since, and before that had the status "Update" for a day while trying to force it to shut down. I have tried by GUI in the portal and also by powershell.

PS C:\Users\admin> get-azurermvm 'xxxxxx' | stop-azurermvm -Force


Status              : Failed
StatusCode          : OK
RequestId           : 3d7b4196-5a41-4b35-9ea8-439ac2e0204a
Output              :
Error               : {
                        "Details": [],
                        "InnerError": null,
                        "Code": "InternalOperationError",
                        "Message": "An internal execution error occurred.",
                        "Target": null
                      }
StartTime           : 12.02.2016 08.33.06 +01:00
EndTime             : 12.02.2016 10.02.26 +01:00
TrackingOperationId : aaed4e79-d2db-41be-8b26-a9cbf3eedb7c


Any input on this will be appreciated.

Best regards, Anders Dahl

Unable to Create a Virtual Machine

$
0
0

So,I have a Virtual Network setup, but when I go to create a Virtual Machine on it, I get the Following error:

{"error":{"code":"VirtualMachineOperationFailed","message":"Unable to create virtual machine 'XXXXXXX': 'The virtual network xxxxxxxx-xxxx-xxxxx-xxxx-xxxxxxxxxx does not exist.'."}}

(NOTE:  I changed the virtual machine name and GUID in the error to hide those details)

I have confirmed the Virtual Network Exists, the GUID matches the GUID for the Virtual Network in the Portal, and I can select the Virtual network when I try to create the Virtual machine.  Not sure why it is saying it "does not exist".  

Any help would be appreciated.


RDP Connection to Resource Manager (ARM) Win2012R2 VM Drops When the VM Establishes a VPN Connection

$
0
0

I have a Classic Win2012R2 VM that has always allowed me to RDP to it and then have the VM establish a VPN connection using the Shrewsoft 2.2 VPN Client.  The initial RDP connection stays connected and all is good with the world.

I created a new Resource Manager (ARM) Win2012R2 VM to replace the Classic Win2012R2 VM, but my RDP connection to it drops every time the VM establishes a VPN connection using the Shrewsoft 2.2 VPN Client.  This forces me to Restart the VM in order to connect to it with RDP again.

Why does the RDP connection continue to work with the Classic VM, but not the Resource Manager VM and how can I get this to work with the Resource Manager VM?

FYI- I have another Resource Manager (ARM) Win2012R2 VM that uses the Cisco AnyConnect Secure Mobility Client v3.1.05160 to a VPN connection and this VM allows me to RDP to it, establish a VPN connection, and then RDP to other computers from the VM as desired.  It's kind of strange that this one works as desired, but the one using the Shrewsoft 2.2 VPN Client does not. I would have expected both of the Resource Manager (ARM) VMs to behave the same way one way or the other.

Thanks in advance.


No Acces with RDP to my virtual macine classic

$
0
0

Since two days i am not able to get acces to my virtual machine. I tried all the tips an tricks like resetting remote acces, restarting the VM. The dashboard states everything is working file and the machine's status is running.

Nevertheless my RDP session gets a time out and the FTP server that i installed on the VM is receiving a timeout as well. Anyone that could give me a tip?

BTW: The location is North Europe.

Thanks for you help


Network Security Group for ARM VM looks good but isn't working

$
0
0

From Tyler Leonhardt @TylerLeonhardt via Twitter,

I'm not sure how to open endpoints with the new Portal! Any guides somewhere? I've been at this for an hr!


I'm able to ssh without any worry. here is an example port: is this right?


It's not working even though I followed the instructions: aka.ms/d1928171



Thanks,
@AzureSupport

Perfmon vs WMI - Azure VM CPU statistics difference

$
0
0

Hi,

We are trying to monitor the CPU usage of Azure Virtual Machines using the following WMI query:

SELECT PercentProcessorTime FROM Win32_PerfFormattedData_PerfOS_Processor WHERE Name="_Total"

However the output of this query is somewhat different from the ones obtained from Azure's default VM Monitoring page (about 4~5% higher on average). When we cross checked this with the perfmon output, we get the details similiar to the VM's monitoring page.

The average data that we get from Azure's portal is around 0.58 while the output from the query is around 7%. 

Has anyone else faced this problem ? Is this an expected behaviour ? Why is there a difference in these statistics ? Which metric is more accurate ? 

Thanks in advance.  

Set-AzureRmVMCustomScriptExtension is working properly

$
0
0

Hi,

I have created a azure vm in resourcemanager portal through powershell , i want to connect azure vm powershell with my machine remotely for that i have used the Set-AzureRmVMCustomScriptExtension to run script file for adding firewall rule.

Script in storage account executed without errror, but the operation mentioned in script was not take place.

Any help would be greatly appreciated. 

Thanks in advance.

AzureVM Welcome screen delay

$
0
0

Hello.

I have experiencing a long delay on "Welcome" screen when RD to AzureVM (Windows server 2012R2). The server is AD Domain Controller, and whatever user try to sign-in it has ~ 1min. delay on Welcome screen.

This though happens only when no one has been connected to the server for several hours. If someone is connected or have been connected shortly before, the welcome screen appears for 1sec. and passes to desktop (the whole login process is very fast then)

Anyone with idea what could cause this behaviour?

Terminating an SSL with Ubuntu VM's

$
0
0

From Colm Troy (@colmtroy) via Twitter who tweets:

“With an Ubuntu VM with WordPress, do I need to generate a CSR/SSL key etc on VM for SSL or can I terminate SSL somewhere else?”

Tweet URL: https://twitter.com/colmtroy/status/705345399675101184 
 
Appreciate if you may be able to advise Colm on the above.

Thanks,
@AzureSupport

[ARM] Failed to attach existing disk to the virtual machine. Error: ExpiredAuthenticationToken

$
0
0

Hi all,

I am trying to attach an existing VHD to an existing VM as a disk. However, I am getting this message:

The disk was trying to get attached for a LONG time before this error was returned.

How can I fix this?

EDIT: It looks like the disk was attached successfully, despite this error being returned...


How to update deployment/role to current API version?

$
0
0

Hi,

I'm trying to convert a Azure VM to use a static IP. When I run powershell script to add the IP, I get this error:

Set-AzureReservedIPAssociation : BadRequest : This operation is not allowed on deployment/role last updated with old API version , please update deploymet/role and try again.

How can I update deployment/role to current API version?


Use existing VHD to create a new VM in Azure Portal

$
0
0

From Jitender Kumar @jitenderkumar32 via Twitter

can i use the existing VHD in ARM azure portal to create the new VM? I'm using the azure new portal and i have VHD in new portal in storage account but there is no option to use the VHD to create new VM please help me

i have VHD that have windows server 2012 r2 and my software so what want is to use the VHD to create VM so i get all software and data back in new VM. i don't want to use new VM with new OS i want to existing OS that is in VHD



Thanks,

@AzureSupport

User defined VM images using Azure cli, not visible in the portal

$
0
0

Hi,

I created some VM's locally, following the video tutorial [1]. Using the Azure CLI, I uploaded the image to Azure. The image is visible, when I run the command "azure vm image list", but I can't see the images in the Azure portal. In the images below, the RHEL image was created using the portal, it's visible in both, the portal and also CLI. The two images new-rhel and rhel-azure were created using CLI and I can run VMs using all three images.

[1] https://azure.microsoft.com/en-in/documentation/videos/uploading-a-red-hat-enterprise-linux-rhel-71-image-to-microsoft-azure/

UDP Broadcasts in Azure VMs

$
0
0

I've found conflicting information and I'm not sure of the latest support, but do Azure VMs (not classic) support UDP broadcasts between VMs on a virtual network?

Point-To-Point UDP works, but broadcasts (to address 10.0.0.255 or to 255.255.255.255) don't seem to arrive at the remote VM but they are seen by the sending VM.

I've tried and can't get it to work, if it is supported is there a trick to getting it to work?


Deployment Failed when creating Virtual Machine

$
0
0

Hi,

Since yesterday, I've been struggling to create a virtual machine on azure that contains Windows 10 and Visual Studio 2015 Entreprise.

Every time I configure the machine, it fails showing me the following error :

Thanks in advance.


It's better to die on your feet than live on your knees.

Azure VM Operation Buttons Grayed/Dimmed Out in New Portal

$
0
0

Hello Team!

Azure Customer @pahunt1978 is experiencing an issue with the new Portal's VM operation buttons being unavailable. No changes were made to the VM and the customer has already attempted to sign out and log back in, and use a different browser.

Any assistance would be appreciated.

@AzureSupport

Viewing all 12545 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>