Hi Hugh,<br><br>Thanks for your feedback.  Our reporting is hoping to be a percentage and the load time would probably be around 10 mins or so.  I like your idea about monitoring both anaconda.log and install.log.<br><br>Would putting something like "I'm done" in the last line of %post would ensure that's the last thing that is being executed by anaconda? or that's just close enough to being the last thing?<br>
<br>Thanks for your valuable opinions.<br><br>- David<br><br><div class="gmail_quote">On Wed, May 4, 2011 at 12:53 PM, Hugh Brown <span dir="ltr"><<a href="mailto:hbrown@divms.uiowa.edu">hbrown@divms.uiowa.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On 05/04/2011 09:42 AM, Chun Tat David Chu wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Hugh,<br>
<br>
We have many machines that we will be building, so we are hoping to automate<br>
the process of monitoring the status of the OS.<br>
<br>
Spawning a script and monitoring 'install.log' is an option.  Another<br>
thought would be monitoring the anaconda.log.<br>
<br>
I notice the log prints the following....<br>
anaconda.log:21:22:31 INFO    : moving (1) to step partitionobjinit<br>
anaconda.log:21:22:32 INFO    : moving (1) to step autopartitionexecute<br>
anaconda.log:21:22:32 INFO    : moving (1) to step partitiondone<br>
anaconda.log:21:22:32 INFO    : moving (1) to step bootloadersetup<br>
anaconda.log:21:22:32 INFO    : moving (1) to step networkdevicecheck<br>
anaconda.log:21:22:32 INFO    : moving (1) to step reposetup<br>
anaconda.log:21:22:34 INFO    : moving (1) to step basepkgsel<br>
anaconda.log:21:22:35 INFO    : moving (1) to step postselection<br>
anaconda.log:21:22:44 INFO    : moving (1) to step install<br>
anaconda.log:21:22:44 INFO    : moving (1) to step enablefilesystems<br>
anaconda.log:21:23:48 INFO    : moving (1) to step migratefilesystems<br>
anaconda.log:21:23:48 INFO    : moving (1) to step setuptime<br>
anaconda.log:21:23:49 INFO    : moving (1) to step preinstallconfig<br>
anaconda.log:21:23:49 INFO    : moving (1) to step installpackages<br>
anaconda.log:21:25:57 INFO    : moving (1) to step postinstallconfig<br>
anaconda.log:21:25:57 INFO    : moving (1) to step writeconfig<br>
anaconda.log:21:25:57 INFO    : moving (1) to step firstboot<br>
anaconda.log:21:25:57 INFO    : moving (1) to step instbootloader<br>
anaconda.log:21:25:59 INFO    : moving (1) to step writeksconfig<br>
anaconda.log:21:25:59 INFO    : moving (1) to step writeregkey<br>
anaconda.log:21:25:59 INFO    : moving (1) to step setfilecon<br>
anaconda.log:21:25:59 INFO    : moving (1) to step copylogs<br>
<br>
It looks like if I monitor these steps then I might be able to get a better<br>
estimate of the installation progress.<br>
<br>
What do you think?  Any thought?<br>
<br>
Thanks,<br>
<br>
David<br>
<br>
</blockquote>
<br>
<br></div></div>
How fine grained do you want the reporting to be?  How long are your loads taking?  From the steps above, you are doing a quick load and the system takes about 3-4 minutes before it's done.  If all of your systems are going to be completed that quickly, then something in %post that does an "I'm done" would be sufficient.<br>

<br>
Our systems take about 1-2 hours to load (lots of packages and then a number of customizations).  The bulk of our load time is spent in the package loading stage.  So, you could poll anaconda.log for when it starts to install packages. Then switch to the install.log to track how far along in the package installation you are.  Then switch back to anaconda.log for the final bits.<br>

<br>
Ultimately, we don't need a progress meter for the loads.  So the "I'm done" is sufficient for us.  If it seems like it is taking too long or I need to watch a load carefully, I ssh in and check on it.<div>
<div></div><div class="h5"><br>
<br>
Hugh<br>
_______________________________________________<br>
Kickstart-list mailing list<br>
<a href="mailto:Kickstart-list@redhat.com" target="_blank">Kickstart-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/kickstart-list" target="_blank">https://www.redhat.com/mailman/listinfo/kickstart-list</a><br>
</div></div></blockquote></div><br>