Hi, Jan,

jan damborsky ??:
> Hi Jeffrey,
> 
> 
> On 03/31/09 11:39, Jeffrey Huang wrote:
>> Hi, Joe and Jan,
>>
>> Joseph J VLcek ??:
>>> jan damborsky wrote:
>>>> There is a request from QE team as well as from users to allow
>>>> process of installation to be observed remotely. For LiveCD case,
>>>> this requirement was satisfied by fix for bug 6431 which introduced
>>>> support for new configuration parameter 'livessh'. Is set to 'enable',
>>>> ssh access is enabled to LiveCD environment.
>>>> The same feature should be available for Automated Installation.
>>>>
>>>> Also, there is a need to be able to run the Automated Installer
>>>> in debug verbose mode in cases when more information about
>>>> installation process is desired - for instance when there is
>>>> a failure to be evaluated or during testing.
>>>>
>>>> Based on this, there would be two parts to address those
>>>> requirements:
>>>>
>>>> [1] enable ssh for AI
>>>> ---------------------
>>>> The suggestion is to take advantage of 'livessh' option introduced
>>>> for LiveCD. If set to 'enable', AI would allow remote access
>>>> using ssh by running following commands during boot:
>>>>
>>>> * generate ssh keys
>>>> # /lib/svc/method/sshd -c
>>>>
>>>> * enable ssh SMF service
>>>> # /usr/sbin/svcadm enable network/ssh
>>>>
>>>> [2] Enable debug verbose mode for Automated Installer
>>>> -----------------------------------------------------
>>>> New option 'install_debug' would be introduced. If set
>>>> to 'enable', AI engine would be run in verbose debug
>>>> mode providing more information about installation process
>>>> (captured in standard /tmp/install_log file).
>>>>
>>>> For x86, option would be defined in GRUB menu.lst file,
>>>> it would be looked up in install.conf file for Sparc.
>>>>
>>>> Known Issues:
>>>> -------------
>>>> Different mechanisms are used for x86 & Sparc - both have
>>>> some disadvantages - please see bug 7789 for more details.
>>>> Once bug 7789 is fixed, unified approach will be used
>>>> for passing parameters for both architectures.
>>>>
>>>> Please let me know, if you think the proposal should be modified
>>>> or different approach should be taken.
>>>>
>>>> Thank you very much,
>>>> Jan
>>>>
>>>> _______________________________________________
>>>> caiman-discuss mailing list
>>>> caiman-discuss at opensolaris.org
>>>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>>>
>>> Hey Jan,
>>>
>>>   Just to ensure it is understood:
>>>
>>>   By selecting the LiveMedia GRUB entry: "Enable SSH", in addition to 
>>> enabling SSH, the defaults will automatically be chosen for the 2 
>>> language questions and they will not be prompted for when booting 
>>> LiveMedia.
>>>
>>>
>>>   Is the proposed fix for bug 7789 to use a new file for passing 
>>> install configuration parameters to both SPARC and x86 AI clients? If 
>>> so will the X86 AI client present an "Enable SSH" GRUB option?
>>>
>>>   I think if the configuration file, proposed for fixing bug 7789, 
>>> contains a flag to "Enable SSH" then no GRUB entry should be 
>>> presented by the AI Client. The AI client should just boot with SSH 
>>> enabled.
>>>
>>>   This would mean that the test folks could configure an AI service 
>>> that would provide the SSH enabled functionality. This would be 
>>> different from how their tests enable SSH for LiveMedia but I suspect 
>>> very workable.
>> I think this is workable. From AI view, as long as I could configure a 
>> service that
>> enable ssh, it doesn't matter how the client get this option, either 
>> from grub, or
>> from a configure file httped from the server.
> 
> 
> Speaking about mechanism how to set those options, it will need to
> be done manually at the time being - by editing menu.lst or install.conf
> file.
I think manually adding is also fine.

Thanks

> Introducing user interface for adding user options to configuration
> files are out of the scope of this bug. The reason is that it would
> have to be reimplemented when bug 7789 is to be fixed, so I think
> it might be better to do it once as part of redesign of configuration
> files. Please let me know if it might be acceptable approach before
> 7789 is fixed.
> 
> Thank you,
> Jan
> 

-- 
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

Reply via email to