Oracle+11g+RAC+PSU_EAM(2)

2.15 解压安装介质

在获取开篇1.2节中提到的安装介质如下:

[root@ebsrac1 ~]# ls -l

-rw-r–r– 1 root root 1358454646 Apr 20 16:22 p13390677_112040_Linux-x86-64_1of7.zip

-rw-r–r– 1 root root 1142195302 Apr 20 16:29 p13390677_112040_Linux-x86-64_2of7.zip

-rw-r–r– 1 root root  979195792 Apr 20 17:07 p13390677_112040_Linux-x86-64_3of7.zip

 [root@ebsrac1 ~]# 

其中:

p13390677_112040_Linux-x86-64_1of7.zip

p13390677_112040_Linux-x86-64_2of7.zip

Oracle软件的安装介质。

p13390677_112040_Linux-x86-64_3of7.zipGRID软件的安装介质。

注意:这里的3个软件包均是来源于MetaLink网站,其版本均是目前Oracle 11g的最新版本,11.2.0.4.0。如果没有MetaLink账号的话,也可以从oracle官方网站免费获取11.2.0.1.0的版本软件来进行安装和配置。

我们通过下述命令来解压上述3个压缩软件包:

[root@ebsrac1 ~]# unzip p13390677_112040_Linux-x86-64_1of7.zip 

[root@ebsrac1 ~]# unzip p13390677_112040_Linux-x86-64_2of7.zip

[root@ebsrac1 ~]# unzip p13390677_112040_Linux-x86-64_3of7.zip  

解压之后,信息如下:

[root@ebsrac1 app]# ls -l

total 8

drwxrwxr-x 3 grid   oinstall 4096 Dec 29 04:30 grid

drwxrwxr-x 3 oracle oinstall 4096 Dec 29 04:30 oracle

可以看到,数据库的安装文件2.5G大小,GRID软件的安装1.1GB

2.16 安装前预检查配置信息(如果之前设置过ssh,这里可以检测下,如果没设置请直接安装)

在安装 GRID之前,建议先利用CVU(Cluster Verification Utility)检查 CRS的安装前环境。

  •  使用 CVU 检查CRS的安装前环境:

su – grid

ebsrac1->  ./runcluvfy.sh stage -pre crsinst -n ebsrac1,ebsrac2 -fixup -verbose

Performing pre-checks for cluster services setup

Checking node reachability...

Check: Node reachability from node "ebsrac1"

  Destination Node                      Reachable?             

  ------------------------------------  ------------------------

  ebsrac2                                  yes                     

  ebsrac1                                  yes                    

Result: Node reachability check passed from node "ebsrac1"

Checking user equivalence...

Check: User equivalence for user "grid"

  Node Name                             Status                  

  ------------------------------------  ------------------------

  ebsrac2                                  passed                 

  ebsrac1                                  passed                 

Result: User equivalence check passed for user "grid"

Checking node connectivity...

Checking hosts config file...

  Node Name                             Status                 

  ------------------------------------  ------------------------

  ebsrac2                                  passed                 

  ebsrac1                                  passed                 

Verification of the hosts config file successful

Interface information for node "ebsrac2"

 Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU  

 ------ --------------- --------------- --------------- --------------- ----------------- ------

 eth0   192.168.1.7     192.168.1.0     0.0.0.0         192.168.1.1     00:0C:29:A1:C1:2F 1500 

 eth1   192.168.35.77   192.168.35.0    0.0.0.0         192.168.1.1     00:0C:29:A1:C1:39 1500 

Interface information for node "ebsrac1"

 Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU  

 ------ --------------- --------------- --------------- --------------- ----------------- ------

 eth0   192.168.1.6     192.168.1.0     0.0.0.0         192.168.1.1     00:0C:29:38:70:C6 1500 

 eth1   192.168.35.66   192.168.35.0    0.0.0.0         192.168.1.1     00:0C:29:38:70:D0 1500 

Check: Node connectivity of subnet "192.168.1.0"

  Source                          Destination                     Connected?     

  ------------------------------  ------------------------------  ----------------

  ebsrac2[192.168.1.7]               ebsrac1[192.168.1.6]               yes            

Result: Node connectivity passed for subnet "192.168.1.0" with node(s) ebsrac2,ebsrac1

Check: TCP connectivity of subnet "192.168.1.0"

  Source                          Destination                     Connected?     

  ------------------------------  ------------------------------  ----------------

  ebsrac1:192.168.1.6                ebsrac2:192.168.1.7                passed         

Result: TCP connectivity check passed for subnet "192.168.1.0"

Check: Node connectivity of subnet "192.168.35.0"

  Source                          Destination                     Connected?     

  ------------------------------  ------------------------------  ----------------

  ebsrac2[192.168.35.77]             ebsrac1[192.168.35.66]             yes            

Result: Node connectivity passed for subnet "192.168.35.0" with node(s) ebsrac2,ebsrac1

Check: TCP connectivity of subnet "192.168.35.0"

  Source                          Destination                     Connected?     

  ------------------------------  ------------------------------  ----------------

  ebsrac1:192.168.35.66              ebsrac2:192.168.35.77              passed         

Result: TCP connectivity check passed for subnet "192.168.35.0"

Interfaces found on subnet "192.168.1.0" that are likely candidates for VIP are:

ebsrac2 eth0:192.168.1.7

ebsrac1 eth0:192.168.1.6

Interfaces found on subnet "192.168.35.0" that are likely candidates for a private interconnect are:

ebsrac2 eth1:192.168.35.77

ebsrac1 eth1:192.168.35.66

Checking subnet mask consistency...

Subnet mask consistency check passed for subnet "192.168.1.0".

Subnet mask consistency check passed for subnet "192.168.35.0".

Subnet mask consistency check passed.

Result: Node connectivity check passed

Checking multicast communication...

Checking subnet "192.168.1.0" for multicast communication with multicast group "230.0.1.0"...

Check of subnet "192.168.1.0" for multicast communication with multicast group "230.0.1.0" passed.

Checking subnet "192.168.35.0" for multicast communication with multicast group "230.0.1.0"...

Check of subnet "192.168.35.0" for multicast communication with multicast group "230.0.1.0" passed.

Check of multicast communication passed.

Checking ASMLib configuration.

  Node Name                             Status                 

  ------------------------------------  ------------------------

  ebsrac2                                  passed                 

  ebsrac1                                  passed                 

Result: Check for ASMLib configuration passed.

Check: Total memory

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          1.6198GB (1698504.0KB)    1.5GB (1572864.0KB)       passed   

  ebsrac1          1.6198GB (1698504.0KB)    1.5GB (1572864.0KB)       passed   

Result: Total memory check passed

Check: Available memory

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          1.4923GB (1564740.0KB)    50MB (51200.0KB)          passed   

  ebsrac1          1.411GB (1479520.0KB)     50MB (51200.0KB)          passed   

Result: Available memory check passed

Check: Swap space

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          2.9297GB (3071996.0KB)    2.4297GB (2547756.0KB)    passed   

  ebsrac1          2.9297GB (3071996.0KB)    2.4297GB (2547756.0KB)    passed   

Result: Swap space check passed

Check: Free disk space for "ebsrac2:/tmp"

  Path              Node Name     Mount point   Available     Required      Status     

  ----------------  ------------  ------------  ------------  ------------  ------------

  /tmp              ebsrac2          /             18.8877GB     1GB           passed     

Result: Free disk space check passed for "ebsrac2:/tmp"

Check: Free disk space for "ebsrac1:/tmp"

  Path              Node Name     Mount point   Available     Required      Status     

  ----------------  ------------  ------------  ------------  ------------  ------------

  /tmp              ebsrac1          /             18.8609GB     1GB           passed     

Result: Free disk space check passed for "ebsrac1:/tmp"

Check: User existence for "grid"

  Node Name     Status                    Comment                

  ------------  ------------------------  ------------------------

  ebsrac2          passed                    exists(1100)           

  ebsrac1          passed                    exists(1100)           

Checking for multiple users with UID value 1100

Result: Check for multiple users with UID value 1100 passed

Result: User existence check passed for "grid"

Check: Group existence for "oinstall"

  Node Name     Status                    Comment                

  ------------  ------------------------  ------------------------

  ebsrac2          passed                    exists                 

  ebsrac1          passed                    exists                 

Result: Group existence check passed for "oinstall"

Check: Group existence for "dba"

  Node Name     Status                    Comment                

  ------------  ------------------------  ------------------------

  ebsrac2          passed                    exists                 

  ebsrac1          passed                    exists                 

Result: Group existence check passed for "dba"

Check: Membership of user "grid" in group "oinstall" [as Primary]

  Node Name         User Exists   Group Exists  User in Group  Primary       Status     

  ----------------  ------------  ------------  ------------  ------------  ------------

  ebsrac2              yes           yes           yes           yes           passed     

  ebsrac1              yes           yes           yes           yes           passed     

Result: Membership check for user "grid" in group "oinstall" [as Primary] passed

Check: Membership of user "grid" in group "dba"

  Node Name         User Exists   Group Exists  User in Group  Status         

  ----------------  ------------  ------------  ------------  ----------------

  ebsrac2              yes           yes           yes           passed         

  ebsrac1              yes           yes           yes           passed         

Result: Membership check for user "grid" in group "dba" passed

Check: Run level

  Node Name     run level                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          3                         3,5                       passed   

  ebsrac1          3                         3,5                       passed   

Result: Run level check passed

Check: Hard limits for "maximum open file descriptors"

  Node Name         Type          Available     Required      Status         

  ----------------  ------------  ------------  ------------  ----------------

  ebsrac2              hard          65536         65536         passed         

  ebsrac1              hard          65536         65536         passed         

Result: Hard limits check passed for "maximum open file descriptors"

Check: Soft limits for "maximum open file descriptors"

  Node Name         Type          Available     Required      Status         

  ----------------  ------------  ------------  ------------  ----------------

  ebsrac2              soft          1024          1024          passed         

  ebsrac1              soft          1024          1024          passed         

Result: Soft limits check passed for "maximum open file descriptors"

Check: Hard limits for "maximum user processes"

  Node Name         Type          Available     Required      Status         

  ----------------  ------------  ------------  ------------  ----------------

  ebsrac2              hard          16384         16384         passed         

  ebsrac1              hard          16384         16384         passed         

Result: Hard limits check passed for "maximum user processes"

Check: Soft limits for "maximum user processes"

  Node Name         Type          Available     Required      Status         

  ----------------  ------------  ------------  ------------  ----------------

  ebsrac2              soft          2047          2047          passed         

  ebsrac1              soft          2047          2047          passed         

Result: Soft limits check passed for "maximum user processes"

Check: System architecture

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          x86_64                    x86_64                    passed   

  ebsrac1          x86_64                    x86_64                    passed   

Result: System architecture check passed

Check: Kernel version

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          3.8.13-16.2.1.el6uek.x86_64  2.6.32                    passed   

  ebsrac1          3.8.13-16.2.1.el6uek.x86_64  2.6.32                    passed   

Result: Kernel version check passed

Check: Kernel parameter for "semmsl"

  Node Name         Current       Configured    Required      Status        Comment    

  ----------------  ------------  ------------  ------------  ------------  ------------

  ebsrac2              250           250           250           passed         

  ebsrac1              250           250           250           passed         

Result: Kernel parameter check passed for "semmsl"

Check: Kernel parameter for "semmns"

  Node Name         Current       Configured    Required      Status        Comment    

  ----------------  ------------  ------------  ------------  ------------  ------------

  ebsrac2              32000         32000         32000         passed          

  ebsrac1              32000         32000         32000         passed         

Result: Kernel parameter check passed for "semmns"

Check: Kernel parameter for "semopm"

  Node Name         Current       Configured    Required      Status        Comment    

  ----------------  ------------  ------------  ------------  ------------  ------------

  ebsrac2              100           100           100           passed         

  ebsrac1              100           100           100           passed         

Result: Kernel parameter check passed for "semopm"

Check: Kernel parameter for "semmni"

  Node Name         Current       Configured    Required      Status        Comment    

  ----------------  ------------  ------------  ------------  ------------  ------------

  ebsrac2              128           128           128           passed         

  ebsrac1              128           128           128           passed         

Result: Kernel parameter check passed for "semmni"

Check: Kernel parameter for "shmmax"

  Node Name         Current       Configured    Required      Status        Comment    

  ----------------  ------------  ------------  ------------  ------------  ------------

  ebsrac2              2147483648    2147483648    869634048     passed         

  ebsrac1              2147483648    2147483648    869634048     passed         

Result: Kernel parameter check passed for "shmmax"

Check: Kernel parameter for "shmmni"

  Node Name         Current       Configured    Required      Status        Comment    

  ----------------  ------------  ------------  ------------  ------------  ------------

  ebsrac2              4096          4096          4096          passed         

  ebsrac1              4096          4096          4096          passed         

Result: Kernel parameter check passed for "shmmni"

Check: Kernel parameter for "shmall"

  Node Name         Current       Configured    Required      Status        Comment    

  ----------------  ------------  ------------  ------------  ------------  ------------

  ebsrac2              2097152       2097152       2097152       passed         

  ebsrac1              2097152       2097152       2097152       passed         

Result: Kernel parameter check passed for "shmall"

Check: Kernel parameter for "file-max"

  Node Name         Current       Configured    Required      Status        Comment    

  ----------------  ------------  ------------  ------------  ------------  ------------

  ebsrac2              6815744       6815744       6815744       passed         

  ebsrac1              6815744       6815744       6815744       passed         

Result: Kernel parameter check passed for "file-max"

Check: Kernel parameter for "ip_local_port_range"

  Node Name         Current       Configured    Required      Status        Comment    

  ----------------  ------------  ------------  ------------  ------------  ------------

  ebsrac2              between 9000.0 & 65500.0  between 9000.0 & 65500.0  between 9000.0 & 65500.0  passed         

  ebsrac1              between 9000.0 & 65500.0  between 9000.0 & 65500.0  between 9000.0 & 65500.0  passed         

Result: Kernel parameter check passed for "ip_local_port_range"

Check: Kernel parameter for "rmem_default"

  Node Name         Current       Configured    Required      Status        Comment    

  ----------------  ------------  ------------  ------------  ------------  ------------

  ebsrac2              262144        262144        262144        passed         

  ebsrac1              262144        262144        262144        passed         

Result: Kernel parameter check passed for "rmem_default"

Check: Kernel parameter for "rmem_max"

  Node Name         Current       Configured    Required      Status        Comment     

  ----------------  ------------  ------------  ------------  ------------  ------------

  ebsrac2              4194304       4194304       4194304       passed         

  ebsrac1              4194304       4194304       4194304       passed         

Result: Kernel parameter check passed for "rmem_max"

Check: Kernel parameter for "wmem_default"

  Node Name         Current       Configured    Required      Status        Comment    

  ----------------  ------------  ------------  ------------  ------------  ------------

  ebsrac2              262144        262144        262144        passed         

  ebsrac1              262144        262144        262144        passed         

Result: Kernel parameter check passed for "wmem_default"

Check: Kernel parameter for "wmem_max"

  Node Name         Current       Configured    Required      Status        Comment    

  ----------------  ------------  ------------  ------------  ------------  ------------

  ebsrac2              1048586       1048586       1048576       passed         

  ebsrac1              1048586       1048586       1048576       passed         

Result: Kernel parameter check passed for "wmem_max"

Check: Kernel parameter for "aio-max-nr"

  Node Name         Current       Configured    Required      Status        Comment    

  ----------------  ------------  ------------  ------------  ------------  ------------

  ebsrac2              1048576       1048576       1048576       passed         

  ebsrac1              1048576       1048576       1048576       passed         

Result: Kernel parameter check passed for "aio-max-nr"

Check: Package existence for "binutils"

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          binutils-2.20.51.0.2-5.36.el6  binutils-2.20.51.0.2      passed   

  ebsrac1          binutils-2.20.51.0.2-5.36.el6  binutils-2.20.51.0.2      passed   

Result: Package existence check passed for "binutils"

Check: Package existence for "compat-libcap1"

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          compat-libcap1-1.10-1     compat-libcap1-1.10       passed   

  ebsrac1          compat-libcap1-1.10-1     compat-libcap1-1.10       passed   

Result: Package existence check passed for "compat-libcap1"

Check: Package existence for "compat-libstdc++-33(x86_64)"

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          compat-libstdc++-33(x86_64)-3.2.3-69.el6  compat-libstdc++-33(x86_64)-3.2.3  passed   

  ebsrac1          compat-libstdc++-33(x86_64)-3.2.3-69.el6  compat-libstdc++-33(x86_64)-3.2.3  passed   

Result: Package existence check passed for "compat-libstdc++-33(x86_64)"

Check: Package existence for "libgcc(x86_64)"

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          libgcc(x86_64)-4.4.7-4.el6  libgcc(x86_64)-4.4.4      passed   

  ebsrac1          libgcc(x86_64)-4.4.7-4.el6  libgcc(x86_64)-4.4.4      passed   

Result: Package existence check passed for "libgcc(x86_64)"

Check: Package existence for "libstdc++(x86_64)"

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          libstdc++(x86_64)-4.4.7-4.el6  libstdc++(x86_64)-4.4.4   passed   

  ebsrac1          libstdc++(x86_64)-4.4.7-4.el6  libstdc++(x86_64)-4.4.4   passed   

Result: Package existence check passed for "libstdc++(x86_64)"

Check: Package existence for "libstdc++-devel(x86_64)"

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          libstdc++-devel(x86_64)-4.4.7-4.el6  libstdc++-devel(x86_64)-4.4.4  passed   

  ebsrac1          libstdc++-devel(x86_64)-4.4.7-4.el6  libstdc++-devel(x86_64)-4.4.4  passed   

Result: Package existence check passed for "libstdc++-devel(x86_64)"

Check: Package existence for "sysstat"

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          sysstat-9.0.4-22.el6      sysstat-9.0.4             passed   

  ebsrac1          sysstat-9.0.4-22.el6      sysstat-9.0.4             passed   

Result: Package existence check passed for "sysstat"

Check: Package existence for "gcc"

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          gcc-4.4.7-4.el6           gcc-4.4.4                 passed   

  ebsrac1          gcc-4.4.7-4.el6           gcc-4.4.4                 passed   

Result: Package existence check passed for "gcc"

Check: Package existence for "gcc-c++"

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          gcc-c++-4.4.7-4.el6       gcc-c++-4.4.4             passed   

  ebsrac1          gcc-c++-4.4.7-4.el6       gcc-c++-4.4.4             passed   

Result: Package existence check passed for "gcc-c++"

Check: Package existence for "ksh"

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          ksh-20120801-10.el6       ksh-20100621              passed   

  ebsrac1          ksh-20120801-10.el6       ksh-20100621              passed   

Result: Package existence check passed for "ksh"

Check: Package existence for "make"

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          make-3.81-20.el6          make-3.81                 passed   

  ebsrac1          make-3.81-20.el6          make-3.81                 passed   

Result: Package existence check passed for "make"

Check: Package existence for "glibc(x86_64)"

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          glibc(x86_64)-2.12-1.132.el6  glibc(x86_64)-2.12        passed   

  ebsrac1          glibc(x86_64)-2.12-1.132.el6  glibc(x86_64)-2.12        passed   

Result: Package existence check passed for "glibc(x86_64)"

Check: Package existence for "glibc-devel(x86_64)"

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          glibc-devel(x86_64)-2.12-1.132.el6  glibc-devel(x86_64)-2.12  passed   

  ebsrac1          glibc-devel(x86_64)-2.12-1.132.el6  glibc-devel(x86_64)-2.12  passed   

Result: Package existence check passed for "glibc-devel(x86_64)"

Check: Package existence for "libaio(x86_64)"

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          libaio(x86_64)-0.3.107-10.el6  libaio(x86_64)-0.3.107    passed   

  ebsrac1          libaio(x86_64)-0.3.107-10.el6  libaio(x86_64)-0.3.107    passed   

Result: Package existence check passed for "libaio(x86_64)"

Check: Package existence for "libaio-devel(x86_64)"

  Node Name     Available                 Required                  Status   

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          libaio-devel(x86_64)-0.3.107-10.el6  libaio-devel(x86_64)-0.3.107  passed   

  ebsrac1          libaio-devel(x86_64)-0.3.107-10.el6  libaio-devel(x86_64)-0.3.107  passed   

Result: Package existence check passed for "libaio-devel(x86_64)"

Checking for multiple users with UID value 0

Result: Check for multiple users with UID value 0 passed

Check: Current group ID

Result: Current group ID check passed

Starting check for consistency of primary group of root user

  Node Name                             Status                 

  ------------------------------------  ------------------------

  ebsrac2                                  passed                 

  ebsrac1                                  passed                  

Check for consistency of root user's primary group passed

Starting Clock synchronization checks using Network Time Protocol(NTP)...

NTP Configuration file check started...

Network Time Protocol(NTP) configuration file not found on any of the nodes. Oracle Cluster Time Synchronization Service(CTSS) can be used instead of NTP for time synchronization on the cluster nodes

No NTP Daemons or Services were found to be running

Result: Clock synchronization check using Network Time Protocol(NTP) passed

Checking Core file name pattern consistency...

Core file name pattern consistency check passed.

Checking to make sure user "grid" is not in "root" group

  Node Name     Status                    Comment                

  ------------  ------------------------  ------------------------

  ebsrac2          passed                    does not exist         

  ebsrac1          passed                    does not exist         

Result: User "grid" is not part of "root" group. Check passed

Check default user file creation mask

  Node Name     Available                 Required                  Comment  

  ------------  ------------------------  ------------------------  ----------

  ebsrac2          0022                      0022                      passed   

  ebsrac1          0022                      0022                      passed   

Result: Default user file creation mask check passed

Checking consistency of file "/etc/resolv.conf" across nodes

Checking the file "/etc/resolv.conf" to make sure only one of domain and search entries is defined

File "/etc/resolv.conf" does not have both domain and search entries defined

Checking if domain entry in file "/etc/resolv.conf" is consistent across the nodes...

domain entry in file "/etc/resolv.conf" is consistent across nodes

Checking if search entry in file "/etc/resolv.conf" is consistent across the nodes...

search entry in file "/etc/resolv.conf" is consistent across nodes

Checking file "/etc/resolv.conf" to make sure that only one search entry is defined

All nodes have one search entry defined in file "/etc/resolv.conf"

Checking all nodes to make sure that search entry is "oracle.com" as found on node "ebsrac2"

All nodes of the cluster have same value for 'search'

Checking DNS response time for an unreachable node

  Node Name                             Status                 

  ------------------------------------  ------------------------

  ebsrac2                                  passed                 

  ebsrac1                                  passed                 

The DNS response time for an unreachable node is within acceptable limit on all nodes

File "/etc/resolv.conf" is consistent across nodes

Check: Time zone consistency

Result: Time zone consistency check passed

Pre-check for cluster services setup was successful.

如果从上面的预检查结果中有看到不成功, Oracle自动给我们提供的修复的脚本,根据上述提示,分别以root用户在两个节点上执行/tmp/CVU_11.2.0.4.0_grid/runfixup.sh脚本来修复,这里会出现DNS错误,不用理会,是以为我们使用/etc/hosts 解析scan-ip 导致。

 

直到此步骤,我们的安装环境已经完全准备OK!!!

3 安装Grid Infrastructure

从此步骤开始,我们正式安装Grid软件:

  •  grid用户登录图形界面,执行/u01/soft/grid/runInstaller,进入OUI的图形安装界面:

 

② 进入OUI安装界面后,选择第3项,跳过软件更新,Next

③ 选择集群的Grid InfrastructureNext

④ 选择 advanced InstallationNext

⑤ 语言选择增加,Simplified ChineseNext

⑥ 去掉Configure GNS选项,按照之前2.1节中的表格输入Cluster Name:scan-cluster,SCAN Namescan-clusterNext

 单击Add,添加第2个节点,Next

 确认网络接口,Next

 选择ASM,作为存储,Next

 

 输入ASM磁盘组名,这里命名为GRIDDG,冗余策略选择External外部,AU大小选择默认1MASM磁盘选择ORCLVOL1ORCLVOL2Next

 选择给ASM的SYSASMSNMP用户配置为相同的口令,并输入口令,Next

 选择不使用IPMINext

 ASM指定不同的组,Next

    

 选择GRID软件的安装路径,其中ORACLE_BASE,ORACLE_HOME均选择之前已经配置好的,可参照2.5节中的配置信息。这里需要注意GRID软件的ORACLE_HOME不能是ORACLE_BASE的子目录。

 选择默认的InventoryNext

 检查出现告警,提示在所有节点上缺失cvuqdisk-1.0.9-1软件包。

可以选择忽略,直接进入下一步安装。也可以从grid安装文件的rpm目录下获取该RPM包,然后进行安装。

ebsrac1

 

[root@ebsrac1 rpm]# pwd

/u01/soft/grid/rpm

[root@ebsrac1 rpm]# ll

total 12

-rwxr-xr-x 1 root root 8551 Sep 22  2011 cvuqdisk-1.0.9-1.rpm

[root@ebsrac1 rpm]# rpm -ivh cvuqdisk-1.0.9-1.rpm 

Preparing…                ########################################### [100%]

Using default group oinstall to install package

   1:cvuqdisk               ########################################### [100%]

[root@ebsrac1 rpm]# 

ebsrac2

 

 [root@ebsrac2 ~]# rpm -ivh cvuqdisk-1.0.9-1.rpm 

Preparing…                ########################################### [100%]

   1:cvuqdisk               ########################################### [100%]

[root@ebsrac2 ~]# 

在所有节点上安装完cvuqdisk-1.0.9-1软件后,重新执行预检查,不再有警告信息。

 进入安装GRID安装之前的概要信息,Install进行安装:

 根据提示以root用户分别在两个节点上执行脚本:

执行/u01/app/oraInventory/orainstRoot.sh脚本:

ebsrac1

[root@ebsrac1 ~]# /u01/app/oraInventory/orainstRoot.sh 

Changing permissions of /u01/app/oraInventory.

Adding read,write permissions for group.

Removing read,write,execute permissions for world.

 

Changing groupname of /u01/app/oraInventory to oinstall.

The execution of the script is complete.

[root@ebsrac1 ~]#

ebsrac2

[root@ebsrac2 ~]# /u01/app/oraInventory/orainstRoot.sh 

Changing permissions of /u01/app/oraInventory.

Adding read,write permissions for group.

Removing read,write,execute permissions for world.

 

Changing groupname of /u01/app/oraInventory to oinstall.

The execution of the script is complete.

[root@ebsrac2 ~]# 

执行/u01/app/11.2.0/grid/root.sh脚本:

ebsrac1

[root@ebsrac1 grid]# ./root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:

    ORACLE_OWNER= grid

    ORACLE_HOME=  /u01/app/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:

   Copying dbhome to /usr/local/bin ...

   Copying oraenv to /usr/local/bin ...

   Copying coraenv to /usr/local/bin ...

Creating /etc/oratab file...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params

Creating tebsrace directory

User ignored Prerequisites during installation

Installing Tebsrace File Analyzer

OLR initialization - successful

  root wallet

  root wallet cert

  root cert export

  peer wallet

  profile reader wallet

  pa wallet

  peer wallet keys

  pa wallet keys

  peer cert request

  pa cert request

  peer cert

  pa cert

  peer root cert TP

  profile reader root cert TP

  pa root cert TP

  peer pa cert TP

  pa peer cert TP

  profile reader pa cert TP

  profile reader peer cert TP

  peer user cert

  pa user cert

Adding Clusterware entries to upstart

CRS-2672: Attempting to start 'ora.mdnsd' on 'ebsrac1'

CRS-2676: Start of 'ora.mdnsd' on 'ebsrac1' succeeded

CRS-2672: Attempting to start 'ora.gpnpd' on 'ebsrac1'

CRS-2676: Start of 'ora.gpnpd' on 'ebsrac1' succeeded

CRS-2672: Attempting to start 'ora.cssdmonitor' on 'ebsrac1'

CRS-2672: Attempting to start 'ora.gipcd' on 'ebsrac1'

CRS-2676: Start of 'ora.cssdmonitor' on 'ebsrac1' succeeded

CRS-2676: Start of 'ora.gipcd' on 'ebsrac1' succeeded

CRS-2672: Attempting to start 'ora.cssd' on 'ebsrac1'

CRS-2672: Attempting to start 'ora.diskmon' on 'ebsrac1'

CRS-2676: Start of 'ora.diskmon' on 'ebsrac1' succeeded

CRS-2676: Start of 'ora.cssd' on 'ebsrac1' succeeded

ASM created and started successfully.

Disk Group GRIDDG created successfully.

clscfg: -install mode specified

Successfully accumulated necessary OCR keys.

Creating OCR keys for user 'root', privgrp 'root'..

Operation successful.

CRS-4256: Updating the profile

Successful addition of voting disk 2c424c28358c4f80bf13b83a05155991.

Successfully replaced voting disk group with +GRIDDG.

CRS-4256: Updating the profile

CRS-4266: Voting file(s) successfully replaced

##  STATE    File Universal Id                File Name Disk group

--  -----    -----------------                --------- ---------

 1. ONLINE   2c424c28358c4f80bf13b83a05155991 (ORCL:V0L1) [GRIDDG]

Located 1 voting disk(s).

CRS-2672: Attempting to start 'ora.asm' on 'ebsrac1'

CRS-2676: Start of 'ora.asm' on 'ebsrac1' succeeded

CRS-2672: Attempting to start 'ora.GRIDDG.dg' on 'ebsrac1'

CRS-2676: Start of 'ora.GRIDDG.dg' on 'ebsrac1' succeeded

Configure Oracle Grid Infrastructure for a Cluster ... succeeded

ebsrac2

[root@ebsrac2 ~]# /u01/app/11.2.0/grid/root.sh 

Performing root user operation for Oracle 11g 

 

The following environment variables are set as:

    ORACLE_OWNER= grid

    ORACLE_HOME=  /u01/app/11.2.0/grid

 

Enter the full pathname of the local bin directory: [/usr/local/bin]: 

   Copying dbhome to /usr/local/bin 

   Copying oraenv to /usr/local/bin 

   Copying coraenv to /usr/local/bin 

 

 

Creating /etc/oratab file

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params

Creating tebsrace directory

OLR initialization - successful

Adding Clusterware entries to inittab

CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on ebsrac ebsrac1, 

number 1, and is terminating

An active cluster was found during exclusive startup, restarting to join the cluster

Configure Oracle Grid Infrastructure for a Cluster … succeeded

[root@ebsrac2 ~]# 

此时,集群件相关的服务已经启动。当然,ASM实例也将在两个节点上启动。

[root@ebsrac1 ~]# su - grid

ebsrac1-> crs_stat -t

Name           Type           Target    State     Host        

————————————————————

ora.GRIDDG.dg  ora….up.type ONLINE    ONLINE    ebsrac1       

ora….N1.lsnr ora….er.type ONLINE    ONLINE    ebsrac1       

ora.asm        ora.asm.type   ONLINE    ONLINE    ebsrac1       

ora.cvu        ora.cvu.type   ONLINE    ONLINE    ebsrac1       

ora.gsd        ora.gsd.type   OFFLINE   OFFLINE               

ora….network ora….rk.type ONLINE    ONLINE    ebsrac1       

ora….SM1.asm application    ONLINE    ONLINE    ebsrac1       

ora.ebsrac1.gsd  application    OFFLINE   OFFLINE               

ora.ebsrac1.ons  application    ONLINE    ONLINE    ebsrac1       

ora.ebsrac1.vip  ora….t1.type ONLINE    ONLINE    ebsrac1       

ora….SM2.asm application    ONLINE    ONLINE    ebsrac2       

ora.ebsrac2.gsd  application    OFFLINE   OFFLINE               

ora.ebsrac2.ons  application    ONLINE    ONLINE    ebsrac2       

ora.ebsrac2.vip  ora….t1.type ONLINE    ONLINE    ebsrac2       

ora.oc4j       ora.oc4j.type  ONLINE    ONLINE    ebsrac1       

ora.ons        ora.ons.type   ONLINE    ONLINE    ebsrac1       

ora….ry.acfs ora….fs.type ONLINE    ONLINE    ebsrac1       

ora.scan1.vip  ora….ip.type ONLINE    ONLINE    ebsrac1       

ebsrac1-> 

 执行完上述脚本之后,单击OKNext,进入下一步。

 最后,单击close,完成GRID软件在双节点上的安装。

 

至此,GRID集群件安装成功!!!

猜你喜欢

转载自blog.csdn.net/2301_76957510/article/details/131015421