1845960 Members
2200 Online
110250 Solutions
New Discussion

Re: Custom Patch Manager

 
Gavin Clarke
Trusted Contributor

Custom Patch Manager

I think I'm nearly there with this one.
I've run cpm_collect uploaded the .fs file downloaded the .sh file, Had some problems with make_depot so used a looped swcopy script which I found on the forums to make the depot(thanks Ramesh and Sanjay).
So the problem I have is that when I try and match what target has nothing gets marked for install, is this right? I was always told not to install those which don't match the target. Please help.

Apologies if this should be on the patching section I wasn't sure.
11 REPLIES 11

Re: Custom Patch Manager

Are you on HPUX11 or 11i ?

On 11 and above you no longer use 'match what target has' instead select 'manage patch selection'

Cheers

Duncan

I am an HPE Employee
Accept or Kudo
Patrick Wallek
Honored Contributor

Re: Custom Patch Manager

Are all the patches already installed on your system perhaps?

What happens if you go ahead and mark everything to be installed, and then go through the Install Analysis? How many will be installed? What does the log file say? If you do the analysis and don't want to install, just cancel and nothing else will be done.
Pete Randall
Outstanding Contributor

Re: Custom Patch Manager

Gavin,

What's the OS level? 11.x? You need to use patch_match_target=true rather than rather than match_target=true if so.


Pete

Pete
S.K. Chan
Honored Contributor

Re: Custom Patch Manager

That's right. What you did is correct. You may want to (just to test) unchecked "match what target has" and give it a try (ie try to install them anyway) and look at what the log file has to say. If it is indicating that 0 fileset has been selected a least you know what you did earlier is correct.
Ravi_8
Honored Contributor

Re: Custom Patch Manager

Hi,

Have you downloaded the right patches?

did you get any error while unsharing the patches(#sh )?

could u post /var/adm/sw/swagentd.log file
never give up
Gavin Clarke
Trusted Contributor

Re: Custom Patch Manager

Wow so many responses. This machine is 11.0. I'm afraid I can't get the swagent log today (will post tomorrow though).

I was using swinstall in interactive mode, so I just picked the menu item to match what target has.

Hmmm bit of a worry about whether they downloaded okay or not I guess I'll compare the patch_info with what I've got.

The patches were the ones get_patches downloaded (hp recommended ones so should be alright I'd hope).

As for the install analysis it failed on disk space, which is a less dificult issue for me to address I think.

Manage patches eh? I'll look into that.
Gavin Clarke
Trusted Contributor

Re: Custom Patch Manager

The patches were all unshared by make_depot, it then failed on the swcopy bit.
Pete Randall
Outstanding Contributor

Re: Custom Patch Manager

In interactive mode, use the "manage patch selection" button to check the "Automatically select patches for existing software . . " box.


Pete

Pete
Gavin Clarke
Trusted Contributor

Re: Custom Patch Manager

No the patches aren't already installed.
Gavin Clarke
Trusted Contributor

Re: Custom Patch Manager

Thanks Pete, will definitely try that.

One of the reasons that I'm doing this is to get to a level where we can install JDK, I'm guessing that these patches won't get marked as the software isn't on the system yet.
Gavin Clarke
Trusted Contributor

Re: Custom Patch Manager

Here's the swagent log.

Looks like they all downloaded okay. (comparing file sizes with package_info)

When I match what software is already installed some are marked, some aren't some partial. Which I guess means I may have to have two goes at this to install all of them (that's if I decide to install all of them).