411 REFERENCE · Wikibooks
RAC Attack - Oracle Cluster Database at Home/Configure Node 1
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
After completing the previous lab, you should already be logged in as the oracle user on collabn1. You should already have a terminal open, where you are currently switched to the root user.
As the root user, CONFIRM that the IP address if eth0 starts with 192.168.78 and that the IP address of eth1 starts with 172.16.100.
[root@collabn1 ~]# ifconfig|grep net
eth0 Link encap:Ethernet HWaddr 00:0C:29:07:F5:C0
inet addr:192.168.78.128 Bcast:192.168.78.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe07:f5c0/64 Scope:Link
eth1 Link encap:Ethernet HWaddr 00:0C:29:07:F5:CA
inet addr:172.16.100.128 Bcast:172.16.100.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe07:f5ca/64 Scope:Link
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:HostUpdate the IP addresses by directly editing the linux network configuration files. Update the BOOTPROTO line and add the remaining lines.
[root@collabn1 ~]# cd /etc/sysconfig/network-scripts
[root@collabn1 network-scripts]# gedit ifcfg-eth0
BOOTPROTO=none
IPADDR=192.168.78.51
NETMASK=255.255.255.0
GATEWAY=192.168.78.2
[root@collabn1 network-scripts]# gedit ifcfg-eth1
BOOTPROTO=none
IPADDR=172.16.100.51
NETMASK=255.255.255.0Update the DNS search domain
[root@collabn1 network-scripts]# gedit /etc/resolv.conf
search vm.ardentperf.com
nameserver 192.168.78.2As root, restart the network services by typing service network restart. Then confirm the new ip addresses with ifconfig. Also confirm the search domain by inspecting /etc/resolv.conf – if the file has reverted then edit it again. (When I wrote this lab, the change stuck after the second time I edited the file.)
You must perform this step in VMware; do not use PuTTY.
none|border|550pxEdit /etc/ hosts. EDIT the line with 127.0.0.1 and then ADD all of the other lines below:
[root@collabn1 etc]# vi /etc/hosts
192.168.78.51 collabn1 collabn1.vm.ardentperf.com
192.168.78.61 collabn1-vip collabn1-vip.vm.ardentperf.com
172.16.100.51 collabn1-priv collabn1-priv.vm.ardentperf.com
192.168.78.52 collabn2 collabn2.vm.ardentperf.com
192.168.78.62 collabn2-vip collabn2-vip.vm.ardentperf.com
172.16.100.52 collabn2-priv collabn2-priv.vm.ardentperf.com
192.168.78.250 collab-scan collab-scan.vm.ardentperf.com
192.168.78.251 collab-gns collab-gns.vm.ardentperf.com
::1 localhost6.localdomain6 localhost6
127.0.0.1 localhost.localdomain localhost
Configure Disks Configure Node 2