[Previous] [Next]

Lesson 3: Configuring Collections and Advertising Programs to Client Computers

To install a package using a program, SMS must advertise or offer the program to client computers. To accomplish this task, the package and at least one program are configured, as demonstrated in Lesson 2. Then, client computers containing the Advertised Programs Client Agent are targeted using collections. The Advertised Programs Client Agent detects offers on the CAP that are intended for the client computer. Once an offer is detected, this client agent manages the initiation of the program installation and returns status information to the CAP. This lesson introduces you to using collections for software distribution and configuring the client computer to receive advertisements.


After this lesson, you will be able to: Estimated Completion Time: 20 minutes

The Advertised Program Client Agent

The Advertised Program Client Agent is configured and enabled in the same location as all client agents, the Client Agents node in the SMS Administrator console. The distribution of this client agent occurs when an installation method and this client agent are enabled. In Chapter 2, you configured the Windows Networking Client Installation method and the Windows NT Remote Client Installation method. The Advertised Program Client Agent is enabled and configured from the General and Notification tabs contained in the properties of the client agent (Figure 4-7).

Click to view at full size

Figure 4-7. Configuring the Advertised Programs Client Agent.

Client Agent Settings

After enabling the Advertised Programs Client Agent from the General tab, you configure how the client agent behaves on the client computer. The 'Check for new programs every x minutes' (where x is a number between 5 and 1440) option tells the client agent how often it should check CAPs for new offers. The default setting is 60 minutes. To disallow changes to the client agent settings, the 'Client cannot change agent settings' checkbox is selected.

The Notification tab is used to control how, or if, the user is notified by the client agent when a new offer (advertisement) is detected on the CAP. Notifications can be visual, audible, or both.

Using Collections for Software Distribution

Collections are an integral part of the software distribution process. Collections are groupings of resources in the site. Client computers, users, and groups are potential targets for software distribution.

NOTE
User and group targets are not supported on Windows 16-bit client computers.

Membership in a collection is based on membership rules. The type of rule used defines the type of collection. There are two types of collections: query-based collections and fixed collections. A query-based collection uses membership rules that dynamically update the collection using database queries. For example, a query may regularly check for all client computers running Windows 2000 with at least 64 MB of RAM and 500MB of free disk space on the D: partition. Using this information for software distribution, an advertisement to install a program will only be offered when the client computer meets all of the membership rules. A fixed collection uses direct membership rules. Resources from the site database are added manually to this type of collection. For example, if you need to target a package to a specific client computer, you specify the client's SMS Unique ID or computer name. Fixed collections are not updated by SMS.

Creating Collections

Collections are accessed, created, and configured from the Collections node in the SMS Administrator console (step 1 in Figure 4-8). SMS includes a number of pre-configured collections that appear in the details pane (step 2 shows a few preconfigured collections). New collections are configured from the Action menu - New - Collection option (step 3). The Collection Properties dialog box shows the tabs that are used to configure a collection (step 4).

If an existing collection is selected from the SMS console tree, a new option, Link to Collection appears under the Action menu - New option. This feature allows you to create a relationship between two collections. The collection selected in the SMS console (collection A) is related to another collection in the SMS console tree (collection B). As a result, collection B becomes a subcollection of collection A. This does not remove the instance of collection B that is not a subcollection of collection A; it simply makes the members of collection B part of collection A in a collection hierarchy. Collection properties are used to configure all other details of a collection.

Click to view at full size

Figure 4-8. Creating and configuring a collection.

Advertisements

Once collections are defined, advertisements tie the collection to a package and a program.

Creating Advertisements

Advertisements are configured from the Advertisements node in the SMS Administrator console. An advertisement is configured from the General, Schedule, and Security tabs.

Click to view at full size

Figure 4-9. Creating and configuring an advertisement.

Receiving Advertisements

The Advertised Programs Client Agent polls the CAP for new offers, and advertisements appear at the client computer. The following applications appearing in Control Panel on all Windows client computers, act as the user interface to new offers.

These two programs are only the interface components of the Advertised Programs Client Agent. Many other processes and threads are involved in supporting this function. Lesson 4 explores the processes and threads that make software distribution possible.

Exercise 22: Enabling the Advertised Programs Client Agent

The Advertised Programs Client Agent will be enabled and configured in this exercise. After you have opened the SMS Administrator console in this exercise, do not close it, as it will be used to complete all exercises in this lesson.

  1. Click the Start button, then point to Programs.
  2. A menu of choices appears.

  3. Point to Systems Management Server, then click SMS Administrator console.
  4. The SMS Administrator console appears.

  5. Expand the SMS console tree and select the Client Agents node.
  6. The installed client agents appear in the details pane.

  7. Select the Advertised Programs Client Agent from the details pane. Then from the Action menu, choose Properties.
  8. The Advertised Programs Client Agent Properties dialog box appears.

  9. Select the 'Enable software distribution to client computers' checkbox.
  10. Change the 'Check for new programs every 60 minutes' to 30 minutes.
  11. Select the Notification tab.
  12. The settings under the Notification tab appear.

  13. Select the 'Display a notification message' and the 'Play a sound' checkboxes.
  14. Verify that the 'Provide a countdown' checkbox is selected, and that the Countdown length is set to 5 minutes.
  15. Select the 'Play countdown sounds' checkbox and verify that the 'Only when countdown begins and ends' radio button is selected.
  16. Verify that the 'Show status icon on taskbar or desktop for all system activity' checkbox is selected.
  17. Click OK to close the Advertised Programs Client Agent Properties dialog box.
  18. The SMS Administrator console appears.

  19. The Advertised Programs Client Agent is now enabled and will be distributed to all client computers within the site boundaries.
  20. To verify that the Advertised Programs Client Agent is installed on your client computer, open Control Panel on Computer 2.
  21. Locate and double-click the Systems Management application icon in the Control Panel.
  22. The Systems Management Properties dialog box appears.

  23. Click the Components tab.
  24. The installed components appear in the Components box.

  25. Notice that the Available Programs Manager Win32 component shows a status of Installed.
  26. Close the Systems Management Properties dialog box on Computer 2.
NOTE
If you do not see the Available Programs Manager Win32 component listed, wait for an hour and check again. If it still does not appear, recheck your work and read Chapter 14, "Monitoring and Troubleshooting SMS"

Exercise 23: Advertising the Kolumz Package

In Exercises 17 to 19, you prepared the Kolumz package and program for distribution. In this exercise, you will create an advertisement that will target a collection containing your Windows NT Workstation computer (Computer 2).

  1. Select the Advertisements node in the SMS console tree.
  2. From the Action menu, choose New and then Advertisement.
  3. The Advertisement Properties dialog box appears showing the General tab.

  4. Using the following table, select or type the appropriate information under the General tab.
  5. Field Value
    Name Kolumz
    Comment This is a simple but fun game.
    Package Microsoft Corporation Kolumz 0 English
    Program Kolumz Manual Installation
  6. Click Browse.
  7. The Browse Collection window appears.

  8. Select the All Windows NT Workstation 4.0 Systems description in the Collections box.
  9. Click OK.
  10. The Advertisement Properties dialog box appears.

  11. Select the Schedule tab.
  12. Read through the settings on this page. Do not change the settings, except for the value in the 'Priority' drop-down list box, as indicated in the next step.

  13. Change the Priority value to High.
  14. Click OK to close the Advertisement Properties dialog box.
NOTE
If you have not previously defined a distribution point, a dialog box will appear. Click Yes to continue.

The SMS Administrator console appears and the Kolumz advertisement is shown in the details pane.

Do not run this package on the client computer, as you will do so only after after learning more about the software distribution process flow in Lesson 4.

Exercise 24: Advertising the Windows NT Service Pack

In Exercise 21, you adjusted the properties of the Unattended update for x86 program so that it only runs when the user is not logged on and it will use the Windows NT Client Installation account you configured in Exercise 20. In this exercise, you will create an advertisement using the Unattended update for x86 program to install the Microsoft Service Pack 4 for Windows NT 4.0 English package.

  1. Select the Advertisements node in the SMS console tree.
  2. From the Action menu, choose New, then Advertisement.
  3. The Advertisement Properties dialog box appears showing the General tab.

  4. Using the following table, select or type the appropriate information under the General tab.
  5. Field Value
    Name SP4 for Windows NT
    Comment This is the English version of Windows NT 4 Service Pack 4.
    Package Microsoft Service Pack 4 for Windows NT 4.0 English.
    Program Unattended update for x86.
  6. Click Browse.
  7. The Browse Collection window appears.

  8. Select the All Windows NT Workstation 4.0 Systems description in the Collections box.
  9. Click OK.
  10. The Advertisement Properties dialog box appears.

  11. Select the Schedule tab.
  12. Click the yellow star button above the Mandatory Assignments box.
  13. The Assignment Schedule dialog box appears.

  14. Click the 'Assign immediately after this event' radio button.
  15. Select Logoff from the drop-down list box and click OK.
  16. The Advertisement Properties dialog box appears.

  17. Change the Priority value to High.
  18. Click OK to close the Advertisement Properties dialog box.
  19. The SMS Administrator console appears and the SP4 for Windows NT advertisement is shown in the details pane.

Do not run this package on the client computer (Computer 2). You will do so only after learning more about the software distribution process flow in Lesson 4. If Computer 2 is running, shut it down or log on so that the Service Pack program does not run.