This article provide information on using Patch Management for Windows Solution in a Hierarchy environment as well as explaining the workflow and use of the Patch Management replication rules. This also highlights some best practices and recommended use in certain scenarios.
ITMS 8.x
PM 8.x
Best Practices Settings for the Patch Replication / Schedules are found in the SMP Console > Hierarchy Management > Replication Tab > Configuration and Management Items:
In a hierarchy environment, the Child servers may be managing different languages to one another. For example, one Child may just manage English, while another may just manage German. In order to ensure that the Child servers only receive the data for their managed languages, there is a replication rule called the Patch Management Language Alerting rule.
When a language to manage is selected on the Patch Core Solution page, the table Inv_PM_Hierarchy_Installed_Culture is populated with this information. The Patch Management Language Alert rule replicates the data from this table up the hierarchy tree to the Parent. The Parent will then use this information to ensure that only the data for the managed languages of the Child is replicated down to the Child.
The Language Alert Rule is enabled by default on all Patch installs and by default will run on the Standard Replication schedules. It can also be run on a Custom schedule.
To view the rule, go to:
Settings > Notification Server > Hierarchy > Hierarchy Management > Replication tab > Resources section
To configure the rule, select the rule and click on the Edit icon. This will open the rule configuration page which allows the selection of scheduling options and the Replication mode.
If the rule has not been run on the Child prior to Patch data being replicated down from the Parent, then only Invariant language data will replicated down the hierarchy.
A Parent Server is required to manage all languages required by the Child Servers in its hierarchy.
The next step is to replicate patch data down the hierarchy. This process replicates all data that is imported via the PMImport at the Parent, down the tree to any Child NS’s. Only data for the managed languages of the Child will be replicated based on data sent up to the Parent via each Child’s Patch Language Alert replication rule. If the Parent has no language information from the Child, then only Invariant data will be replicated.
The Patch Management Import Data Replication For Microsoft rule will replicate the PMImport data down the tree. It will also trigger a post replication task that carries out the same tasks that a normal PMImport would carry out after data is imported.
This includes removing resources for languages that are no longer managed or removing resources for excluded Software releases and also updating the inventory rule cache on the server so that agents of the Child will be able to obtain the latest Inventory Rule data.
The post replication task will be sent from the Parent on the first running of the Quarter Hour shared schedule after the data replication job has completed. As this task is triggered by a schedule that runs daily, there will be a lag between the data being imported, and final clean up occurring. An instance of this task will be displayed on the Microsoft Patch Management Import page on the Child Server.
It can take around an hour to do an initial replication of one language to a Child if that Child has no previous data.
The data replication rule can be found here:
Settings > Notification Server > Hierarchy > Hierarchy Management > Replication tab > Resources section
To configure the rule, select the rule and click on the Edit icon. This will open the rule configuration page. It is not enabled by default.
It can be run in Complete or Differential modes and can be run according to the Standard Replication Schedules (created when a child is added to a hierarchy) or to a Custom schedule. Note that if run on a Custom schedule, the data will be replicated to ALL children in at once. The Standard Replication Schedules are created per Child so there will be a separate replication schedule for each Child in the hierarchy.
When the Daily Shared Schedule runs on an NS Machine, it will populate the Inv_Compliance_Summary table with summary information regarding the number of applicable, installed and vulnerable updates for the agents of that Server. If the Server is a Child in a Hierarchy, the contents of that table will be replicated up to the equivalent table on the Parent.
A user can then run the Microsoft Compliance Summary report on the Parent, from the Console > Reports > Software > Patch Management > Compliance > Compliance Summary, and see a snapshot of the number of applicable, installed and vulnerable updates for the agents of that Child.
Note: The drill down will run a query from the Child Notification Server's database. The data is not replicated from the Child NS back up to the Parent NS.
The user can then select a row for a specific Child Server and drilldown to run the various more detailed Compliance reports (by Bulletin, Computer or Update / Not applicable to by CVE-ID) via remote console on the Child Server.
This allows the user to then choose which updates to create policies for and replicate down the hierarchy
Replication for the Software Update Policies down the hierarchy to the Child NS is now handled on the default daily replication schedule. This is default setting of 'Differential' and the policy will not be replicated until it has been changed. The Software Update Policy may be replicated now by highlighting / right-click > Hierarchy > Replicate Now.
Advisory: Please note the following:
If there is a Site Server for the Parent, the packages need to be in a ready status on that Site Server before the manifest for the Software Update Policy will be generated and replicated to the Child NS. When the Daily Replication job finishes, the manifest replication for the Software Update Policies will be complete, and the Software Update Policy will be created from the manifest data on the Child NS. The Download Software Update Package job will run on the Child NS; hitting the SolutionSam and any other 3rd Party Sites as needed, and creating the Software Update Packages on the Child NS.
To prevent the PMImport from importing data on a Child Server, enable the Patch Management Import Data Replication rule on that child server. The PMImport task will still be triggered at its scheduled time, however it will not import any data as with the rule enabled, the task recognises that the Server is a Child in a hierarchy.
Item Replication will replicate the Patch Data replication rule itself to the Child machine which will result in the rule being enabled.