Steven Lau wrote:
Hi,
One of our engineer found out it takes quite a while to install
OpenSolaris from ipkg.sfbay/dev IPS lately ( it took him about one and
half hours) .... so we try to setup a content mirror on our lab.
Wonder how pkg decides which IPS it will download the packages/files
from (understand it needs to go to original IPS to get the manifest).
Does it base on how close they are in term of subnet .... or something
else.
Nothing so fancy. If you have a mirror specified for a publisher,
pkg(5) will attempt to use that mirror first, always, for content.
Failing that, it will fallback to the origin.
Please note that even if you setup a content mirror, the client will
still connect to the origin server for package manifest data.
Alternatively, if you are installing the 2009.06 release, you can use a
'full mirror', which mirrors both manifest data and content. Examples
and instructions can be found here:
http://blogs.sun.com/observatory/entry/repo_on_a_stick
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss