There are multiple ways with which you can do it . One way is to run the patch analysis job using blcli commands and set the new server property value on that date ( take the system date ) which will be used as condition while creating smart groups .. Then with the help of smart groups and the filter criteria .. you would be able to get the list of servers on which patch analysis job ran. You can also check blcli's which can give the status of patch analysis job run and based on that write down shell script which will give you the desired o/p.
Running patch analysis with BLCLI is not possible as there are many users which use BL to just execute the patching jobs. Although I have created smart group to have all the windows patching jobs. I am struggling to add a property which can give me last job run date to create a smart group in which job ran within last month....
Do you have any suggesstion for that?
1 of 1 people found this helpful
if you have BDSSA you can generate a report that shows the patch status of your systems based on the last analysis run. showing the last run of a patching job and a deploy job related to patching really doesn't tell you if the server is patched to the proper level - someone could have decided to push 1 patch of 50 to a server.
it would make more sense i think to run a paj against the systems where the paj analyzes for whatever you need to be patched to, and then generate a report (either export from the GUI or via bdssa) of the status of the systems.
PAJ can tell us what all patches are missing and so ... but what if I just want to know the servers on which paj ran in last one month?
Since we want to publish this to a web portal automatically, we need to have a nsh script in place to list the servers and to publish it to our webportal.
You can add the nee server property in property dictionary .
In your scenario , as multiple BL users are running PAJ , I would create a batch job and it will contain PAJ and nsh script . This nsh scriptwill set the value of the new server property that you’ve added in property dictionary.You will have to use blcli to assign a server property value. The batch jobwill contain PAJ and nsh script without any target servers added to it so thatyou can tell other BL users to use the batch job instead of executing PAJ . Iam assuming that the all the BL users are referring to dedicated catalog per OStype.
you can also use bdssa (reporting) to generate such a report - i think that will be eaiser than trying to work this out w/ blcli.