您的位置:首页 > 数据库 > Oracle

Oracle VM VirtualBox+OracleLinux-R5-U8-Server-x86_64+linux.x64_11gR2 RAC

2013-09-04 19:19 387 查看
linux 系统的安装,这里就不写了 配置好了本身的网络,用Xshell 客户端连接进去,方便。
此次部署的环境Oracle VM VirtualBox+OracleLinux-R5-U8-Server-x86_64+linux.x64_11gR2
在部署RAC的时候这里要提示下,因为仅仅是作为测试部署,内存是设置给了3G,在安装OS的时候,
swap是内存的两倍下面是配置的主要信息。node1节点的配置信息
Xshell:\> ssh 192.168.1.201
Connecting to 192.168.1.201:22...
Connection established.
Escape character is '^@]'.
Last login: Wed Mar 20 22:01:56 2013 from 192.168.1.2
--- 配置/etc/hosts  网络
cat /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
192.168.1.201 node1
192.168.1.202 node2
192.168.56.201 node1-priv
192.168.56.202 node2-priv
192.168.1.211 node1-vip
192.168.1.212 node2-vip
192.168.1.222 node-cluster-scan
----As the root user add the following kernel parameter settings to /etc/sysctl.conf. If any of the parameters are
already in the /etc/sysctl.conf file, the higher of the 2 values should be used(NOTE: The latest information on kernel parameter settings for Linux can be found in My Oracle Support
ExtNote:169706.1.)
[root@node1 ~]# vim /etc/security/limits.conf
# grid-rdbms-server-11gR2-preinstall setting for nofile soft limit is 1024
grid   soft   nofile    1024
# grid-rdbms-server-11gR2-preinstall setting for nofile hard limit is 65536
grid   hard   nofile    65536
# grid-rdbms-server-11gR2-preinstall setting for nproc soft limit is 2047
grid   soft   nproc    2047
# grid-rdbms-server-11gR2-preinstall setting for nproc hard limit is 16384
grid   hard   nproc    16384
# grid-rdbms-server-11gR2-preinstall setting for stack soft limit is 10240KB
grid   soft   stack    10240
# grid-rdbms-server-11gR2-preinstall setting for stack hard limit is 32768KB
grid   hard   stack    32768
# oracle-rdbms-server-11gR2-preinstall setting for nofile soft limit is 1024
oracle   soft   nofile    1024
# oracle-rdbms-server-11gR2-preinstall setting for nofile hard limit is 65536
oracle   hard   nofile    65536
# oracle-rdbms-server-11gR2-preinstall setting for nproc soft limit is 2047
oracle   soft   nproc    2047
# oracle-rdbms-server-11gR2-preinstall setting for nproc hard limit is 16384
oracle   hard   nproc    16384
# oracle-rdbms-server-11gR2-preinstall setting for stack soft limit is 10240KB
oracle   soft   stack    10240
# oracle-rdbms-server-11gR2-preinstall setting for stack hard limit is 32768KB
oracle   hard   stack    32768
[root@node1 ~]# cat /etc/sysctl.conf
# Kernel sysctl configuration file for Oracle Enterprise Linux
#
# For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
# See /usr/share/doc/kernel-doc-*/Documentation/networking/ip-sysctl.txt
net.ipv4.conf.default.rp_filter = 2
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename
# Useful for debugging multi-threaded applications
kernel.core_uses_pid = 1
# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1
# Controls the maximum size of a message, in bytes
kernel.msgmnb = 65536
# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 65536
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 4294967296
fs.file-max = 6815744
fs.aio-max-nr = 1048576
kernel.shmall = 2097152
kernel.shmmax = 1610612736
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
---Run the following as the root user to allow the new kernel parameters to be put in place
[root@node1 ~]# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 2
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 68719476736
kernel.shmall = 4294967296
fs.file-max = 6815744
fs.aio-max-nr = 1048576
kernel.shmall = 2097152
kernel.shmmax = 1610612736
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
[root@node1 ~]# vim /etc/pam.d/login
[root@node1 ~]# cat /etc/pam.d/login
#%PAM-1.0
auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so
auth       include      system-auth
account    required     pam_nologin.so
account    include      system-auth
password   include      system-auth
# pam_selinux.so close should be the first session rule
session    required     pam_selinux.so close
session    optional     pam_keyinit.so force revoke
session    required     pam_loginuid.so
session    include      system-auth
session    optional     pam_console.so
# pam_selinux.so open should only be followed by sessions to be executed in the user context
session    required     pam_selinux.so open
session    required     pam_limits.so
[root@node1 ~]# mkdir /u01
[root@node1 ~]# mkdir /g01
--------Create OS groups using the command below. Enter these commands as the 'root' user
[root@node1 ~]# groupadd -g 5000 asmadmin
[root@node1 ~]# groupadd -g 5001 asmdba
[root@node1 ~]# groupadd -g 5002 asmoper
[root@node1 ~]# groupadd -g 6000 oinstall
[root@node1 ~]# groupadd -g 6001 dba
[root@node1 ~]# groupadd -g 6002 oper
--------Create the users that will own the Oracle software using the commands
[root@node1 ~]# useradd -g oinstall -G asmadmin,asmdba,asmoper grid
[root@node1 ~]# useradd -g oinstall -G dba,asmdba              oracle
-------Set the password for the oracle account using the following command. Replace password with your own
password.
[root@node1 ~]# passwd oracle
Changing password for user oracle.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@node1 ~]# passwd grid
Changing password for user grid.
New UNIX password:
BAD PASSWORD: it is too short
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@node1 ~]#
[root@node1 ~]# chown oracle:oinstall /s01
[root@node1 ~]#
[root@node1 ~]# chown grid:oinstall   /g01
[root@node1 ~]# su - grid
[grid@node1 ~]$ id grid
uid=500(grid) gid=6000(oinstall) groups=6000(oinstall),5000(asmadmin),5001(asmdba),5002(asmoper)
[grid@node1 ~]$ id oracle
uid=501(oracle) gid=6000(oinstall) groups=6000(oinstall),5001(asmdba),6001(dba)
[grid@node1 ~]$ logout
[root@node1 ~]# cd /etc/yum.repos.d/
[root@node1 yum.repos.d]# ls
[root@node1 yum.repos.d]# cd
[root@node1 ~]# mkdir /media/disk
[root@node1 ~]# mount
/dev/sda2 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
[root@node1 ~]# mount /dev/cdrom /media/disk/
mount: block device /dev/cdrom is write-protected, mounting read-only
[root@node1 yum.repos.d]# touch /etc/yum.repos.d/public-yum-el5.repo
[root@node1 yum.repos.d]# vim  /etc/yum.repos.d/public-yum-el5.repo
[oel5]
name = Enterprise Linux 5.5 DVD
baseurl=file:///media/disk/Server/
gpgcheck=0
enabled=1
[root@node1 yum.repos.d]# yum install clean
Loaded plugins: rhnplugin, security
oel5                                                                             | 1.1 kB     00:00
oel5/primary                                                                     | 1.4 MB     00:00
oel5                                                                                          3298/3298
Setting up Install Process
No package clean available.
Nothing to do
[root@node1 yum.repos.d]# yum install oracle-validated
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package oracle-validated.x86_64 0:1.1.0-15.el5 set to be updated
oel5/filelists                                                                   | 3.1 MB     00:00
--> Processing Dependency: sysstat for package: oracle-validated
--> Processing Dependency: /usr/lib/libaio.so for package: oracle-validated
--> Processing Dependency: unixODBC-devel for package: oracle-validated
--> Processing Dependency: /usr/lib64/libodbccr.so for package: oracle-validated
--> Processing Dependency: libaio-devel for package: oracle-validated
--> Processing Dependency: /usr/lib/libodbc.so.1 for package: oracle-validated
--> Processing Dependency: /usr/lib64/libaio.so for package: oracle-validated
--> Processing Dependency: /usr/lib/libodbccr.so for package: oracle-validated
--> Processing Dependency: libXp.so.6 for package: oracle-validated
--> Processing Dependency: libodbc.so.1()(64bit) for package: oracle-validated
--> Running transaction check
---> Package libXp.i386 0:1.0.0-8.1.el5 set to be updated
---> Package libaio-devel.i386 0:0.3.106-5 set to be updated
---> Package libaio-devel.x86_64 0:0.3.106-5 set to be updated
---> Package sysstat.x86_64 0:7.0.2-11.el5 set to be updated
---> Package unixODBC-devel.i386 0:2.2.11-10.el5 set to be updated
--> Processing Dependency: unixODBC = 2.2.11-10.el5 for package: unixODBC-devel
---> Package unixODBC-devel.x86_64 0:2.2.11-10.el5 set to be updated
---> Package unixODBC-libs.i386 0:2.2.11-10.el5 set to be updated
---> Package unixODBC-libs.x86_64 0:2.2.11-10.el5 set to be updated
--> Running transaction check
---> Package unixODBC.x86_64 0:2.2.11-10.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================
Package                       Arch                Version                      Repository         Size
========================================================================================================
Installing:
oracle-validated              x86_64              1.1.0-15.el5                 oel5               24 k
Installing for dependencies:
libXp                         i386                1.0.0-8.1.el5                oel5               22 k
libaio-devel                  i386                0.3.106-5                    oel5               12 k
libaio-devel                  x86_64              0.3.106-5                    oel5               11 k
sysstat                       x86_64              7.0.2-11.el5                 oel5              187 k
unixODBC                      x86_64              2.2.11-10.el5                oel5              291 k
unixODBC-devel                i386                2.2.11-10.el5                oel5              738 k
unixODBC-devel                x86_64              2.2.11-10.el5                oel5              793 k
unixODBC-libs                 i386                2.2.11-10.el5                oel5              551 k
unixODBC-libs                 x86_64              2.2.11-10.el5                oel5              554 k
Transaction Summary
========================================================================================================
Install      10 Package(s)
Upgrade       0 Package(s)
Total download size: 3.1 M
Is this ok [y/N]: y
Downloading Packages:
--------------------------------------------------------------------------------------------------------
Total                                                                   107 MB/s | 3.1 MB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing     : unixODBC-libs                                                                   1/10
Installing     : unixODBC                                                                        2/10
Installing     : sysstat                                                                         3/10
Installing     : unixODBC-devel                                                                  4/10
Installing     : libaio-devel                                                                    5/10
Installing     : libaio-devel                                                                    6/10
Installing     : unixODBC-libs                                                                   7/10
Installing     : libXp                                                                           8/10
Installing     : unixODBC-devel                                                                  9/10
Installing     : oracle-validated                                                               10/10
Installed:
oracle-validated.x86_64 0:1.1.0-15.el5
Dependency Installed:
libXp.i386 0:1.0.0-8.1.el5                          libaio-devel.i386 0:0.3.106-5
libaio-devel.x86_64 0:0.3.106-5                     sysstat.x86_64 0:7.0.2-11.el5
unixODBC.x86_64 0:2.2.11-10.el5                     unixODBC-devel.i386 0:2.2.11-10.el5
unixODBC-devel.x86_64 0:2.2.11-10.el5               unixODBC-libs.i386 0:2.2.11-10.el5
unixODBC-libs.x86_64 0:2.2.11-10.el5
Complete!
[root@node1 yum.repos.d]#
[BEGIN] 2013-03-20 22:37:24
cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
[root@node1 yum.repos.d]# hostname
node1
[root@node1 yum.repos.d]# cat /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
192.168.1.201 node1
192.168.1.202 node2
192.168.56.201 node1-priv
192.168.56.202 node2-priv
192.168.1.211 node1-vip
192.168.1.212 node2-vip
192.168.1.222 node-cluster-scan
[root@node1 yum.repos.d]# www.online.sh.cn
-bash: www.online.sh.cn: command not found
[root@node1 yum.repos.d]# ping
PING www.online.sh.cn (218.1.64.33) 56(84) bytes of data.
64 bytes from 218.1.64.33: icmp_seq=1 ttl=57 time=2.51 ms
64 bytes from 218.1.64.33: icmp_seq=2 ttl=57 time=4.36 ms
64 bytes from 218.1.64.33: icmp_seq=3 ttl=57 time=4.49 ms
64 bytes from 218.1.64.33: icmp_seq=4 ttl=57 time=3.84 ms
^C
--- www.online.sh.cn ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3006ms
rtt min/avg/max/mdev = 2.511/3.802/4.497/0.788 ms
[root@node1 yum.repos.d]# cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
[root@node1 yum.repos.d]# cat /etc/sysconfig/i18n
LANG="zh_CN.UTF-8"
[root@node1 yum.repos.d]# vi
"/etc/sysconfig/i18n" 1L, 19CLANG="zh_CN.UTF-8"
~                                                                                                       -- INSERT -LANG="zh_CN.UTF-8"LANG=en_US:WQ!\wq!
"/etc/sysconfig/i18n" 2L, 30C written
[root@node1 yum.repos.d]# cat /etc/sysconfig/i18n
LANG=en_US
LANG="zh_CN.UTF-8"
[root@node1 yum.repos.d]# ifconfig  -a
eth0      Link encap:Ethernet  HWaddr 08:00:27:1D:6A:7E
inet addr:192.168.1.201  Bcast:192.168.1.255  Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:4762 errors:0 dropped:0 overruns:0 frame:0
TX packets:4039 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:396568 (387.2 KiB)  TX bytes:826887 (807.5 KiB)
eth1      Link encap:Ethernet  HWaddr 08:00:27:1C:D9:AE
inet addr:192.168.56.201  Bcast:192.168.56.255  Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b)  TX bytes:2567 (2.5 KiB)
lo        Link encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:5642 errors:0 dropped:0 overruns:0 frame:0
TX packets:5642 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8617232 (8.2 MiB)  TX bytes:8617232 (8.2 MiB)
[root@node1 yum.repos.d]# vim /etc/profile
"/etc/profile" 68L, 1344C# /etc/profile
# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc
pathmunge () {if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; thenif [ "$2" = "after" ] ; thenPATH=$PATH:$1elsePATH=$1:$PATHfifi
}
# ksh workaround
if [ -z "$EUID" -a -x /usr/bin/id ]; thenEUID=`id -u`UID=`id -ru`
fi
# Path manipulation
if [ "$EUID" = "0" ]; thenpathmunge /sbinpathmunge /usr/sbinpathmunge /usr/local/sbin
fi1,1Top2,0-13,1  45,0-16,1  7,1-88910,1-8123{}4,1  {}5,0-16,1  78,1-8920,1  1,0-12,1  34,1-8567,1
28,0-12%
# No core files by default29,14%
ulimit -S -c 0 > /dev/null 2>&130,17%
31,0-19%
if [ -x /usr/bin/id ]; then32,112%
USER="`id -un`"33,1-814%
LOGNAME=$USER34,1-817%
MAIL="/var/spool/mail/$USER"35,1-819%
fi36,121%
37,0-124%
HOSTNAME=`/bin/hostname`38,126%
HISTSIZE=100039,129%
40,0-131%
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then41,134%
INPUTRC=/etc/inputrc42,136%
fi43,139%
44,0-141%
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC45,143%
46,0-146%
# By default, we want umask to get set. This sets it for login shell47,148%
# Current threshold for system reserved uid/gids is 20048,151%
# You could check uidgid reservation validity in49,153%
# /usr/share/doc/setup-*/uidgid file50,156%
if [ $UID -gt 99 ] && [ "`id -gn`" = "`id -un`" ]; then51,158%
umask 00252,160%
else53,163%
umask 02254,165%
fi55,168%
56,0-170%
for i in /etc/profile.duidgid file
if [ $UID -gt 99 ] && [ "`id -gn`" = "`id -un`" ]; then
umask 002
else
umask 022
fi
for i in /etc/profile.d/*.sh ; do
if [ -r "$i" ]; then
if [ "${-#*i}" != "$-" ]; then
. $i
else
. $i >/dev/null 2>&1
fi
fi
done
unset i
unset pathmunge
if [ $USER = "oracle" ] || [ $USER = "grid" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
umask 022
fi
[root@node1 yum.repos.d]# vim /etc/csh.login
"/etc/csh.login" 35L, 823C# /etc/csh.login
# System wide environment and startup programs, for login setup
if ($?PATH) then
#do not override user specified PATH
elseif ( $uid == 0 ) thensetenv PATH "/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin"elsesetenv PATH "/bin:/usr/bin:/usr/local/bin"endif
endif
setenv HOSTNAME `/bin/hostname`
set history=1000
if ( ! -f $HOME/.inputrc ) thensetenv INPUTRC /etc/inputrc
endif
if ( -d /etc/profile.d ) thenset nonomatchforeach i ( /etc/profile.d/*.csh )if ( -r $i ) thenif ($?prompt) thensource $i1,1Topelsesource $i >& /dev/nullendifendifendunset i nonomatch
endif35,0-1Bot
-- INSERT --35,1Bot
36,1Bot#2 32c3h4a5n6g7e8
37,1Botif ( $USER = "oracle" || $USER = "grid" ) then
limit maxproc 16384
limit descriptors 65536
endif40,6Bot40,5Bot:wq!
"/etc/csh.login" 40L, 928C written
[root@node1 yum.repos.d]# cat
# /etc/csh.login
# System wide environment and startup programs, for login setup
if ($?PATH) then
#do not override user specified PATH
else
if ( $uid == 0 ) then
setenv PATH "/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin"
else
setenv PATH "/bin:/usr/bin:/usr/local/bin"
endif
endif
setenv HOSTNAME `/bin/hostname`
set history=1000
if ( ! -f $HOME/.inputrc ) then
setenv INPUTRC /etc/inputrc
endif
if ( -d /etc/profile.d ) then
set nonomatch
foreach i ( /etc/profile.d/*.csh )
if ( -r $i ) then
if ($?prompt) then
source $i
else
source $i >& /dev/null
endif
endif
end
unset i nonomatch
endif
#change
if ( $USER = "oracle" || $USER = "grid" ) then
limit maxproc 16384
limit descriptors 65536
endif
[root@node1 yum.repos.d]# cat /etc/sysconfig/ntpd
# Drop root to id 'ntp:ntp' by default.
OPTIONS=" -x -u ntp:ntp -p /var/run/ntpd.pid"
# Set to 'yes' to sync hw clock after successful ntpdate
SYNC_HWCLOCK=no
# Additional options for ntpdate
NTPDATE_OPTIONS=""
[root@node1 yum.repos.d]# chkconfig --level 35 ntpd
only one runlevel may be specified for a chkconfig query
[root@node1 yum.repos.d]# chkconfig --level 35 ntpd on
[root@node1 yum.repos.d]# service ntpd restart
Shutting down ntpd: [  OK  ]
ntpd: Synchronizing with time server: [  OK  ]
Starting ntpd: [  OK  ]
[root@node1 yum.repos.d]# init 0
[root@node1 yum.repos.d]#
Connection closed by foreign host.
Type `help' to learn how to use Xshell prompt.
Xshell:\>

--在虚拟机中安装最好的好处就是克隆;根据节点一去克隆节点二
以下是node2节点要注意的地方:
主要注意网络这块的修改。
# vim /etc/sysconfig/network-scripts/ifcfg-eth0
# vim /etc/sysconfig/network-scripts/ifcfg-eth1
# service network restart
# hostname
[root@node2 ~]# id oracle
uid=501(oracle) gid=6000(oinstall) groups=6000(oinstall),5001(asmdba),6001(dba)
[root@node2 ~]# id grid
uid=500(grid) gid=6000(oinstall) groups=6000(oinstall),5000(asmadmin),5001(asmdba),5002(asmoper)
[root@node2 ~]# hostname
node2
[root@node2 ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:1D:6A:7E
inet addr:192.168.1.202  Bcast:192.168.1.255  Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:457 errors:0 dropped:0 overruns:0 frame:0
TX packets:239 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:37274 (36.4 KiB)  TX bytes:25202 (24.6 KiB)
eth1      Link encap:Ethernet  HWaddr 08:00:27:1C:D9:AE
inet addr:192.168.56.202  Bcast:192.168.56.255  Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:360 (360.0 b)  TX bytes:7591 (7.4 KiB)
lo        Link encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:5690 errors:0 dropped:0 overruns:0 frame:0
TX packets:5690 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8316468 (7.9 MiB)  TX bytes:8316468 (7.9 MiB)
[root@node2 ~]# su - oracle
[oracle@node2 ~]$ su - grid
口令:
[grid@node2 ~]$ su - root
口令:
[root@node2 ~]# export LANG=en_US

------主要的配置都已完成,下面就是开始做共享存储和安装等信息。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: