Operating System - HP-UX
1835916 Members
2597 Online
110087 Solutions
New Discussion

Re: How to update the IPD with information lost during server build

 
Enterprise Systems
Frequent Visitor

How to update the IPD with information lost during server build

I've installed HP-UX 11.11 on a new server and plan to backup and restore the non vg00 data from the old 11.0 server to the new server. However a user app being copied used swinstall and this information will be missing frop the IPD on the new server. Is there a way to update the IPD on the new server with the information about this app?

Thanks,
Robert
3 REPLIES 3
Robert-Jan Goossens
Honored Contributor

Re: How to update the IPD with information lost during server build

Hi Robert,

How about installing the software with swinstall, removing it with rm and then copy the software from the old server.

Regards,
Robert-Jan
Dave Unverhau_1
Honored Contributor

Re: How to update the IPD with information lost during server build

Robert,

Seems like this might not be the best way to get this app running on the new server...

Would you be able to install it on the new server and just move the data?

If not, do you know for sure whether the swinstall process modified anything on vg00 that you would not be changing by *not* installing?

Are you sure the app copied from 11.0 will run unmodified on 11.11?

If you want to try to fool the system into thinking that this package was installed on the new server, you might try the following (this is strictly unsupported and would be done at your own risk...I have never tried this to make a package work on a server where it had not been originally installed)

1- copy the contents of /var/adm/sw/products/ from the old server to the new one

2- rebuild the IPD. Here's a process described by Mohan on the ITRC some time ago:

# cd /var/adm/sw/products
# mv INDEX INDEX.bad
# cd /tmp
# vi void.psf
product
tag void
fileset
tag void
:wq!
# swpackage -s /tmp/void.psf
# swinstall void
# swremove void
# rm void.psf
# swremove -d void

The process of installing this "void" fileset and removing it, with no INDEX available should cause SD-UX to scan the /var/adm/sw/products tree and build a new INDEX file.

I hope this works for you! Pleas try this on a dev box first.

Best Regards,

Dave
Romans 8:28
Dave Unverhau_1
Honored Contributor

Re: How to update the IPD with information lost during server build

By the way, I have to say that, if you have the package available to install (haven't lost the original medium), I would use Robert-Jan's recommendation first.

Good Luck,

Dave
Romans 8:28