Pages

Saturday, July 27, 2019

Azure Migrate


I can see that migrating on premise workloads to Azure is particularly interesting for my clients and students. For this reason I made detailed tutorial with demo in this post on how to migrate your VMs with Azure Migrate. You will see detailed steps on how to discover, assess and migrate you Hyper-V VMs to Azure with Azure Migrate Assessment and Azure Migrate Migration tools that are part of Azure Migrate. 

Azure Migrate helps you migrate to the Azure cloud, it provides a central hub to track discovery, assessment, and migration of on-premises workloads, and VMs. The hub provides Azure Migrate tools for assessment and migration, as well as integrated tools from independent software vendors.

In the previous version of Azure Migrate only assessment and migration of on-premises VMware VMs was supported, in this newest version you can migrate on-premises also Hyper-V VMs to Azure, as well as physical servers, other virtualized servers, and cloud VMs. In addition to all this, you can migrate to Azure using independent software vendor tools but if you go deeper and compare these tools with Azure Migrate you will see that (for now) only Corent SurPaaS tool has the same capabilities, to assets and migrate. With Carbonite Migrate you can migrate only and tolls like Cloudamize, Device 42, Turbonomic and UnifyCloud will give you capabiltes only to assess.

My students are almost always confused with Azure Migrate and Azure Site Recovery. The reason for this is that you must replicate the VMs prior migration with Azure Migrate. Azure Migrate Server Migration is a tool for migrating on-premises and public cloud workloads to Azure. This toll is optimized for migration. On the other hand, Site Recovery is a disaster recovery tool, but Azure Server Migration and Site Recovery share same components used for data replication, but they serve different purposes.



The new version of Azure Migrate provides a number of new features:

•        Unified migration platform: Azure Migrate now provides a single portal to centralize, manage, and track your migration journey to Azure, with an improved deployment flow and portal experience.

•        Assessment and migration tools: Azure Migrate provides native tools, and integrates with other Azure services, as well as with independent software vendor (ISV) tools.

•        Azure Migrate assessment: Using the Azure Migrate Server Assessment tool, you can assess VMware VMs and Hyper-V VMs for migration to Azure. You can also assess for migration using other Azure services, and ISV tools.

•        Azure Migrate migration: Using the Azure Migrate Server Migration tool, you can migrate on-premises VMware VMs and Hyper-V VMs to Azure, as well as physical servers, other virtualized servers, and private/public cloud VMs. In addition, you can migrate to Azure using ISV tools.

•        Azure Migrate appliance: Azure Migrate deploys a lightweight appliance for discovery and assessment of on-premises VMware VMs and Hyper-V VMs.

o   This appliance is used by Azure Migrate Server Assessment, and Azure Migrate Server Migration for agentless migration.

o   The appliance continuously discovers server metadata and performance data, for the purposes of assessment and migration.

•        VMware VM migration: Azure Migrate Server Migration provides a couple of methods for migrating on-premises VMware VMs to Azure. An agentless migration using the Azure Migrate appliance, and an agent-based migration that uses a replication appliance, and deploys an agent on each VM you want to migrate.

•        Database assessment and migration: From Azure Migrate, you can assess on-premises databases for migration to Azure using the Azure Database Migration Assistant. You can migrate databases using the Azure Database Migration Service.

•        Web app migration: You can assess web apps using a public endpoint URL with the Azure App Service. For migration of internal .NET apps, you can download and run the App Service Migration Assistant.

•        Data Box: Import large amounts offline data into Azure using Azure Data Box in Azure Migrate.

In this post I'm will focus on Azure Migrate Server Migration and Azure Migrate Server Assessment tool. The Azure Migrate Server Migration tool provides agentless replication for on-premises Hyper-V VMs, using a migration workflow that's optimized for Hyper-V. You will need to install a software agent only on Hyper-V hosts or cluster nodes. Nothing needs to be installed on Hyper-V VMs.

Now, first thing that we need to do is to discover our on-premises environment and for that you will need to deploy the Azure Migrate appliance. Once set up, this appliance remains connected to Azure Migrate and performs continuous discovery of your on-premises environment. You can download this appliance from azure portal in the form of virtual machine, you just export the VM on your Hyper-V host and you are good to go. Before you start, ensure that prerequisites are met.

Set up an Azure Migrate project

We will use for the purpose of this demo two tier application "EduApp" that is running on Hyper-V host on premise. We will start with discovery, assess, test migration and then migration of the two VMs in Azure.




  1. In the Azure portal > All services, search for Azure Migrate.
  2. In the search results, select Azure Migrate.
  3. In Overview, under Discover, assess and migrate servers, click Assess and migrate servers.







  1. In Getting started, click Add tools.
  2. In the Migrate project tab, select your Azure subscription, and create a resource group if you don't have one.
  3. In Project Details, specify the project name, and the region in which you want to create the project.


You can create an Azure Migrate project in these regions.

Geography
Region
Asia
Southeast Asia
Europe
North Europe or West Europe
United Kingdom
UK South or UK West
United States
East US, West US 2 or West Central US

The project region is used only to store the metadata gathered from on-premises VMs.
You can select a different Azure target region when you migrate the VMs. All Azure regions are supported for migration target.

  • Click Next.
  • In Select assessment tool, select Azure Migrate: Server Assessment > Next.






  • In Select migration tool, select Azure Migrate: Server Assessment > Next.
  • In Review + add tools, review the settings, and click Add tools.


Wait a few minutes for the Azure Migrate project to deploy. You'll be taken to the project page. If you don't see the project, you can access it from Servers in the Azure Migrate dashboard.

Set up the appliance VM

Azure Migrate Server Assessment runs a lightweight Hyper-V VM appliance.
This appliance performs VM discovery and sends VM metadata and performance data to Azure Migrate: Server Assessment.
To set up the appliance you:

  • Download a compressed Hyper-V VHD from the Azure portal.
  • Create the appliance, and check that it can connect to Azure Migrate Server Assessment.
  • Configure the appliance for the first time, and register it with the Azure Migrate project.
  • Download the VHD


  1. Download the zipped VHD template for the appliance.
  2. In Migration Goals > Servers > Azure Migrate: Server Assessment, click Discover.
  3. In Discover machines > Are your machines virtualized?, click Yes, with Hyper-V.
  4. Click Download to download the VHD file.





Verify security


Check that the zipped file is secure, before you deploy it.
On the machine to which you downloaded the file, open an administrator command window.
Run the following command to generate the hash for the VHD
C:\>CertUtil -HashFile <file_location> [Hashing Algorithm]
Example usage: C:\>CertUtil -HashFile C:\AzureMigrate\AzureMigrate.ova SHA256
For appliance version 1.19.06.27, the generated hash should match these settings.

MD5

3681f745fa2b0a0a6910707d85161ec5

SHA256

e6ca109afab9657bdcfb291c343b3e3abced9a273d25273059171f9954d25832


Create the appliance VM

  1. Import the downloaded file, and create the VM.
  2. Extract the zipped VHD file to a folder on the Hyper-V host that will host the appliance VM. Three folders are extracted.
  3. Open Hyper-V Manager. In Actions, click Import Virtual Machine.
  4. In the Import Virtual Machine Wizard > Before you begin, click Next.
  5. In Locate Folder, specify the folder containing the extracted VHD. Then click Next.
  6. In Select Virtual Machine, click Next.
  7. In Choose Import Type, click Copy the virtual machine (create a new unique ID). Then click Next.
  8. In Choose Destination, leave the default setting. Click Next.
  9. In Storage Folders, leave the default setting. Click Next.
  10. In Choose Network, specify the virtual switch that the VM will use. The switch needs internet connectivity to send data to Azure.
  11. In Summary, review the settings. Then click Finish.
  12. In Hyper-V Manager > Virtual Machines, start the VM.
  13. Verify appliance access to Azure




Make sure that the appliance VM can connect to Azure URLs.

Configure the appliance

  1. Set up the appliance for the first time.
  2. In Hyper-V Manager > Virtual Machines, right-click the VM > Connect.
  3. Provide the language, time zone, and password for the appliance.
  4. Open a browser on any machine that can connect to the VM, and open the URL of the appliance web app: https://appliance name or IP address: 44368.

Alternately, you can open the app from the appliance desktop by clicking the app shortcut.

  1. In the web app > Set up prerequisites, do the following:
  2. License: Accept the license terms, and read the third-party information.
  3. Connectivity: The app checks that the VM has internet access. If the VM uses a proxy:
  4. Click Proxy settings, and specify the proxy address and listening port, in the form http://ProxyIPAddress or http://ProxyFQDN.
  5. Specify credentials if the proxy needs authentication.
  6. Only HTTP proxy is supported.
  7. Time sync: Time is verified. The time on the appliance should be in sync with internet time for VM discovery to work properly.
  8. Install updates: Azure Migrate Server Assessment checks that the appliance has the latest updates installed.
  9. Register the appliance with Azure Migrate
  10. Click Log In. If it doesn't appear, make sure you've disabled the pop-up blocker in the browser.
  11. On the new tab, sign in using your Azure credentials.
  12. Sign in with your username and password.
  13. Sign-in with a PIN isn't supported.
  14. After successfully signing in, go back to the web app.
  15. Select the subscription in which the Azure Migrate project was created. Then select the project.
  16. Specify a name for the appliance. The name should be alphanumeric with 14 characters or less.
  17. Click Register.








If you're running VHDs on SMBs, you must enable delegation of credentials from the appliance to the Hyper-V hosts. You need to enable CredSSP on hosts in ordeer to discover configuration information for Hyper-V VMs with disks on SMB shares.


  • Identify Hyper-V hosts running Hyper-V VMs with disks on SMB shares.
  • Run the following command on each identified Hyper-V host:


Enable-WSManCredSSP -Role Server -Force


VMs can only be migrated to managed disks (standard HHD, premium SSD) in Azure



  • Connect from the appliance to Hyper-V hosts or clusters, and start VM discovery.
  • In User name and Password, specify the account credentials that the appliance will use to discover VMs. Specify a friendly name for the credentials, and click Save details.
  • Click Add host, and specify Hyper-V host/cluster details.
  • Click Validate. After validation, the number of VMs that can be discovered on each host/cluster is shown.
  • If validation fails for a host, review the error by hovering over the icon in the Status column. Fix issues, and validate again.
  • To remove hosts or clusters, select > Delete.

You can't remove a specific host from a cluster. You can only remove the entire cluster.
You can add a cluster, even if there are issues with specific hosts in the cluster.

  • After validation, click Save and start discovery to start the discovery process.




It takes around 15 minutes for metadata of discovered VMs to appear in the Azure portal.
The appliance comes with a Windows Server 2016 evaluation license, which is valid for 180 days. If the evaluation period is close to expiry, it is recommend that you download and deploy a new appliance, or that you activate the operating system license of the appliance VM.


Verify VMs in the portal

After discovery phase is finished, you can verify that the VMs appear in the portal as discoverd servers.

  1. Open the Azure Migrate dashboard.
  2. In Azure Migrate - Servers > Azure Migrate: Server Assessment page, click the icon that displays the count for Discovered servers.



Set up an assessment

Next, the Azure Migrate Server Assessment part is very important, let's say crucial from the architectural point of migration process. It is something that you must pay attention to.
After successful discovery of your on premise VMs the next step will be assessment.
I’m going to dedicate a post for assessment component of Azure migrate and Log Analytics but for now we are going to cover the basics.
Not all machines are suitable for running in Azure. Azure Migrate Server Assessment assesses each on-premises machine for migration suitability to Azure, and categorizes the assessed machines into one of the following suitability categories:

  • Ready for Azure - The machine can be migrated as-is to Azure without any changes. It will boot in Azure with full Azure support.
  • Conditionally ready for Azure - The machine may boot in Azure but may not have full Azure support. For example, a machine with an older version of Windows Server OS is not supported in Azure. You need to be careful before migrating these machines to Azure and follow the remediation guidance suggested in the assessment to fix the readiness issues before you migrate.
  • Not ready for Azure - The machine will not boot in Azure. For example, if an on-premises machine has a disk of size more than 64 TB attached to it, it cannot be hosted on Azure. You need to follow the remediation guidance suggested in the assessment to fix the readiness issue before migrating to Azure. Right-sizing and cost estimation is not done for machines that are marked as not ready for Azure.
  • Readiness unknown - Azure Migrate could not find the readiness of the machine due to insufficient metadata collected from the on-premises environment.
In order to get VMs dependencies which is a very important part of any migration assessment, an Log Analytics (OMS) workspace needs to be created and agent must be installed on every VM. Remember that you can only create or attach a workspace in the same subscription where the Azure Migrate project is created.
Dependency visualization in Server Assessment allows you to create high-confidence groups for migration assessments. Using dependency visualization, you can view network dependencies of machines and identify related machines that need to be migrated together to Azure. This functionality is useful in scenarios where you are not completely aware of the machines that constitute your application and need to be migrated together to Azure.

To attach a Log Analytics workspace to a project:

  1. In the Servers tab, in Azure Migrate: Server Assessment tile, click Overview.
  2. In Overview, click the down arrow to expand Essentials.
  3. In OMS Workspace, click Requires configuration.
  4. In Configure workspace, specify whether you want to create a new workspace, or use an existing one:


While associating a workspace, you will get the option to create a new workspace or attach an existing one.
When you create a new workspace, you need to specify a name for the workspace. The workspace is then created in a region in the same Azure geography as the migration project.
When you attach an existing workspace, you can pick from all the available workspaces in the same subscription as the migration project. Note that only those workspaces are listed which were created in a region where Service Map is supported.

Once you have attached a workspace to a project, you cannot change it later.

The associated workspace is tagged with the key Migration Project, and value Project name, which you can use to search in the Azure portal. To navigate to the workspace associated with the project, you can go to Essentials section of the project Overview page and access the workspace

To use dependency visualization, you need to download and install agents on each on-premises machine that you want to analyze.

Microsoft Monitoring agent(MMA) needs to be installed on each machine.
The Dependency agent needs to be installed on each machine.
In addition, if you have machines with no internet connectivity, you need to download and install Log Analytics gateway on them.
You don't need these agents on machines you want to assess unless you're using dependency visualization.

  1. In Azure Migrate - Servers > Discovered servers you can see notification in DEPENDENCIES section
  2. Click on Requires agent installation





Install and verify connectivity of agents with Log Analytics.

Next set up an assessment.



There are two types of assessments you can run using Azure Migrate Server Assessment.

Assessment
Details
Data
Performance-based
Assessments based on collected performance data
Recommended VM size: Based on CPU and memory utilization data.

Recommended disk type (standard or premium managed disk): Based on the IOPS and throughput of the on-premises disks.
As on-premises
Assessments based on on-premises sizing.
Recommended VM size: Based on the on-premises VM size

Recommended disk type: Based on the storage type setting you select for the assessment.


Review the best practices for creating assessments.

Run an assessment as follows:
  1. In Servers > Azure Migrate: Server Assessment, click Assess.
  2. In Assess Servers, specify a name for the assessment and choose the Appliance name.
  3. In Assess Servers, Select or create a group, and select the VMs the you want to assess




  • Click Create Assessment to create the group, and run the assessment.


After the assessment is created, view it in Servers > Azure Migrate: Server Assessment.

An assessment describes:
Azure readiness: Whether VMs are suitable for migration to Azure.
Monthly cost estimation: The estimated monthly compute and storage costs for running the VMs in Azure.
Monthly storage cost estimation: Estimated costs for disk storage after migration.
View an assessment

  • In Migration goals > Servers > Azure Migrate: Server Assessment, click Assessments.
  • In Assessments, click on an assessment to open it.




Review Azure readiness




In Azure readiness, we can see that in this case we have issue with UEFI, this is an unsupported boot type.
Azure does not support VMs with EFI boot type. It is recommended the you to convert the boot type to BIOS before you run a migration but you can use Azure Migrate Server Migration to do the migration of such VMs, it will convert the boot type of the VM to BIOS during the migration.

Click on an Azure readiness status. You can view VM readiness details, and drill down to see VM details, including compute, storage, and network settings.
Review cost details


This view shows the estimated compute and storage cost of running VMs in Azure.



Review the monthly compute and storage costs.
Costs are aggregated for all VMs in the assessed group. Cost estimates are based on the size recommendations for a machine, and its disks and properties.
Estimated monthly costs for compute and storage are shown.
The cost estimation is for running the on-premises VMs as IaaS VMs. Azure Migrate Server Assessment doesn't consider PaaS or SaaS costs.

Review monthly storage cost estimates.
This view shows aggregated storage costs for the assessed group, split over different types of storage disks.

You can drill down to see details for specific VMs.



Review confidence rating
When you run performance-based assessments, a confidence rating is assigned to the assessment.
The confidence rating helps you estimate the reliability of the size recommendations provided by the assessment. The confidence rating is based on the availability of data points needed to compute the assessment. Depending on the percentage of data points available, the confidence rating for the assessment is provided as below:

Availability of data points Confidence rating
0%-20%                                 1 Star
21%-40%                               2 Star
41%-60%                               3 Star
61%-80%                               4 Star
81%-100%                             5 Star

Migrate Hyper-V VMs to Azure

Once we are done with installing and configuring all components, run the assessments, we can proceed with the migration of our VMs.  For that we need to prepare our Hyper-V hosts. You do this by downloading and installing  replication provider software on your Hyper-V hosts.

  1. In the Azure Migrate project > Servers, in Azure Migrate: Server Migration, click Discover.
  2. In Discover machines > Are your machines virtualized?, select Yes, with Hyper-V.
  3. In Target region, select the Azure region to which you want to migrate the machines.
  4. Select Confirm that the target region for migration is region-name.
  5. Click Create resources. This creates an Azure Site Recovery vault in the background.

If you've already set up migration with Azure Migrate Server Migration, this option won't appear since resources were set up previously.




You can't change the target region for this project after clicking this button and all subsequent migrations are to this region.


  • In Prepare Hyper-V host servers, download the Hyper-V Replication provider, and the registration key file.


The registration key is needed to register the Hyper-V host with Azure Migrate Server Migration and this key is valid for five days after you generate it.



Replicate Hyper-V VMs

Our next step is to replicate the VMs. This what I was trying to explain in the beginning of this post. You must replicate the VMs prior migration. With Azure Migrate discovery completed, we can begin replication of our Hyper-V VMs to Azure.

  1. In the Azure Migrate project > Servers, Azure Migrate: Server Migration, click Replicate.
  2. In Replicate, > Source settings > Are your machines virtualized?, select Yes, with Hyper-V. Then click Next: Virtual machines.
  3. In Virtual machines, select the machines you want to replicate.

If you've run an assessment for the VMs, you can apply VM sizing and disk type (premium/standard) recommendations from the assessment results. To do this, in Import migration settings from an Azure Migrate assessment?, select the Yes option.



If you didn't run an assessment, or you don't want to use the assessment settings, select the No options.

  • If you selected to use the assessment, select the VM group, and assessment name.
  • In Virtual machines, search for VMs as needed, and check each VM you want to migrate. Then, click Next: Target settings.

  • In Target settings, select the target region to which you'll migrate, the subscription, and the resource group in which the Azure VMs will reside after migration.
  • In Replication Storage Account, select the Azure storage account in which replicated data will be stored in Azure.
  • Virtual Network, select the Azure VNet/subnet to which the Azure VMs will be joined after migration.
  • In Azure Hybrid Benefit: Select No if you don't want to apply Azure Hybrid Benefit. Then, click Next.
  • Select Yes if you have Windows Server machines that are covered with active Software Assurance. Then click Next.   

  • In Compute, review the VM name, size, OS disk type, and availability set. VMs must conform with Azure requirements.
VM size: If you're using assessment recommendations, the VM size dropdown will contain the recommended size. Otherwise Azure Migrate picks a size based on the closest match in the Azure subscription. Alternatively, pick a manual size in Azure VM size.
OS disk: Specify the OS (boot) disk for the VM. The OS disk is the disk that has the operating system bootloader and installer.
Availability set: If the VM should be in an Azure availability set after migration, specify the set. The set must be in the target resource group you specify for the migration.




  • In Disks, specify whether the VM disks should be replicated to Azure, and select the disk type (standard SSD/HDD or premium-managed disks) in Azure. Then click Next.


You can exclude disks from replicationand is so thay won't be present on the Azure VM after migration.



  • In Review and start replication, review the settings, and click Replicate to start the initial replication for the servers.


Replication process.
When you enable replication for a VM, initial replication to Azure storage begins, using the specified replication policy. Traffic replicates to Azure storage public endpoints over the internet. YOu shoul note that replicating traffic over a site-to-site virtual private network (VPN) from an on-premises site to Azure isn't supported.
After initial replication finishes, delta replication begins. Tracked changes for a machine are logged.
Communication happens as follows:
VMs communicate with the replication appliance on port HTTPS 443 inbound, for replication management.
The replication appliance orchestrates replication with Azure over port HTTPS 443 outbound.
VMs send replication data to the process server (running on the replication appliance) on port HTTPS 9443 inbound. This port can be modified.
The process server receives replication data, optimizes and encrypts it, and sends it to Azure storage over port 443 outbound.
The replication data logs first land in a cache storage account in Azure. These logs are processed and the data is stored in an Azure managed disk.


Once we are done with replication we can proceed with test migration, remember test migration is not mandatory, but it is highly recommended.


  • In Azure Migrate - Servers >Azure Migrate: Server Migration - Replicating machines right click the VM and click Test migration

  • In Azure Migrate - Servers >Azure Migrate: Server Migration - Replicating machines > Test migration select Virtual Network and click Migrate









After a while test migration is completed. In order to delete the virtual machine created during test failover use 'Cleanup test failover' option on the virtual machine.




After cleanup finishes we are ready to migrate the VM, remember cleanup must be done in order to execute migration.



We are done, the VMs has been migrated, we can see that is running is Azure and the same VM  is stoped on our Hyper-V host.




So, there you have it. Hope this really helps you on your venture of migration your datacenter in cloud. Please feel free to comment below.

Thursday, September 3, 2015

Understanding System Center 2012 Configuration Manager


System Center 2012 Configuration Manager is a user-centric product that focuses on the management of users and the devices they have rather than the management of devices and the people who use them. You can use the newest release "System Center 2012 R2 Configuration Manager" to manage assets, applications, compliance, and software updates, in addition to deploying operating systems, and monitoring and reporting on your environment.

In this post, you will learn about the basic and new features of System Center 2012 R2 Configuration Manager, the various types of sites, and the site system roles that you can deploy. System Center 2012 R2 Configuration Manager takes advantage of a redesign of several features in previous versions of Configuration Manager. This post covers the enhancements and modifications made to the Configuration Manager console. 

System Center 2012 R2 Configuration Manager lets you use a single console to manage devices on internal networks and beyond your organization’s perimeter firewall. Administrators can manage an entire Configuration Manager hierarchy through a single console. They do not need to connect remotely to servers in different sites if they want to manage those sites’ Configuration Manager site system roles.





System Center Configuration Manager 2012 R2 has hundreds of features and functions that an IT administrator can leverage as part of their system configuration and management practices; some of the core features in the product are:

  • Operating system deployment—At the start of the system's life cycle is the installation of the core operating system. SCCM provides all the tools an organization needs to deploy an operating system, either as an imaged installation (formerly, organizations used Norton Ghost, but no longer need to because SCCM includes image creation and deployment tools) or as a scripted method of installation.
  • Patching and updating—Once the operating system has been deployed, SCCM includes the mechanism to patch and update systems. Although many organizations use the Windows Server Update Services (WSUS), a Microsoft role for patching and updating systems, SCCM leverages everything WSUS does but also provides IT administrators a more active patching and updating addition to WSUS. The Software Updates node of the SCCM console, is an example of the detail of the update information. The active update system enforces updates, forcing systems to be patched, updated, and rebooted based on policies that the IT department publishes and ensuring consistency in the update cycle of systems.
  • Asset tracking—As part of the operating system deployment and patching and updating process, the management tool needs to know what type of hardware, software, and applications make up the system so the system can be properly updated. SCCM includes the tools necessary to track the hardware and software assets of the systems it is managing.
  • Remote control—In the event that a user working on a system needs help, or that a system needs to be serviced, SCCM has a remote-control process that allows the IT administrator or a help desk individual to remotely control and support a user or manage a system whether the system is on the network or remote of the network.
  • Software deployment—Although the operating system deployment will install the base operating system on a server or client system, applications need to be installed and managed as well. SCCM provides the tools to push out software applications, whether it is something as simple as a plug-in or utility or as complex as a complete suite or server-based application, including unique application configuration and customization.
  • Desired Configuration Management—Beyond just having an operating system and applications installed on a system, keeping a system configured in a standard setup is crucial in consistency controls. SCCM provides a process called Desired Configuration Management, or DCM, that has policies established for system configurations so that a system cannot be changed or modified beyond the configuration standards set by policy for the system. This ensures all systems have the same software, drivers, updates, and configuration settings meeting stringent audit and controls standards consistent with regulatory compliance rules.
  • Internet Client—A very significant component in SCCM is the Internet Client. In the past, for a system to be managed, the system had to be connected to the network. For remote and mobile systems, that means the system has to be VPN'd into the network to have patches and updates applied or for the IT department to inventory or remotely control the system. With the Internet Client and the use of a PKI certificate installed on the system, a remote or mobile system merely needs to be connected to the Internet anywhere in the world, and the SCCM client will automatically connect back to the corporate SCCM server through a secured tunnel to allow SCCM to inventory, patch, apply policies, and update the system. The remote system does not need to VPN into the network or do anything other than simply establish connectivity to the Internet.
  • Reporting—SCCM integrates into the product a report generation tool, that comes with a full set of out-of-the-box reports, including the ability for IT personnel to create customized reports on everything from asset inventory reports to standard configuration reports to reports on the patch and update level of each laptop and desktop in the entire enterprise. Reports can also be customized in the report tool querying any data sets of information collected by SCCM and producing reports specific to the needs of the organization.
Through the Configuration Manager console, you can manage client devices that are running Windows® operating systems, including Windows Vista®, Windows 7, Windows 8, and Windows 8.1. You also can deploy Configuration Manager clients to enable the management of computers that are running non-Microsoft® operating systems, such as supported versions of the Apple operating system, Mac OS X, in addition to supported Linux distributions and variants of UNIX.

Configuration Manager supports the management of devices beyond a perimeter firewall through integration with Windows Intune™, which is the Microsoft cloud-based client-management product. When linked with Configuration Manager through the Windows Intune connector, you can manage devices that are running Windows RT, Windows RT 8.1, Windows Phone® 8, and supported versions of the Android and Apple (iOS) mobile operating systems. You also can use the Windows Intune connector to enable Configuration Manager to manage computers that are not domain-joined that are running Windows PC operating systems.

System Center 2012 R2 Configuration Manager also supports distribution points based on Windows Azure™. Windows Azure distribution points enable delivery of Configuration Manager–based content from Windows Azure to clients. This reduces the complexity involved in providing content to client devices that are outside an organization’s perimeter firewall either temporarily or permanently.

System Center 2012 Configuration Manager Service Pack 1 (SP1) introduced new features that were not available in the original Release to Manufacturing (RTM) version. The release of System Center 2012 R2 Configuration Manager builds on the SP1 release and introduces additional features.

New Features in System Center 2012 Configuration Manager SP1
System Center 2012 Configuration Manager SP1 introduced the following significant features that provide support for:
·         The Configuration Manager client on computers that are running Windows 8.
·         The ability to deploy Windows 8 or to perform upgrades of Windows 7 computers to Windows 8 by using Configuration Manager.
·         Windows To Go.
·         User data and profiles configuration that enables Configuration Manager to manage folder redirection, offline files, and roaming profiles.
·         Deployment of Windows Store apps (.appx files) to Windows 8 clients through sideloading or links to the Windows Store. Sideloading is the process by which Windows Store apps are deployed to devices without using the Windows Store.
·         The metered Internet connection and the Always On, Always Connected Windows 8 features.
·         Using Windows Server 2012 on site systems and client devices.
·         Using SQL Server 2012 to host the Configuration Manager database.
·         Mac OS X, Linux, and UNIX computers as Configuration Manager client devices.
·         Mobile devices that are running the Windows Phone 8, Windows RT, iOS, and Android operating systems through a Windows Intune organizational account.
·         The inclusion of Windows PowerShell® cmdlets that you can use to automate Configuration Manager operations through Windows PowerShell command-line interface scripts.
·         Windows Azure distribution points.
·         The ability to expand a stand-alone primary site into a hierarchy with a new central administration site.
·         Migration of a Configuration Manager SP1 hierarchy to another Configuration Manager SP1 hierarchy.
·         More than one software-update point in a site.
·         The ability to trigger some client operations, such as downloading policy and triggering malware scans, from the Configuration Manager console.
·         Microsoft Application Virtualization (App-V) virtual environments that allow App-V applications to share data from file systems and registries.
·         Increased email alert subscriptions.

New Features in System Center 2012 R2 Configuration Manager
In addition to the features discussed above, System Center 2012 R2 Configuration Manager includes the following new features that provide support for:
·         Windows Server 2012 R2 and Windows 8.1
·         Boot images that you create by using Windows Automated Installation Kit for Windows 7 SP1.
·         The new site system role for certificate registration points. This role enables deployment to, and management of, certificates to Configuration Manager client devices.
·         Certificate profiles that support user and device certificates to managed devices that are running the iOS, Windows 8.1, Windows RT 8.1, and Android operating systems.
·         Merging of System Center 2012 R2 Configuration Manager hierarchies.
·         Migration of System Center 2012 Configuration Manager test-environment data to a System Center 2012 R2 Configuration Manager production environment.
·         The enrollment of Mac OS X computers and deployment of client certificates through an enrollment wizard.
·         The ability to reassign Configuration Manager client devices, including managed mobile devices, to a different site in the Configuration Manager hierarchy, either individually or through bulk reassignment.
·         The enrollment of Android devices by using the Company Portal app that is available through the Google Play store. The Company Portal app includes the Configuration Manager management agent that enables management capabilities such as password settings, a camera, and encryption settings.
·         The enrollment of iOS devices by using the Company Portal app that is available through the Apple App Store. The Company Portal app enables users to change or reset a password, download and install organization apps, enroll, unenroll, or remove organizational content from their iOS device.
·         Devices that run the Windows RT, iOS, and Android mobile operating systems support the Required deployment purpose.
·         The wipe and retire function, which enables administrators to remove only organizational content from devices.
·         Windows Intune, which can manage Windows 8.1 devices that are not domain-joined and do not have the Configuration Manager client installed.
·         Additional Compliance Settings related to mobile devices.
·         Deploying web applications through a new deployment type.
·         Windows 8.1 app bundles (.appxbundle) to optimize the deployment of Windows Store apps and resource packages.
·         Featured applications that display prominently in the Company Portal.
·         Configuration of per-application VPN profiles that enable an application to open a VPN connection.
·         Remote connection profiles, which enable users to connect remotely to their work computers from the company portal.
·         VPN profiles, which enable you to deploy VPN settings to devices that are running iOS, Windows RT, and Windows RT 8.1.
·         Wi-Fi profiles that enable you to deploy Wi-Fi connection settings to devices that are running iOS, Windows 8, Windows 8.1, Windows RT, and Windows RT 8.1.
·         Maintenance windows for software updates.
·         Previews of software updates in an automatic deployment rule.
·         Altering the deployment package for an existing deployment rule so that you can add new software updates more efficiently.
·         The ability to view resultant client settings so that you can see effective client settings that are applied to specific devices.
·         Non-default locations for site database files.
·         The creation of pre-staged content files for task-sequence content.
·         Virtual hard disk management.
·         New task sequence steps that include Run PowerShell Script, Check Readiness, and Set Dynamic Variables.
·         Pull-distribution points that enable administrators to configure priorities for source distribution points.
·         Pushing of status information about completed actions by pull-distribution points to the site server.
·         Summary reports of distribution point usage, which enables administrators to view details that compare individual distribution point utilization.
·         Configuration Manager reporting, which supports role-based administration with all of the reports’ data filtered based on the permissions of the user who runs the report.

Upgrading to System Center 2012 R2 Configuration Manager
You can upgrade to System Center 2012 R2 Configuration Manager only from System Center 2012 Configuration Manager SP1. You cannot upgrade directly to System Center 2012 R2 Configuration Manager from System Center 2012 Configuration Manager. You must first install SP1 before upgrading to System Center 2012 R2 Configuration Manager.

Overview of System Center 2012 R2 Configuration Manager




System Center 2012 R2 Configuration Manager provides a unified infrastructure and a single console through which you can manage physical, virtual, and mobile clients. It also provides tools and improvements that make it easier for IT administrators to do their jobs.
Several features of System Center 2012 R2 Configuration Manager provide the tools that help an organization provide highly effective IT services in several areas:
·         Asset management. These tools enable you to gather and use information about a network’s users and devices.
·         Change management. These tools enable you to deploy and manage applications in a network,
identify and remediate devices that do not have correct configurations, upgrade existing client systems or deploy new client systems.
·         Administrative Features. These tools enable you to monitor an environment that you manage with Configuration Manager, in addition to the tasks that you perform within that environment.
The following table outlines the features of System Center 2012 R2 Configuration Manager.
Feature
Feature usage
Asset management

Hardware and software inventory
Use these tools and resources to maintain a record of your organization’s hardware and software.
Asset Intelligence
Use this feature to obtain more insight from the inventory data that the Hardware and Software Inventory features record. Asset Intelligence uses a catalog that contains software and license information to identify the inventoried software.
Software Metering
Use this feature to monitor and collect software usage data and generate reports to determine how applications are used in your organization.
Change management

Application Management           
Use these tools and resources to create, manage, deploy, and monitor your organization’s applications.
Software Updates Management
Use these tools and resources to manage, deploy, and monitor software updates in your organization.
Operating System Deployment
Use this feature to plan and deploy operating systems by using images.
Content Management
Use these tools and resources to manage content files for applications, packages, software updates, and operating system deployment.
Compliance Settings
Use these tools and resources to help you assess, track, and remediate the configuration compliance of your organization’s client devices.
Power Management
Use these tools and resources to manage and monitor the power consumption of your organization’s client devices.
Client Health
Use these tools and resources to manage and monitor the health of your Configuration Manager client software.
User Data and Profiles
Use this feature to control folder redirection, offline files settings, and roaming user profiles for Configuration Manager clients.
Remote Connection Profiles
Use this feature to manage inbound remote connections to Configuration Manager clients.
Company Resource Access
Use this feature to provision Configuration Manager clients with virtual private network (VPN) settings, Wi-Fi profiles, and certificates.
Network Access Protection
Use this feature as a health validator. It works in conjunction with Network Access Protection (NAP) in Windows Server® 2008, Windows Server 2008 R2, Windows Server 2012, and Windows Server 2012 R2.
Endpoint Protection
Use this new functionality in System Center 2012 R2 Configuration Manager to protect clients against malware. This functionality was available previously in Microsoft Forefront® Endpoint Protection.
Administrative features

Reporting
Use the Microsoft SQL Server® SQL Reporting Services in Configuration Manager for report generation. Administrators can create subscriptions that enable report generation on a specific schedule and for distribution in various formats by email.
Monitoring
Use this feature to supervise site systems and client health. It also provides automatic remediation for specific client errors.
Remote Management
Use this feature to access any client computer in the hierarchy remotely so that you can assist a user. Use the remote control to troubleshoot configuration issues with your organization’s hardware and software on client devices and to provide help desk support when access to a user’s computer is necessary.
Role-based Administration
Use this feature to assign roles and permissions for administrators that enables them to access and use Configuration Manager features.
System Center 2012 R2 Configuration Manager assesses your environment comprehensively, deploys operating systems, and updates your servers, clients, and devices across physical, virtual, distributed, and mobile environments. It is optimized for the Windows operating systems. It is an optimal choice for gaining enhanced insight into and managing IT systems. There are several benefits of using System Center 2012 R2 Configuration Manager, which the following sections detail.
Empowering User Productivity by Using Configuration Manager
Often, users do not realize they require a particular application until they need it. However, if your organization employs traditional processes and methods for application installation, this could mean that your users have to wait several days for software installation. However, if you use the Configuration Manager application management features, you can accelerate this process so that users can request and receive software more quickly.
Additionally, by using the Configuration Manager asset management features, an IT staff can monitor systems that are running low on resources. Detecting and alleviating issues before they interrupt users is another way Configuration Manager can help empower user productivity.
Unifying Management and Security Features
Typically, users log on to the Internet continuously for business and personal reasons. This online activity makes their systems vulnerable to constantly evolving malware and other security threats. System Center 2012 R2 Configuration Manager includes an Endpoint Protection feature that can help alleviate some of these challenges. However, the evolving nature of Internet threats presents a challenge for any protection software to block every potential issue. Configuration Manager’s compliance-management features can help alleviate potential threats by ensuring that your environment’s clients have the proper versions of software installed and configured properly.
Licensing for System Center 2012 Server Management
There are two editions of the System Center 2012 suite: Standard and Datacenter, which the following table details.
Server License
Products
Virtual machines per license
System Center 2012 Standard Edition
·         App Controller
·         Configuration Manager
·         Data Protection Manager
·         Endpoint Protection
·         Operations Manager
·         Orchestrator
·         Service Manager
·         Virtual Machine Manager

Two
System Center 2012 Datacenter Edition

Unlimited

You can purchase System Center 2012 R2 licensing for client management in a variety of packages. System Center 2012 includes licensing for a version of SQL Server Standard edition that supports System Center 2012. This can be any version of SQL Server Standard edition that supports System Center 2012.

System Center 2012 R2 Configuration Manager Hierarchy


You can deploy System Center 2012 R2 Configuration Manager as a stand-alone primary site or as multiple primary sites that connect to a central administration site. The primary reason for using multiple sites is to support a larger number of clients. When using a hierarchy that consists of multiple sites, you have one or more site system servers in each site. You cannot change a site’s hierarchical position without uninstalling and reinstalling System Center 2012 R2 Configuration Manager. Therefore, it is essential that you consider your requirements carefully and plan your deployment properly. When deploying a Configuration Manager site, you assign the site a three-character site code that must be unique in your hierarchy. You cannot change this code without uninstalling and reinstalling Configuration Manager.
In a System Center 2012 R2 Configuration Manager hierarchy, the sites have one of the following roles:
·         Central administration site. This is at the top of the hierarchy, and you can use it for generating reports and administration.
·         Primary site. You use primary sites to manage client systems. All client systems are assigned to a primary site.
·         Secondary site. You can use secondary sites to control bandwidth usage between physical locations. Client systems can report information to, and retrieve information from, a secondary site.
When you plan a System Center 2012 R2 Configuration Manager hierarchy, you should identify the number and type of sites that you require, where you will deploy them, and how you will deal with future expansion. Planning for expansion is an important step because the changes in System Center 2012 R2 Configuration Manager from older Configuration Manager versions enable Configuration Manager to support more clients with fewer sites.
There are many other factors that determine your hierarchy’s structure, including:
·         The current state of your network, such as wide area network (WAN) connection speeds, available bandwidth, and connection reliability.
·         The current state of your computing environment, such as the number of users, the number of locations, and user density at the locations.
·         Business or regulatory requirements.

From a functionality standpoint, there are only two reasons to deploy multiple sites: scalability beyond 100,000 clients and management of WAN links. However, based on your specific scenario, you might decide to use multiple sites even if you have less than 100,000 clients. For example, in an environment with very high WAN utilization, you might decide to minimize Configuration Manager traffic by placing a distribution point in a remote location and then scheduling deployments at off-peak hours. Another company might look at the same scenario and have requirements that mandate using a secondary or even a primary site at the remote locations, and possibly expanding the available WAN bandwidth.




When you install a System Center 2012 R2 Configuration Manager site, several site system roles install by default. The roles that install are required for each site’s core operation. You can move some of these roles to other servers, but you cannot remove them from the site. When you install additional site servers for optional roles, Configuration Manager also installs some default site system roles.

Default Site System Roles
When you install a site server, Configuration Manager installs the default system roles automatically. These roles are preconfigured, and you have minimal additional configuration options. The SMS Provider role is the only role that does not have an object exposed in the Configuration Manager console. Configuration Manager also installs two optional roles, the management point and distribution point roles, when you install a primary or secondary site server.
The following table lists the default site system roles.
Site system role
Description
Site server
The site server provides core functionality for the site.
Site system
The site system is a computer that provides specific Configuration Manager functionality to a site. This functionality depends on the site system roles that are deployed. You deploy roles during Configuration Manager site installation or when you deploy an optional site system role to a server.
Component server
Any site systems that run the SMS Executive service also host the component server site system role. This role is required to support other roles, such as a management point, and Configuration Manager installs and removes it with the other site system roles.
Site database server
The site database server is a computer that runs a Microsoft SQL Server instance that stores information for the Configuration Manager site.
Typically, a site database server supports only a single Configuration Manager site. However, you can use distinct instances on clustered or nonclustered SQL Servers to host the database from different Configuration Manager sites, as long as each instance uses distinct ports.
SMS Provider
The SMS Provider is the interface between the Configuration Manager console and the site database.

Optional Site System Roles
Optional site system roles are site system roles that the core operation of a Configuration Manager site does not require. Although the management point and distribution point roles are optional, they install automatically on a primary or secondary site server when you install Configuration Manager. These roles are optional, and you can move them to other servers after installation. You must have at least one management point to support client systems and one distribution point to distribute files to client systems. After a site’s installation, you can install other optional site system roles on the site server or other servers.
The following table lists the optional site system roles.
Site system role
Description
Application Catalog web service point
Provides information from the Software Library to the Application Catalog website.
Application Catalog website point
Users navigate to this site to view a list of available applications.
Asset Intelligence synchronization point
Connects to a Microsoft website to download data for the Asset Intelligence catalog and to upload application signatures. You can install this site system role only on the central administration site or a stand-alone primary site.
Certificate registration point
Provides certificate deployment and management functionality for Configuration Manager clients.
Distribution point
Hosts source files for clients to download. You can control content distribution by configuring bandwidth throttling options.
Endpoint Protection point
Implements Endpoint Protection in the System Center 2012 R2 Configuration Manager environment.
Fallback status point
Assists in monitoring client installations. Enables you to identify unmanaged clients that are unable to communicate with their management point.
Management point
Provides a primary point of contact for client communication. Additionally, it provides policy and content location data to client systems and receives configuration data and status messages from clients. You must deploy at least one management point at each primary site that manages clients. You also must install a management point at each secondary site where you want to provide a local contact point from which clients can obtain machine and user policies.
Enrollment point           
Provides complete mobile device enrollment and enables you to provision Intel Active Management Technology (AMT)–based computers with Public Key Infrastructure certificates.
Enrollment proxy point
Manages enrollment requests from mobile devices. To manage devices that are connected to Microsoft Exchange Servers, you must use an Exchange Server connector. To manage devices that are connected through Windows Intune, you must install the Windows Intune connector.
Out of band service point          
Helps provision and configure AMT-based computers for out-of-band management.
Reporting services point
Helps integrate with SQL Server Reporting Services to create and manage reports for Configuration Manager.
Software update point
Integrates with WSUS to provide software updates to Configuration Manager clients.
State migration point
Stores user-state data during operating system migration.
System Health Validator point
Validates Configuration Manager NAP policies. You must install this on a NAP health policy server.
Windows Intune connector
Required when you configure a connection to a Windows Intune subscription for the management of mobile devices.