Re: Needs idea regarding Network failure stimulation in Oracle Virtual Box in Oracle 11g R2 Data Guard Environment

From: Justin Mungal <justin_at_n0de.ws>
Date: Wed, 14 May 2014 04:07:08 -0500
Message-ID: <CAO9=aUxLhz_DAGaYqfDOxc_=z4Sdwz4jFxjBMZQcvLGt31Nqjw_at_mail.gmail.com>



You can take the network interface down.

[root_at_12cR1EE ~]# ifconfig

eth0      Link encap:Ethernet  HWaddr 08:00:27:93:2E:0B
          inet addr:192.168.2.214  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe93:2e0b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2779646 errors:0 dropped:5126 overruns:0 frame:0
          TX packets:3346505 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:348990667 (332.8 MiB)  TX bytes:569131241 (542.7 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2347002 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2347002 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:429899890 (409.9 MiB)  TX bytes:429899890 (409.9 MiB)

[root_at_12cR1EE ~]# ifdown
usage: ifdown <device name>

[root_at_12cR1EE ~]# ifdown eth0

When you're done...

[root_at_12cR1EE ~]# ifup eth0

On Wed, May 14, 2014 at 3:13 AM, Sandip Mukhopadhyay < sandip.mukhopadhyay24_at_gmail.com> wrote:

> Hi Friends,
>
>
>
> I have 3 node Dataguard Environment(1 -Primary,2-Physical standby's) in
> Oracle VirtualBox(Version 4.3) for different testing scenario's in Oracle
> 11g R2 in OEL platform . I want to stimulate complete network failure in
> one of the nodes, how can I do it?
>
>
>
> Any advice will be highly appreciated.
>
>
>
> Regards,
>
> Sandy
>

--
http://www.freelists.org/webpage/oracle-l
Received on Wed May 14 2014 - 11:07:08 CEST

Original text of this message