HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

update-ux with DRD issues. Two OE's at end of process.

 
Steven E. Protter
Exalted Contributor

update-ux with DRD issues. Two OE's at end of process.

Note: I'm not a true believer in update-ux.
But my new contracts in house HP resources assure me the only way to update the OE is with update-ux. They also assure me that the process within a major OS release is reliable.

Maybe I'm doing it wrong, but here we go.
We start out with: HPUX11i-OE-Ent B.11.31.0709

According to the support matrix THE VSE, Virtual Server Environment is the equivalent and that is what will get installed.

Problem I have is the old OE is still sitting there after the process.

Before update-ux


root@dxd22hxd# drd runcmd swlist -l bundle | grep OE
HPUX11i-OE-Ent B.11.31.0709 HP-UX Enterprise Operating Environment


Following command run:
drd runcmd update-ux -s lxt12hxa:/osdepot/11.31/Sept.2010 HPUX11i-OE-Ent/%match

root@dxd22hxd# drd runcmd swlist -l bundle | grep OE

======= 01/31/11 17:26:35 CST BEGIN Executing Command On Inactive System Image
(user=a121360) (jobid=dxd22hxd)

* Checking for Valid Inactive System Image
* Analyzing Command To Be Run On Inactive System Image
* Locating Inactive System Image
* Preparing Inactive System Image For Command Execution
* Selected inactive system image "sysimage_001" on disk
"/dev/disk/disk38".
* Accessing Inactive System Image for Command Execution
* Setting Up Environment For Command Execution
* Executing Command On Inactive System Image
* Executing command: "/usr/sbin/swlist -l bundle"
HPUX11i-OE-Ent B.11.31.0709 HP-UX Enterprise Operating Environment
HPUX11i-VSE-OE B.11.31.1009 HP-UX Virtual Server Operating Environment
* The command "/usr/sbin/swlist -l bundle" succeeded.
* Cleaning Up After Command Execution On Inactive System Image

======= 01/31/11 17:27:08 CST END Executing Command On Inactive System Image
succeeded. (user=a121360) (jobid=dxd22hxd)

root@dxd22hxd#


All attempts to remove the old OE fail. Is this normal? Did I use the right update-ux command line?

Inquiring minds want to know.

The update-ux process was nearly flawless.

Now it occurred to me that I might need to activate and boot off the DRD image and I might see changes via the swconfig process.

DRD is the latest and greatest.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
5 REPLIES
Hakki Aydin Ucar
Honored Contributor

Re: update-ux with DRD issues. Two OE's at end of process.

in the first place , 2 things I considered when I checked the transition notes from HP:
Did you have latest Update-UX bundle ? (probably you have)

and according to update notes from June 2009 ;
http://h20338.www2.hp.com/enterprise/downloads/5667-Henderson_transcript.pdf
# swlist -l bundle | grep -i OE
â ¢ HPUX11i-OE-Ent B.11.31 HP-UX Virtual Server Operating Environment

somehow OE-ent and VSE-OE seem to be familiar from those days,
maybe OE-Ent is dependency for VSE-OE; is there any chance to see dependency list for VSE-OE bundle via update-ux OR ddr ?

Re: update-ux with DRD issues. Two OE's at end of process.

SEP,

>> drd runcmd update-ux -s lxt12hxa:/osdepot/11.31/Sept.2010 HPUX11i-OE-Ent/%match

When I look at the man page for update-ux and look at the specification for the "%match" construct it says:

The syntax /%match selects all software in the source that
matches what is already installed on the system.


Which to me reads that you need to be specifying the source bundle, _not_ the target bundle, so surely the command should have been:

drd runcmd update-ux -s lxt12hxa:/osdepot/11.31/Sept.2010 HPUX11i-VSE-OE/%match

Without knowing what's in that depot though I'm not sure if that's the problem... what's the output of:

swlist -d -s lxt12hxa:/osdepot/11.31/Sept.2010

HTH

Duncan

HTH

Duncan

Re: update-ux with DRD issues. Two OE's at end of process.

>HPUX11i-OE-Ent B.11.31.0709 HP-UX Enterprise Operating Environment
>HPUX11i-VSE-OE B.11.31.1009 HP-UX Virtual Server Operating Environment
>All attempts to remove the old OE fail.

What did you try doing to remove it?

>Now it occurred to me that I might need to activate and boot off the DRD image and I might see changes via the swconfig process.

By all means, do that first.

Otherwise, if you have an ignite backup, you could use this:
swremove HPUX11i-OE-Ent.
(Note the "." at the end.)
Steven E. Protter
Exalted Contributor

Re: update-ux with DRD issues. Two OE's at end of process.

Fixed it myself.

Booting off the DRD image resolved the issue. I should have realized.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: update-ux with DRD issues. Two OE's at end of process.

System was patched to October 2010. Assuming a system is patched is a bad assumption. I should have said so.

This is a fortune 50 Company and I've been working a little over two weeks. If they were not already caught up, there was no way I was going to make that happen.

As to the command. Found it in an ITRC thread and it worked. The Enterprise OE is updated by VSE no matter whether I use the /%match item or not. I've run it a few times.


swlist -d -s lxt12hxa:/osdepot/11.31/Sept.2010 is a swcopy of the September(October?) 2010 Core OS DVD.

I did try drd runcmd swremove the old OE.

It exploded very nicely thank you very much.

The process though not fully documented takes care of the old OE only after you boot the clone.

root@dxd22hxd# swlist -l bundle | grep VSE
HPUX11i-VSE-OE B.11.31.1009 HP-UX Virtual Server Operating Environment
T2786AC A.06.00.00 HP VSE Suite for HP-UX 11i LTU

All good.

Thanks for the good help. I'm really having a lot of fun here. There will be an article about this process on http://hpux.ws soon as I get the server Ignited and do the automation/documentation run.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com