Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do you automate (in testing) the process of making your system fail and recover from the failure, and also you must make sure time stamp is maintained each time the system recovers?

I was asked this question in an interview. I know this question is little vague, I guess interviewer was trying to test my virtualization skills.

share|improve this question
This is very, very difficult to answer because the steps and scenarios vary wildly. VMWare have a product called Site Recovery Manager which automates all of this for you, but if you're using, say, Xeon or KVM then the procedure is entirely different. – Mark Henderson Nov 29 '10 at 21:41
The interviewer was much interested in Xen hypervisor, he was more interested in test automation of system failure – SuperMan Nov 29 '10 at 21:43
That question is very broad, you would need a lot more information to find out exactly what it is they were looking for. I'm guessing the interviewer wanted to see if you would probe for more information or not. – cpgascho Nov 29 '10 at 21:59
@cpgascho yeah agree, i probed him lot information, like i said we can run monitor process which has time stamp or modifying the code where the process can die. – SuperMan Nov 29 '10 at 22:02
up vote 1 down vote accepted

In general, I'd use the hypervisors' API to monitor the VM status, while killing it's process, to simulate failure. The API based monitoring will write logs with timestamps.

This can be the broad answer, as for specifics - it would depend on what hypervisor and management are used

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.