Whilst you might have found a partial answer to your question, can I suggest that if you want to create test cases for failure, that you actually simulate the failure.

Dropping a link (eg: a port going into administratively down) is completely different to dropping a link through physically disconnecting it, which would also be completely different to a NIC failure (which, should it happen to be on the PCI-E side could well result in a panic rather than a link down.)

There is nothing more frustrating than 'simulating' failures that in no way represent the way in which an interface / card / disk / cable will actually fail and then expecting that you know the answer to the real question - only to find out when it *really* fails that you did not test that case.

In your case, I'd suggest you actually remove the cable if that's what you are actually trying to test for. Depending on the version of LDOM software, you should see the link state propagate all the way into the LDOMS and watch whatever configuration you have take it's action.

For an actual NIC port failure, I'd be hesitant to suggest that you could in any way reliably create or simulare the ways in which they might fail, short of grabbing a soldering iron and creating a few dry joints... ;)

But - in all seriousness - test for what you expect to happen and if you can't actually test the real case, don't assume that munging a failure into the stack is an acceptable replacement.

If one of your expected failure modes is Admin Fail, then sure - test the software fail modes - but don't think that answers the questions for hardware.

Cheers!

Nathan.

Ketan wrote:
Is there any way if we can disable/remove the running vnet in a guest domain ? I want to simulate a network card failure , or kind of remove the link ( removing cable)

When i try to remove it i get following

# ldm rm-vnet vnet2 Ldom2
Failed to remove VNET instance
#

_______________________________________________
ldoms-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss

Reply via email to