Hi Bing,

On 03/09/09 11:27, Bing Zhao - Sun Microsystems wrote:
> Hi Jan:
>
> Thank you very much for your information. I think that I did hit the 
> bug 5589.
> Currently we set up an external dhcp server with solaris nv. Now 
> everything goes well after that.
>
> Thank you very much for your help!

You are quite welcome !

Best regards,
Jan

>
> Regards,
> Bing
>
> jan damborsky wrote:
>> Hi Bing,
>>
>>
>> On 03/06/09 03:48, Bing Zhao - Sun Microsystems wrote:
>>> Hi Jan:
>>>
>>> I re-ran the command "create-service"as you suggested, the output is 
>>> in the attachment.
>>> Then I run the df, the output is below.
>>>
>>> root at opensolaris:/# /usr/sbin/df -k /server/images
>>> Filesystem            kbytes    used   avail capacity  Mounted on
>>> rpool/ROOT/opensolaris
>>>                      30707712 3089769 24086549    12%    /
>>> root at opensolaris:/#
>>>
>>> Does this error affect dhcp? 
>>
>> No, the failure occurs when checking if you have sufficient space
>> in target directory for the AI image to be expanded there.
>>
>> As far as I am aware of, the failure should be harmless and
>> service should be correctly created.
>>
>>> I find that after this command the dhcp server is running but the 
>>> clients
>>> can't get their IP because that the dhcp server does't reply them. 
>>> So need I also setup dhcp server after running
>>> this command?
>>
>> No, it shouldn't be necessary - 'installadm create-service' command
>> along with -'i' and '-c' options should take care of setting up DHCP 
>> server.
>> Looking at your IP address provided, you might be hitting another bug:
>>
>> 5589 AI Can setup incorrectly network in dhcp if network is not just 
>> whole C class.
>>
>> In order to obtain more information about why DHCP server is not 
>> responding
>> in your case, could you please attach output of following commands ?
>>
>> # svcs -a | grep network/physical
>> # svcs dhcp-server
>> # ifconfig -a
>> # netstat -rn
>> # getent hosts `hostname`
>> # dhtadm -P
>> # cat /etc/netmasks
>> # cat /etc/hosts
>>
>> Thank you,
>> Jan
>>
>>>
>>> Regards,
>>> Bing
>>>
>>> jan damborsky wrote:
>>>> Hi Bing,
>>>>
>>>>
>>>> On 03/05/09 03:40, Bing Zhao - Sun Microsystems wrote:
>>>>> Hi All:
>>>>>
>>>>> When I want to setup an AI server according to 
>>>>> http://www.opensolaris.org/os/project/caiman/auto_install/AI_install_server_setup.html.
>>>>> I met a problem when I ran installadm.
>>>>>
>>>>> installadm create-service -n x86_install_service -i 10.13.21.2 -c 
>>>>> 5 -s /images/osol-0811-rc2-ai.iso /server/images/
>>>>> /*usr/lib/installadm/setup-image[219]: [: argument expected* 
>>>>> <----------did I miss some arguments?
>>>>
>>>> You provided correct list of arguments. Looking at the script, you 
>>>> might be hitting
>>>> 6386 installadm return this error : 
>>>> /usr/lib/installadm/setup-image[225]: [: argument expected
>>>>
>>>> In order to obtain more detailed information, could you please edit
>>>> /usr/lib/installadm/setup-image and change line 1 from:
>>>> #!/bin/sh
>>>> to
>>>> #!/bin/sh -x
>>>>
>>>> and run the create-service command again. Then please include/attach the 
>>>> output
>>>> from the command. Thank you.
>>>> Also, could you please attach output of following command ?
>>>> # /usr/sbin/df -k /server/images
>>>>
>>>>> Setting up the target image at /server/images/ ...
>>>>> *ln: target `/var/ai/image-server/images//server/images/' is not a 
>>>>> directory: No such file or directory* <-------Need I create this 
>>>>> dir first?
>>>>
>>>> No, it is not necessary, you are likely hitting issue
>>>> 3773 installadm output ln link error message
>>>>
>>>> Please try to remove trailing '/' from /server/images/, e.g.
>>>> # installadm create-service -n x86_install_service -s 
>>>> /images/osol-0811-rc2-ai.iso /server/images
>>>>
>>>>
>>>>> Registering the service x86_install_service._OSInstall._tcp.local
>>>>> Added network macro to dhcptab - 10.0.0.0.
>>>>> Created network table.
>>>>>
>>>>> Then I went to /server/images and found there has been some files:
>>>>> root at opensolaris:/server/images# ls
>>>>> bin   dev      jack  pkg.zlib  proc        root          
>>>>> solaris.zlib  tmp
>>>>> boot  devices  mnt   platform  reconfigure  solarismisc.zlib  system
>>>>> But I can't run create-client successfully as follows:
>>>>> root at opensolaris:/server/images# installadm create-client -e 
>>>>> 00:e0:81:58:42:d8 -t /server/images -n x86_install_service
>>>>> *create-client: Remote image server is not supported at this 
>>>>> time.  <---But I didn't input a remote image server at all.*
>>>>
>>>> I think, it is likely also another manifestation of 3773 mentioned 
>>>> above.
>>>> Since link to image was not created, AI server thinks that 
>>>> /server/images
>>>> doesn't exist.
>>>>
>>>> Thank you,
>>>> Jan
>>>>
>>>>> root at opensolaris:/server/images#
>>>>>
>>>>> So did I forget something? I am using opensolaris 2008.11
>>>>>
>>>>> Regards,
>>>>> Bing
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> _______________________________________________
>>>>> caiman-discuss mailing list
>>>>> caiman-discuss at opensolaris.org
>>>>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>>>>
>>>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/caiman-discuss/attachments/20090309/900c3ddd/attachment.html>

Reply via email to