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

Unable to fetch custom logs from containers

$
0
0

I tried configuring custom log in log analytics to fetch logs from a container which is inside a VM.Found that custom logs should be enabled in order fetch the logs.But I could'nt enable custom logs as there in nopreview features option available in my OMS portal.

And I got zero resutls in log search for the configured custom log/


SQL Server IaaS VM - SQL Server configuration item in Azure portal

$
0
0

We deployed a VM based on a the following image {"imagePublisher": "MicrosoftSQLServer", "imageOffer":  "SQL2017-WS2016"}. We deployed the machine using ARM and deployed the extension Microsoft.SqlServer.Management.SqlIaaSAgent. However, the SQL Server configuration option did not show up in Azure portal for this machine. 

It seems to be that actually the name of the extension is leading for this, and not the presence of an extension of a certain type. So renaming the extension from "SqlServerIaaS" to "SqlIaasExtension" seemed to do the job. Should this kind of functionality not be independent of the naming?

Enabling turbo boost on D Series Servers

$
0
0

Hi,

I have been researching Turbo boost issue for over a year now. Seem that it is not possible at all - because Microsoft turn off of bios.

As i understand it is "good" reason for this - turbo boost can be turned on only on whole server - 22 cores and if you use only 1 or 2 server just will consume too much energy. 

As i understand the only way to turn it on - get full server - all 22 cores - than call microsoft and ask them to turn it on and in some cases they will do it. 

I am not sure if this true or not and maybe somebody can comment on this. 

We using 30+ cores over multiple D servers. Who should we call? I called everybody i could in microsoft and nobody seems to have answer. 

As of now it seems that "and with Intel Turbo Boost Technology 2.0 can go to 3.2 GHz. Dv2-Series and D-Series are ideal for applications that demand faster CPUs" can be misleading  advertisement. I think microsoft should clarify right there- how it can be turned on.




2019 Datacenter with Containers will not activate.

$
0
0

Hi - With 2019 now available for Azure VMs, I went ahead and spun up a few 2019 Datacenter with Containers instances. All instances will not activate. I have confirmed KMS connectivity via docs. Anyone have any suggestions?

Best,

ChadActivation

VMSS instance not deleting, stuck provisioning

$
0
0

Hi,

I've been trying to delete a VMSS for over 20 minutes and the instance is stuck in the Deleting state. From the looks of it, it is still provisioning. It is a Linux instance with custom cloud-init, which seems to have no exited properly. Is there any way to force the instance to die?

Thanks.


No internet inside Hyper-V machine

$
0
0

For starters, I'm just a beginner in this field. I have some kind of a "homework" in which I need to create a virtual network with a Windows Server 2016, a Windows 7 inside it through Hyper V and a Linux distro with CLI.
I created the server, I installed the Windows 7 Hyper-V. The problem is that I have almost no network knowledge and can't seem to understand how to have internet inside the Windows 7 machine. I created a Virtual Switch that I assigned to the Win7, but in every YouTube tutorial I see people filling in some information inside the adapter settings in the Win7 machine (usually IP, gateway and DNS).

Where do I get the IP, gateway and DNS? I tried multiple combinations but nothing seems to work. I already messed up my server and had to remake it about 20 times. Please try to explain as simple as possible, as a lot of terms are pretty alien to me. 

Thank you very much!

Emulator for Azure VM

$
0
0

Hi, 

Is there any android emulator that I can use on Azure VM to run mobile automation test cases ? Whether Bluestack or Android Studio emulator or any other emulator will work on Azure VM?


VM inbound port rule not working

$
0
0

I have a windows VM setup and added an inbound port rule allowing communication on port 80.  However when I try navigating with the public ip address I cannot connect.  So I connected to the VM and setup a test Hello World HTML file.  I am able to successfully navigate to this via localhost/test.  However when I go to {public ip address}/test I still get connection issue.  

Any thoughts?  


LVM is not starting

$
0
0
Hello guys, I make a resize of my virtual machine but after that I can' access to it anymore, I tried to restart once again but now the virtual machine is not starting, can anyone help me with this?

Executing an R Script in the VM using .Net

$
0
0
We have an R Script that we would want to execute in the VM, using its R kernel. However, we need to integrate it with our UI, hence, we would want to invoke the script execution from our .Net code itself. Can you please help?

How to add a VM to a domain which is created in another VM in Azure

$
0
0

Hi Team,

Thanks in advance, I have created a domain in 1 VM in Azure which is Win 2008 SP1. I have created another VM in the same region and same subnet in which first VM was created. Please guide me on how to add the second VM to the domain created in 1st VM.

Thanks,

Niranjan


Niranjan

Install file from private Azure DevOps Repo on Linux Machine

$
0
0

I have a file that repo that I need to edit before I install in on a linux VM. I will not be allowed SSH access with have to use run commands to write bash scripts to install them.

  • I am not sure how to handle authentication on to the Private Repo. It uses single sign on. I can however can access my username and personal access token. This will not be ideal as the scripts need to be deployable by any user.
  • I can edit the files locally, but not sure how to copy onto the boxes i.e I will not have access to ssh and cant use scp

I would love advice / pointers on this

Unable to Run AzureRM commands from Custom Script Extension

$
0
0

Hi Team,

I am running a ARM template which deploys a VM and then runs a script with the help of Custom Script extension.The Script is simple it will create a file on the local VM and then try to upload it to the Azure Storage .When I mention Login-AzureRMAccount in the script it fails saying that command not found.So I though maybe I need to install AzureRM module first ,when i try to run Install-Module -Name AzureRM the scripts keeps on running.So mainly the problem is that i am not able to run any commands related to AzureRM module through Custom Script Extension

Windows 10 virtual machine powershell error 409

$
0
0

Hello,

While I'm trying to deploy a Windows 10 image in Azure I get an error and can not continue the deployment.

Inside this commandline I create credentials

Set-AzureRmVMOperatingSystem -Windows -ComputerName $name -Credential $cred | `

Next when trying to deploy with

New-AzureRmVM -ResourceGroupName $rg -Location $location -VM $vmConfig

I get below error

New-AzureRmVM : Changing property 'adminUsername' is not allowed.
ErrorCode: PropertyChangeNotAllowed
ErrorMessage: Changing property 'adminUsername' is not allowed.
ErrorTarget: adminUsername
StatusCode: 409
ReasonPhrase: Conflict

move a public IP from one vm to another?

$
0
0
is it possible to use a public VIP on a different virtual machine? Basically transfer the NAT/PAT to another vm on the same virtual network?

Why Floppy Disk Drive or CD/DVD Drive in Azure VMs?

$
0
0
When provisioning Azure VMs running Windows, there is sometimes a floppy disk drive attached to drive letter A:, and/or a CD/DVD drive attached to drive letter E:.

 

What is the technical reason behind this?

I need all VM details across multiple subscriptions in EA.

$
0
0

Hi folks,

I need all VM's details across multiple subscriptions in EA. Could anyone share PS cmdline or script please

Thanks

A

Azure Site Recovery from Azure to Azure

$
0
0

I'm not sure if Azure Site Recovery provides the ability to replicate my Azure infrastructure from my existing subscription to another subscription, or from existing region to another region.


Thuan Soldier
A 23-year-old man loving Microsoft technologies and making crazy ideas on business journey.
SharePoint Vietnam | Blog | Twitter

AzureRmVm - Obtaining the FQDN name of the VM

$
0
0

I am trying to get the domain names from all my VMs within my subscription but I can not seem to find how to do this. I have looked at the following commands but I seem I can not find a cmdlet to give me this information:

NetworkInterfaceIPConfigurationListResult
Get-AzureRmVM

Get-AzureRmDnsZone

I can't figure out how to obtain the FQDN name of my Vm with AzureRm. Any help to do obtain this would be greatly appreciated. 



DSC registry script not working

$
0
0

I am using the following script to apply some TLS registry settings and it doesn't seem to work

I see the following error in Azure DSC

The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Defining a 'localhost' node in the configuration 'Server2016' is not allowed since the configuration already contains one or more resource definitions that are not associated with any nodes.

Here is the script

Configuration TLS
{
    Node 'localhost'
    {
        Registry 'TLS 1.0 Client 1' 
        {
            Ensure    = 'Present'
            Key       = 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Client'
            ValueName = 'Enabled'
            ValueType = 'DWord'
            ValueData = '0'
        }
		Registry 'TLS 1.0 Client 2' 
		{
            Ensure    = 'Present'
            Key       = 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Client'
            ValueName = 'DisabledByDefault'
            ValueType = 'DWord'
            ValueData = '1'
        }
		Registry 'TLS 1.0 Server 1' 
		{
            Ensure    = 'Present'
            Key       = 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Server'
            ValueName = 'Enabled'
            ValueType = 'DWord'
            ValueData = '0'
        }
		Registry 'TLS 1.0 Server 2' 
		{
            Ensure    = 'Present'
            Key       = 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Server'
            ValueName = 'DisabledByDefault'
            ValueType = 'DWord'
            ValueData = '1'
        }
    }
}

Viewing all 12545 articles
Browse latest View live


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