Creating an Advertisement

[Previous] [Next]

After you have created your packages and programs, the next step is to create an advertisement. Remember, before you configure an advertisement, you must have identified and created the collections that you will advertise the programs to. Programs are always advertised to collections—even if it is a collection of one.

To create an advertisement, follow these steps:

  1. In the SMS Administrator Console, navigate to the Advertisements folder, right-click on it, choose New from the context menu, and then choose Advertisement to display the Advertisement Properties window, as shown in Figure 12-51.
  2. On the General tab, begin by entering a descriptive name for the advertisement. Enter a descriptive comment to add more detail. Select the package and program to advertise from their respective list boxes. Enter the collection name, or browse for it by clicking the Browse button. If the collection has subcollections and you want to include them in the advertisement, check the Include Members Of Subcollections check box.
  3. Figure 12-51. The Advertisement Properties window

  4. Click the Schedule tab, shown in Figure 12-52. Begin by selecting the start time and date for the advertisement. This setting represents the time at which the program is advertised and made available for the client to run. By default, the advertisement will be made available in all time zones at the same time, meaning that if the advertisement start time is 3:00 in New York, it is made available in New York at 3:00, in Chicago at 2:00, in London at 8:00, and so on. If you want the advertisement to be made available at a specific hour in each time zone—for example, at 3:00 in New York, Chicago, and London, check the Greenwich Mean Time check box.
  5. If the advertisement will be available for only a specific period of time, check the Advertisement Will Expire check box, select an expiration date, and check Greenwich Mean Time if desired. The priority you specify is a sending priority only and is used when the advertisement is sent to a child site.
  6. You can also assign a run time to the advertisement. To configure this option, click the New button in the Mandatory Assignments section of the Schedule tab to display the Assignment Schedule dialog box, shown in Figure 12-53. Here you can assign a mandatory time and date for the advertised program to run. If the program is not run by this time and date, the Advertised Programs Client Agent on the client will execute it.
  7. Figure 12-52. The Schedule tab.

    Figure 12-53. The Assignment Schedule dialog box.

  8. If you select Assign To The Following Schedule and click the Schedule button, the Schedule dialog box will appear, as shown in Figure 12-54. In this dialog box, you can specify exactly when you want to run the advertised program. You can also set a recurrence interval for advertisements such as monthly virus file updates.
  9. Figure 12-54. The Schedule dialog box.

  10. If you select the Assign Immediately After This Event option in the Assignment Schedule dialog box, you can choose to have the advertised program execute as soon as possible—meaning as soon as the program reaches the client and all program requirements (correct platform, user logged on, administrator access, and so on) are met; at logoff—the next time a user logs off the client; or at logon—the next time a user logs on to the client.
  11. Click OK to return to the Schedule tab. If you configure a mandatory assignment, two additional options become available. Select the Assignments Are Not Mandatory Over Slow Links check box to prevent a potentially large program from running if the Advertised Programs Client Agent discovers that the network is overutilized. Check the Allow Users To Run The Program Independently Of Assignments check box if you want to give the user the option of canceling a mandatory advertisement when it is scheduled to run or to reschedule when the advertisement runs.
  12. Click OK to create the advertisement.

NOTE
If you have not yet identified a distribution point for the package, you will be notified of that fact when you click OK. Also, if you have not yet enabled the Advertised Programs Client Agent for the clients, you will be given the option to do so.

REAL WORLD  Recurring Assignments

As we've seen, you can specify a recurring schedule for your advertisement. This setting can be useful for programs that need to be executed on a regular basis. Let's return to our virus update file example. Suppose you have created a package that distributes a virus update file once a month. On the 14th of every month, you obtain a virus update file and replace the old file in the package source file directory with the new file. You also configure the package to refresh its distribution points once a month, say on the 15th.

When you create the advertisement, give it an assigned schedule. Set it to run on the 16th, maybe at 11:00 PM. Now all you have to do is remember to update the source file directory once a month. The package and advertisement process will take care of the rest.

You might also consider creating a package that executes the virus scanning program on the client. Again, a recurring advertisement could be assigned to run the virus scan at regular intervals. Here's another twist on this scenario: let's say that you want the virus scan to run immediately after the virus update file is installed. You've seen that when you create a program, you have an advanced option to run another program first. You would then create a program that executes the virus scan but first copies the update file. Then create a recurring advertisement that runs that program once a month at the appropriate time.

Recurring advertisements can be used to handle a variety of these kinds of events. Use them to periodically synchronize the system time on your SMS clients with the site server. Use them to perform disk maintenance tasks such as monthly defragmentation or optimization routines. With a little creativity and imagination, you can automate many such tasks and make your job as a system administrator more productive.



Microsoft Systems Management Server 2.0 Administrator's Companion
Microsoft Systems Management Server 2.0 Administrators Companion (IT-Administrators Companion)
ISBN: 0735608342
EAN: 2147483647
Year: 1999
Pages: 167

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net