Jens Deppe wrote: > > > On 12/08/08 00:51, Shawn Walker wrote: >> Jens Deppe wrote: >>> I recently put together a script to mirror an OpenSolaris repo. >>> Perhaps it might be useful to others. You can find it here. >>> >>> http://blogs.sun.com/jensd/ >> >> Actually, ips does support mirroring. That support has been in there >> for a few months now. See man pkgdepotd's documentation for the >> --mirror option. >> >> In addition, if you read here, you'll note we have documentation on >> how to setup a mirror for Sun folks: >> >> http://infoshare.sfbay.sun.com/twiki/bin/view/Pkg/RunningAContentMirrorOfIpkgsfbay >> >> >> >> We'll also be working with other community members to make more public >> mirrors available. >> >> Cheers, > > Shawn, > > So does the --mirror option clone any information from it's parent?
We only support mirroring of repository content to optimise long-haul data transfers. metadata is intentionally kept with the primary servers for multiple reasons. > Presumably not, given that the other part of setting up a mirror is > doing an rsync of the data. Other than placing the repo into a read-only > mode, do you know what else the option does/provides? --mirror mode is the only supported option for setting up a mirror at this time; it ensures that clients still connect to the primary server for metadata but allows them to retrieve the content from multiple mirrors. > In my case I need to be able to create and update mirrors at global > locations, outside of Sun's network. In addition, being able to use http > also means easy network traversal with minimal worries of firewalling > problems. I'm not sure I follow the http reasoning here; the depot serves its content via http. -- Shawn Walker