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

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 :)


Plex Media Server

$
0
0
Not able to access Plex Media Server outside the VM and I don't know how Port Forwarding works on Windows 10 VM

RD Gateway in Azure and servers to be accessed are on prem. Is this possible?

$
0
0

Hi guys,

We are trying to setup RD Gateway on our on prem servers. However, the option to select "Enterprise CA" is not available. We are domain admins and enterprise admins. However, our ADDS is in Azure. What is the best way to set this up? Is it possible to setup a virtual machine in Azure and add the RDS roles on it then add the on prem servers as the resources? Also, how do we check or add the A record for the RDS and AAA for the servers if none of the on prem servers hold the DNS server role? I've checked our Azure subscription and can't find any dns server or virtual machine. All I see is two NICs whose IP addresses are the same as the dns servers we are using in our domain. Just trying to find my way into Azure and Windows Servers. Newbie here so I need all the help I can get. Thank you guys in advance.

Can not access Azure VM - ubuntu VM using SSH after enabling ubunru firewallg SSH

$
0
0

Hello,

I have ubuntu VM running in azure.

By mistake i enable ubuntu firewall using this command

sudo ufw enable 

and i forgot to enable SSH port(22) in ubuntu firewall

Now i am not able to get access my VM  using SSH.


I cant ssh into my Ubuntu VM after enabling ufw

$
0
0

Please help, I cant SSH into my Azure Ubuntu VM after enabling ufw

I have checked all the configurations in my azure portal, but everything seems to be running OK


Ubuntu firewall disable

$
0
0

Hi All,

I accidentally enable the firewall in ubuntu server, it block my ssh login. Now i need to disable that.

My ubuntu version is 16.04, I bought this VM from azure portal. Could you please guide me whether it possible to change from azure portal or any other way to connect ssh?

Thanks,

Manikandan Selvaraj.

Auto scaling of VM with IIS and Custom service deployed

$
0
0

Hi

We have one   2  VM's with IIS ,We deployed rest service on the both VM's .Setup load balacner to redirect traffic to these VM's.

Untill this  everything working fine.  Recently business has increased and asking to scale up on few business days and holidays season.

i come across one nice feature available on Azure where we can setup auto scale of VM based on certain condition.

But i dont know how can i Deploy my Rest service on the newly automatically On demand based created VM's.

Please suggest how can i do that.

Azure Bastion Host created but there is no Bastion option when attempting to RDP?

$
0
0

Azure Bastion Host created but there is no Bastion option when attempting to RDP?

I am using Bastion Preview in ARM and bastion created with no errors.

I successfully created a Bastion host however when I attempt to RDP to a IaaS there is no Bastion option.  I only see RDP and SSH.

Should the VMs which are being RDP to be in the same RG as the Bastion?  Same subnet as the Bastion?   


dsk


How many simultaneous connections can a single bastion host have to other VMs?

$
0
0

How many simultaneous connections can a single bastion host have to other VMs?

For example we have 50 VMs in a single vnet,  how many RDP sessions can we maintain at the same time?

Are there any best practices for how to do divide up the network when using multiple bastion hosts?  Having some difficulty with planning the subnets / vnets?


dsk

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/.


Azure RHEL server not able to connect through Putty

$
0
0

Hi,

I have created a RHEL 7.4 VM and after that I am trying to connect to this server through putty but I am getting Connection Timed out error. I am able to do ssh through Azure cloud shell but through putty is not working.

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?

Insight preview

$
0
0
I have installed OMS and dependency agents on my linux vm and I am able to see the performance logs on Log analytics or/and if I go to monitor page on portal and VM insight  I can see the connection with port everything as what expecting but if I got to my VMSS and go to Insight keep asking me to enabled the monitoring and select the work-space. so I am a bit confused if both agents running and collect the data why the insight (preview)  keep asking me to select work space and don't show any performance data over there.

raindrop18

Aw Snap while creating a virtual machine

$
0
0

I tried other browser. Anyone know how to fix?

Azure CLI Authorization Profile was not found

$
0
0
Error: Error running plan: 1 error(s) occurred:

* provider.azurerm: Error building AzureRM Client: Azure CLI Authorization Profile was not found. Please ensure the Azure CLI is installed and then log-in with `az login`.

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? 

I need to bypass the subnet

$
0
0
My Azure VM thinks its internal IP is its own IP. Which makes it impossible to configure it as a web server. Support is unable to help me figure out how to fix this. I need the VM to recognize the public IP as its own IP.

Local printing is very slow for RWweb published Apps hosted on Azure Microsoft Server 2016 DataCenter

$
0
0

Hi , 

I have Microsoft Server 2016 Datacenter. I have application deployed on Azure VM. Clients access it using Rdweb link with there username and password. Its fine.

Now issue started, Now whenever someone try to print pdf files using application on local printer setup in application. It takes 3 minutes for 11kb pdf file. How can i resolve this issue.

Please help me.

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.

Can I clone a VM in disconnected DTL and move to connected DTL

$
0
0
I am trying to setup a testing environment which same as dev environment. So wanted to create vm's which are having same setup which exists in disconnected DTL and move them to connected DTL. How feasible is it?. Please suggest.
Viewing all 12545 articles
Browse latest View live


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