Installing an Autotest server (including web frontend and scheduler)

Adding some initial frontend objects

Once you've got the frontend working, you'll want to add some objects so you can schedule some jobs.

You should now be able to create a job on the "Create Job" tab, submit it, and see it in the "Job List" and "View Job" tabs. You can also see the status of your host on the "Hosts" tab.

Updating after code upgrades

To ensure proper behavior, after upgrading the web frontend code (from svn up, etc.), you should sync the database, recompile the client, and restart Apache and the scheduler:

cd /usr/local/autotest/frontend && ../migrate/migrate.py --database=AUTOTEST_WEB sync
/usr/local/autotest/frontend/client/ClientMain-compile
sudo apache2ctl restart

If you've got existing Firefox sessions with the frontend open, it's a good idea to shift-refresh them. If you're running a scheduler, you should also restart it after upgrading:

killall monitor_db
/usr/local/autotest/scheduler/monitor_db --notify=myemail@mydomain.com /usr/local/autotest/results

Additional Tips

See also:

AutotestServerInstall (last edited 2008-06-06 16:34:10 by SteveHoward)