Operating System - HP-UX
1836372 Members
2346 Online
110100 Solutions
New Discussion

Creating one depot from 3 depots

 
SOLVED
Go to solution
Vincent Farrugia
Honored Contributor

Creating one depot from 3 depots

How can I do this please?

Any answers will be appreciated and rewarded.

Thanks,
Vince
Tape Drives RULE!!!
5 REPLIES 5
Bill McNAMARA_1
Honored Contributor

Re: Creating one depot from 3 depots

swcopy all the depots into one.

Use swcopy in interactive mode.. it's easier.
#swcopy

Then create the single depot.

You can make a bundle with the make_bundles command.
If you don't have this command get ignite.

Later,
Bill
It works for me (tm)

Re: Creating one depot from 3 depots

Take a look at the swcopy(1m) man page. Use swcopy to copy the contents of two of your depots into the third. If there are patches in these depots, remeber to use cleanup(1m) on the depot when your done.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Robin Wakefield
Honored Contributor
Solution

Re: Creating one depot from 3 depots

Hi Vince,

swcopy -s {source depot1} \* @ {target depot}
swcopy -s {source depot2} \* @ {target depot}
swcopy -s {source depot3} \* @ {target depot}

Rgds, Robin.

Re: Creating one depot from 3 depots

Something to watch out for when copying from one depot to another is that swcopy still does all the dependency & pre-requisite checking that happens during an swinstall, so if for example you are copying a patch which has a kernel fileset defined as a pre-requisite, then the copy can fail on analysis if the fileset isn't in your depot even though you know it is installed on all your servers. Get round this by setting the

enforce_dependencies=false

Option

NEVER use this option on an actual install.

I am an HPE Employee
Accept or Kudo
Vincent Farrugia
Honored Contributor

Re: Creating one depot from 3 depots

Thanks guys, problem solved. Case closed.
Tape Drives RULE!!!