11.2.0.3 RAC 全過程--1.Redhat configure

ygzhou518發表於2012-05-25
 
1.1:
[root@swhygzhoudb01 ~]# strings /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=swhygzhoudb01
1.2:
[root@
swhygzhoudb01 ~]# strings /etc/sysconfig/network-scripts/ifcfg-eth0
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
HWADDR=00:0c:29:d9:5a:37
IPADDR=10.203.94.101
NETMASK=255.255.255.0
GATEWAY=10.203.94.1
1.3:
[
root@swhygzhoudb01  ~]# strings /etc/sysconfig/network-scripts/ifcfg-eth1
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth1
BOOTPROTO=static
ONBOOT=yes
HWADDR=00:0c:29:d9:5a:41
IPADDR=10.0.0.1
NETMASK=255.255.255.0
1.4:
[
root@swhygzhoudb02 ~]# strings /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=swhygzhoudb02  
1.5:
[
root@swhygzhoudb02 ~]# strings /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
HWADDR=00:0c:29:d9:5a:37
IPADDR=10.203.94.102
NETMASK=255.255.255.0
GATEWAY=10.203.94.1
1.6:
[
root@swhygzhoudb02 ~]# strings /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO=static
ONBOOT=yes
HWADDR=00:0c:29:d9:5a:41
IPADDR=10.0.0.2
NETMASK=255.255.255.0
1.7:
[
root@swhygzhoudb01 ~]#strings /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1  localhost.localdomain localhost
::1  localhost6.localdomain6 localhost6
#public VIP
10.203.94.101 swhygzhoudb01
10.203.94.102 swhygzhoudb02
#priv IP
10.0.0.1 swhygzhoudb01-priv
10.0.0.2 swhygzhoudb02-priv
#VIP
10.203.94.121 swhygzhoudb01-vip
10.203.94.122 swhygzhoudb02-vip
#SCAN IP
10.203.94.151 swhygzhou-scan
#10.203.94.152 swhygzhou-scan
#10.203.94.153 swhygzhou-scan
1.8:
mount tmpfs /dev/shm -t tmpfs -o size=10000m
vi /etc/fstab
tmpfs                   /dev/shm                tmpfs   size=10000m        0 0

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24867586/viewspace-730986/,如需轉載,請註明出處,否則將追究法律責任。

相關文章