Jeffrey,
Jeffrey Huang wrote:
> Hi, William,
>
> What does the content mirror actually do?
> Does it mean if accessing the default repo is slow (Like we here
> accessing pkg.opensolaris.org, often return
> time out), then AI will be automatically re-directed to mirror repo to
> get packages (not meta data)?
I don't think it attempts to determine if the default repo is slow - it
just automatically accesses the mirror for content (as opposed to
metadata, which is taken from the default repo).
>
> So far, I see "http://ipkg.east.sun.com:8000/" is working in mirror
> mode, I can use it for testing.
I haven't tried ipkg.east.sun.com:8000 myself.
>
> And my understanding is correct or wrong for Additional repo?
> - If a given package in manifest is not found in default repo, it
> will look for it in additional repo.
Yes, if any package is not found in the primary repo, the additional
repos will be searched. At this point, AI allows only 1 additional
repo, but there is no such limitation on IPS itself.
William
>
> Great Thanks
> Jeffrey
>
>
> William Schumann ??:
>> 6610 AI does not recognize additional IPS repository
>> 6435 AI should support installation from IPS content mirror
>>
>> http://cr.opensolaris.org/~wmsch/bug-6610/
>> http://defect.opensolaris.org/bz/show_bug.cgi?id=6610
>> http://defect.opensolaris.org/bz/show_bug.cgi?id=6435
>>
>> Since these are already coded in TM and are basically a list of IPS
>> initialization actions for tm_perform_transfer(), fixes are combined.
>>
>> Made variable list of actions to Transfer Module, which already
>> supports additional authorities and mirrors
>>
>> Commands are launched from TM:
>> pkg image-create ...
>> add alternate authority:
>> pkg -R /a set-authority -O <url> --no-refresh <authority>
>> specify mirror for authority:
>> pkg -R /a set-authority -m <mirror URL> --no-refresh <authority>
>>
>> Tested:
>> simple primary authority
>> primary authority with mirror
>> primary authority with alternate authority
>> primary authority with mirror and alternate authority
>> primary authority with mirror and alternate authority with alternate
>> mirror
>> primary authority and alternate authority with alternate mirror
>>
>> pkg -R /a authority -a
>> reflected the changes, except that it doesn't seem to display the
>> mirror. Confirmed authority mirrors were assigned by deleting them
>> with pkg set-authority -M <mirror URL> <authority>
>> _______________________________________________
>> caiman-discuss mailing list
>> caiman-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>