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

Whats the point in the free trial if you cant do anything?

$
0
0

I signed up for a free trial. Looked to create a virtual machine clicked XenApp Trial 7.8 and did all the forms. Selected 2 cores. The lowest setting. What for? 

Validation Failed 

Quota Exceeded: Max allowed 4 cores. Currently in use zero. Needed TWELVE cores. 

Whats the point? Not impressed. Complete waste of time. 


Optimize size for the captured VM image

$
0
0

Hi,

It seems that when I capture a VM to an image, the image size is the same as the VM's OS disk size. Is there a way to optimize it? E.g. the VM's OS disk is 128 GB, but only 75 GB is actually used. Is there a way to get an image from this VM with size 75 GB instead of 128 GB?

Regards,

Julie

Launch ARM VM from custom image that reside in Classic Storage

$
0
0

Hi,

I tried to launch VM from custom image using ARM template. My custom image was located on a Classic Storage.

The launch of the VM failed because it doesn't recognize the classical storage:

ResourceId        : /subscriptions/cda16bf7-f6d4-40b1-84fa-a74fab8001ac/resourceGroups/mynewresourcegroup/providers/Mic
                    rosoft.Resources/deployments/MyDeployment/operations/025D8BF43F498F5F
ResourceName      : MyDeployment/025D8BF43F498F5F
ResourceType      : Microsoft.Resources/deployments/operations
ResourceGroupName : mynewresourcegroup
SubscriptionId    : cda16bf7-f6d4-40b1-84fa-a74fab8001ac
Properties        : @{ProvisioningState=Failed; Timestamp=2015-10-09T18:08:44.8362694Z; Duration=PT3.7889174S;
                    TrackingId=ccfefa39-4aac-47d1-8374-58041a37c8c2; StatusCode=BadRequest; StatusMessage=;
                    TargetResource=}
PropertiesText    : {
                      "provisioningState": "Failed",
                      "timestamp": "2015-10-09T18:08:44.8362694Z",
                      "duration": "PT3.7889174S",
                      "trackingId": "ccfefa39-4aac-47d1-8374-58041a37c8c2",
                      "statusCode": "BadRequest",
                      "statusMessage": {
                        "error": {
                          "code": "StorageAccountNotRecognized",
                          "message": "Please use a storage account managed by Storage Resource Provider. Use of avusw
                    is not supported."
                        }
                      },
                      "targetResource": {
                        "id": "/subscriptions/cda16bf7-f6d4-40b1-84fa-a74fab8001ac/resourceGroups/mynewresourcegroup/pr
                    oviders/Microsoft.Compute/virtualMachines/myVM",
                        "resourceType": "Microsoft.Compute/virtualMachines",
                        "resourceName": "myVM"
                      }
                    }

Now how do I create new ARM storage account and copy the image from Classical Storage to the new ARM storage? In the old portal, we can copy custom image from VM Depot and the new preview portal doesn't have the option.

And regarding launching VM from custom image, does the storage of the image has to be within the same Resource Group? Or it can be of different Resource Group within same region(service manager supports same region)? I hope it's not limiting to within same Resource Group since it's impossible to create a new resource group storage with that custom image in. Actually better solution would be that we can upload custom image somewhere to Azure so that it behaves like bundled image(like AWS community image), so we don't need to have physical custom image reside in the storage in order to launch a VM.

Thanks and hope to hear from you soon.

Regards,

Li

Azure Linux Diagnostic: MDSD documentation and source code?

$
0
0

Hi,

I am looking for some kind of documentation for MDSD protocols and it's source code.
Is anything freely available online?

Why am I doing this:
I am currently engaged by a customer to build an environment on top of azure which heavily relies on the autoscaling feature. The linux distribution of choice in this case is NixOS which is not officially supported by Microsoft Azure.  (No, switching the distro is not an acceptable alternative ;) )

It turns out someone already put in some work to get the WAAgent working on NixOS ( https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/azure-agent.nix ). Apparently the WAAgent alone is not enough to use the autoscaling feature based on CPU usage. I traced the issue to the MDSD (mandatory diagnostics service daemon?) binary which will not run without special preparation on NixOS (and some other distributions).

My goals are

  • (short term) Get MDSD working on NixOS to populate the required tables for the autoscaling with the usage data
  • (long term) Replace the mdsd binary blob with a properly documented (open source) application

I would appreciate any help (especially code and/or documentation) regarding the MDSD.

Thanks!

Securely Accessing a New Windows Server VM

$
0
0

How is accessing a new Windows VM secure? You connect to it through the internet and receive a response with a self-signed certificate, asking for your password. Is this still secure in some way that I do not realize?

With Ubuntu you can set up a system, providing an SSH public key instead of password. My understanding is if you've kept that public key private then you can assume you are talking to the right machine when your private key logs you in.

I considered uploading a vhd after installing a system and exporting its certificate before uploading it as an image but I became convinced that wouldn't work. I tried downloading a vhd of a VM that was created online, hoping I could export it the key, but the image wasn't readable. Right now I'm working on trying to remote desktop from the Ubuntu server I can trust, but I'm currently having trouble setting up vnc and rdp to remote into the Ubuntu Server. There has got to be a better way.

Issues Associating a Reserved IP to a VM

$
0
0

Every time i reboot the VM, the vm's ip address changes. We would not want to reconfigure our dns zone everytime VM is rebooted. So the solution is to assign a reserved IP to our VM's. I can create a reserved IP but i cannot assign the reserved ip to our existing VM. I have tried some commands using the powershell but i cannot get it to work. Below is the command to associate the reserved ip to a service.

Set-AzureReservedIPAssociation -ReservedIPName <myreservedip> -ServiceName <service>

When i ran this command, it is telling me that there are no default deployment. I am guessing that the i am missing with the Service Name. Any thoughts on how to resolve this issue?

Trouble with internet connection from VM.

$
0
0

Hello. 

I have some VM's in North Europe. This week I can't connect to some internet resource(https://www.roseltorg.ru/, http://utp.sberbank-ast.ru/) from them.

I try:

1. Restart VM.

2. Flush and renew DNS

3. Use Google DNS.

4. Restart TCP stack

What i need do to fix this problem?

Subscription Id:

P.S.: Excuse my bad english



Why is SIOS DataKeeper Enterprise Cluster service only available in the ARM?

$
0
0

I am building a multi-subnet SQL Server 2012 cluster using SQL Server VM's (Iaas). I am restrained in my build to the classic (ASM) portal, I really wanted to utilize the SIOS DataKeeper Enterprise Cluster service which is available in the ARM marketplace, however it does not appear in the ASM marketplace, nor in the available compute-virtual machines-image gallery. I spoke with the vendor and they were unaware of the limitation. Is there any particular reason you are cutting ASM off to many of the services?


Gman


I want to use Disaster Recovery for on-premise active directory

$
0
0

Hello Support,

I want to setup active directory on azure ( DC) and ADC configure on on-premise environment. If our ADC is down od any reason what Azure DC will be authentication on my client.

I want to active directory for window,MAC and Linux client. I all PC will be join in domain.  

 

Remote Desktop Connection sometimes great, mostly frustratingly slow - correlated with big changes in ping time?

$
0
0

Hi there.

I recently signed up for a (to my mind) powerful Azure VM.  The specific VM image type is :

Windows Server 2012 R2 operating system with the Remote Desktop Session Host (RD Session Host) role installed along with Microsoft Office 365 ProPlus which has Shared Computer Activation enabled. 

The specs are 2 core, 14gb of RAM - should be enough (!) to run Office.  I connect to the VM via Remote Desktop Client.  Initially I used the default settings on remote desktop client but I have also tried experimenting with "lesser" settings, see screenshots [1]

But unfortunately, the VM is more or less unusable.  The user experience for me is roughly as follows:

  1. I can connect quickly and easily.
  2. About 20-25% of the time, the machine is very responsive - it's brilliant in fact!
  3. The rest of the time (75%-80%) of the time, the machine is slow and frustrating to work with.  Moving between applications is laggy.  There is a lag between typing on my keyboard and the letters appearing on screen.  Basically there is a whole lot of lag between me wanting to do something and then that thing appearing to happen.  I would say around 1 secondin a best case scenario and can be as much as 10-15 seconds.
  4. So imagine you have to wait between 1 and 15 seconds for each of your mouse clicks to take effect - well, that's what it's like for me using my $150/month super fast machine :( [which I'm going to terminate in a couple days if I can't get this fixed!).

My instinct is that this is much more to do with network connectivity than the raw performance of the machine itself.  To start with, my own network connections (wired ethernet to an ADSL router) is not superlative, but at the same time, it's not terrible. I just ran a simple ping to google.com, and I have an average ping of 8ms.  Not bad!

Now on to pinging my azure VM.  Because Azure VMs (at time of writing) do not respond to ping, I'm using psping.

Here's me pinging google.com:80

PS C:\Users\John> C:\Installs\SysInternals\psping  -q -n 1000 -h 10 -i 0 google.com:80

Latency Count
10.28   831
362.07  0
713.86  0
1065.64 0
1417.43 0
1769.22 0
2121.00 0
2472.79 0

<snip>there were a couple of timed out that I'm excluding</snip>

PS C:\Users\John> psping -n 1000 -h 10 MYHOST.westeurope.cloudapp.azure.com:3389

Latency Count
18.24   605
511.21  179
1004.18 86
1497.16 51
1990.13 37
2483.10 17
2976.08 7
3469.05 6
3962.02 11
4454.99 1

The stats are MUCH worse - three or four times worse?  Worse than that even?  I will do more data collection soon, need to head out now.


Also, I tried pinging azure.com:80 vs google.com:80 - azure.com is TEN TIMES slower.

PS C:\Users\John> psping -n 10 -q google.com:80

PsPing v2.10 - PsPing - ping, latency, bandwidth measurement utility
Copyright (C) 2012-2016 Mark Russinovich
Sysinternals - www.sysinternals.com

TCP connect to 216.58.201.46:80:
11 iterations (warmup 1) ping test: 100%

TCP connect statistics for 216.58.201.46:80:
  Sent = 10, Received = 10, Lost = 0 (0% loss),
  Minimum = 10.25ms, Maximum = 11.44ms, Average = 10.82ms
PS C:\Users\John> psping -n 10 -q azure.com:80

PsPing v2.10 - PsPing - ping, latency, bandwidth measurement utility
Copyright (C) 2012-2016 Mark Russinovich
Sysinternals - www.sysinternals.com

TCP connect to 168.62.225.23:80:
11 iterations (warmup 1) ping test: 100%

TCP connect statistics for 168.62.225.23:80:
  Sent = 10, Received = 10, Lost = 0 (0% loss),
  Minimum = 102.43ms, Maximum = 175.48ms, Average = 110.48ms

So, overall it seems to me that the azure service is going to be net-net very slow and painful UNLESS microsoft really focuses on improving its network connectivity.

Or, is there something I should be doing my end?

THanks!

[1]

sorry had to cut these because "body text cannot contain images or links until we are able to verify your account. :( [hope smileys are ok!]

[2]

PS C:\Users\John> ping google.com

Pinging google.com [216.58.210.46] with 32 bytes of data:
Reply from 216.58.210.46: bytes=32 time=9ms TTL=55
Reply from 216.58.210.46: bytes=32 time=9ms TTL=55
Reply from 216.58.210.46: bytes=32 time=9ms TTL=55
Reply from 216.58.210.46: bytes=32 time=8ms TTL=55

Ping statistics for 216.58.210.46:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 8ms, Maximum = 9ms, Average = 8ms


Windows 10 Update Assistant fails to update Windows 10 Enterprise VMs with the "Anniversary Update".

$
0
0
When attempting to force this update on a Windows 10 Enterprise VM using the Windows 10 Update Assistant in a Remote Desktop Connection session, it quickly fails with the message "Contact your system administrator to upgrade Windows Server or Windows Enterprise editions". I don't know how to resolve this issue.

How to prevent change of Serial Number on machine deallocate and reallocate.

$
0
0

When we stop(deallocate) and then start(reallocate) the machine, system serial number changes.

System serial number also known as SMBIOS->Identifying number

windows : winmic bios get serialnumber

Linux : dmidecode -s system-serial-number

Is there any way to have the same serial number after reallocation?

unable to deploy Azure Container Server

$
0
0

We have a BisSpark subscription and try to deploy a Azure Container Server, but always get "Failed to Deploy": Status: Conflict

We selected either swarm oder DC/OS, 1 master, 1 agent, size: Standard D1 in a new resource group and without any containers created before.

Error:

{ "status": "Failed",

"error": {

"code": "ResourceDeploymentFailure",

"message": "The resource operation completed with terminal provisioning state 'Failed'.",

"details": [ {

"code": "TemplateFailedPrevalidation",

"message": "Provisioning of resource(s) for container service 'containerservice-swoopstr_containers' in resource group 'swoopstr_containers' failed with 1 error(s): \\n Resource target: ,

code: TemplateFailedPrevalidation,

message: \\n The template request has multiple validation failures involving one or more Microsoft.Network resources. Please check details for information about each resource.\r\n"

} ]

}

}


GPU N Series on Free subscription ?

$
0
0

Hello,

Is it possible to use the GPU N Series virtual machines while on the Free subscription plan ?


Thanks

Azure Vagrant doesn't work

$
0
0

Hi All

I'm not sure if this is the correct place to post this question.

I'm trying to create a VM in ARM using Vagrant. I followed the steps here - https://github.com/Azure/vagrant-azure

The above link uses a default Ubuntu image and I want to use an windows one. For some reason it doesn't want to pick up the windows image.

           This is the info in  the vagrant file

        azure.vm_name = 'vagrant-test' # max 15 characters. contains letters, number and hyphens. can start with letters and can end with letters and numbers
        azure.tenant_id = 'my tenant'
        azure.client_id = 'my client'
        azure.client_secret = 'my'
        azure.subscription_id = 'sub'
        vm_name = 'TestVM01'
        vm_size ='Standard_A1'
vm_image_urn ='a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-R2-20160812-en.us-127GB.vhd'
        resource_group_name ='demo'

I get this error 

      

lt:  -- Image URN: canonical:ubuntuserver:16.04.0-DAILY-LTS:latest
C:/test/.vagrant.d/gems/gems/vagrant-azure-2.0.0.pre1/lib/vagrant-azure/action/run_instance.rb:81:in `call':
 undefined method `empty?' for nil:NilClass (NoMethodError)
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/synced_folders.rb:87:in `c
all'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/provision.rb:80:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:95:in `block in finalize
_action'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builder.rb:116:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/runner.rb:66:in `block in run'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/util/busy.rb:19:in `busy'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/runner.rb:66:in `run'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/builtin/call.rb:53:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.5/lib/vagrant/action/warden.rb:34:in `call'


Azure Virtual Server web to be view from public site

$
0
0

hi, i am new Azure.. i started a Virtual Server, in my Virtual server, I load in the XAMPP stacks.. I wonder how can I test the website from a public internet?

my Azure machine should be http://opyopenemr.cloudapp.net/

Error when the OS reboots

$
0
0

Hi,

I'm suffering many troubles with my Azure Virtual Machine with Windows server 2012 R2. When the Virtual Machine reboots spend more than 30 minutes and shows the following message: "We couldn't complete the updates. Undoing changes. Don't turn off your computer." What can I do to solve this bug?

Thanks to all


Azure DataStax Subscription Pricing

$
0
0

Hello,

I am trying to find out the pricing options for DataStax enterprise running on Azure. For some reason, the pricing does not display when I try to spin up the service.

Please advice!!

BlueStacks can not start

$
0
0

Hello, Azure VM supports BlueStacks?

Azure Resource Group API Returning Validation Errors For Valid API Request

$
0
0

When making the following call using the Azure CLI, the API is returning a validation error for the request:

azure group create --name deis --location "North Central US" --deployment-name deis --template-file arm-template1.json --parameters-file parameters.json

For the template data in arm-template.json (https://gist.github.com/jordanyaker/f20ffca378a63926b5446615a8a5f23c), this request is returning the following validation error:

error:   RulesUseSameBackendPortProtocolAndPool : Load balancing rules /subscriptions/48e41a52-a2e8-479b-8ce1-0822f13be7e2/resourceGroups/deis/providers/Microsoft.Network/loadBalancers/loadBalancer/loadBalancingRules/loadBalancerAPIRule and /subscriptions/48e41a52-a2e8-479b-8ce1-0822f13be7e2/resourceGroups/deis/providers/Microsoft.Network/loadBalancers/loadBalancer/loadBalancingRules/loadBalancerBuildRule with floating IP disabled use the same protocol Tcp and backend port 0, and must not be used with the same backend address pool /subscriptions/48e41a52-a2e8-479b-8ce1-0822f13be7e2/resourceGroups/deis/providers/Microsoft.Network/loadBalancers/loadBalancer/backendAddressPools/lbBackendAddressPool.
As can be seen in the template, the value of `backendPort` for both of the load balancer rules is different and most-definitely not zero.
Viewing all 12545 articles
Browse latest View live


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