anyweb

using System Center 2012 Configuration Manager - Part 3. Configuring Discovery and Boundaries



25 posts in this topic

In Part 1 of this series we created our new LAB, we got the System Center 2012 Configuration Manager ISO and extracted it, then copied it to our Active Directory server. We then created the System Management container in AD, delegated permissions to the container, extended the Schema for Configuration Manager. We then opened TCP ports 1433 and 4022 for SQL replication between sites, installed some prerequisites like .NET Framework 4.0, added some features and then downloaded and installed SQL Server 2008 R2 SP1 CU6. We then configured SQL Server using SQL Server Management Studio for security and memory configurations prior to running the Configuration Manager 2012 setup to assess server readiness. Finally we installed a central administration site (CAS).

 

In Part 2 we setup our Primary server with SQL Server 2008 R2 SP1 CU6. We then installed Configuration Manager 2012 on our primary server (P01) and verified that it was replicating to our central administration site (CAS) server. Now we will configure Discovery methods for our Hierarchy and then configure Boundaries and Boundary Groups.

 

Planning for discovery in Configuration Manager

Note: Planning for discovery in Configuration Manager is an important step, you need to discover objects that you want to manage (computers/users) so that you can target them with software and/or use client push. Please review the following information on Technet which is summarised below.

 

The discovery types that we will use are listed below:-

  • Active Directory Forest Discovery
  • Active Directory Group Discovery
  • Active Directory System Discovery
  • Active Directory User Discovery

System Center 2012 Configuration Manager discovery identifies computer and user resources that you can manage by using Configuration Manager. It can also discover the network infrastructure in your environment. Discovery creates a discovery data record (DDR) for each discovered object and stores this information in the Configuration Manager database.

When discovery of a resource is successful, discovery puts information about the resource in a file that is referred to as a discovery data record (DDR). DDRs are in turn processed by site servers and entered into the Configuration Manager database where they are then replicated by database-replication with all sites. The replication makes discovery data available at each site in the hierarchy, regardless of where it was discovered or processed. You can use discovery information to create custom queries and collections that logically group resources for management tasks such as the assignment of custom client settings and software deployments. Computers must be discovered before you can use client push installation to install the Configuration Manager client on devices.

 

Decide Where to Run Discovery

When you plan to use discovery in Configuration Manager, you must consider where to run each discovery method. After Configuration Manager adds discovery data to a database, it is quickly shared between all sites in the hierarchy. Because there is no benefit to discovering the same information at multiple sites in your hierarchy, consider configuring a single instance of each discovery method that you use to run at a single site instead of running multiple instances of a single method at different sites.

 

However, periodically it might help assign the same discovery method to run at multiple sites, each with a separate configuration and schedule. This is because at each site, all configurations for a single discovery method are evaluated every time that discovery method runs. If you do configure multiple instances of a single discovery method to run at different sites, plan the configuration of each carefully to avoid having two or more discovery processes discover the same resources. Discovering the same locations and resources at multiple sites can consume additional network bandwidth and create duplicate DDRs for resources that add no value and must still be processed by your site servers.

 

Consider the following when you plan where to run discovery. When you use an Active Directory Discovery method for systems, users, or groups:

  • Run discovery at a site that has a fast network connection to your domain controllers.
  • Consider the Active Directory replication topology to ensure discovery can access the latest information.
  • Consider the scope of the discovery configuration and limit discovery to only those Active Directory locations and groups that you have to discover.

Step 1. Enable Active Directory Forest Discovery

Note: Perform the following on the Central Administration Site server (CAS) as SMSadmin

 

In the Configuration Manager console, click on Administration and select Hierarchy Configuration, click on Discovery Methods.

 

discovery methods.png

 

The first discovery method listed is Active Directory Forest Discovery and this can be enabled on the CAS or Primary site(s), however we want to limit the discovery instances to one, and we also want this discovery method to occur at the top site in our hierarchy so we will enable this discovery method on our Central Administration Site (CAS). Unlike other discovery methods, Active Directory Forest Discovery does not discover resources that you can manage. Instead, this method discovers Active Directory network locations and can convert those locations into boundaries for use throughout your hierarchy. This is a cool new benefit of Configuration Manager 2012. You can use Active Directory Forest Discovery to do the following:

  • Discover IP subnets in an Active Directory forest
  • Discover Active Directory sites in an Active Directory forest
  • Add the IP subnets and Active Directory sites that are discovered as boundaries in Configuration Manager
  • Publish to the Active Directory Domain Services of a forest when publishing to that forest is enabled, and the specified Active Directory Forest Account has permissions to that forest

Select Active Directory Forest Discovery for the Site CAS and right click, choose Properties.

 

active directory forest discovery properties.png

 

The General window appears with one option, Enable Active Directory Forest Discovery. Select it and two more choices are revealed:

  • Automatically create active directory site boundaries when they are discovered
  • Automatically create IP address range boundaries for IP subnets when they are discovered.

Select both options and leave the default schedule for every 1 weeks.

 

active directory forest discovery General screen..png

 

Tip: Selecting both options above is fine in a LAB. In Production however, you should strongly consider only selecting the second option which is IP Address range boundaries.For clarification about this point please review this post from Jason Sandys (Configuration Manager MVP) about why IP Subnet Boundaries are EVIL

 

click Apply and answer yes when prompted to Run a discovery as soon as possible. Click ok to exit that discovery method.

 

yes to full discovery.png

 

You can now see that the Active Directory Forest Discovery method is enabled on our CAS site server.

 

 

 

Remember that we mentioned that this discovery method can enable publishing of information to AD ? When publishing is enabled for a forest and that forests schema is extended for Configuration Manager, the following information is published for each site that is enabled to publish to that Active Directory forest:

  • SMS-Site-<site code>
  • SMS-MP-<site code>-<site system server name>
  • SMS-SLP-<site code>-<site system server name>
  • SMS-<site code>-<Active Directory site name or subnet>

To verify that you've enabled publishing browse to Administration, Site Configuration, Sites, and check the properties of your CAS site server. Click on the Publishing tab.

 

publishing to Ad.png

 

 

Step 2. Enable Active Directory Group Discovery

Note: Perform the following on the Primary Site server (P01) as SMSadmin

 

Use Configuration Manager Active Directory Group Discovery to search Active Directory Domain Services (AD DS) to identify the group memberships of computers and users.

This discovery method searches a discovery scope that you configure, and then identifies the group memberships of resources in that discovery scope. By default, only security groups are discovered. However, you can discover the membership of distribution groups when you select the checkbox for the option Discover the membership of distribution groups on the Option tab in the Active Directory Group Discovery Properties dialog box. When you discover a group, you can also discover limited information about its members. This does not replace Active Directory System or User Discovery and is usually insufficient to build complex queries and collections or serve as the bases of a client push installation.

 

Use Active Directory Group Discovery to discover the following information:

  • Groups
  • Membership of Groups
  • Limited information about a groups member computers and users, even when those computers and users have not previously been discovered by another discovery method

On our Primary server (P01) right click on Active Directory Group Discovery and choose properties.

 

properties of active directory group discovery.png

 

Select the option to Enable Active Directory Group Discovery and click on Add to see two more choices, Groups and Location.

  • Location: Use a location if you want to search one or more Active Directory containers. This scope option supports a recursive search of the specified Active Directory containers that also searches each child container under the container you specify. This process continues until no more child containers are found.
  • Groups: Use groups if you want to search one or more specific Active Directory groups. You can configure the Active Directory Domain to use the default domain and forest, or limit the search to an individual domain controller. Additionally, you can specify one or more groups to search. If you do not specify at least one group, all groups found in the specified Active Directory Domain location are searched.

Note: When you configure a discovery scope, select only the groups that you must discover. This is because Active Directory Group Discovery attempts to discover each member of each group in the discovery scope. Discovery of large groups can require extensive use of bandwidth and Active Directory resources.

 

Select Location from the drop down menu. Give it a name like Active Directory Group Discovery - P01 and select browse to decide where to recurisively search.

 

browse to the ldap.png

 

Now you get to select a container, in our LAB we have nothing interesting to select, but in production you probably have your Active Directory Security Groups neatly organised in specific containers, in that case select the top most container that contains your Active Directory Security Groups to narrow your search criteria.

 

select new container.png

 

review your choices and click ok when you ready.

 

active directory location.png

 

Click on the Polling schedule tab and decide what is appropriate for your setup, the default is 7 days for a full Active Directory Group Discovery and you can enable Delta Discovery (enabled by default). This discovery method finds resources in Active Directory Domain services that are new or modified since the last discovery cycle in the time interval specified (default is 5 minutes).

 

adgd polling schedule.png

 

and select the Option tab, select all three options if appropriate.

 

discover time since last logon.png

 

click Apply and when asked about running a full discovery as soon as possible click yes.

 

yes to run full discovery.png

 

The Active Directory Group Discovery method is now enabled on site P01.

 

enabled on p01.png

 

Tip: If you want to review what is happening in realtime in relation to this discovery method, you can review the adsgdis.log file on D:\Program Files\Microsoft Configuration Manager\Logs folder.

 

retrieved 4 systems.png

 

 

Step 3. Enable Active Directory System Discovery

Note: Perform the following on the Primary Site server (P01) as SMSadmin

 

Use Configuration Manager Active Directory System Discovery to search the specified Active Directory Domain Services (AD DS) locations for computer resources that can be used to create collections and queries. You can then install the client to discovered computers by using client push installation. To successfully create a discovery data record (DDR) for a computer, Active Directory System Discovery must be able to identify the computer account and then successfully resolve the computer name to an IP address.

 

By default, Active Directory System Discovery discovers basic information about the computer including the following:

  • Computer name
  • Operating system and version
  • Active Directory container name
  • IP address
  • Active Directory site
  • Last Logon Timestamp

Right click Actve Directory System Discovery and choose Properties

 

active directory system discovery.png

 

Place a checkmark in Enable Active Directory System Discovery and click on the yellow starburst to add some Active Directory containers.

 

enable adsd.png

 

For path click on browse and browse to the container you want to discover systems in, in production you'd probably have your computers moved from the default Computers container to a custom container.

 

active directory container.png

 

Tip: You can add several containers by repeating this process and selecting different containers, but only add the containers you need to add as you don't want to generate un-needed network and cpu bandwidth.

 

On the Polling schedule tab, stick to the defaults and then select the Active Directory Attributes tab, if you want to add an attribute to discover select one from the list and choose Add >> in the example below i'm adding an Active Directory attribute called msTPM-ownerinformation. There are many attributes to choose from, use only the ones you need to get your job done.

 

msTPM-ownerInformation.png

 

click on the Option tab and select the options listed

 

option screen.png

 

and click Apply and Ok and answer Yes to run a full discovery as soon as possible.

 

Tip: At this point you can monitor the Active Directory System Discovery in the adsysdis.log file in D:\Program Files\Microsoft Configuration Manager\Logs folder.

 

adsysdis log.png

 

You can see when it writes DDR's by looking for the following line

 

INFO: DDR was written for system 'XXX'

 

where XXX is some computername.

 

 

Step 4. Enable Active Directory User Discovery

Note: Perform the following on the Primary Site server (P01) as SMSadmin

 

Use Configuration Manager Active Directory User Discovery to search Active Directory Domain Services (AD DS) to identify user accounts and associated attributes.

You can view the default list of object attributes returned by Active Directory User Discovery, and configure additional attributes to be discovered in the Active Directory User Discovery Properties dialog box on the Active Directory Attributes tab. By default, Active Directory User Discovery discovers basic information about the user account including the following:

  • User name
  • Unique user name (includes domain name)
  • Domain
  • Active Directory container names

Right click Actve Directory User Discovery and choose Properties

 

properties active directory user discovery.png

 

select the Enable Active Directory User Discovery box and click on the yellow starburst to add some active directory containers to search for users

 

enable active directory user discovery.png

 

browse to the location in AD where you want to discover users, you can repeat this process to add several containers if you wish

 

ldap path.png

 

You can configure the Polling tab and Active Directory Attributes tab settings if you wish, then click apply and answer yes to Run a Full Discovery now.

 

Tip: At this point you can monitor the Active Directory System Discovery in the adusrdis.log file in D:\Program Files\Microsoft Configuration Manager\Logs folder.

 

adusrdis log.png

 

Step 5. Configure Boundaries and Boundary Groups

Note: Perform the following on the Primary Site server (P01) as SMSadmin

 

In System Center 2012 Configuration Manager, a boundary is a network location on the intranet that can contain one or more devices that you want to manage. Boundaries can be an IP subnet, Active Directory site name, IPv6 Prefix, or an IP address range, and the hierarchy can include any combination of these boundary types. To use a boundary, you must add the boundary to one or more boundary groups. Boundary groups are collections of boundaries. By using boundary groups, clients on the intranet can find an assigned site and locate content when they have to install software, such as applications, software updates, and operating system images When clients are on the Internet, or they are configured as Internet-only clients, they do not use boundary information. These clients cannot use automatic site assignment and always download content from any distribution point in their assigned site when the distribution point is configured to allow client connections from the Internet.

  • Boundaries are no longer site specific, but defined once for the hierarchy, and they are available at all sites in the hierarchy.
  • Each boundary must be a member of a boundary group before a device on that boundary can identify an assigned site, or a content server such as a distribution point.
  • You no longer configure the network connection speed of each boundary. Instead, in a boundary group you specify the network connection speed for each site system server associated to the boundary group as a content location server.

As we want our resources to use Automatic Site Assignment and Content Location we will configure our boundaries. This is quite easy for us as Active Directory Forest Discovery has already created a boundary for us to use, our Active Directory Site. In production you'll probably have several subnets and ip ranges listed in here, and that's a good thing as you didn't have to enter them manually.

 

boundaries.png

 

right click on our Default-First-Site-Name (active directory default name..) and choose properties,

 

properties of boundary.png

 

This boundary was added automatically via Forest discovery so we don't need to change it, however we do want to add it to a Boundary Group so that we can use it. Click on the Boundary Groups tab, it will appear empty and clicking on the Add button will show you an empty list, that tells you that you need to create a boundary group, so close the Boundary Properties window.

 

boundary groups.png

 

Click on Boundary Groups and select Create Boundary Group in the ribbon.

 

create boundary groups.png

 

when the Create Boundary Group wizard appears, fill in some useful details and click on Add to add our boundary to our boundary group

 

Tip: To make it easier to visualize where boundary groups are (for later exercises) you could make the name descriptive of the Geographical location, eg: change the name of the boundary group to Skane, Sweden, Europe, another boundary group could be Paris, France, Europe and so on.

 

create boundary group details.png

 

the Add Boundaries window appears, select our AD site name and click ok

 

add boundaries.png

 

next click on the References tab, in here you have two main options,

  • Automatic Site Assignment
  • Content Location

Note: When you plan for boundary groups, consider creating one set of boundary groups for content location and a second set of boundary groups for automatic site assignment. This separation can help you avoid overlapping boundaries for site assignment. When you have overlapping boundaries and use automatic site assignment, the site to which a client is assigned, might be to is nondeterministic.

 

As we only have a LAB we will use both Automatic Site Assignment and Content Location in our boundary group, select the checkbox beside Use this boundary group for site assignment and you can pick an assigned site from the drop down menu. (we only have one primary so it's the only one listed, if you have more than one primary they will be listed in the drop down menu).

 

assigned site.png

 

Next we will configure Content Location for this Boundary Group, click on Add and place a checkmark in our site system that is listed. This will associate this site system with our boundary group.

 

add site systems.png

 

Click ok, apply and ok. All Done. Our boundary group is defined and our boundary has been added to it

 

boundary added to boundary group.png

 

to verify this double click on our boundary and review it's properties, then click on the Boundary Groups Tab, this time you'll see our Boundary Group is listed.

 

boundary groups lists our default ad site.png

 

By doing the above we have defined which site our clients get assigned to via Automatic client assignment and we have defined their content location.

 

In the next part of this series, we will add the Application Catalog roles and configure and then deploy Custom Client Device settings and Custom Client User Settings.

Share this post


Link to post
Share on other sites


Hi,

 

Absolutely top work on the guides by the way!

 

Quick question, we're at this stage of our setup, however within Hierarchy Configuration > Discovery Methods >

 

SCM is only showing 'Active Directory Forest Discovery' and no other methods.

 

Any idea's why this is? I've checked permissions to our AD Controller and Account authenticity etc but to no avail.

 

(First time I've ever installed this by the way so go easy on me).

 

Anyhow, any help would be much appreciated.

 

Cheers

Share this post


Link to post
Share on other sites

After I configured the Discovery Methods, I was unable to find the adsysdis.log file, do you know what step I might have missed?

 

Also, I had to create my Default-First-Site-Name boundry, because CM2012 didn't create it.

 

**** My bad, found it, nothing to see here ~.^

Share this post


Link to post
Share on other sites

Can you clarify your point above about discovering IP Subnets?

 

 

post-1-0-76063300-1337585074.png

 

Tip: Selecting both options above is fine in a LAB. In Production however, you should strongly consider only selecting the second option which is IP Address range boundaries.For clarification about this point please review this post from Jason Sandys (Configuration Manager MVP) about why IP Subnet Boundaries are EVIL

 

You say in Production to only select the wnd option Auto create IP Address Range boundaries. But then link to an article about how they are evil? Am I reading this incorrectly? Wouldnt you want to only use the first check box? Auto Create AD Site boundaries?

Share this post


Link to post
Share on other sites

you need to read it again, i say in production to select IP Address Range Boundaries, the linked article refers to why IP Subnet boundaries are evil

 

see the difference ?

 

and I quote Jason below

 

the simple fact that IP Address Range boundaries do *exactly* as their name implies – define a start and end IP Address and include everything in between – without any ambiguity, should be reason enough to use them instead of IP Subnet boundaries.

Share this post


Link to post
Share on other sites

No it creates Active Directory site boundaries, and if you look in a production Active directory site, then more than likely it's bound to one or more subnets

 

does that help ?

Share this post


Link to post
Share on other sites

When running multiple primary servers do you need to enable the different discovery methods on all primary servers? Also, do I have to assign my default-first-Site-Name to a boundary group? I have created multiple boundaries to cover different IP ranges and boundary groups to accommodate the boundaries but have not done anything with the actual default AD site. Is that a problem? I'm having issues installing the CM client using windows update and wondered if that was the problem? Thanks.

Share this post


Link to post
Share on other sites

Is it a reason you do the acrive Directory user/Device discovery at the primary and not on the CAS server?
I've got a CAS server en 2 primary servers today. Will end up With minimum 6 primary servers.

 

Keep up the good work!

 

Cheers,

 

Øyvind Skjellin

Share this post


Link to post
Share on other sites

you do the discovery where you have your management points and that is at the primary, the CAS doesn't have a management point or clients connected to it directly so theres nothing to discover there

Share this post


Link to post
Share on other sites

If I am able to set my IP range in the boundary correctly, and yet in the client I cannot manually select the Site Code, what might else be the issue? The errors I am getting are: "Failed to update site assignment" and "Configuration Manage did not find a site to manage the client."

Share this post


Link to post
Share on other sites

did you add your boundary to a boundary group

Share this post


Link to post
Share on other sites

Hi, we're having huge problems at the moment with running 2007 and 2012 side by side. Due to how we have our network setup (and I'm sure we're not alone), we cannot specify IP boundaries. Instead we are using AD boundaries but both 2007 and 2012 are in the same domain. When we push the client out we have no problems at all because you can explicitly tell the client to be assigned to the 2012 site code. If you install the client via a task sequence though, you cannot specify a site code because as soon as you type SMSSITECODE an exclamation mark appears in the box of the Setup Windows and ConfigMgr step.

We can see in the LocationServices.log that the client is offered the 2007 MP but the client declines it and accepts the 2012 MP, but it doesn't fully as it then keeps saying "Adapter is DHCP enabled. Checking quarantine status" for each network adapter. Do you have any ideas why?

Thanks

Share this post


Link to post
Share on other sites

Hi, I have a question regarding user defined Device Collections and AD System Discovery. When adding a new PC to the domain, is there a way for SCCM to automatically add that PC to the user defined device collection group based on the active directory object location? For example, if the accounting department hired a new person and that pc is named 'xyz' and I have a defined device collection with only accounting pcs, can xyz be added to the collection without user interaction?

Share this post


Link to post
Share on other sites

Hey all.

I've got an SCCM 2007 site currently in production. And I want to start doing some testing with a smaller subset of our computers here. I've setup LDAP queries in "System Discovery" to only find about 80 computers. However I don't think I can send the agent to the computers with out a boundary and boundary group to associate with the distribution point? Correct? When configuring the boundary I'm not able to create a boundary that only includes a small subset of our computer population. I could set it to be the entire domain, but I'm concerned I might somehow affect the rest of the SCCM 2007 systems?

 

So, my question is . . . if I configure the boundary to be the entire domain of thousands of computers, but only have discovered about 80, am I taking a chance of upgrading the entire domain?

Thanks.

Brad

Share this post


Link to post
Share on other sites

As long as you don't have the automatic client push enabled, there is nothing that happens. Also, a boundary is only applicable to devices with an agent installed. It doesn't do anything to devices without an agent.

Share this post


Link to post
Share on other sites

I have been spending a large amount of my spare time studying and working with the lab instructions so thank you this stuff is extremely informational. I am also doing it because we just implemented SCCM 2012 at my business. We have a production primary server and a development primary server for testing with. My concern is that in the active directory system discovery method in production is pointed at our entire "domain.com" while the development active directory system discovery is pointed at just an OU within "domain.com." Because the production server points at the entire domain any of the devices we add to development show up in production as well. Can this be problematic with deployments and reporting or just in general?

Share this post


Link to post
Share on other sites

As long as you're not installing a client on those machines, via the production environment, you should be fine.

1 person likes this

Share this post


Link to post
Share on other sites

As long as you're not installing a client on those machines, via the production environment, you should be fine.

 

Thanks, will continue with testing and see what I run into.

Share this post


Link to post
Share on other sites

What is the default setting for the "Active Directory System Discovery" delta discovery interval?

 

Anyone have documentation that indicates this value?

 

Thanks!

Matlock

Share this post


Link to post
Share on other sites

Dear sir, please tell me the difference between CAS,PS & Secondary site . I am not able to understand diff between them clearly.

Share this post


Link to post
Share on other sites
Dear sir, please tell me the difference between CAS,PS & Secondary site . I am not able to understand diff between them clearly.

 

 

without going into details i'll reply in a very short version indeed:-

 

a CAS is only required if you want to support over 100,000 clients or need a hierarchy of primary sites (that means, more than one primary)

a PS is a Primary and is required to support the functions necessary for normal operations

a Secondary site is generally used to 'offload' the load on a wan (for example) when you have say 3000 or so clients at a remote location and don't want policy requests going over the wan to the primary, instead, they (the policy requests) will go to the secondary site.

 

for more information about all those different options refer to the Technet links i posted in part 1 of this guide pasted below for your pleasure:

 

Technet Recommended Reading:-

Release Notes for System Center 2012 Configuration Manager- http://technet.micro...y/jj870706.aspx

Fundamentals of Configuration Manager - http://technet.micro...y/gg682106.aspx

Supported Configurations for Configuration Manager - http://technet.micro...y/gg682077.aspx

Planning for Configuration Manager Sites and Hierarchy - http://technet.micro...y/gg682075.aspx

Example Scenarios for planning a simplified Hierarchy - http://technet.micro...y/gg712989.aspx

Site and Role Scalability - http://technet.micro...iteAndRoleScale

 

Getting Started with Configuration Manager 2012 - http://technet.micro...y/gg682144.aspx

What’s New in Configuration Manager - http://technet.micro...y/gg699359.aspx

Planning for Site Systems in Configuration Manager - http://technet.micro...y/gg712282.aspx

Install Sites and Create a Hierarchy for Configuration Manager - http://technet.micro...y/gg712320.aspx

Technical Reference for Site Communications in Configuration Manager - http://technet.micro...y/gg712990.aspx

Migrating from Configuration Manager 2007 to Configuration Manager 2012 - http://technet.micro...y/gg682006.aspx

Frequently Asked Questions for Configuration Manager - http://technet.micro...y/gg682088.aspx

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now