Here I’m going to share the steps to configure a Certificate Authority in your environment with a windows based server. Most of the companies use Active Directory Certificate Services (AD CS) as their root Certificate Authority.
I wanted to configure a separate SQL server to do a vCenter migration and I was getting errors to connect to the DB server, I was able to fix this issue after doing some changes in the SQL server. Here, I thought to post the steps that I took to resolve the issue. I believe this post will help others who involved with the configuration and resolve these type of issues in the middle of their configuration without wasting more time on this.
“Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:
- Insert your windows installation disc and restart your computer.
- Choose your language settings, and then click “Next.”
- Click “Repair your computer.”
- dism /mount-wim /wimfile:”E:ISOImagesCapture Image1CapIMG.wim” /index:1 /mountdir:”C:CapIMGMount”
- dism /unmount-wim /mountdir:”C:CapIMGMount” /commit
- dism /unmount-wim /mountdir:”C:CapIMGMount” /discard
- Start your cmd as an “Administrator” and run the “sysprep” tool from “C:WindowsSystem32Sysprepsysprep.exe” location
- Once you get the “System Preparation Tool” select the “Generalize” option and select Shutdown Option as “Shutdown”
- Now go to your VM installation folder and get the VHDX/VHD as your base VM VHDX disk. So in Hyper-V this is the Template. If you need you can rename it as “Template.vhdx” or any suitable name. Take a copy of VHDX as the HDD of your VM.
- Now you need to create a new Hyper-V VM with your requirements CPU,RAM and all the other Hardware requirements except the OS HDD. Here I’m not going to show you how to create a VM in Hyper-V. At the “Connect Virtual Hard Disk” step you can select “Use an existing virtual hard disk” option or “Attach a virtual hard disk later” option I would recommend “Attach a virtual hard disk later”option.
- Once you are done with VM creation power on the new Virtual Machine.
Also I would like to compare the VHD and VHDX Disk formats:
- VHDs use a 512 byte block size internally
- VHDs are limited to a 2TB
- VHDs can’t be resized live.
- Supported to Windows Server 2008, 2008 R2, 2012 and 2012 R2
- VHDXs use 4KB and allign really well with new HDDS (3TB+) – Best to format in NTFS File system
- Great handling of Snapshots
- UP to 64TB Disk size support
- Only Supported on Windows 8, Windows 2012 and Later
We are going to do this from Windows Powershell and there are lots of things that we can do from these cmdlets. This is just a one use of this powerful tool.
First run your Powershell as an administrator and import the module in to the Powershell, you can use the below command:
Import-Module ‘C:Program FilesMicrosoft Virtual Machine ConverterMvmcCmdlet.psd1’
If you not import this module you can see the below execution error on the Powershell console:
Now execute the below command to start the conversion :
ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath < Source VMDK file name and path> -VhdType DynamicHardDisk -VhdFormat vhdx -DestinationLiteralPath < Destination VHD File name and path>
Now this will start the conversion
You can see the below completion screen after that.
Check your VHDX HDD under your destination folder
Now add this HDD to your Hyper-V server and Start. Now you are running the same server in Hyper-V environment.
Now you need to setup the IP Settings. All done.
See Mark Russinovich ( CTO of Azure ) demos the new GS variant of VMs on Azure on Channel 9
- Then it will start the “New Delegation Wizard” , click “Next” to continue
- At the next step type “www” on the “Delegated Domain” text box and click “Next” to continue
- At the next step click on “Add…” button
- Under “New Name Server” window type the external Name server FQDN and click on “Resolve” to resolve the name server, once it successfully resolved the IP Address of the external name server click on “OK” to add the record.
- Add all the available name servers and click “Next” to continue
- Click on “Finish” to complete the configuration
- Check and confirm the name servers under “www” delegation
- All done! , now try to access the website http://www.techcrumble.net/