| Solaris |
|
|
The legacy Solaris installer uses the system configuration parameters specified by the user to configure the system in the installation environment and then copies the configured files to the installed disk (alternate root). This method puts the responsibility on the installer to know how to configure each of the software components where configuration has been specified, and the installer must also track of all the changes happening with the configuration files. This results in a model where what is able to be configured is highly restricted by the installer capabilities.
In the OpenSolaris installation architecture, one of the design principles we're aiming to adhere to is the separation of installation and configuration. The installer will be responsible only for the installation of the software, and configuration will be the responsibility of the software components themselves. This approach eases the requirement on the installer to have specific knowledge on each configuration piece, or even inclusion of the software components in the installation environment. The software components will not be required to provide a special interface to configure their software in an alternate root either. Ideally, configuration happens in the environment of the installed system, where the software will be actually running.
Provide a method for setting system configuration parameters on an installed system that is extensible, easy to use, consistent, and produces repeatable results.
System Configuration project will cover following scenarios:
In order to avoid design and code duplication, cooperation with other teams is planned to address requirements of particular scenario.
Target system will be configured by applying SMF profile which will define set of SMF properties carrying information about desired system configuration. Configuration will take effect during first boot when SMF properties will be processed by related SMF services.
For purposes of Automated Installer, configuration of system to be installed will be specified in form of set of configuration parameters provided in file called System Configuration Manifest. Automated Installer will obtain set of system configuration parameters from System Configuration Manifest, install OpenSolaris on a system and setup the system with those parameters.
Since all system configuration parameters will be in form of SMF properties and system configuration will be carried out by applying appropriate SMF profile to the installed system, it is being proposed that format of SC manifest matches SMF profile to be applied to the installed system.
That will allow:
Based on proposed solution, System Configuration manifest will have following characteristics:
Early Manifest Import project - integrated into build 137
Research on moving /etc/default/init to SMF properties
Research on moving nodename(4) to SMF property
Legacy sysidtool(1M) framework - how it works
02/22/2010 - zones requirements discussed
03/01/2010 - zones and process of unconfiguration
There are a lot of areas related to system configuration which will have to be explored. The idea is to capture those areas along with comments/thoughts/ideas why people think particular area should be addressed and how the problem might be approached. The vision is that the issues captured here will be transmuted in design specifications once the requirements are fully identified and the areas carefully explored.
In case of non-interactive system configuration scenario, configuration parameters are specified in form of XML file called System Configuration Manifest. As some of parameters might be unique for each client to be deployed (e.g. nodename), in current implementation we would need to create and maintain separate System Configuration Manifest for each client. That does not seem practical and maintainable in enterprise environment with large number of clients.
There are couple of suggestions to be investigated.
As System Configuration manifest might contain sensitive date (encrypted passwords), it has to be assured that they can be accessed only by authorized consumers. As currently there is no authorization step during process of obtaining System Configuration manifests by client, any entity which has access to AI server can downloaded and explore the manifest.
Please feel free to share your comments/questions/concerns related to this project on caiman-discuss@opensolaris.org public mailing list
Terms of Use
|
Privacy
|
Trademarks
|
Copyright Policy
|
Site Guidelines
|
Site Map
|
Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
© 2012, Oracle Corporation and/or its affiliates.