1833780 Members
2600 Online
110063 Solutions
New Discussion

Re: How to make depot.?

 
SOLVED
Go to solution
rveri
Super Advisor

How to make depot.?

Experts,

I have copied Ignite-ux directory from cd from my pc and ftped to the server, this is 6.2.152 version. How I can make the depot in the server. Swlist does not recognise this directory with # swlist -l product command.

Thanks,
15 REPLIES 15
Jeeshan
Honored Contributor

Re: How to make depot.?

Hi

is that ignite directory contains any .gz,.zip,.tar or anything else?
if it contains only the folder you cannot do that. because if u want to make depot u need the create_depot*.sh like script.
Try to install the ignite from media(local CDROM/DVDROM)

a warrior never quits
Dennis Handly
Acclaimed Contributor

Re: How to make depot.?

>swlist does not recognise this directory with # swlist -l product command.

What was the command you used?
# swlist -l product -s /absolute-path-to-directory
Torsten.
Acclaimed Contributor

Re: How to make depot.?

Copy the files on a PC may not work, use instead this link to download:

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=IGNITEUXB

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
rveri
Super Advisor

Re: How to make depot.?

Experts,

Here is the error again:
Remember , the directory structure copied from the Install CD ( 2of2) as it is, The way it recognized from the cd as if it is mounted in the cdrom drive, it should pick up from the local directory isnt it.


1. I instrted the core-OS cd 2of2 on my pc .
2. copied the Ignite-UX folder to pc and pushed into the server with ftp , under /var.
3. I cannot put the cd directly into the server cdrom drive as I am in a remote location.


Error details:
----------------------------------------
hpux11:>uname -a
HP-UX hpux11 B.11.23 U ia64 2042212120 unlimited-user license



hpux11:/var/Ignite-UX>ls -l
total 0
drwxr-xr-x 3 user1 admin 96 Dec 3 22:53 BOOT-COMMON-IA
drwxr-xr-x 3 user1 admin 96 Dec 3 22:53 BOOT-COMMON-PA
drwxr-xr-x 3 user1 admin 96 Dec 3 22:53 BOOT-KRN-11-00
drwxr-xr-x 3 user1 admin 96 Dec 3 22:53 BOOT-KRN-11-11
drwxr-xr-x 3 user1 admin 96 Dec 3 22:53 BOOT-KRN-11-23
drwxr-xr-x 4 user1 admin 96 Dec 3 22:53 BOOT-SERVICES
drwxr-xr-x 3 user1 admin 96 Dec 3 22:53 CD-TOOLS
drwxr-xr-x 3 user1 admin 96 Dec 3 22:53 CD-TOOLS-DOC
drwxr-xr-x 3 user1 admin 96 Dec 3 22:53 CD-TOOLS-SRC
drwxr-xr-x 3 user1 admin 96 Dec 3 22:53 DVD-TOOLS
drwxr-xr-x 3 user1 admin 96 Dec 3 22:53 DVD-TOOLS-DOC
drwxr-xr-x 3 user1 admin 96 Dec 3 22:53 DVD-TOOLS-SRC
drwxr-xr-x 3 user1 admin 96 Dec 3 22:53 FILE-SRV-11-00
drwxr-xr-x 3 user1 admin 96 Dec 3 22:53 FILE-SRV-11-11
drwxr-xr-x 3 user1 admin 96 Dec 3 22:53 FILE-SRV-11-23
drwxr-xr-x 4 user1 admin 96 Dec 3 22:53 IGNITE
drwxr-xr-x 3 user1 admin 96 Dec 3 22:53 IGNT-ENG-A-MAN
drwxr-xr-x 3 user1 admin 96 Dec 3 22:53 IGNT-JPN-E-MAN
drwxr-xr-x 3 user1 admin 96 Dec 3 22:53 IGNT-JPN-S-MAN
drwxr-xr-x 4 user1 admin 96 Dec 3 22:52 MGMT-TOOLS
drwxr-xr-x 3 user1 admin 96 Dec 3 22:52 OBAM-RUN
drwxr-xr-x 3 user1 admin 96 Dec 3 22:52 RECOVERY
hpux11:/var/Ignite-UX>




hpux11:/var/Ignite-UX>swlist -l product -s /var/Ignite-UX
# Initializing...
# Contacting target "hpux11"...
ERROR: The expected depot or root does not exist at
"/var/Ignite-UX".
ERROR: There is currently no depot software on host "hpux11" at
location "/var/Ignite-UX". Make sure that an
absolute pathname is specified for location (beginning with
"/").
hpux11:/var/Ignite-UX>
----------------------------------------


How to make this work, please suggest.
Thanks,
Torsten.
Acclaimed Contributor

Re: How to make depot.?

2 problems:

1) all files on the CD are in only 1 depot, you probably did not copy the depot information (pfiles/catalog).
You did only copy a part of the depot contents.

2) you used ftp in ascii mode

=>
You should consider to download the single depot file (see link above)!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dennis Handly
Acclaimed Contributor

Re: How to make depot.?

>How to make this work,

A directory depot contains the directory "catalog". I didn't see that on your listing.

It seems you are off by one. You copied the filesets but not the product level. You need to copy catalog (on CD 1?) AND the Ignite-UX directories into a directory.

It is this upper level directory that's the depot. Of course your "catalog" directory will claim there are more products there but you won't have them.

It is probably better to start with Torsten's link.
rveri
Super Advisor

Re: How to make depot.?

Thanks all,
As I am interested on version 6.2.152, hence the link of version 7.4 would not help,

Dennis's point makes more sense, and looks little complicated, and I think it would be better to install it directly after mounting the CDROM on the server. I will have someone to mount the CD on the drive.

can any one please suggest how to copy the Ignite-UX depot to a local directory from the cdrom mounted on the server, using swcopy.

Thanks,
Torsten.
Acclaimed Contributor

Re: How to make depot.?

The swcopy process is straight forward - run swcopy, mark the software and start the copy process.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dennis Handly
Acclaimed Contributor
Solution

Re: How to make depot.?

>how to copy the Ignite-UX depot to a local directory from the cdrom mounted on the server, using swcopy.

Or if you don't want to go though the GUI:
# swcopy -x enforce_dependencies=false -s /dev/cdrom Ignite-UX @ $PWD/directory.depot
Fabio Ettore
Honored Contributor

Re: How to make depot.?

Hi,

if I understand well your request you are interested to create a depot from an existing directory (in this instance it's for the Ignite-UX product). If so you should use swpackage:

# swpackage -s /var/Ignite-UX -d /tmp/IgniteUX.depot -x target_type=tape

At the end you can issue

swlist -l product -s /tmp/IgniteUX.depot
or
swlist -l product @ /tmp/IgniteUX.depot

to check the contents and swinstall on the interested systems.

Hope this helps you.

Best regards,
Fabio
WISH? IMPROVEMENT!
V. Nyga
Honored Contributor

Re: How to make depot.?

Hi,

'3. I cannot put the cd directly into the server cdrom drive as I am in a remote location.'

Can you mount a (cdrom-)directory from your location at this server?
Then you could insert the cd at a server at your location, export it, mount it at the remote server and install from the mount point.

Volkmar

*** Say 'Thanks' with Kudos ***
Geoff Wild
Honored Contributor

Re: How to make depot.?

Copy the depot to your server.

Example:

swcopy -x enforce_dependencies=false -s /usr/local/src/PHCO_36871.depot \* @ /var/software/hp/11.31.security.patches.depot

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Bob E Campbell
Honored Contributor

Re: How to make depot.?

You can either follow Geoff suggestion to use swcopy to copy the depot ***on an HP-UX*** local system, or you can mount the disk in a local HP-UX drive and use the command:

swreg -l depot /cdrom

This will allow the remote system to access the disk directly. Making a local copy would be higher performance, but needs disk space.
Dennis Handly
Acclaimed Contributor

Re: How to make depot.?

>Fabio: if I understand well your request you are interested to create a depot from an existing directory

No, it was an existing directory depot on the CD.

>If so you should use swpackage:

Don't fall into the SD dark side of having N different commands to do the same thing. ;-)
You should only use swpackage to create depots or convert from a directory depot to a tape depot. And use swcopy to copy to a directory depot.

># swpackage ... -x target_type=tape

This is a reasonable use of swpackage.

>swlist -l product @ /tmp/IgniteUX.depot

Again, you shouldn't use the SD dark side "@" option to list things. Only use -s.
Peter Frazer
Frequent Advisor

Re: How to make depot.?

Hi,
This suggestion assumes a decent kind of connection between local site and remote site (>10Mb/s). If you don't have any kind of *NIX server locally that you can export the cdrom on NFS, you can install an NFS server for Windows at your local site and share it that way. Once you mount the cdrom through NFS, you can run a swcopy off the /cdrom that is mounted accross the network. Works pretty well for me and I don't even have to leave my desk.