Oracle+11g+RAC+PSU_EAM(2)

这篇具有很好参考价值的文章主要介绍了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集群件安装成功!!!文章来源地址https://www.toymoban.com/news/detail-469890.html

到了这里,关于Oracle+11g+RAC+PSU_EAM(2)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • ORACLE 11.2.0.4 RAC Cluster not starting cssd with Cannot get GPnP profile

          最近,处理一次oracle 11.2.0.4 rac cluster由于cssd无法启动,导致集群一个节点的CRS集群无法正常启动的故障。原本,计划变更是从ASM剔除磁盘,解除存储到数据库服务器的映射;磁盘已经成功从ASM剔除,也已经成功从存储解除到操作系统的映射,为了验证磁盘剔除是否对集

    2024年02月09日
    浏览(36)
  • Linux7 安装 Oracle 19C RAC 详细图文教程

    本文是按照:https://www.modb.pro/db/154424的思路进行编写 安装RAC前,当然要先做好规划。具体包含以下几方面: 节点 主机版本 主机名 实例名 Grid/Oracle版本 Public IP Private IP Virtual IP Scan IP 1 rhel7.9 p19c01 p19c01 19.11.0.0 192.168.134.232 1.1.1.1 192.168.134.234 192.168.134.236 2 rhel7.9 p19c02 p19c02 19.11

    2024年02月19日
    浏览(39)
  • 历史遗留问题-Oracle 19c RAC 安装时节点连接性问题

    测试服务器的二节点数据库宕掉了,原因不明,需要产环境重新安装。我想上次在自己虚拟机安装实验过一次,应该一天能搞定,事实证明,你永远有学不完的bug!!!! 首先查看一下系统的基本信息,按理说应该没什么问题,但是还好检查了 发现节点二的Oracle 环境变量都

    2024年04月26日
    浏览(33)
  • VMware虚拟机19c RAC+Oracle Linux 7.9安装手册

    目录 第一章 整体规划 1.1 拓扑结构 1.2 主机规划信息 1.3 IP规划信息 1.4 存储规划信息 1.5 数据库规划信息 整体数据库安装规划 第二章 操作系统安装及配置 2.1 创建虚拟机 2.2 OS安装 2.2.1 服务器配置信息表 2.2.2 安装注意事项 2.3 OS配置 2.3.1 ip地址配置 2.3.2 hosts解析文件配置 2.3

    2024年02月04日
    浏览(46)
  • 【新课上架】安装部署系列Ⅲ—Oracle 19c Data Guard部署之两节点RAC部署实战

    01 课程介绍 Oracle Real Application Clusters (RAC) 是一种跨多个节点分布数据库的企业级解决方案。它使组织能够通过实现容错和负载平衡来提高可用性和可扩展性,同时提高性能。本课程基于当前主流版本Oracle 19c+OEL7.9解析如何搭建2节点RAC对1节点单机的DATA GUARD搭建,让学员快速掌

    2024年01月25日
    浏览(45)
  • 【Oracle】Oracle系列十八--Oracle RAC

    【Oracle】Oracle系列之一–Oracle数据类型 【Oracle】Oracle系列之二–Oracle数据字典 【Oracle】Oracle系列之三–Oracle字符集 【Oracle】Oracle系列之四–用户管理 【Oracle】Oracle系列之五–Oracle表空间 【Oracle】Oracle系列之六–Oracle表分区 【Oracle】Oracle系列之七–表的创建与管理 【Oracl

    2024年02月07日
    浏览(37)
  • 【Oracle篇】Oracle集群-rac模式

    RAC(real application clusters) 整个集群系统又分为 oracle Clusterware (集群就绪软件)和 Real Application(RA) 两大部分组成。 基本架构 rac 是 Oracle 数据库的高可用集群。传统数据库一个实例一个数据库, RAC 是多个实例,一个数据库,多个实例之间共享一个数据库,但不是分布式。 RAC的优

    2024年02月05日
    浏览(46)
  • Oracle配置方案-RAC

    基本的Oracle RAC配置方案的具体步骤: 硬件准备: 确保服务器满足Oracle RAC的硬件要求,包括适当的CPU、内存和存储配置。 配置共享存储:使用共享存储(如SAN或NAS)来存储数据库文件,确保所有节点都可以访问相同的存储。 软件准备: 安装Oracle Grid Infrastructure: 安装Oracl

    2024年02月03日
    浏览(76)
  • oracle rac-归档满处理

    有客户反馈数据库无法使用了,客户手动启动报错如下 SQL startup; ORACLE instance started. Total System Global Area 2.6924E+10 bytes Fixed Size            2265984 bytes Variable Size         1.3959E+10 bytes Database Buffers     1.2952E+10 bytes Redo Buffers           11202560 bytes Database mounted. ORA-16038: l

    2024年02月08日
    浏览(40)
  • Oracle 19c RAC集群相关日志

    在Oracle数据库中,重做日志记录了数据库发生的所有修改操作,包括数据的插入,更新和删除。 在RAC的环境中,每个实例都有自己的重做日志组(redo log group)。这些日志组通常存储在共享设备上,以确保所有节点上的实例都可以访问到。 多个实例可以并发的写入重做日志,

    2024年04月16日
    浏览(52)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包