Hello
I've added the mirror entry to the manifest and released it with
installadm, the entry is this:
<ai_pkg_repo_default_authority>
<main url="http://pkg.opensolaris.org/dev/"
authname="opensolaris.org"/>
<mirror url="http://pkg.digicompci.ch"/>
</ai_pkg_repo_default_authority>
the cfg_cache on the client (/a/var/pkg/cfg_cache) looks like this:
[filter]
[authority_opensolaris.org]
origin = http://pkg.opensolaris.org/dev/
ssl_key = None
ssl_cert = None
uuid = c934db5e-e31e-11dd-8075-001e4ff428c4
mirrors = []
prefix = opensolaris.org
[property]
send-uuid = False
require-optional = False
flush-content-cache-on-success = False
display-copyrights = True
preferred-authority = opensolaris.org
pursue-latest = True
so it does not add the mirror, but the origin got changed to /dev/ ... any
idea why it does not?
thanks in advance & regards
vinz
Dave Miner <dminer at opensolaris.org>
Sent by: Dave.Miner at sun.com
14.01.2009 17:13
To
Vinzenz Meier <vinzenz.meier at digicomp.ch>
cc
Subject
Re: [caiman-discuss] local IPS repository
Vinzenz Meier wrote:
>
> Hello Dave
> Thanks for your answer. I did pull the dev repository and set up the
> mirror. Do you have an idea how i can integrate it into the AI?
> As the mirror being set up in the tutorial does not act as a fully
> functional repository, instead it does act more like a proxy for the
> package files (this is how i understand it, i could be wrong).
> Thanks & regards
> Vinz
>
Your understanding is approximately right. To use the mirror, set the
mirror url property in your AI manifest to point at your mirror, and use
pkg.opensolaris.org/dev as the main url. pkg.opensolaris.org will still
be contacted to pull the package catalog and construct the lists of
files to be installed, but the actual file data will be pulled from your
mirror.
Dave
>
>
> *Dave Miner <dminer at opensolaris.org>*
> Sent by: Dave.Miner at sun.com
>
> 13.01.2009 15:28
>
>
> To
> vinz meier <vm at digicomp.ch>
> cc
> caiman-discuss at opensolaris.org
> Subject
> Re: [caiman-discuss] local IPS repository
>
>
>
>
>
>
>
>
> While there are people on this list who can answer your questions,
> please make a habit of asking IPS-specific questions on pkg-discuss,
> which is where IPS development discussions occur. See below for some
> brief answers.
>
> vinz meier wrote:
> > hello
> > i've set up a ips server using
> > svccfg -s application/pkg/server setprop pkg/port=10000
> > svccfg -s application/pkg/server setprop
> pkg/inst_root=/export/home/ips_repository
> > svcadm refresh pkg/server
> > svcadm enable pkg/server
> >
> > what i would like to do now is populate it with the official
packages.
> > i would like to mirror (but only the latest packages) of
> pkg.opensolaris.org
> > as we will use AI to install dozens of workstations per week, it
> makes little sense to pull it each time from the WAN
> >
> > so my actual question is, where can i pull packages so i can import
> them into the repository using "pkgsend send SUNW..."?
> >
>
> See http://www.opensolaris.org/os/project/pkg/Mirroring/. If you're
> looking to mirror only the /release repository, you may need assistance
> from the IPS team. Building a repository by importing the original SVR4
> packages is a complex process which isn't well-documented, and not all
> of the content is easy to collect - you'd have to build some things from
> source at present.
>
> > excuse me if i am too stupid, but i could not find the packages on
> the 2008.11 CD (nor in the pkg.zlib nor solaris.zlib)
> >
>
> The OpenSolaris CD does not contain any packages due to space
limitations.
>
> Dave
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/caiman-discuss/attachments/20090115/0fd44d93/attachment.html>