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

How to assign Tags during the creation of an Azure VM

$
0
0
New-AzureRmVm -Credential $Credential -ResourceGroupName "RGGroup55" -Name NewServer -ImageName Win10-N-x64 -Location "West US 2" -Size "Standard_DS2_v2" -VirtualNetworkName "TestVN" -SubnetName "TestVNSubnet" -OpenPorts 3389

Above is the code I'm using to create a VM in Azure. What I am not getting is how to apply tags to the VM during the creation. I noticed there is a -tag parameter, but it becomes unavailable using the code above after you start using additional parameters after -ResourceGroup. Do I have to add the tags in a separate operation after the VM is created? 

Thanks for your help!


ScaleSet VM SKU Resize

$
0
0

Why is it with VM ScaleSets that you can't easily change the SKU Size and it won't take effect after reboot? I find you have to totally delete the scaleset and re-provision for that to take effect. My scalesets are servers all built via automation scripts from ARM templates, sh script, etc but still… IF I wanted to quickly change the resources on one CPU and Memory wise it doesn't seem to be as easy as changing the SKU, letting it reboot and it's there or deallocating, changing size and booting back up same thing (Not there). This appears to not affect the VM inside.

 

Example, I have a ScaleSet running a custom RHEL Image I made in my Shared Image Gallery. Currently sits at Standard_B2s (2 CPU 4GB Ram). Deallocated, Changed SKU to Standrd_B2ms (2CPU 8GB RAM) and booted back up.

 

Result is still at 4GB RAM running say cat /proc/meminfo to see max memory

 

MemTotal:       4026512 kB

MemFree:        2301824 kB

MemAvailable:   2718188 kB

 

I see technically you would be able to update the SKU via powershell, but this only updates the scaleset and not the VM in the scaleset (Same as above). Can we not update the VM SKU size then without re-provision?

 

Trying this does not work as it can't find the SKU, even though it lists it

$VMSSvm = Get-AzVmssVM -ResourceGroupName "RG" -VMScaleSetName "vmss-name"

$VMMSvm.SKU = "Standard_B2ms"

Update-AzVmssVM -ResourceGroupName "RG" -Name "vmss-name"

 

This works but doesn't affect the VM of course

#AzVmss - Update SKU of VMSS

$VMSS = Get-AzVmss -ResourceGroupName "RG" -VMScaleSetName "vmms-name"

$VMSS.SKU.name = "Standard_B2ms"

Update-AzVmss -ResourceGroupName "RG" -Name "vmms-name" -VirtualMachineScaleSet $VMSS

Any clarification on this would be great from giving myself a headache if possible :)

Win 10 1809 Kernel-Power crash

$
0
0

My Win 10 Azure VM keeps crashing with a Kernel-Power Event id 41, Task Category 63, Keywords 70368744177664),(2)

The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.

Anybody have any thoughts as to what the problem is?


Performance diagnostics for Azure virtual machines - Reports are empty!!

$
0
0

When I run Performance diagnostics for Azure virtual machines the reports are always empty.  Storage container is attached not sure what else to check.

Tim

Does the data remain on a disk when the IaaS is destroyed and / or the IaaS is down permanently ( OS is corrupted )?

$
0
0

Does the data remain on a disk when the IaaS is destroyed and / or the IaaS is down permanently ( OS is corrupted )?

Let's say the a SQL IaaS is no longer booting up and there is an important database on a disk,... is it possible to recover this disk such that this disk can be reconnected to another SQL IaaS?   In this case we could restore from a backup but I am wanting to know if this reattachment of the disk is possible to another SQL IaaS?



dsk

Problem with a virtual machine

$
0
0

Hi All,

I am continuously receiving a health issue with a Ubuntu virtual machine:

Can someone advice me the actions to take?

VM settings reset

$
0
0

Hi,

Everytime I restart my virtual machine and try to connect to it with RDP:

  • My desktop is cleared
  • All settings are cleared (browsers, localization,...)

Anyone who knows what I'm doing wrong?

Thanks!

Unable to do SSH connection of public ip address of VM

$
0
0

1.Vm is up and running

2.NSG rule is already allowed for ssh port 22


root password

$
0
0

When I create Suse VM's I'm never asked for a root password, it does ask me for a user to add and a password for that user, I can login to the VM with ssh fine under that account, but cant for the life of me figure out what the root password is.  Is there a default password?


Drewski of MS



Service running on a virtual machine hosted in South Central US azure location are no visible in Spain nor Argentina

$
0
0

Hi everyone!

I have a service running in a virtual machine hosted in the location South Central US, is a web page. I can access normally, I´m in Mexico, but some users in Spain and Argentina reported me that in specific hours they can't access to the site. I don't know if I have to do certain configurations to some geographical points. I hope you can help me!

How do i schedule a reboot of a linux vm?

$
0
0

Hi!

How do i schedule a reboot (every night) for a linux vm?

I saw that an automatic shutdown is already in the gui, but how do i schedule a reboot?

Thanks a lot! 

Otto

Linux Anti-Virus

$
0
0

I'm wondering what people think is the best Anti-Virus for Linux within Azure? It seems the only good one I can find is the Symantec one offered within the portal. It would be good to know what is recommend from Microsoft (If any) or what others are using to get a feel as I have not needed to place anti-virus on linux servers in the past, but am looking into it now as an option.

As for distributions, I am talking say RHEL, CentOS and Ubuntu mainly.

It seems to be a bit of a grey area when talking Anti-Virus for Linux based servers.

Cheers

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

Getting error when running Docker on windows 10 pro

$
0
0
Installed Docker form docker hub on windows 10 pro.

Docker says its running on GUI, but when i run docker version in powershell i get the below error.

error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/version: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

Any help on  the above please.

Azure minecraft server

$
0
0

Hello,

I'll probably get hammered for this but I'm going to ask anyway...

I'm trying to explain cloud computing to my son and he's into minecraft in a big way. I wondered if anyone has produced a start to finish guide to deploying an azure minecraft server. I'm an amateur when it comes to Azure but keen to learn.


VM health monitoring from different subscription

$
0
0

Hi,

am I right that it is not possible to watch/collect vm health data from subscription C if vm's are in subscription A and B even though they are vm's reporting to analytics workspace that are located in subscription C?

When I go to Monitor -> Insight -> Virtual Machines -> Health  there are only available to search from subscription and its resource groups. I get vm's performance statics from blade "Performance" by selecting an analytics workspace where vm's are reporting but not health. I can access health data by selecting subscription and rg but I would like to see all my vm's health data from one blade. 

If this was not right tread for this, just move it. 

Not able to create Virtual Machine

$
0
0

I am not able to create a new VM , getting following

"statusCode": "Conflict", "statusMessage": { "status": "Failed", "error": { "code": "ResourceDeploymentFailure", "message": "The resource operation completed with terminal provisioning state 'Failed'.", "details": [ { "code": "DiskServiceInternalError", "message": "An unexpected error occurred while processing disk. Please retry later.

I have already tried to delete the Resource group,but in new resource all group is having same issue

Have anyone faced similar issue and is there any solution for this

Install 3rd party web app/dbase in Azure hosted infrastructure

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


SCCM Deployment in AZURE

$
0
0

HEllo

We are planning to deploy entireSCCM  infrastructure from scratch in azure. Is there any reference architecture?

Also Does SCCM has dependencies on windows Active Directory(Domain controllers)? Can I use Azure AD ?

Also I will need SQL server? Can I use azure SQL DBaaS or do I need to have SQL server n a VM in azure?

In order to push the application to devices what is recommended VPN or Express route? 

Viewing all 12545 articles
Browse latest View live


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