Barbara,

Barbara.Lundquist at sun.com wrote:
> Sue,
> Should I add the following note in the AI doc in Example 2.11:

That is my understanding from Clay's email yesterday.

> Note: The manifest file must be named default, or default.xml, as in 
> this example. Or, you must add criteria. A non-default
> manifest file requires criteria.

I'd change "Or" to "Otherwise"

Sue

> Barbara
> 
> 
> 
> 
> On 11/12/08 18:46, Clay Baenziger wrote:
>> Hi Halton,
>> Yes for 2008.11 that is correct as one must always have a default 
>> manifest and so installadm list doesn't print it out.
>> To view that your changes actually took affect is a bit difficult. 
>> However, you can view the change in the default manifest by going to 
>> the webserver serving manifests for that service 
>> (http://<hostname>:46501 or, if you have multiple services, look up 
>> the port number in /var/installadm/service_data). Then click on 
>> default.xml to download the manifest and see that your changes were 
>> saved.
>>
>> Thank you,
>> Clay
>>
>> On Thu, 13 Nov 2008, Halton Huo wrote:
>>
>>> On Wed, 2008-11-12 at 16:32 -0700, Clay Baenziger wrote:
>>>> Hi Halton,
>>>> With regards to issue 4. One needs to have the manifest be named
>>>> default (or default.xml) as per Example 2-11 (line: '<ai_manifest
>>>> name="default">'). Otherwise, you'll need to add criteria as a 
>>>> non-default
>>>> manifest must have criteria.
>>>> There is a bug to have a better error message printed, however,
>>>> bug 4318 - publish-manifest needs to error about no criteria in
>>>> non-default manifests.
>>>> Thank you,
>>>> Clay
>>> Clay,
>>>
>>> If I do following changes:
>>> 1) change <ai_manifest name="default"> in ai_osol-re.xml
>>> 2) remove <ai_criteria /> part in sideline.xml
>>>
>>> I can run 'installadm add -m sideline.xml -n 101a-20081111', but
>>> 'installadm list -n 101a-20081111' gives me nothing, is that correct?
>>>
>>> -Halton.
>>>> On Wed, 12 Nov 2008, Halton Huo wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Four issus I found so far.
>>>>>
>>>>> 1. typo in the SC manifest example(p17)
>>>>> <!DOCTYPE service_bundle SYSTEM
>>>>> '/usrr/share/lib/xml/dtd/service_bundle.dtd.1'>
>>>>>
>>>>> usrr is typo.
>>>>>
>>>>> 2. Example 2-6(p18) miss </ai_criteria_manifest>
>>>>>
>>>>> 3. SC manifest examples lost enabled
>>>>> $installadm add -m sideline.xml -n 101a-20081111
>>>>> Error: File ./sc_manifest1.xml failed validation:
>>>>> Element instance does not carry attribute enabled
>>>>>
>>>>> It works after I change the line
>>>>> "<instance name=?default?>" to
>>>>> "<instance name='default' enabled='true'>"
>>>>>
>>>>> 4. Example 2-11(p20) does not work
>>>>> $installadm add -m sideline.xml -n 101a-20081111
>>>>> Error: Criteria None is not a valid criteria!
>>>>>
>>>>> Seems at least I need add one "ai_criteria" like following:
>>>>> <ai_criteria_manifest>
>>>>> <ai_criteria name="ARCH">
>>>>> <value>i86pc</value>
>>>>> </ai_criteria>
>>>>> <ai_manifest_file URI="./ai_osol-re.xml"/>
>>>>> <sc_manifest_file name="AI" URI="./sc_manifest1.xml"/>
>>>>> </ai_criteria_manifest>
>>>>>
>>>>> Thanks,
>>>>> Halton.
>>>>>
>>>>> On Tue, 2008-11-11 at 17:48 -0800, Barbara.Lundquist at Sun.COM wrote:
>>>>>> Sundar and Sue,
>>>>>>
>>>>>> Thanks for your edits and new material!
>>>>>> What I hope are the final AI docs are now posted at:
>>>>>>
>>>>>> AI Article:
>>>>>> http://opensolaris.org/os/project/caiman/files/AIinstallFinal.pdf
>>>>>>
>>>>>> installadm(1M) man page:
>>>>>> http://opensolaris.org/os/project/caiman/files/installadm.1m.txt
>>>>>>
>>>>>> I could do abit more tweaking tomorrow/Thursday, but I need
>>>>>> to spend most of tomorrow finishing the DC docs.
>>>>>>
>>>>>> I'll deliver these docs by 1st thing Friday morning.
>>>>>> Barbara
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> caiman-discuss mailing list
>>>>>> caiman-discuss at opensolaris.org
>>>>>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>>>>>
>>>
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss


Reply via email to