Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Wiki / Kb180

Kb180

Emulab FAQ: Testbed Operations: What happens if the experiment state is wiped out?

Emulab FAQ: Testbed Operations: What happens if the experiment state is wiped out?

You can restore it from backup. It will mostly be correct if it's during a quiet time, and because the system is hosed so nothing is changing.

Two things can be wrong.

  • A currently inactive experiment might be marked as active. This is harmless since there are no physical resources associated with it, and swapping it out again won't do anything bad (this is by design). There are probably a few of these, but its easy to deal with just by swapping the experiment out again.
  • A currently active experiment is marked as inactive. This is of course more serious since those resources will be hidden.

This query shows experiments holding resources:

  "select distinct r.pid,r.eid,e.state from reserved as r left join
      experiments as e on r.pid=e.pid and r.eid=e.eid;"

They should all be marked as "new", "activating", "active", or "BATCHSTATE_RUNNING". "inactive" is an error.