Why to Create Boundary?


Boundary is a network location on the intranet where the device that we are planning to manage is present. It is not possible to use boundary without creating boundary group.Boundary group is nothing but collection of boundaries.Usually SCCM clients will identify the assigned site and download location (distribution point) by using boundaries when automatic site assignment is enabled. Boundaries can be created by using below options.
  • Active Directory site
  • IP subnet
  • IPv6 Prefix
  • IP address range
It is always preferred to go with creation of Active Directory site boundary , the least option should be the creation of IP Range Boundary, because the query associated in finding members of the IP range boundary will always use high memory when compare with other options.
From Technet
To support site assignment, you must configure the boundary group to specify an assigned site for clients to use during automatic site assignment. To support site system servers, you must specify one or more site systems. Prior to System Center 2012 Configuration Manager SP2, you can only specify site systems with the distribution point or state migration point site system role. With System Center 2012 Configuration Manager SP2 or later, you can also specify management points. Both the site assignment and site system server configurations are optional for boundary groups.
When you plan for boundary groups, consider creating one set of boundary groups to associate site system servers 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 unpredictable.
How to Create Boundary?

Select Administration  overview Boundaries
Select Create Boundary
Specify the type of boundary, you are planning to create.
Here, I choose Active directory site boundary for my lab setup.

Browse the AD site name and click ok
Now we are done with boundary creation .
Next we will create new boundary group and associate the newly created boundary with the new boundary group.


How to Create Boundary Group?

Select Administration Boundary group  Create Boundary group

Provide the name for your Boundary Group, select boundaries to add to this boundary group. As per my lab setup, I have selected AD site boundary. You must specify the boundary that you want to add to the boundary group.

Once added the boundary, select Alternate tab References


Add the site systems (Distribution Point, Management point, State Migration point) that are associated with the boundary group you are creating.
Click Ok. Now we are ready with Boundary group and site system associated with the boundary groups.

Hope you have gone through the previous post of Active directory schema extension and publishing site information to AD.
Part - 4
Some windows specific roles and features need to be installed as a prerequisite for SCCM 2012.
Roles necessary
  1. BITS (Background Intelligence Transfer Service) - BITS are nothing but a file transfer service that is used to transfer files from one machine to other. BITS use optimized bandwidth to copy the files, so you can use BITS to download large files without affecting other network applications. BITS transfers is more reliable when compare to other services.
From SCCM perspective, BITS play a major role while downloading application from BITS enabled distribution point (pull DP), Software updates are downloaded from a BITS Distribution Point. While doing a client push or client installation the client files is copied using BITS.


  1. Remote differential compression – RDC is a type of synchronization algorithm, in simple words it allows applications to synchronize data between two machines in effective way .An RDC can synchronize data between any two or more computers across a network with a minimum amount of data transfer over the network.


  1. .Net framework 3.5 and 4.5 – To support the SCCM Application features.


Features
Common HTTP Features
  • Default Document
  • Static Content.
Application Development
  • ASP.NET 3.5
  • .NET Extensibility 3.5
  • ASP.NET 4.5
  • .NET Extensibility 4.5
  • ISAPI extensions
  • Security – Windows Authentication.
IIS 6 Management Compatibility
  • IIS Management Console
  • IIS 6 Metabase Compatibility
  • IIS 6 WMI Compatibility
  • IIS Management Scripts and Tools.
Select the Roles


Select the sub features
Add the features and click Next


Clcik Install


Close the window, once the installation succeeds
Note:
While enabling .Net Framework 3.5 to install, you will be prompted to  specify Alternate source path where the installation files is present. So please navigate to the folder Sourcessxs , it will be available in the  drive where your server OS media is mounted.


Installing Windows Automated Deployment Toolkit   
The Windows Automated Installation Kit (Windows AIK) is a set of tools that support the configuration and the deployment of Windows operating systems. The advanced customization is not possible without installation of this toolkit. WAIK 10 is the latest version and supports multiple windows 10 image configuration and deployments. So installing WAIK kit is one the important prerequisite and we will see the installation part below.




So installing WAIK kit is one the important prerequisite.
How to Install?
Just run the adksetup .click yes or No based on your willingness to join the Customer Experience Program.


Accept the License




For a lab setup ,
Selecting Application compatibility toolkit, Deployment tools, Windows pre installation environment is enough


Click install
You could See the installation progress window


After Installation Completes close the window.


Now you are ready to go with SCCM setup installation…..Click Here



I am continuing here with Part 2, please refer my previous post “SCCM Software Updates Synchronization and Troubleshooting Failures, before proceed with patch installation failure.


Part 2


Troubleshooting software update installation Failure – SCCM client end


How Configuration manager client works on Software updates?
The components that are required from machine’s end to receive updates are as follows:
  • Windows Update Agent [WUA]
  • SCCM client

Windows Update Agent (WUA)  

Windows Update Agent (WUA) scan for the updates required and missing automatically through sccm agent, when it is connected to a Windows Server Update Services (WSUS) server or to Windows Update. Including this, WUA is also responsible for scheduling and initializing scan, detection, download, and install of updates on the client machine. WUA Agent is a default service available with operating system.

This should be available in c:\windows\system32

Configuration Manager client(CM12 client)
SCCM agent in every machine has some default client settings. It includes the following configurations:
  • Verify for updates
  • Scan schedule on every machine
  • Schedule update deployment
  • Check compliance status
  • Setting to trigger patches after deadline.
In order to apply the aforementioned configurations, the software update agent setting should be enabled as detailed subsequently. When the default client setting is enabled, a policy will be created with all required settings and stored in the SCCM SQL database. So, whenever CM12agent initiates machine policy, it will communicate with management point which includes the software update client feature installation or instructions to be installed or applied on the client. During this process, the CM12Client will create local Group policy object with WSUS settings by leaving all automatic updates.

Figure 1: Client Default setting screenshot
Enabling the aforementioned settings will automatically lead to installation of two action items in SCCMagent. These action items can be seen in configuration manager properties:
  • Software updates scan cycle
  • Software updates deployment Evaluation Cycle

Software Update Scan Schedule
This action performs the software update scan or compliance using the Windows Update Agent (WUA) for all updates in the WSUS catalog on the client. This activity is mostly reflected in WUAHandler.log. Once client receives the compliance info, it will save the information in WMI and forward it to site server as state message.

The scan cycle runs under the following conditions:
  • Whenever new deployments or active deployments available
  • Prior to the activation of any active deployment
  • After deployment, but before a reboot
  • After a reboot and continues with other deployments

Software Updates Deployment Evaluation
This action initiates the software update deployment to start download and install the updates. This activity is logged in Updatedeploymnet .log

Figure 2: Configuration Manger Action tab

The analysis of patch installation failures
Following questions are repeated often:
  • Machines unable to install updates but able to install packages and Applications
  • Client unable to detect software updates
  • Clients unable to receive only selective updates
  • Software updates failing to install

Before proceeding with step by step process, just make sure the logs that will be useful to identify the patch process.

  • locationservices.log
  • wuahander.log
  • windowsupdate.log
  • updatessStore.log
  • Rebootcoordinator.log
  • UpdatesStore.log
  • ServiceWindowManager.log

  1. Locationservices.log
This is the first or initial log that has to be analyzed to check whether the client detects the correct software update point as per the environment. This Log also helps to identify the distribution and management point of the client.  Check for the log entry like WSUS path and the port that has been delegated for to connect WSUS. If you find any problem in seeing such entry, just double check the supsetup.log and WCM.log from server side, so that you can get some clue. If you are able to see such entries, then you are good to go with update deployment logs.
WSUS Path='http://WSUS(SUP)ServerName:8530',

Figure 3: locationservices.log
  1. WUAHandler.log
WUA Handler is the process initiated by Windows update agent for initiating the software update scan cycle.
When the software update scan cycle is initiated, Windows update agent (windows update service) will contact WSUS, where you have installed SUP site role, for scanning.  If it is successful, a state message will be sent to site server confirming that software update scan is completed successfully and it can be verified using the following log.
The log entry successfully completed scan indicates that scanning process is completed by update scan cycle.
Figure 4: WUAhandler.log
If the scan is successful as highlighted in the aforementioned logs, proceed with update Deployment.log ,else proceed with verifying windowsUpdate.log . This is a system log and not related with sccm client.
  1. WindowsUpdate.log
This log provides information about the Windows Update Agent that connects to the WSUS server and retrieves the software updates for compliance assessment and whether there are updates to the agent components. If there are no issues in wuahandler.log, then the updates count, rules and deployed entities are as displayed in following logs in parallel with updatedeploymnet.log (refer to page4).
The log path, c:\windows\windowsupdate.log
In some cases, when the scan is not completed in wuahandler, there may be a possibility that WSUS entries are not set correctly or have issues in locating the correct WSUS server. In this case, the WSUS entry can be set manually. Here, the WSUS entry is nothing but the correct server name and the port.
The registry location for the WSUS entries as follows:
HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU withUseWUSserver =1
Most of the software update scan failures will be due to the health of Windows update service. This service needs to be up and running for the smooth software update deployment process.
Figure 5: WindowsUpdate.log
  1. UpdateDeployment.log
This log provides information about software update deployment, deadline and enforcement details. It also shows the information about the total number of updates being targeted to the machine and the status of those deployments. Any user defined service window and the status of the deployment that is assigned to run at service maintenance window can be viewed. The availability and the status of the updates that are pending for reboot are also viewed using this log.
In the following two log snippets, many entries can be noticed:
Log entries
Assignment {3CA9C7E1-C9A1-4339-B1F0-EEEE318ECF4D} has total CI = 104 UpdatesDeploymentAgent 9/2/2015 2:49:20 AM 2812 (0x0AFC)
The log entry shows the assignment id that has total CI =104, it means that assignment ID {3CA9C7E1-C9A1-4339-B1F0-EEEE318ECF4D} has 104 patches assigned to it.
Log entries:
Attempting to install 0 updates UpdatesDeploymentAgent 9/2/2015 2:49:20 AM 2812 (0x0AFC)
No actionable updates for install task. No attempt required. UpdatesDeploymentAgent 9/2/2015 2:49:20 AM 2812 (0x0AFC)
The log entries show that the client doesn’t have any actionable updates to install.
If it is found that all deployments are installed and there are no actionable updates for install task, please proceed with step 5, which is, verifying updatestore.log
If the newly added patches are not installing, then the updatedeployment.log should be viewed for the particular assignment group and patch count. If the count of patches are less than what it is supposed to be, perform the following tasks:
  • Initiate new policies
  • initiate software update scan
If there are some updates pending for action (total actionable updates <>0) but not installing, perform the following tasks:
  • Check for the DP assignment
  • Check for content availability
  • Check for content download  in CAS.log
Continue with as usual package download issue that is followed during the Application or package deployment.

Figure 6: UpdateDeploym,ent.log1
Figure 7: UpdateDeployment.log2
  1. UpdatesStore.log
This log states that the information about the compliance status for the software updates were assessed during the compliance scan cycle. There is different compliance statuses like missed, Installed, Not Installed and so on. So for each update, the compliance status can be verified at last.
For example, in the following screenshot one of the security update status can be noticed:
Queried Update (ba9137cc-9fc7-4bd7-bb72-b1acfa9e0d79): Status=Installed, Title=Security Update for Windows Server 2008 R2 x64 Edition (KB3078601), BulletinID=MS15-080, QNumbers=3078601, LocaleID=, ProductID=0fa1201d-4330-4fa8-8ae9-b877473b6441, UpdateClassification = 0fa1201d-4330-4fa8-8ae9-b877473b6441, ExcludeForStateReporting=FALSE.

If everything is going good, then the final log to refer to is RebootCoordinator.log
This log provides information about the process for coordinating system restarts on client computers after software update installations.

Figure 8: updatestore.log


Translate

Total Pageviews

Blog Archive

Followers

Linkedin

Popular Posts