Fault Management testing in VirtualBox

This is for discussing general topics about how to use VirtualBox.
Post Reply
Jondice
Posts: 7
Joined: 23. Jul 2009, 05:09
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: Windows XP, Open Solaris, OS/2, Linux

Fault Management testing in VirtualBox

Post by Jondice »

I'd like to simulate various hardware faults to have a better idea of what to expect of my production systems. I think this would be useful for systems developers (so maybe they know the answers) as well as careful administrators.

For instance, I could test a fault ina guest OS by deleting a disk image without telling the OS about it, but how can i test similar faults while the guest OS is powered on?

If you can't currently do this, maybe a permissive testing mode would be useful for virtualbox.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Fault Management testing in VirtualBox

Post by Perryg »

This has actually been asked before and it is really not practical due to the way things are done in a virtual environment as compared to a real environment. IMHO
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Fault Management testing in VirtualBox

Post by vbox4me2 »

Maybe the word 'virtual' has the wrong meaning for you, in essence any action inside a VM should not effect the Host thereby doing such tests are meaningless.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Fault Management testing in VirtualBox

Post by mpack »

vbox4me2 wrote:in essence any action inside a VM should not effect the Host thereby doing such tests are meaningless.
I don't see any indication in the OPs message that he expects guest faults to afflict the host.

It seems to me that the OP wants to do hardware fault injection testing, to test how software (running in the VM) copes with simulated hardware failures. However deleting entire disk images still seems a little extreme - I'm not sure what credible real world fault this would simulate.

OTOH I agree that this isn't what VBox is designed for, nor should it be.
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Fault Management testing in VirtualBox

Post by vbox4me2 »

I can imagine this possiblilty with a self compiled version, thats where you need to create the fault switch.
Jondice
Posts: 7
Joined: 23. Jul 2009, 05:09
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: Windows XP, Open Solaris, OS/2, Linux

Re: Fault Management testing in VirtualBox

Post by Jondice »

mpack wrote:
vbox4me2 wrote:in essence any action inside a VM should not effect the Host thereby doing such tests are meaningless.
I don't see any indication in the OPs message that he expects guest faults to afflict the host.
...
OTOH I agree that this isn't what VBox is designed for, nor should it be.
Correct, I'm not wanting to afflict the host in any way. Deleting a disk was just a none too subtle example that is easy to do.

I suspected that Sun might also be interested in this, since they are working on fault management in solaris. I'm not very familiar with this area myself, though it is interesting. For practical purposes, I just want to test out what other people have done, so that I know what to expect should my production system fail in some way.

I was already able to test more or less what I wanted by removing a disk image ... so that was basically good enough for me :oops: .
Post Reply