Hi, Jan,

Sorry I used the wrong command. yes, I should use ai_get_manifest.
Now I could get the right manifest.
Thanks very much.

Jeffrey

jan damborsky ??:
> Hi Jeffrey,
>
>
> jeffrey huang wrote:
>   
>> Hi, All,
>>
>> I tried to use follow command on AI sparc client to get manifest, our
>> test case based on that:
>>
>> /usr/bin/ai_sd -s /tmp/service_list.251 -o /tmp/my.xml
>>     
>
> ai_sd command is utilized by AI for 'service discovery' part.
>
> e.g. if you would like to discover, who provides service
> _install_service_46501, you could invoke ai_sd in following mode:
>
> # /usr/bin/ai_sd -n _install_service_46501 -o /tmp/service_sources
> # cat /tmp/service_sources
> 192.168.100.2:46501
>
> In your case, I assume you want to test process of obtaining AI
> manifest. For this you need to use /usr/bin/ai_get_manifest instead:
>
> # /usr/bin/ai_get_manifest -h
> Usage:
> ai_get_manifest -s service_list -o destination [-d debug_level] [-l] [-h]
>
> In your case:
> # /usr/bin/ai_get_manifest -s /tmp/service_list.251 -o /tmp/my.xml
>
>
> Please also refer to usr/src/cmd/auto-install/README.test file
> located in slim_source gate for more detailed information about
> how process of AI service discovery might be tested using ai_sd
> and ai_get_manifest scripts.
>
> Thank you,
> Jan
>
>
>   
>> Got error:
>> Jan 19 00:38:12 opensolaris mDNSResponder: ConstructServiceName:
>> Application protocol name must begin with underscore:
>> _default./tmp/service_list.251.local.
>> Jan 19 00:38:12 opensolaris mDNSResponder: ERROR:
>> handle_resolve_request - Couldn't build_domainname_from_strings
>> \342\200\234_default\342\200\235
>> \342\200\234/tmp/service_list.251\342\200\235
>> \342\200\234local\342\200\235
>> <AISD_E 01/19 08:38:12> No valid AI service found
>>
>> seems it is trying to get default service, but I have a service
>> sparc_install_service. Seems no where to find
>> AI_SERVICE_NAME.
>>
>> == my install.conf ==
>> root at opensolaris:/tmp# cat install.conf
>> install_service=sparc_install_service
>>
>> ==my service list file==
>> root at opensolaris:/tmp# cat service_list.251
>> 10.13.30.81:46501
>>
>> This command works fine on x86 client.
>>
>> -- 
>> Great Thanks & Best Regards
>>
>> ---
>> Jeffrey Huang                  SWAN: x51683, Ext: 0086-10-62673683
>> Solaris QE Group                      Email: jeffrey.huang at sun.com
>>            China Engineering & Research Institute, Sun Microsystems
>>          7/F Chuang Xin Plaza, Tsinghua Science Park, Beijing China
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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
>   

-- 
Great Thanks & Best Regards

---
Jeffrey Huang                  SWAN: x51683, Ext: 0086-10-62673683
Solaris QE Group                      Email: jeffrey.huang at sun.com
           China Engineering & Research Institute, Sun Microsystems
         7/F Chuang Xin Plaza, Tsinghua Science Park, Beijing China

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/caiman-discuss/attachments/20090120/48a834de/attachment.html>

Reply via email to