Thursday, 20 October 2016

Windows Server 2016 Technical Preview 5 - Nested Virtualization (New Feature) - Part 5

Hello Everyone,

In this post, I will share another new feature of Win 2016 TP5 called as Nested Virtualization.

This will be mostly helpful in DEV or Testing Environment where You can give only 1 VM with required dedicated resources to team to test whatever they need to test. 

With this feature, You can enable Hyper-V feature within a virtual machine and can create Virtual machines inside a Virtual Machine. Only point to keep in mind that calculate all resource requirements for total no of VMs You want to use for VMs within VM. Because if later You need more resources then You will need to shut-down all setup and then assign the resource.
Let's see the process with steps to follow to configure nested virtualisation.

To see Windows Server 2016 Technical Preview 5 Overview, Click Here!

To see Windows Server 2016 Technical Preview 5 Hyper-V Installation, VM Deployment & What's New in VM Settings, Click Here!

To see Windows Server 2016 Technical Preview 5 Failover Clustering Installation, Configuration & Post Configurations Process, Click Here!

To see Guest Clustering Installation & configuration using Shared VHD (new feature), Click Here!


PREREQUISITES:


There are some prerequisites which You must follow to configure Nested Virtualisation:

  • Hyper-V Host running on Windows Server 2016 or Windows 10 Anniversary Update
  • Hyper-V VM running Windows Server 2016 or Windows 10 Anniversary Update
  • A Hyper-V VM with configuration version 7.1 or greater
  • An Intel processor with VT-X or EPT technology
  • Supported VM Configurations: 7.1, 7.0, 6.2 & 5.0

Other Prerequisites:



Before configuring Nested virtualisation, make note:

  • Enable nested virtualisation using power-shell script.
  •  If VM is running hyper-V then Memory assigned can not be changed until it is turned off. Even memory assigned is Dynamic, still You can't change it.
  • Need to enable MAC Address spoofing using power-shell script.


Check VM Configuration Version using below power-shell script:



Get-VM * | Format-Table Name, Version




Enable Nested Virtualisation on VM using below Powershell script:



Set-VMProcessor -VMName <Give VM Name> -ExposeVirtualizationExtensions $true




This will give You warning:





Enable MacAddressSpoofing on VM using below Powershell script:



Get-VMNetworkAdapter -VMName Win2016TP5 | Set-VMNetworkAdapter -MacAddressSpoofing On:




Enabled:




Once all prerequisites completed, Start the Virtual Machine:




NESTED VIRTUALISATION CONFIGURATION:


Install Hyper-V Role on VM using Server Manager Console:




Click Next till Role Configuration page and Click on Hyper-V Checkbox:




Click on Add Feature:




Click Next Till last:




Click on install:




Click Close once done:




Now Open Hyper-V Manager within Virtual Machine:




Hyper-V Console is installed on Virtual Machine, now You can create VMs inside VM:




Create a VM within VM itself with same steps as You follow for creating any new VM on physical server and VM will be successfully created within VM:





This is how You can create multiple VMs inside a VM using Win Server 2016.

NOTE: I didn't shown network configuration for Hyper-V inside VM because it is the same process which You follow for physical server. If You want to see network configuration then refer my Hyper-V Blog series by CLICKING HERE!



Share Your feedback or any query!!!


Happy Reading!!!

If You like my post then follow my updates:


Join my Facebook group for updates on trending technologies/technical references/issues etc:

Wednesday, 12 October 2016

System Center Service Provider Foundation - SPF Installation - Part 3

Hello Everyone,

In this post, I will show the installation steps for SPF and post configurations to be done after installation.


To see SPF introduction with prerequisites, Click Here!

To see SPF Prerequisites installation, Click Here!


Let's start step by step...



SCSPF (System Center Service Provider Foundation) INSTALLATION: 


NOTE: SPF is available in System Center Orchestration (SCO) Setup so You must have SCO Setup.

Run the setup with Administrations rights:





Click on Service Provider Foundation Link:





Click on Install:





Click Next:





You can see if any prerequisites is missing in this step. If missed any then You can install that and re-run the prerequisites check. Click Next once all prerequisites are completed:





and,





Give the SPF Database details:

NOTE: if SPF is installed on Local/remote machine with "named instance" then give name in format:

server_name\instance_name





NOTE: 

Make sure SQL Service is configured with 1433 port. For this open SQL Server Configuration Manager Console, Expand SQL Server Network Configuration, Right Click on TCP/IP and then Click on Properties:





Click on IPAddress Tab and IPALL should be TCP with 1433 port as shown below (if configured with dynamic port by default then delete that port & add 1433 port to TCP. Once done restart all SQL services.):





Click Next:






Now You have to configure individual services of SPF with respective accounts. As mentioned in previous post, below accounts are required for SPF Services which will be used for individual services:


  • SPF-ADMIN - Used for System Center Administration Web Service
  • SPF-VMM - Used for System Center Virtual Machine Manager Web Service
  • SPF-PROVIDER - Used for System Center Provider Web Service
  • SPF-UWS - Used for System Center Usage Web Service
  • SPF-SVC - SPF Service Account

Provide SPF-Admin user and Click Next:





Provide SPF-Provider user & Click Next:





Provide SPF-VMM User & Click Next:





Provide SPF-UWS user & Click Next:





Click Next:





Click Install:





Click Close once done:







POST INSTALLATION CHECKLIST:


Open IIS Manager and see if SPF Site is created, Click on Browse Link:





Click on Continue to this website link:





You will see all services site link, Close the browser:





You must check the same site with SPF Server FQDN Name & SPF Machine name:

https://spf_machine_fqdn_name:8090/

https://spf_machine_name:8090/




POST CONFIGURATION STEP:


Add above created local user in SPF to the 4 Groups created after SPF installation in Local User & Group console:




NOTE: 

If You didn't added the account in this group then You will not be able to register SPF machine on WAP Portal. Also, You can not complete successful integration between SPF, SCVMM with WAP Portal with domain account. SPF must be registered with SPF Local User account only on WAP Machine.




SPF Series is completed here.

Next, I will show You Microsoft Private Cloud (WAP) installation process.





Share Your feedback or any query!!!


Happy Reading!!!

If You like my post then follow my updates:


Join my Facebook group for updates on trending technologies/technical references/issues etc:


Tuesday, 11 October 2016

System Center Service Provider Foundation - SPF Prerequisites Installation - Part 2

Hello Everyone,

In this post, I will show steps to install below SPF Prerequisites:


  • SQL Server 2012 SP1 Setup
  • Microsoft ASP.Net MVC 4 Setup (Click Here to Download!)
  • WCF Data Services 5.0 (OData v3) Setup (Click Here to Download!)
  • System Center Virtual Machine Manager Console only.
  • Create Local User in SPF machine which will be used for SPF registration in WAP Portal.


To see SPF introduction with prerequisites, Click Here!


NOTE: 

  • Required Roles & Features installation is shown in previous post.
  • Add all SPF Accounts to local Administrator Group.

PREREQUISITES INSTALLATION:




Microsoft ASP.Net MVC 4:


Run the set with administrator right:




Click Install:




Click Close:





WCF Data Service 5.0 (OData v3):


Run the setup with Administration rights:





Monitor the process:





Click Close:





SCVMM Console:



Run the setup with Administration rights:





Click Install:



Select VMM Console only & Click Next:



Click Next:





Click Next:





Click Next:





Click Next:




Click Next:




Click Install:




Click Close:




Provide FQDN of SCVMM Server & Click Connect:




Connected to SCVMM Console:






SQL Server Database Instance Installation for SPF Server:


NOTE: You can install Database instance either on local host or remote server.

Run the setup with Administration Right:



Click on Stand-alone installation link:




Click OK:




Enter Key or use evaluation version (valid for six months):




Click Next:




Click Next:




Click Next:




Click Next:




Select below shown features & click next:




and,




Click Next:




Choose Name Instance & Click Next:





Click Next:




Give SQL Server Service account credentials & Click Next:





Check the SQL Collation & Click Next:





Give SA Account password, Add all SPF & Service accounts & Click Next:






Change the directory path if You want & Click Next:





Click Next:





Click Next:





Click Install:





Click Close once done:






Open SQL Management Console:







Other Prerequisites:


Check if IIS is working in local host: Open IIS Manager Console & Click on Browse Link for Default Website:





IIS is running:





Create Local User on SPF Machine:





Add all SPF accounts & local user to Administrator group:







All prerequisites are completed now.


In my next post, I will show You SPF Installation & Post configurations steps.



Share Your feedback or any query!!!


Happy Reading!!!

If You like my post then follow my updates:


Join my Facebook group for updates on trending technologies/technical references/issues etc: