santosh is talking about a method to use a blcli command to run the Patch Remediation Job and have it look at an existing Deploy job as a template for creating the actual deploy jobs.
i think what you are asking is how to setup all the options for a patch-related deploy?
it's really hard to say - you could use the defaults, or you may want to alter the reboot options (though i'd be careful w/ that for solaris).
i would look in the user guide or the online help and understand what each of those options does and determine what would be best in your env.
Yes correct I am asking about how to setup all the options for a patch-related deploy?
Specially i want to alter following under deploy Job (PAJ) option:
-- Logging Level
-- Schedule Job
Infact I want to make Patching Job automated (in BSA 8.2):
-- Creating patch catalog
-- Patching Job
-- Scheduling Patching Job
One more thing that we can't i believe is:
Importing Patch Quenumber file (Whitelist) and include/exclude SmartGroup during the creation of Patch Analysis Job in BSA 8.2
To my mind (in 8.2):
-- yes we can create PAJ (but without include/exclude patchquenumber and smartgroup)
-- Set PRJ (but alter Deploy Option like Reboot/Scheduling option while creating PAJ)
Correct me if i am wrong.. and please guide me..
I'm not completely clear on your requirements wali. But here is my best attempt at offering you some best practices.
Create a Patch Catalog
Schedule your Patch Catalog to look for Updates (optional)
Create Patch Catalog Smart Groups (optional)
Once you have a Patch Catalog, you can use it to run Patch Analysis Jobs against your target servers. During the Patch Analysis Job, you have to option to "Create remediation artifacts." If you are learning how to deploy patches to your servers, I would suggest you skip this option at first. Learn first how to manually create the BLPackages, Patch Deployment Jobs and Batch Jobs. Once you do that, the automatic process will make a lot more sense.
1. From the results of the Patch Analysis Job, right click on a patch and select "Add To Depot As > BLPackage." Save the BLPackage in the Depot.
2. Find that BLPackage, right mouse click on it and select "Deploy." Walk through the steps of creating a deployment job keeping in mind the deployment options you have at the end.
3. Create a Batch Job that runs your deployment job. Batch Jobs are used to run multiple Jobs.
Automatic Process 1
From the results of the Patch Analysis Job, right click on a patch and select "Deploy Selected Patches." This will create a new type of BBSA Job that will automatically do the following:
- Takes your selected patch(s) and adds them to the Depot as BLPackage(s)
- Creates deployment job(s) to deploy these BLPackages against your target server(s)
- Creates a batch job to run your deployment job(s)
Automatic Process 2
Once you understand the manual process, and the new type of BBSA Job that will automate and process for you and how it works, you can then go back to your original Patch Analysis Job and select the "Create remediation artifacts" checkbox. You can then walk through the same process I just decribed above and it will make a lot more sense.
I guess it would have helped had I read the title of the thread first. =)
wali your question is better served in our Server Automation Scripting community
If you go there and select the Documents tab at the top, you will find a document entitled "Unreleased blcli commands and documentation" You will find everything you are looking for there. You can also leverage that community for BLCLI or NSH scripting help.
Hi Bill, It sounds interesting, but I am confused about template and applying that in my existing job..
I read PatchingJob : setRemediationWithDeployOptions but it's confusing too.
If you provide me the name space and command.. it would be very helpful.