How to add or remove Network Interface from VM in Azure
Add a network interface to an existing VM
Sign in to the Azure portal.
In the search box at the top of the portal, type the name of the VM to which you want to add the Network Interface, or browse for the VM by selecting All services, and then Virtual machines. After you've found the VM, select it. The VM must support the number of network interfaces you want to add (https://storage.crisp.chat/users/helpdesk/website/274be8d393925c00/8a34c64d-b2e4-4cd5-acfb-7114Some readersHow to Resize a Virtual Machine in Azure
Navigate to portal.azure.com:
Click on All services search Virtual machine and click on Virtual machines:
Now choose your desired VM which you want to resize: (https://storage.crisp.chat/users/helpdesk/website/41f9be55a36a5800/564Some readersHow to Assign an availability set to a VM in Azure
Assigning Availability Set At The Time Of Creation Of VM
At the point of creation of a VM in a cloud, you’ll get an option to put that VM in a specific Availability Set. After the creation of VM you can’t change its availability set or to put it in a new one through GUI..
(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA6sAAAJaCAYAAADJW9GNAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAANcbSURBVHhe7N0JXBR14wbwx1TIBErBV8E80L+KpViCqViKNwakvt6Gr6Z5UFr2YhRqaXnwSlIYFlqSome readersIncrease the Linux VM Disk Size in Azure
Increase the disk size from Azure portal first
Expand a disk partition and filesystem
To use an expanded disk, expand the underlying partition and file system.
1. SSH to your VM with the appropriate credentials. You can see the public IP address of your VM with az vm show:
Azure CLI Copy
az vm show --resource-group myResourceGroup --name myVM -d --query publicIps --o tsv
2. Expand the underlying partition aSome readersHow to done Creation of VM on Azure By Using Existing VHD
There are two main ways to create a VM on azure Using Existing VHD:
1) By using PowerShell Commnds.
2) By using .Jason Template.
NOTE: We can create a VM on azure by using existing VHD through Azure GUI yet may be in future Microsoft may introduce a GUI method to create VM on azure through existing VHD.
In this article we are going to use a .Jason template to create VM on azure using existing VHD:
To follow the Method please follow the Steps Bellow:
1) Go to --LinSome readersConversion of Azure HDD to SSD
Prerequisites
To get the hassle-free migration of HDD to SSD drive done, you need to get the important prerequisites checked first. These prerequisites are mentioned below.
1. You should first check whether the SSD is available in the destination region.
2. Your Drive should be a Managed Disk.
3. Your Size of VM should support Premium SSD if you wish to migrate to it.
4. You should schedule the migration of your disk’s storage during a pre-existing maintenance window, as the conSome readersHow to Create a Linux VM in Azure
Creating a Linux VM in Azure
Go to the Azure Portal , click on Create a resource in the left-side navigation, then select the Compute category, then click on Ubuntu Server. At the time of writing this the version listed is Ubuntu Server 16.04 LTS.
2. Next, fill in some details about your VM, such as the Name, Username, and method of AuthFew readersHow to Increase Disk size of Azure VM
Navigate to portal.azure.com:
Click on All services search Virtual machine and click on Virtual machines:
Now choose your desired VM: (https://storage.crisp.chat/users/helpdesk/website/3973a2397917b800/deb238d7-9373-4c94-80e8-45944du173f4.pnFew readersHow to change Size of VM in Azure
Login to Azure PortalClick to Virtual Machine
Select Desired VM
Click on size
Here you can see your VM size (highlighted using light blue) and if you want to resize what options do you have at what cost.
If you resize the VM, VM will Reboot autFew readersHow to increase disk space in Azure
2. Now click on Virtual machines on left side and then select your VM whose Disk you want to resize
3. Now click on Stop button as we need to stop VM to resize the Disk
(https://storage.crisp.chat/users/helpdesk/website/7ced39b4e03d0c00/de458cae-fb6b-40fe-b47Few readersHow to done Conversion of Virtual Hard Disk in Hyper V
Azure only supports Static and .vhd format VHDs, so before uploading VHDs to Azure from on premises data center we have to convert Dynamic and vhdx VHDs to Fixed and vhd VHDs.
For the conversion of VHDs please follow the given Steps:
1)Go to Failover cluster manger or Hyper-V manager and turn off the machine of which VHDs you want to convert and turn Off the machine.
2)Go to Settings of the machine by right clicking on machine.
(https://storage.crisp.chat/users/helpdesFew readersHow to Setup Remote Desktop Connection Manager
How to setup Remote Desktop Connection Manager
Go to this URL and click on Download button:
” https://www.microsoft.com/en-pk/download/details.aspx?id=44989”
Open the .rdg file:
NoFew readersAccess Active Directory from Azure Active Directory Joined Machine
Access Active Directory from Azure Active Directory Joined Machine
1- Login into WVD
2- Go to Settings Apps Features Add an Optional Feature
3- Select + Add a feature, then type "Active Directory" in the search bar. Select RSAT: Active Directory Domain Services and Lightweight Directory Services from the results, then click Install
!Few readersHow to Access VPN
Search settings.
Click on "Settings".
Click on Network and Internet.
(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABAAAAAIbCAIAAAD6vnu2AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAOQgSURBVHhe7J0HeBTV18ZTNpvee6+EhBBC700ULCAqKoKofxVQ7FhQQUAQRVSwolJEBD4QbCgqVXqH0AmQ3nvvyaZ97+4d1jUFAgQImff35IGZO3fulHvuOe+Ztvp1dXV6hBBCCCGEEHlgIP1PCCGEEEIIkQFMAAghhBBCCJERTAAIIYQQQgiREUwACCGEEEIIkRFMAAgh5PpSXV1dVVXFLy4QQghpJfArQISQNkVNTQ0Et6GhoUKhkIp0wKLa2lqlUinN66BSqbDIFew readersHow to Move a VM from one hyper-V to another
Open Hyper-V Manager.
In the navigation pane, select one of the servers. (If it isn't listed, right-click Hyper-V Manager, click Connect to Server, type the server name, and click OK. Repeat to add more servers.)
From the Virtual Machines pane, right-click the virtual machine and then click Move. This opens the Move Wizard.
Use the wizard pageFew readersAzure Virtual Desktop Guide
1. Login into Azure portal
2. Search for WVD and click on Azure Virtual Desktop
3. Click on Create Host Pool
4. Select the Subscription of the New User
5. Resource group should be User-WVD i.e., in this case RFew readersHow to Increase Disk Space of VM in HyperV
1. Expansion of VM’s Hard Disk from Hyper-V Server.
2. Expansion of VM’s Hard Disk from the VM itself.
Expansion of VM’s Hard Disk from Hyper-V Server
1. To expand the Hard Disk, Right Click on your Virtual Machine>Click on Settings>Select SCSI>Select the Virtual Hard Drive that you want to extend and Click Edit.
2. You will then be takFew readersHow to Migrate VM with Managed Disk from one subscription to another with preserving IP
Go to the Azure portal to manage the resource group containing the VM to move. Search for and select Resource groups.
2. Choose the resource group containing the VM that you would like to move.
3. At the top of the page for the resource group, select Move and then select Move to another subscription.
(https://storage.crisp.chat/users/helpdesk/weFew readersHow to troubleshoot when RDP is NOT Working
The following will be the troubleshooting steps
Ask the credentials of the user who is not able to RDP
Go to the RDweb page of the domain and try RDP from there.
Try doing RDP to the Terminal Server using the credentials
Check the user, if the account is not disabled and do reset the password.
(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAigAAAGDCAIAAACOXHxiAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAGEzSURBVHhe7b0PdBXXfe87IAy2AdnFQAFew readersRename a VM or Create a new VM with existing os-disk
There is no option to rename the VM in azure. As a work-around, you will have to delete and re-create the VM.
Either we will re-create machine from backup vault or from disk of existing VM. Like rie-dev-01-rest in this case.
copy os-disk to a container. If storage account is same for a machine which OS disk is to be copied, then no need to turn off this machine. If storage accounts are different then we need to stop machine to copy os-disk.
Refer to video “Copying OS disk to create a newFew readersHow to Connect to a Linux VM using Putty
Connect with PuTTY
If you installed the PuTTY download package and previously generated a PuTTY private key (.ppk file), you can connect to the Linux VM with PuTTY.
Start PuTTy.
Fill in the host name or IP address of your VM from the Azure portal:
Before selecting Open,Few readersHow to Upload VHD to Windows Azure
There are many methods to upload a vhd to windows azure from on premises data center.
1) We can use GUI method.
2) We can use PowerShell command to upload VHD to azure.
3) We can use AZ Copy tool to upload a VHD from on premise to azure.
First two methods are extremely slow these methods can take a full day to upload a normal size VHD to azure at an average network speed.
That’s why we are going to third method to upload a VHD from on premises to azure using AZ CopyFew readersTroubleShooting Domain Controller Issues
1. Understood the issue and found that SYSVOL and NETLOGON Folders weren't shared on both DC's
2. Both DC's were hosted on Azure VM.
3. There was a Failover after which the SYSVOL Replication stopped.
4. SYSVOL was replicating on FRS.
5. AD replication was stopped and both DC's weren't advertising as well.
6. None of the Snap-IN's were opening and were giving error like, ADSIEDIT and DSA.msc
7. Found that SYSVOL Folder was missing from "C:WindowsFew readersCreate Windows VM in Azure
Perform the following steps to create a Windows Virtual Machine
1. In the Azure portal, click Create a Resource.
2. Under Compute, click Virtual Machine.
The next screen lets you pick a VM name, Resource Group, Subscription, Location and administrative user name and password and machine size. The user name you pick here is a local administrator useFew readersSetting up VM for Auto Start-Stop using Automation Account
Using an Azure Automation account to automate your virtual machine schedules can go a long way when it comes to resource optimization and cost savings, especially when you don't need to have your VMs running 24/7.
To set up an automated schedule for your Azure VMs, follow these three steps:
Add the Azure Automation service
Configure runbooks
Schedule runbooks
Add the Azure Automation service
To get started, you can create a resource group. This isn'tFew readersHow to Create a VM in Hyper-V
In the Hype-V manager click on the New under Actions at far most right then click Virtual Machine:
Click on Next button:
Put the Name of VM and click on Next: (https://storage.crisp.chat/users/helpdesk/website/13bf01443427e000/e5878d10-ea7e-48cFew readersTroubleShooting Server not found web app issue in Azure
1. Web App hosted on Azure.
2. Look for the affected web app in the app services area
3. Check for web app if running or not.
4. If stopped then try to start it.
5. Not starting, look for credit limit of sub if it’s exceeded.Few readers