Hi,
thank you very much to all who provided feedback to the initial
proposal. Based on the received comments, I have modified the
document according to the received feedback - it is attached
below and contains information which will be captured in design
specification. If there is anything I misunderstood or should
be modified, please feel free to let me know.
Thank you again,
Jan
[1] new tag <ai_remove_packages> will be introduced - it will
specify list of packages to be removed by transfer module
after install phase is done.
It will be optional - if this tag is omitted in AI manifest,
no package will be removed from system.
[2] in order to follow consistent naming scheme, new tag
<ai_install_packages> will be introduced. It will be mandatory
and will contain list of packages to be installed.
Old <ai_packages> tag will still be supported in AI manifest
and recognized by new AI image. It will allow to continue to
use old manifests and old AI images after new schema is installed
on AI server (delivered by SUNWauto-install-common package).
Also new images will be able to process old manifest.
[3a] in order to provide user with better insight what's behind
the scenes and consolidate DC and AI approaches, default
AI manifest will be enriched with sections containing
list of packages to be installed and removed:
...
<ai_install_packages>
<package_name>
SUNWcsd
SUNWcs
babel_install
entire
</package_name>
</ai_install_packages>
<ai_remove_packages>
<package_name>
babel_install
slim_install
</package_name>
</ai_remove_packages>
...
Section of packages to be installed will be mandatory, section
of packages to be removed will be optional.
[3b] Part of this change will be switching to babel_install metacluster
instead of slim_install.
[5] Transfer module will take care of both phases (install, remove).
[6] If provided AI manifest is found invalid by XML validator, AI client
will display appropriate message on console in order to inform user
and auto-installer service will go into 'maintenance' mode. Log files
will contain details about why validation failed - these information
is already generated by XML validator.