RAC Attack - Oracle Cluster Database at Home/RAC Attack 12c/Configure Second Linux VM

  The network won't be available yet because we reinitialized the network adapters so the following changes will need to be done in the VM. Log in as root/racattack. Type the command system-config-network. Device configuration is already highlighted. Press Enter. 



 eth0 (eth0) - Ethernet is already highlighted. Press Enter. 



 Go down to the Static IP line. Change the IP to 192.168.78.52. Go down to Ok and press Enter. 



 Select eth1 (eth1) - Ethernet and press Enter. Go down to the Static IP line. Change the IP to 172.16.100.52. Go down to Ok and press Enter. 



 Tab down to Save and press Enter. 



 Arrow down to DNS configuration and press Enter. 



 In the Hostname field, change to collabn2.racattack. Tab down to Ok and press Enter. 



 Tab down to Save&Quit and press Enter. </li>



<li style="margin-top:3em"> Check that the parameter PEERDNS is set to no in /etc/sysconfig/network-scripts/ifcfg-eth2 to prevent the resolv.conf from being overwritten by the dhcp client: </li>

DEVICE=eth2 TYPE=Ethernet UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=dhcp HWADDR=xx:xx:xx:xx:xx DEFROUTE=yes PEERDNS=no PEERROUTES=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no NAME="System eth2" USERCTL=no

<li style="margin-top:3em"> Remove the udev network rules file. It will be regenerated on the next reboot with the new MAC addresses. </li>

[root@collabn2 ~]# rm -f /etc/udev/rules.d/70-persistent-net.rules

<li style="margin-top:3em"> Remove the HWADDR and UUID lines in the network adapter configuration files. </li>

[root@collabn2 ~]# sed -i -e '/HWADDR/d' -e '/UUID/d' /etc/sysconfig/network-scripts/ifcfg-eth[0-2]

<li style="margin-top:3em"> Reboot the collabn2 VM by typing reboot. </li>

Start the collabn1 VM as well and start Putty sessions for both.



<li style="margin-top:3em"> Verify that all the network interfaces are up. </li>

[root@collabn2 ~]# ip l 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 08:00:27:c9:39:d3 brd ff:ff:ff:ff:ff:ff 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 08:00:27:33:bd:a8 brd ff:ff:ff:ff:ff:ff 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 08:00:27:5f:61:29 brd ff:ff:ff:ff:ff:ff

<li style="margin-top:3em"> Verify that all the ASM devices are visible. </li>

[root@collabn2 ~]# ls -l /dev/asm* brw-rw. 1 oracle dba 8, 17 Aug 5 15:40 /dev/asm-disk1 brw-rw. 1 oracle dba 8, 33 Aug 5 15:40 /dev/asm-disk2 brw-rw. 1 oracle dba 8, 49 Aug 5 15:40 /dev/asm-disk3 brw-rw. 1 oracle dba 8, 65 Aug 5 15:40 /dev/asm-disk4

</ol>