Re: Simulating network hang
Date: Tue, 18 Nov 2008 12:32:16 -0800
On Tue, Nov 18, 2008 at 10:52 AM, Chen Shapira <cshapi_at_gmail.com> wrote:
> Hi Oracle-L,
> I'm trying to simulate a situation (for testing) where any attempt to
> make tcp connection to a machine hangs.
> For example, connections using ssh or sqlplus hangs. No error message
> (as seen when ssh server or listenere are down), just no reply.
> Any advice on how to create this state on purpose?
> The OS is Linux RH3 and RH4.
Temporarily add an entry to the hosts file on your test client, misdirecting to a non-existent IP address.
This may or may not work, depending on where your client first looks to resolve IP addresses. Generally the hosts file comes first.
JaredReceived on Tue Nov 18 2008 - 14:32:16 CST