Create Linux General Image for Hyper-V

Prepare Ubuntu general image for Hyper-v deployment is more easy process than Windows, there not SID etc… . After installation of Ubuntu VM on Hyper-V just delete “ssh_host_*” keys  and re-generate new server keys. First step: Login as the root and type the following command to delete “ssh_host_*” keys : # rm /etc/ssh/ssh_host_* Second step:… Read More »

Attach additional disk to Windows Server Core

OS Windows Server 1709 Login in Windows you can use Hyper-V Manager or powershell with command Enter-PSSession Let’s view Disks: Get-Disk First we should initialize disk with and bring online: Initialize-Disk -Number 1 -PartitionStyle GPT Now to Create new partition and assign drive letter: New-Partition -DiskNumber 1 -UseMaximumSize -AssignDriveLetter Now we should format new partition… Read More »

PowerShell Create Hyper-V VM (Windows)

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec fermentum dui dui, sit amet maximus lectus facilisis quis. Aliquam ac quam scelerisque felis faucibus volutpat eget eu diam. Nullam erat odio, pretium et faucibus id, egestas eu mi. Integer dapibus vulputate lectus, in mollis arcu vehicula ac. Duis consectetur augue nec varius consectetur. Vivamus enim… Read More »

Attach additional disk to Linux

  it’s a best practice to use one or more separate disks to store a virtual machine’s data. In this example Linux is Ubuntu 16.04 LTS but this steps is a same for CentOS   sudo grep SCSI /var/log/syslog sudo fdisk /dev/sdb press n press p Choose 1 ->  Enter -> Enter (Default settings) Type… Read More »

Powershell Export Hyper-VM

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et sapien purus. Sed augue ipsum, pellentesque eu sodales non, dictum ac metus. Maecenas a nibh pretium, eleifend orci sit amet, venenatis risus. Vestibulum sollicitudin eros a tortor luctus, sed eleifend enim hendrerit. Suspendisse in viverra lectus. Vivamus vitae orci tellus. Curabitur a ligula dolor. Phasellus… Read More »

Azure Load Balancing 3 VM Linux

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et sapien purus. Sed augue ipsum, pellentesque eu sodales non, dictum ac metus. Maecenas a nibh pretium, eleifend orci sit amet, venenatis risus. Vestibulum sollicitudin eros a tortor luctus, sed eleifend enim hendrerit. Suspendisse in viverra lectus. Vivamus vitae orci tellus. Curabitur a ligula dolor. Phasellus… Read More »

Azure Linux VM IPv6 + data disk

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et sapien purus. Sed augue ipsum, pellentesque eu sodales non, dictum ac metus. Maecenas a nibh pretium, eleifend orci sit amet, venenatis risus. Vestibulum sollicitudin eros a tortor luctus, sed eleifend enim hendrerit. Suspendisse in viverra lectus. Vivamus vitae orci tellus. Curabitur a ligula dolor. Phasellus… Read More »