1753297 Members
7208 Online
108792 Solutions
New Discussion юеВ

Creating Network depot.

 
SOLVED
Go to solution
JoyBag_1
Frequent Advisor

Creating Network depot.

I'm trying to create a network depot, so that I can run update-ux using an Ignite server as the source.

My procedure to do this is:

insert cd1 and mount
#mkdir /depot/June_2003
#swcopy -s /cdrom \# @ /depot/June_2003
once complete i unmount, insert cd2, re-mount and re-run:
#swcopy -s /cdrom \# @ /depot/June_2003

At this point, the swcopy cancels with the following error:

NOTE: The bundle "TokenRing-02,r=B.11.11.01" is already available.
If you wish to recopy this bundle, change the "reinstall"
option to "true".

* Summary of Analysis Phase:
* 835 of 835 filesets will be Skipped.
* The Analysis Phase succeeded.


======= 06/21/07 15:45:31 BST END copy AGENT SESSION (Cancelled)
(pid=7921) (jobid=hqhdepot-0853)


I've tried this with 11i June 2003 EOE and Dec 2006 EOE and the same thing happens.

Is my procedure flawed? Am i supposed to specify a new target for each CD? or is this actually working and I've nothing to worry about?

Thanks,
Richard.

6 REPLIES 6
Luk Vandenbussche
Honored Contributor
Solution

Re: Creating Network depot.

Try with

#swcopy -x reinstall=false -s /cdrom \# @ /depot/June_2003
Steven E. Protter
Exalted Contributor

Re: Creating Network depot.

Shalom Richard,

If you want it to be available on a network, you may need to do this.

cd
swreg -l depot

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
JoyBag_1
Frequent Advisor

Re: Creating Network depot.

I have now tried with the reinstall=false option, but that has had no effect.

What puzzles me is why does the 2nd cd seem to contain all the same filesets as the first?...and no additional filesets seem to be installed either.

I could try the re-install=true option, but that would simply overwrite the same filesets.

maybe I'm looking into this too much and there isn;t an issue, but it just strikes me as odd.
Dennis Handly
Acclaimed Contributor

Re: Creating Network depot.

Should I be worried you have \# instead of \*?

>Am i supposed to specify a new target for each CD?

You should be able to copy them into the one depot. But you should really be using -x enforce_dependencies=false, so you get everything.

>What puzzles me is why does the 2nd cd seem to contain all the same filesets as the first?...and no additional filesets seem to be installed either.

You could try listing each CD to see if the same stuff is there:
# swlist -l fileset -a software_spec -s /cdrom
JoyBag_1
Frequent Advisor

Re: Creating Network depot.

Dennis,

Should I be worried you have \# instead of \*?

>>> Hmmm, I'm actually using an asterisk not a hash, thats a prolem with my keyboard settings i think...

You should be able to copy them into the one depot. But you should really be using -x enforce_dependencies=false, so you get everything.

>>> I've tried with this option, but it has the same result, nothing is copied from the 2nd CD.bizarre.

You could try listing each CD to see if the same stuff is there:
# swlist -l fileset -a software_spec -s /cdrom


>>> I have run this command on the 1st, 2nd and 3rd CDs of the EOE Dec2006 Cds and outputted the details to a file. here are all the results....they are all identical:

Ignite-depot:/tmp#:/tmp#ls -lt swlist*
-rw-rw-rw- 1 root sys 110188 Jun 22 15:49 swlist.cd2
-rw-rw-rw- 1 root sys 110188 Jun 22 15:45 swlist.cd1
-rw-rw-rw- 1 root sys 110188 Jun 22 15:43 swlist.cd3

Ignite-depot:/tmp#diff swlist.cd1 swlist.cd2
Ignite-depot:/tmp#diff swlist.cd2 swlist.cd3
Ignite-depot:/tmp#diff swlist.cd1 swlist.cd3
Ignite-depot:/tmp#

I'm remotely mounting the /cdrom on the Ignite server from another HPUX server...could this cause any issues?




JoyBag_1
Frequent Advisor

Re: Creating Network depot.

OK, the moral of the story here is "never trust anyone elses labelling skills"....The DVD drive had been labelled up incorrectly!...argh!....to make matters worse, the a copy of the 1st CD just happened to be in the drive...so i was tearing my hair out swapping CD's left right and centre, but all along i was using the wrong drive.

10 points to all those who humored me!

Thanks,
Richard.