RAC Attack - Oracle Cluster Database at Home/RAC Attack 12c/Configure Second Linux VM
Appearance
Prev: Install Linux
Create Cluster (e)
- Create Virtualbox Shared Storage
- Configure Storage Persistent Naming
- Clone VirtualBox VM
- Create Second VirtualBox VM
- Configure Second Linux VM
- Complete DNS Setup
- VNC Server Setup
- 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.
- 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: 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
- Remove the udev network rules file. It will be regenerated on the next reboot with the new MAC addresses. [root@collabn2 ~]# rm -f /etc/udev/rules.d/70-persistent-net.rules
- Remove the HWADDR and UUID lines in the network adapter configuration files. [root@collabn2 ~]# sed -i -e '/HWADDR/d' -e '/UUID/d' /etc/sysconfig/network-scripts/ifcfg-eth[0-2]
- Reboot the collabn2 VM by typing reboot. Start the collabn1 VM as well and start Putty sessions for both.
- Verify that all the network interfaces are up. [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
- Verify that all the ASM devices are visible. [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