Setting up DSM PatchLink

When you activate DSM PatchLink for the first time, we recommend following the required steps in the order explained below.

These are the steps to take:

1.Install Patch Management

2.License Patch Management

3.Create group for assigning patches: You need to create at least one group that contains the computers the patches will be applied to.

4.Configure Patch Management Service: When configuring the Patch Management Service, the required system packages are assigned to the group you just created (the system packages enable checking for security vulnerabilities). Also, you can define the intervals for synchronization of the patch information and download of mass data. When you are finished with the configuration and the system has checked for security vulnerabilities the first time, the system downloads the patch catalog automatically.

5.Disable unwanted manufacturers and products: As a result, an individual patch category (Disabled Products) is created or extended. Also, there is a specific rule that excludes patches of this type from being applied.

6.Create Patch Categories: Patch categories combine the patches of one patch producer or product; you can define a common rollout rule for these patches.

7.Defining Patch Rollout Rules: Rollout rules are used for downloading and assigning specific patches automatically or for preventing the download or assignment of specific patches.

8.Optional - Using Patch Templates: You can use individual package templates as a basis for the patch packages having been created via rollout rules.

Organizing the Patch Library

Before configuring DSM PatchLink, select the computers where you want to run DSM PatchLink. We recommend creating a group for assigning patch packages of DSM PatchLink. This allows you to retain a better overview if issues arise in the Patch Management. For example, when changing from Classic Patch Management to DSM PatchLink or if you want to remove the Classic patch packages from your system later!

Using the Configuration Wizard

DSM PatchLink provides an improved configuration as compared to Classic Patch Management. The Patch Management Service is configured so that the patches are installed mostly automatically. Use the Configuration Wizard to configure the Patch Management Service.

DSM downloads the patches and creates the respective patch packages only after the existing security vulnerabilities have been returned. This process runs automatically in the background. To be able to install the patch packages on the clients, you have to create the respective categories and assign them with patch rollout rules.

In the context of a patch package, clients with respective vulnerabilities are displayed in the Affected computers tab (incl. the status of the patch installation). However, the Detail information tab displays the detailed information about the patch directly from the provider.

Using the Patch Catalog

The clear overview in the DSMC helps you to easily manage the available patches. Open Patch Management in the Navigation window's Organization view. Here you can find the patch catalog and/or the directory of the available patches.

The patch catalog also provides the Microsoft products with the associated patches of the Classic Patch Management (as long as this is still available). These products and patches are displayed in the Patch Catalog in Microsoft (classic).

Display and filter

The Patch Catalog provides the following display and filter options:

The producers and the products are displayed in bold letters if a security vulnerability has been detected. The associated patches are displayed on the right.

At first, the patches are displayed as available. Before being able to download and package a patch, you must add the patch to a patch category and create a patch rollout rule for the patch category.

Filter Disabled products: If you apply this filter, the deactivated producers and products are also displayed; they are grey and can be easily detected. Use the context menu commands Disable patching this product or Enable patching this product to deactivate or activate the producers or products.

With these commands you can create or customize a rule that prevents rollout:

Filter Unused products: Use this filter to show all available producers and products. If this filter is not applied, you can only see the producers and products for which a security vulnerability has been detected (they appear in bold letters).

Filter Classic PM: If this filter is applied, you can see the products and patches of the Classic Patch Management in Microsoft (classic).

Filter DSM PatchLink: If this filter is applied, you can see the products and patches of DSM PatchLink.

Filter Classification: This filter is displayed in an individual window below the patch catalog. When you select one classification or several classifications (e.g. Service Packs), the system only displays the respective patches.

Patch Categories

Patch categories, which combine patches for specific products, and patch rollout rules, which assign these patches according to specific rules, form the basis for the targeted assignment and installation of patches on managed computers.

Use the context menu command Create Patch Category to create patch categories. If you want to select more than one patch category, click the producer or product in the respective check box next to the name. In the basic scenario, the patch category you create contains all patches of a product or a producer.

Disabling Products for Patching

Individual products (or manufacturers) can be excluded from automatic download, assignment and installation in the Update Catalog (Patch Management tab in the Navigation window). Multiselect is possible to deactivate more than one product at once.

Disabled products are displayed greyed out and can be hidden in the tree view of the Update Catalog.

When disabling a product a rollout rule is created or extended with the deactivated product. The rule is named Disabled Products and uses the Action = None setting. Imported patches and their assignments will not be deleted.

However, clients still discover vulnerabilities for disabled products and report them to server, so that the patches can still be downloaded and assigned manually.

Creating Patch Categories

Basically, patch categories combine the patches of one patch producer or product. Patch categories are required if you want to configure the download, assignment and installation of patches flexibly with the help of rollout rules. Patch categories are created dynamically with an LDAP filter which also allows for detailed filtering of the patches within the category (beyond the producer and product).

The main purpose of creating patch categories is providing a 'group of patches' that can be specifically included or excluded for download and installation according to the new patch rollout rules.

Examples of patch categories:

Patch Category LDAP Filter
Google

Company=Google

MS SQL Server 2012

Company=Microsoft

Products=(cn=SQL Server 2012*)

(In this example, the system considers all products that contain 'SQL Server 2012'. Alternatively, you can select the required versions of SQL Server 2012 from a list of products.)

Microsoft - Critical patches

Company=Microsoft

Severity=critical

Microsoft - Patches for German products

Company=Microsoft

Possible languages=*de*

Defining Patch Rollout Rules

DSM PatchLink employs patch rollout rules for downloading and assigning specific patches for security vulnerabilities (based on patch categories). The rules are also used to prevent the download or assignment of specific patches.

Examples of patch rollout rules:

Patch Rollout Rule Action/Target Patch Category

Extended

3rd party (test)

Action: Download and Assignment

Policy Target: Test group

Included: Adobe Flash 11, Adobe Reader 11, Citrix Xen Desktop 5, Chrome, Firefox

Excluded: None

 
3rd party (productive)

Action: Download and Assignment

Policy Target: List of OUs/Groups

Included: Adobe Flash 11, Adobe Reader 11, Citrix Xen Desktop 5, Chrome, Firefox

Excluded: None

 
Microsoft - critical patches

Action: Download and Assignment

Policy Target: List of OUs/Groups

Included: All Microsoft products

Excluded: None

Severity: Critical, severe

Postpone policy activation: 0 hours

Microsoft - non-critical patches

Action: Download and Assignment

Policy Target: List of OUs/Groups

Included: All Microsoft products

Excluded: None

Severity: Unknown, low, medium

Postpone policy activation: 72 hours

Managing Patch Rollout Rules

You can display and manage patch rollout rules centrally in the Patch Management Rules dialog. In this dialog you can change existing rules and also set the evaluation order for the rules; with this order you can easily control the download and assignment of patches.

How patch rollout rules work

Within the configured interval and on a regular basis, DSM PatchLink checks all patches the system finds security vulnerabilities for (see Using the Configuration Wizard). The system checks the (active) rollout rules for every patch in the specified evaluation order. If a patch meets all requirements specified in a rollout rule (Patch Management Rule Properties group), the system executes the specified actions (Patch Rollout Rule Properties group).

The actions are executed depending on the patch package's properties. For example, the patch property Automatic Patch Assignment determine whether a patch policy is created automatically only once, never or always if the policy is not available any more.

With Patch Template Rules you can use templates with different default settings for different patches (see Using Patch Templates).

The following Rule Properties determine how the patch rollout rules are evaluated:

Property Effect
Is active Determines whether the rule is applied or ignored during evaluation. If it is ignored, the evaluation continues with the next rule.
Evaluation order if rule applies The Evaluation order is a number that determines which rules are checked for patches in ascending order that refer to a security vulnerability. If an (active) rule applies, the object will either be inserted or ignored, depending on the rule.

The evaluation order of the individual rules for patches is determined by clicking or interactively moving the respective object. You cannot enter a number for the evaluation order or have the wizard enter one.

If rule applies determines whether the evaluation is continued when the rule applies or not.

Using Patch Templates

When the patches are automatically packaged and assigned, the patch package is created based on a patch template. The Generic PatchLink Patch Template is supplied by default. Additional patch templates may be created based on patch templates and patch packages.

The patch package template mainly contains the package script and various package properties. These may be customized accordingly and used differently for various patch packages. There are rules for assigning the patch templates to the patches, similar to the patch roll-out rules; you can easily assign them in the dialog for managing the patch rules.

Managing Patch Template Rules

Patch template rules are displayed and managed centrally in the Patch Management Rules dialog. In this dialog you can change existing rules or specify an evaluation order for the rules that are used to assign templates to patches individually.

The following general Rule Properties control how the patch template rules are evaluated:

Property Effect
Is active Determines whether the rule is applied or ignored during evaluation. If it is ignored, the evaluation continues with the next rule.
Evaluation order if rule applies The Evaluation order is a number that determines which rules are checked for patches in ascending order that refer to a security vulnerability. If an (active) rule applies, the object will either be inserted or ignored, depending on the rule.

The evaluation order of the individual rules for patches is determined by clicking or interactively moving the respective object. You cannot enter a number for the evaluation order or have the wizard enter one.

If rule applies determines whether the evaluation is continued when the rule applies or not.

Customizing Patch Packages

Using eScript commands in DSM PatchLink

Patch packages generally allow for an execution of additional eScript commands before and after the installation of the patch. For this purpose, patch packages can be edited in the Packaging Workbench the same way as standard eScript packages.

However, we recommend using patch templates rather than changing individual patch packages. Patch templates can be created based on the supplied Generic PatchLink Patch Template or based on existing patch packages; they are assigned to the patches with a patch template rule. Generally, patch templates are stored in the Patch Library in the Templates folder.

The Script.inc file of the Generic PatchLink Patch Template contains the commands for patch installation and error handling only.

Customizing

You can customize all patch templates, for example if you want to stop 3rd party product agents or services or disable automatic updates.

With patch packages, you can also execute user-related commands: As soon as the system is done installing the computer-related portion of a patch package, it starts installing the user-related portion for any logged-on user, independent of the patch installation schedule.

Note that the Installation of user-related portions setting must be specified for the respective package and/or patch template.

You can run your own batch files before and after the installation. The PreDeploy.bat file runs before the installation and the PostDeploy.bat after the installation. Ensure that these files reside in the root of the patch package, next to the patch.bat file.

Updating Patch Data

You can update the packages for DSM PatchLink at any time outside of the timeframe you specified for automatic synchronization.

This command loads the patch catalog to the Patch Library after having configured the Patch Management Service the first time. After their installation, you can find the packages PatchLink Update Catalog ... in the Patch Library, depending on the different operating systems.

Using Asynchronous Patch Installation

As a standard, DSM PatchLink installs patches synchronously. Normally without problems. However, in rare cases a patch installation may not complete as expected and "hang" instead.

In such a case, the asynchronous patch installation can be used which is automatically terminated by the system if a timeout occurs.

Disabling DSM PatchLink

If you want to disable DSM PatchLink temporarily or remove it permanently, you can use a corresponding Wizard.

Testing DSM PatchLink and Deleting Old Patch Packages

Before switching from Classic Patch Management to DSM PatchLink, you can test DSM PatchLink for some time. DSM allows you to run both applications parallel as long as you have valid licenses. During the test phase we recommend deactivating the PM Execution Packages from the Classic Patch Management. This makes it easier to revert to Classic Patch Management, if you decide to do so, and to re-activate the policies manually. If you decide to use DSM PatchLink, we recommend deleting the packages used only in the Classic Patch Management from the Patch Library.

Specifying the Settings for Patch Packages

This list describes the process of specifying the settings for patch packages:

Install patch also on server: Defines whether the patch is also to be installed on computers with a server operating system.

Allow Installation of NetInstall Packages after a Reboot Request by a Patch Installation: Determines whether packages are installed before restart when a patch package requires a restart.

Define Reboot Behavior: Defines what happens if the installation requires a reboot.

Define patch installation sequence: Defines when patch packages are executed by the Installer.

Activate staging of packages: Defines if the download (staging) of installation data onto the client computers is also executed for patch packages.

Omit replaced patches from the scan result: Defines if patches which have already been replaced (superseded) by other patches are omitted from the scan results. This setting applies to DSM Advanced Patch Management only.