Logo
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
EPL Standings
 
 
Windows Server

Microsoft Systems Management Server 2003 : Configuring the Client (part 4) - Managing the Advanced Client Download Cache, Advertised Programs Process Flow

5/7/2013 5:50:55 PM

3. Managing the Advanced Client Download Cache

When you configure the advertisement properties, you can specify whether the package should be downloaded to the Advanced Client before it’s run. If so, it’s stored in the Advanced Client download cache. It can happen that the cache becomes too full to accommodate the download of any additional packages. When a package is downloaded and placed into cache, the client agent locks it. The package is unlocked after 24 hours have passed since the program was run or 30 days have passed and the program hasn’t run. After the package is unlocked, it can’t be locked again unless it’s removed from cache and downloaded again.

When a package needs to be downloaded and the cache is too full, SMS checks the other cached packages to see whether it can delete any or all of the oldest packages to free up enough space to accommodate the new package. If it can, it does so and downloads the package. If it can’t, as might be the case if a package is locked, the package isn’t downloaded.

Users with administrative credentials on the client can manage this download cache. They can change the size of the cache and its location, as well as delete the contents of the cache. You can manage the Advanced Client download cache by following these steps:

1.
Open the Systems Management icon in Control Panel and select the Advanced tab, shown in Figure 17. You manage the Advanced Client download cache settings in the Temporary Program Download Folder frame.

Figure 17. The System Management icon Advanced tab.


2.
Enter the Amount of Disk Space To Use value or use the slide bar to set the amount.

3.
Click Change Location to modify the disk location for the download cache folder.

4.
Click Delete Files to delete the entire contents of the download cache.

Real World: Synchronizing System Time on Clients

When you schedule an advertised program to run at a predefined time, the Advertised Programs Client Agent on the Legacy Client and the SMS Software Distribution Agent on the Advanced Client will check the assigned time against the system time as reported on the client. This can cause significant problems for you if the client’s system clock is off. For example, if the client’s system clock is set for a different time zone, the package might not run when you expect it to.

Another scenario involves trial software. Suppose a user obtains a trial software application that’s timed to run for a specific period—say, 120 days. The user likes the product but doesn’t want to actually buy it (a license no-no!) or hasn’t finished evaluating it. So the user simply sets the system clock back a month, or a year, or even two years. This can really muck up your package distribution.

To avoid this problem, be sure to build in some kind of time synchronization routine for your clients that periodically synchronizes their time with the site server or some other designated time server. This goes for site systems and the server running SQL Server as well. Windows 2000 and later domains make time-synchronization easy and mandatory.


4. Advertised Programs Process Flow

The advertisement and its associated files are generated in a process even more straightforward than the package distribution process, as illustrated in Figure 18. Just as with the package distribution process, when the advertisement is created and written to the SMS database, a SQL trigger causes the SMS SQL Monitor service to write a wake-up file (.OFN) to Offer Manager’s inbox (\SMS\Inboxes\Offermgr.box).

Figure 18. The advertised programs process flow on the server side.


The Offer Manager component generates instruction files for the Advertised Programs Client Agent on the target client computers and writes these to the \SMS\Inboxes\Offerinf.box directory on the site server. These instruction files consist of an offer file (with a name similar to that of the package but with an .OFR extension), which is the actual advertisement; an installation file (.INS) that references the advertisement ID and the collection ID it’s targeting; and up to three lookup files (.LKP), depending on the collection membership. These lookup files act as filters to determine whether the client (sitecodesystm.lkp), the user (sitecodeusr.lkp), or the user group (sitecodeusrgrp.lkp) should receive the advertisement. At this time, Offer Manager also evaluates the collection membership to determine which lookup files to create. Once again, ever-faithful Inbox Manager copies these instruction files to the Offerinf.box folder on the CAPs. For Advanced Clients, the SMS Policy Provider copies the advertisement information to the management point as an Advanced Client policy.

On the Legacy Client, when the Advertised Programs Client Agent runs, it uses the file Launch32.exe to begin the process, as shown in Figure 19. Launch32.exe itself starts ODPsys32.exe and ODPusr32.exe, two other threads called Offer Data Providers (ODPs). These threads read the lookup files that were created by Offer Manager and copied to the Offerinf.box on the CAP by Inbox Manager. These files specify whether the client computer, user, or user group should receive the advertisement.

Figure 19. The advertised programs process flow on the client side.


If the client, user, and user group should receive the advertisement, the Advertised Programs Client Agent reads the instruction and offer file for the advertisement to collect more detailed information. It checks parameters such as the operating system platform on the client and the system time to determine whether to receive the offer. If all is fine, the client agent receives the offer, passes it to the Advertised Programs Manager, generates a status message to that effect, and writes the status message back to the CAP.

The Advertised Programs Manager then reads the .PKG, .ICO, and .NAL files for the package in question from the Pkginfo.box folder on the CAP. Based on the information stored there, the client agent connects to an appropriate distribution point and executes the program. When the program is completed—successfully or unsuccessfully—the client agent again generates a program status message that it writes to the CAP. You can view this status message using the Status Message Viewer in your SMS Administrator Console.

On the Advanced Client, the SMS Agent Host (CCMexec.exe) is responsible for retrieving Advanced Client policy updates from the management point and providing the SMS Software Distribution Agent with advertised program and package information. It’s also responsible for forwarding status information back to the management point.

Other -----------------
- Microsoft Systems Management Server 2003 : Package Distribution and Management - Creating an Advertisement
- SharePoint 2010 : Connecting and Disconnecting Servers with Windows PowerShell, Additional Functionality in SharePoint 2010
- Microsoft Dynamics CRM 4 : Digital Phone Integration (part 3) - c360 CTI for Microsoft CRM
- Microsoft Dynamics CRM 4 : Digital Phone Integration (part 2) - Cisco Unified CallConnector for Microsoft Dynamics CRM
- Microsoft Dynamics CRM 4 : Digital Phone Integration (part 1)
- BizTalk Server 2006 : Starting a New BizTalk Project - BizTalk Naming Conventions
- BizTalk Server 2006 : Starting a New BizTalk Project - BizTalk Assembly Naming and Versioning
- Windows Server 2003 : Protecting Hosts with Windows Host Firewalls - Protocol Filters
- Windows Server 2003 : Protecting Hosts with Windows Host Firewalls - Routing and Remote Access Basic Firewall
- System Center Configuration Manager 2007 : Customizing Configuration Manager Reports (part 3) - Reporting on Custom Data
- System Center Configuration Manager 2007 : Customizing Configuration Manager Reports (part 2) - Customizing Report Data Selection
- System Center Configuration Manager 2007 : Customizing Configuration Manager Reports (part 1) - Customizing Report Layout and Display
- System Center Configuration Manager 2007 : Reporting - Dashboards
- Client Access to Exchange Server 2007 : Getting the Most Out of the Microsoft Outlook Client - Deploying Outlook 2007
- Client Access to Exchange Server 2007 : Getting the Most Out of the Microsoft Outlook Client - Understanding RPC Over HTTPS in Outlook 2007
- SharePoint 2010 : Farm Governance - Configuring Resource Throttling
- SharePoint 2010 : Farm Governance - Creating a new policy for a web application
- Workflow in Dynamics AX 2009 : Windows Workflow Foundation, Automating Business Processes
- Workflow in Dynamics AX : Dynamics AX 2009 Workflow Infrastructure
- Microsoft Dynamics CRM 2011 : Using Advanced Find (part 5) - Using Edit Multiple Records and Assign Multiple Records from Advanced Find
 
 
Most view of day
- Working with the User State Migration Tool (part 1) - Using the USMT in Four Deployment Scenarios
- Securing the Workstation : Applying the Castle Defense System (part 5) - Managing information access
- Windows Server 2008 : Working with the Schema - Modifying the Schema with adprep, Registering the Active Directory Schema Snap-In
- Using Voice and Sounds : Associating a Sound with an Event, Using Alternatives to Sound
- Microsoft Lync Server 2013 : Deploying Lync Online - Configuring an Auto Attendant Number
- Sharepoint 2013 : Get to a Site’s Permission Management Page (part 1)
- SQL Server 2008 R2 : Creating and Managing Stored Procedures - Using System Stored Procedures
- Microsoft Excel 2010 : SUBTOTAL Function, Subtotal Tool
- Microsoft Dynamic CRM 4 : Data Migration (part 1) - Scribe Workbench - Source and Target Definitions, Source Configuration
- What's new and improved in SharePoint 2013 : Previewing search documents, Using the Community Site template
Top 10
- Windows Server 2012 : DHCP,IPv6 and IPAM - Exploring DHCP (part 3) - Creating IPv4 DHCP Scopes
- Windows Server 2012 : DHCP,IPv6 and IPAM - Exploring DHCP (part 2) - Installing DHCP Server and Server Tools
- Windows Server 2012 : DHCP,IPv6 and IPAM - Exploring DHCP (part 1)
- Windows Server 2012 : DHCP,IPv6 and IPAM - Understanding the Components of an Enterprise Network
- Microsoft OneNote 2010 : Using the Research and Translate Tools (part 3) - Translating Text with the Mini Translator
- Microsoft OneNote 2010 : Using the Research and Translate Tools (part 2) - Translating a Word or Phrase with the Research Pane
- Microsoft OneNote 2010 : Using the Research and Translate Tools (part 1) - Setting Options for the Research Task Pane, Searching with the Research Task Pane
- Microsoft OneNote 2010 : Doing Research with Linked Notes (part 2) - Ending a Linked Notes Session, Viewing Linked Notes
- Microsoft OneNote 2010 : Doing Research with Linked Notes (part 1) - Beginning a Linked Notes Session
- Microsoft OneNote 2010 : Doing Research with Side Notes (part 3) - Moving Side Notes to Your Existing Notes
 
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro