Progress Reporting:

The output to the console to reflect the progress of the auto-install 
should be of the format:

(pseudo progress bar)  High level description of current functionality

Example (general idea, wording is not exact) :

(.....................) Discovering available services
(.....                ) Choosing service

The .'s indicate percentage completion. This means we have a dependency upon 
IPS to supply size information for the packages.
A return is only implemented when the install moves from one major block of 
functionality to the next. Otherwise, the text 
is overwritten with updates to the dots to indicate progress.

The use of virtual console was considered as a possibility if a more  detailed 
progress
is required. Preliminary investigation indicates that this currently is  not in 
our microroot and would
be too large to include there.


Error reporting/logging:

The error/log reporting will be composed of English readable messages 
that will enable the user to determine
what has gone wrong. There will be no messages of the form "error 800" 
as is currently the case.

The error/log file will be written to both the server and the client. 
This will enable  a sys admin on the server to
easily observe what is happening on the client. This would also place a 
requirement upon the webserver redesign
to provide the interfaces to both pull data from the server and 
incrementally push data to the server.

On the client, the log file will be placed in /tmp/install_log during the 
install and later
moved to /var/sadm/system/logs/install_log. On the server, the log will be 
placed in
/var/ai/client_logs/ip_address/install_log on the server.

The contents of the log file will have marked delineations (===text===) between 
the 
major functional blocks mentioned in the progress printed to the screen above. 
It will also contain more 
detailed messages indicating actions performed, decisions made, and errors 
encountered. It should also contain the information that is currently
being reported to the auto-installer smf error log in 
/var/svc/log/application-auto-installer:default.log.


Jean


Reply via email to