1 / 10

Active Directory and Migrating Hyper-V with PowerShell

Active Directory and Migrating Hyper-V with PowerShell. 6. Active Directory in VM. Active Directory in VM. Why discuss this topic? Distributed database aspects DNS set up Cannot use Azure internal DNS servers for AD Use a DIP (Dynamic IP address) for a Domain Controller?

Download Presentation

Active Directory and Migrating Hyper-V with PowerShell

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Active Directory and Migrating Hyper-V with PowerShell 6

  2. Active Directory in VM

  3. Active Directory in VM • Why discuss this topic? • Distributed database aspects • DNS set up • Cannot use Azure internal DNS servers for AD • Use a DIP (Dynamic IP address) for a Domain Controller? • Disk caching setting for AD database ?

  4. Migrating VHDs from Hyper-V

  5. Disks in VMs • Disks in Azure VMs • C:\- Windows OS disk (on blob storage) • D:\- Local disk (on local server) - for temp files, such as pagefile.sys • E:\, F:\, etc - Data disks (on blob storage) • Each data disk can be max 1 TB in size • Max number of data disks depends on VM size - up to 16 data disks

  6. VHD files • Format • Only vhd-files (not vhdx-files) • Only fixed size vhd-files • No differencing vhd-files • Can convert any vhdx to vhd • Can convert any vhd to fixed size • Can resize vhd to smaller size

  7. Authentication and Access (4x) • Portal access • Uses Live ID (Microsoft Account) • Go to http://manage.windowsazure.com • Role: Service Administrator or Co-Administrator • Uses special REST API without providing certificate • Management certificate • Certificate can be self-signed • Does not check certificate expiration • Used by PowerShell • Used by REST API • Storage access • Uses secret key • Or anonymous share access • RDP VM access • Uses username/password

  8. Upload your own VHD-file • Use PowerShell command (Add-AzureVHD) to upload vhd-file • Prepare vhd-file in Hyper-V • Allow RDP access • Don't worry about IP network settings • (optional) Pagefile on D:\ • Do not use older csupload.exe • The upload PowerShell command is "smart" • Converts dynamic vhd-file to static vhd-file • Uploads "sparse" (= skips empty parts) • Add-AzureDisk en Add-AzureImage is something else

  9. Download VHD-file to Hyper-V • Can use Portal to download vhd-file • Use PowerShell command (Save-AzureVHD) to download vhd-file • What can you do with download vhd-file? • VHD-file is fixed size - can convert to dynamically expanding • Load in Hyper-V • What about networking? • Configure running VM

More Related