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

custom script extension not fired

$
0
0

Hi,

I'm able to create and add a custom script extension to my vm scale set, but that extension is not fired until i manually upgrade each VM instance from azure portal. Do i need to specify something in script properties so that it should be executed without manual step?

Regards,

Madhur


MB


gpu instance

$
0
0

shows this error when goes for options for vm size 

Part's onInputsSet promise failed.(id: Microsoft_Azure_Compute-fx-010-11a) Error: message: u.toLowerCase is not a function stack: TypeError: u.toLowerCase is not a function at s.subscription.callback (https://afd.hosting.portal.azure.net/compute/Content/Dynamic/InSrbFIBLobb.js:19:1100) at Function.notifySubscribers (https://portal.azure.com/Content/Dynamic/b2bn3_EAuRkB.js:26:18917) at Function.tr.notifySubscribers (https://portal.azure.com/Content/Dynamic/Utj-TW1baCBV.js:36:17747) at Function.evaluateImmediate_CallReadWithDependencyDetection (https://portal.azure.com/Content/Dynamic/b2bn3_EAuRkB.js:26:30314) at Function.evaluateImmediate (https://portal.azure.com/Content/Dynamic/b2bn3_EAuRkB.js:26:29619) at Function.evaluatePossiblyAsync (https://portal.azure.com/Content/Dynamic/b2bn3_EAuRkB.js:26:29223) at Function.notifySubscribers (https://portal.azure.com/Content/Dynamic/b2bn3_EAuRkB.js:26:18917) at Function.tr.notifySubscribers (https://portal.azure.com/Content/Dynamic/Utj-TW1baCBV.js:36:17747) at Function.valueHasMutated (https://portal.azure.com/Content/Dynamic/b2bn3_EAuRkB.js:26:21796) at t (https://portal.azure.com/Content/Dynamic/b2bn3_EAuRkB.js:26:21443)
  • <svg aria-hidden="true" focusable="false" role="presentation" viewBox="0 0 16 16" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><path class="msportalfx-svg-c07" d="M0 0h7v7z"></path><path class="msportalfx-svg-c07" d="M7.7 16C3.5 15.9 0 12.4 0 8.2c0-2.5 1.2-4.7 3-6.1l1.7 1.7c-1.5.9-2.4 2.5-2.4 4.4 0 3 2.4 5.4 5.4 5.5 3 0 5.4-2.3 5.4-5.3 0-1.9-1-3.6-2.4-4.6l1.6-1.6c1.9 1.4 3 3.8 3 6.3-.1 4.2-3.4 7.6-7.6 7.5z"></path></g></svg>

Certificate issue while connecting Azure VM

$
0
0

Hi,

I believe most of us see the same certificate issue while connecting Azure VM using Public or Private IP.

I clickedView certificate.. and installed it.

However, I see both windows while connecting Azure VM.

Can I connect Azure VM directly (without getting interruption by both Windows)?

With Regards

InTechSys


InTechSys

SAP ABAP application be migration to Azure

$
0
0

Hi,

Can an SAP ABAP application be migrated to Azure Cloud? If it can be migrated, what would be the reference architecture?

Thanks

Nagesh

Timing on converting unmanaged disks vm to managed disks?

$
0
0

I really haven't been able to find much guidance on how long the process takes of converting a VM that uses unmanaged disks to managed disks. 

I have VM with just an OS disk that was able to be converted in about 20 min but I have some much larger VMs with multiple 1 TB secondary disks and I'm wondering how long those VMs will take... any guidance specific or general on this process?

How to change the /mnt/resource file system mount point name on Azure RHEL linux system

$
0
0

Hello, 

How do you change the /mnt/resource file system mount point name on Azure RHEL linux system?

Thank you.

Clone a linux virtual machine in azure

$
0
0

I am trying to clone a linux VM in Azure. I have a created custom image but I cant find it. Let me know how to proceed. I want to try doing it without Azure CLI.

Regards,

Sandeep

Azure Hybrid with Software Assurance

$
0
0

Hi all,

i have some question to understand azure hybrid for my vm. At the moment we have SA contract with this windows datacenter licence:

23 x CISSteDCCore ALNG SA MVL 2Lic CoreLic

I red documentation and i did this calculation:

- 1 of CISSteDCCore ALNG SA MVL 2Lic CoreLic is good for  maximum 16 core (8 core x 2 socket)

so, can i licence on azure 368 core(16core x 23licence)? (the best situation is to licence on azure, 46 vm with 8 core or 23 vm with 16 core each to optimize cost)

If i use hybrid and enable all 23 licence on azure, i have to buy other licence for onpremise or i can run on both environment vm with only 23 licence?

Thanks


Cannot see RAM Metrics for Linux VM, even after enabling guets level monitoring

$
0
0

Hello

I would like to monitor the RAM usage of my Linux VM. I enabeld the guest monitoring like described here.
But I do not have the Guest (classic) metric namespace avaiable. I already removed and readded the guest monitorning and waited a few days but still not able to see RAM metrics. What do I need to do to get the RAM metrics for my VM?

How to enable programmatic access for a gallery image in Azure subscription?

$
0
0

Iam trying to create a Ubuntu server lab using Azure Lab Services account and followed the below steps.

In screenshot 1, I have already enabled the Ubuntu Server 18.04 LTS in Lab Services – Marketplace images.

Screenshot-1

In screenshot 2, enabled marketplace image is listed in lab setup page

Screenshot-2

In screenshot 3, Error: The gallery image 'ubuntu server 18_04 lts' must be enabled for programmatic access in this subscription.

Screenshot-3

Can anyone help me how to resolve this error - "The gallery image 'ubuntu server 18_04 lts' must be enabled for programmatic access in this subscription."

Azure VM Scale Set with multiple users, or multiple keys?

$
0
0
We are trying to set up a VM scale set in Azure, and we don't really understand how to configure ssh access properly. We have a jumpbox, and there we have added users for all our sysadmins, as well as their public keys. This is working just fine. But we would all like to be able to ssh to the VM's in the scale set. And the GUI only seems to allow one single administrator user, with one single public ssh key. 

Surely we can't be expected to share a common private key among us administrators? So what is the recommended way to give multiple users access to VM's inside a scale set? Can we somehow add multiple users, each with their own key? Or can we add multiple keys to one single admin account?

We have tried both these things in the Azure GUI, without success. First we tried adding multiple users, by using the "Reset password" setting in the GUI. But that only resulted in changing the single admin user, so the last one reset was the one used, and no other users were created. Then we tried copy pasting multiple public keys in the "SSH public key" text area, but it kept complaining about it not being base64 encoded (even though they were, and they all worked if entered separately).

Related to VM Size and its parameters

$
0
0

Hi,

While selecting the VM size, there are various parameters as

Please let me know about its parameters like

VCPU, RAM (GiB), Data Disks, Max IOPS, Temporary Storage, etc.

Regards

InTechSys


InTechSys


Can't connect to port 22 and 10000

$
0
0

Some days ago I have correctly configured my server all was working perfectly.

Now I can't reach the ports 22 and 10000 .. the firewall is correctly configured and origin connections are allowed only from my office static ip.

I have deleted the rules and created newly, i really can't understand...

The HTTPS port works correctly.

Thank you.

Copy VM snapshot to different Azure account

$
0
0

Hi,

I would like to copy one of my VM Snapshot from account A and transfer it for creating new VM on account B.

Is there any solution?

Azure virtual machine extension status showing as 'Unavailable'.

$
0
0

Hi All,

All the extensions of an azure windows virtual machine is showing as "Unavailable" in azure portal. I have checked the status of the virtual machine, its running and I can RDP it.

When I checked for VM name in overview its showing as 'Not available', but the VM is running.

What can you suggest here ?

Thanks,

Vinay


Deployment error in creating a vm from an image

$
0
0

I am making a vm from an image  The error message is

Additional error information is available for this virtual machine:
General
Provisioning state
Provisioning failed. OS Provisioning for VM 'sentilo' did not finish in the allotted time. The VM may still finish provisioning successfully. Please check provisioning state later. Also, make sure the image has been properly prepared (generalized). * Instructions for Windows: https://azure.microsoft.com/documentation/articles/virtual-machines-windows-upload-image/ * Instructions for Linux: https://azure.microsoft.com/documentation/articles/virtual-machines-linux-capture-image/. OSProvisioningTimedOut
Provisioning state error code
ProvisioningState/failed/OSProvisioningTimedOut
Guest agent
Not Ready. VM status blob is found but not yet populated.
Disks
sentilo_disk1_e718231769f44f4d98836b93a60356c9

Provisioning succeeded.

After Restarting VM I get the message

Failed to restart the virtual machine 'sentilo'. Error: OS Provisioning failure has reached terminal state and is non-recoverable for VM 'sentilo'. Consider deleting and recreating this virtual machine. Also, make sure the image has been properly prepared (generalized). * Instructions for Windows: https://azure.microsoft.com/documentation/articles/virtual-machines-windows-upload-image/ * Instructions for Linux: https://azure.microsoft.com/documentation/articles/virtual-machines-linux-capture-image/.


Not able to connect to Virtual Machine using RDP

$
0
0
Hi,

I have created a Virtual Machine on my Azure subscription and added Active Directory Domain Services feature to it. And promoted the server to a Domain Controller as specified in one of the article.

After VM got restarted, I am not able to connect to VM using RDP anymore. I tried changing password as specified in one article, and changed it successfully using Custom Script extension, but no luck.

My VM status is "Running" and Boot Diagnostics panel shows screenshot of VM's lock screen, which means VM is running. Just that I am not able to connect using RDP.

Please help me to solve this issue. Thanks in advance.

Vishal Shitole

How to get all Azure VM's Operating System information from My Azure Subscription. Like operation System Name and Version.and Build number

$
0
0

How to get all Azure VM's Operating System information from My Azure Subscription. Like operation System Name and Version.and Build number. 

Exmaple :- Windows 10.0.1080 and Ubuntu 18.04.2.

I Tried Inventory Service, I didn't get the complete details.

I tried the Power shell script :- 

https://stackoverflow.com/questions/51713858/azure-vm-os-build-powershell

It give some details but only for Windows Os.

Is there any service in Azure by using that I can pull the details mentioned above.

Thanks,

Mandava Babu.

Update-AzVM slow when run from remote powershell

$
0
0

Hi all,

I am creating a script which tags VM's based on responses of a powershell form (it tags start and stop times for use with automation).

I am finding the performance when running from powershell on my local computer is pretty pants. It takes around 1min 15 seconds to run the update-azvm to update the tag values on the target VM.

At the start of the script, I clear off all the tags relating to start stop times, then apply the changes with update-azvm. I've copied this part of the code as its the shortest bit:

$VMName = "vmstartstoptest"
$RGName = "RG-NP-UKS-STARTSTOPTEST"

    $ScheduleTags = "Daily_Start",`
                    "Daily_Stop",`
                    "Weekday_Start",`
                    "Weekday_Stop",`
                    "Weekend_Start",`
                    "Weekend_Stop",`
                    "Monday_Start",`
                    "Monday_Stop",`
                    "Tuesday_Start",`
                    "Tuesday_Stop",`
                    "Wednesday_Start",`
                    "Wednesday_Stop",`
                    "Thursday_Start",`
                    "Thursday_Stop",`
                    "Friday_Start",`
                    "Friday_Stop",`
                    "Saturday_Start",`
                    "Saturday_Stop",`
                    "Sunday_Start",`
                    "Sunday_Stop"

    $vm = Get-AzVM -ResourceGroupName $RGName -Name $VMName

    foreach ($SchTag in $ScheduleTags)
    {

        $TagExists = $vm.tags.ContainsKey($SchTag)

            
        if ($TagExists -eq 'True')
        {
            $vm.tags.remove($SchTag)
        }
    }

     Update-AzVM -ResourceGroupName $RGName -VM $vm -tag $vm.tags | Out-Null

If I run this same code from within Azure Powershell, its still not quick, but completes in around 30 seconds, so its well over twice as quick.

I am on a decent internet connection so connection speed shouldn't be an issue.

Does anyone know why the update-vm command is so slow from a powershell session running on a remote computer?

Thanks in advance

Dave

Can we connect Azure Vm to azure databricks directly ?

$
0
0

I wanted to connect Azure Vm to Azure databricks directly ...irrespective of VM's locality or region ..Is there any way possible such that VM should throw data to Azure databricks directly ?

OR we can pull data(files ,images,database tables) from Vm directly ?

by using commands we can do it (import or create notebook) but it immediately it sends to some cluster which i don't want.

it can throw the data into the azure data lake if required

but azure databricks should be able to connect to the azure vm

is there any way ? please help with solution

Viewing all 12545 articles
Browse latest View live


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