Running CUJ and PAJ in parallel


As a system administrator, run the Catalog Update Job (CUJ) in parallel with the Patch Analysis Jobs (PAJs) without conflicts. By running these two jobs parallelly, you can maintain up-to-date catalog information without interrupting ongoing patch analysis or catalog updates.

The PAJ in execution uses the most recent metadata available when it starts, copies to target, and uses it for patch analysis. However, due to parallel execution, the CUJ may update the catalog metadata while the PAJ is running, which may cause the PAJ to miss the most recent metadata changes from the CUJ. As a result, the PAJ might use the earlier metadata from an earlier CUJ, leading to the analysis based on the last successful updated metadata. Therefore, you may need to rerun the PAJ after the CUJ is complete, to ensure that the PAJ uses the updated catalog with latest metadata.

We recommend that you execute PAJ after the parallel execution of CUJ is completed, before proceeding with remediation. This practice will ensure that remediation is carried out with the latest MD and the corresponding missing patches or payloads.


Important

We recommend that you do not change the catalog filter, especially removing the existing one, while the Catalog Update Job (CUJ) and Patch Analysis Jobs (PAJs) are running in parallel. This action could cause items to be excluded from the updated filter, potentially leading to the failure of the Analysis job. If this happens, the system will log errors, and the PAJ must be re-executed.

To enable parallel execution of CUJ and PAJ

The feature is flag based and is driven from the file <TSSA Installation location>\NSH\share\patch\resources\patch-psu.properties. To enable this feature, set the flag to true and restart TrueSight Server Automation server. By default, the flag is set as false.


Example
  • File pathC:\Program Files\BMC Software\BladeLogic\NSH\share\patch\resources\patch-psu.properties
  • Flag to be set: allow.cuj.paj.in.parallel=true


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*