公众号的文章下载 wordpress/班级优化大师免费下载安装
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.zip是GRID软件的安装介质。
注意:这里的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 Infrastructure,Next:
④ 选择 advanced Installation,Next:
⑤ 语言选择增加,Simplified Chinese,Next:
⑥ 去掉Configure GNS选项,按照之前2.1节中的表格输入Cluster Name:scan-cluster,SCAN Name:scan-cluster。Next:
⑦ 单击Add,添加第2个节点,Next:
⑧ 确认网络接口,Next:
⑨ 选择ASM,作为存储,Next:
⑩ 输入ASM磁盘组名,这里命名为GRIDDG,冗余策略选择External外部,AU大小选择默认1M,ASM磁盘选择ORCLVOL1,ORCLVOL2。Next:
⑪ 选择给ASM的SYS、ASMSNMP用户配置为相同的口令,并输入口令,Next:
⑫ 选择不使用IPMI,Next:
⑬ 给ASM指定不同的组,Next:
⑭ 选择GRID软件的安装路径,其中ORACLE_BASE,ORACLE_HOME均选择之前已经配置好的,可参照2.5节中的配置信息。这里需要注意GRID软件的ORACLE_HOME不能是ORACLE_BASE的子目录。
⑮ 选择默认的Inventory,Next:
⑯ 检查出现告警,提示在所有节点上缺失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->
⑲ 执行完上述脚本之后,单击OK,Next,进入下一步。
⑳ 最后,单击close,完成GRID软件在双节点上的安装。
至此,GRID集群件安装成功!!!
相关文章:

Oracle+11g+RAC+PSU_EAM(2)
2.15 解压安装介质 在获取开篇1.2节中提到的安装介质如下: [rootebsrac1 ~]# 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_…...

智能出行 驱动未来|2023 开放原子全球开源峰会 CARSMOS 开源智能出行生态年会即将启幕
由开放原子开源基金会主办,元遨 / CARSMOS 开源智能出行项目组协办,深信科创、Futurewei Technologies、Open Motors、北极雄芯等单位共同承办的 2023 开放原子全球开源峰会 “CARSMOS 开源智能出行生态年会” 将于 6 月 12 日在北京经开区北人亦创国际会…...

Linux:centos:周期性计划任务管理《crontab》
crontab常用基础属性 -e 编辑计划任务 -l 查看计划任务 -r 删除计划任务 -u 指定用户的计划任务 首先创建一个名为test的用户名 crontab时间规定 格式:分钟 小时 日期 月份 星期 命令 分钟-- 0-59整数 小时 -- 0-23整数 日期 -- 1--31 整数 月份 -- 1-12 整数 星期…...

克拉默法则证明(Cramer‘s Rule)
若 n 个方程 n 个未知量构成的非齐次线性方程组: { a 11 x 1 a 12 x 2 . . . a 1 n x n b 1 a 21 x 1 a 22 x 2 . . . a 2 n x n b 2 . . . . . . a n 1 x 1 a n 2 x 2 . . . a n n x n b n \begin{equation*} \begin{cases} a_{11}x_{1} a_ {12}x_{2}…...

【接口防刷】处理方案
【接口防刷】 欢迎使用【接口防刷】常见的处理方案访问次数和频率限制验证码校验登录校验机制数据交互加密异常监测机制附录 欢迎使用【接口防刷】常见的处理方案 接口防刷处理方案是指为了防止恶意攻击或非法数据采集,采取一系列技术措施来保护接口数据的安全和完…...

安装Linux-SUSE操作系统
文章目录 一、安装Linux-SUSE系统1、环境准备2、SUSE 镜像的下载2.1、下载企业服务器2.2、ARM和桌面的ISO 3、安装SUSE4、配置本地 yum 源5、SUSE常用安装命令6、在 SUSE系统上安装mysql数据库步骤:7、破解SUSE系统root密码 一、安装Linux-SUSE系统 1、环境准备 操…...

二、机器人的结构设计
1 、螺丝连接的坚固性 坚固性是机器人能顺利完成指定任务的一个重要条件,无论我们程序设计的如何完美, 如果不能保证机器人具有坚固性和稳定性,就无法保证任务的顺利完成,机器人在运行时如 果发生散架和分裂都会影响其功能的实现…...

UITableView学习笔记
看TableView的资料其实已经蛮久了,一直想写点儿东西,却总是因为各种原因拖延,今天晚上有时间静下心来记录一些最近学习的TableView的知识。下面进入正题,UITableView堪称UIKit里面最复杂的一个控件了,使用起来不算难&a…...

Nginx反向代理与负载均衡
简介 Nginx 是一款高性能、轻量级的 Web 服务器软件,常用于反向代理和负载均衡。以下是 Nginx 反向代理和负载均衡的基本原理和实现方式 1、反向代理 当客户端请求访问一个 Web 服务器时,首先会发送请求到 Nginx,然后 Nginx 将请求转…...

Delaunay三角剖分学习笔记
文章目录 Delaunay三角剖分学习笔记1 Voronoi \text{Voronoi} Voronoi图1.1 定义与性质 2 三角剖分2.1 定义与性质2.2 质量(quality)评定标准 3 Delaunay三角剖分3.1 定义3.2 准则与性质 4 Delaunay三角剖分算法4.1 Bowyer-Watson算法4.1.1 算法步骤:4.1.2 算法伪代…...

@Resource和@Autowired的区别
1.相同点 Resource和Autowired这两个注解的作用都是在Spring生态里面去实现Bean的依赖注入 2.不同点 2.1 Autowired 首先,Autowired是Spring里面提供的一个注解,默认是根据类型来实现Bean的依赖注入。 Autowired注解里面有一个required属性默认值是t…...

linux达梦数据库的安装与卸载
一、安装 创建dmdba用户及用户组 创建安装目录: mkdir -p /dm8 创建组 :groupadd dinstall 创建用户 :useradd -g dinstall dmdba 设置密码 :passwd dmdba 创建文件夹:mkdir /dmdata 更改安装目录所有者: c…...

生成式模型的质量评估标准
Sample Quality Matrix 如何评价生成式模型的效果?ISFIDsFIDPrecision & RecallPrecisonRecall计算precision和recall 如何评价生成式模型的效果? Quality: 真实性(逼真,狗咬有四条腿) Diversity: 多样性&#x…...

pinpoint安装部署(相关博客合集)
pinpoint安装部署 说明一、PinPoint介绍及工作原理1.1 确定部署的组件及服务 二、相关组件版本兼容情况2.1 确定版本 三、部署3.1 HBASE3.2 agent 说明 本博客写在搭建PinPoint之前,主要是用来记录查阅的相关博客资料,等到动手搭建完再更新实际部署操作…...

python-匿名函数(lambda函数)
匿名函数(lambda函数) 匿名函数(也称为lambda函数)是一种在代码中定义临时函数的方式,它没有明确的函数名称。匿名函数通常用于需要简短、一次性的函数定义,特别是在处理函数作为参数传递或函数返回的情况…...

JS逆向常见情况
分类:JS压缩混淆加密 与 URL/API参数的加密 代码压缩:去除不必要的空格换行等内容,使源码变成几行,大大降低可读性并提升网站加载速度 代码混淆:使用变量替换、字符串阵列化、控制流平坦化、多态变异、僵尸函数…...

利用matlab对滤波器频率特性分析
【设计目标】对双二阶环路滤波器进行时频域分析和处理的基本方法 【设计工具】MATLAB【设计要求】 1)分析典型的双二阶环路滤波器电路:低通、高通、带通、带阻 2)理论分析各滤波电路的系统函数 3)利用Matlab分析各滤波电路的系统函数的频率特性(幅频、相频)、零极点分…...

对比 RS232,RS422,RS485
对比 RS232,RS422,RS485 首先, 串口、UART口、COM口、RJ45网口、USB口是指的物理接口形式(硬件)。TTL、RS-232、RS-485、RS-422是指的电平标准(电信号)。 RS232,RS422,RS485 对比表格 通信标准RS-232RS-422RS-485工作方式单端差分差分通信线数量4 地线52 地线3节…...
python使用requests+excel进行接口自动化测试(建议收藏)
前言 在当今的互联网时代中,接口自动化测试越来越成为软件测试的重要组成部分。Python是一种简单易学,高效且可扩展的语言,自然而然地成为了开发人员的首选开发语言。而requests和xlwt这两个常用的Python标准库,能够帮助我们轻松…...

华为OD机试真题 Java 实现【食堂供餐】【2023 B卷 考生抽中题】,附详细解题思路
一、题目描述 某公司员工食堂以盒饭的方式供餐。 为将员工取餐排队时间降为0,食堂的供餐速度必须要足够快。 现在需要根据以往员工取餐的统计信息,计算出一个刚好能达到排队时间为0的最低供餐速度。 即,食堂在每个单位时间内必须至少做出多少份盒饭才能满足要求。 二、…...

一分钟学一个 Linux 命令 - cd
前言 大家好,我是 god23bin。欢迎来到这个系列,每天只需一分钟,记住一个 Linux 命令不成问题。今天让我们从 cd 命令开始,掌握在 Linux 系统中切换目录的技巧。 什么是 cd 命令? cd 命令来自这么一个词语࿰…...

vi(vim)常用命令汇总
vim ~/.vimrc vim.vimrc 配置 set nobackup set cursorline #当前行 set cc100 #分屏线 set number set laststatus2 syntax on colorscheme delek 快速移动光标 w(e) 移动光标到下一个单词 b 移动光标到上一个单词 0 移动光标到本行最开头 ^ 移动光标到本行最开头的字符…...

模特信息管理系统的开发与实现(ASP.NET,SQLServer)
需求分析 模特信息管理系统主要给商家和模特用户提供服务,系统分为前台和后台两部分。 本研究课题重点主要包括:活动管理,商家管理,模特管理,系统公告管理和活动报名管理。 活动管理模块主要实现活动更新、活动添加、活…...

文件上传漏洞
<1>概述 漏洞产生原因:服务端代码未对客户端上传的文件进行严格的验证和过滤,就容易造成可以上传任意文件的情况。 <2>文件上传绕过 (1)js检测绕过 1.删除js中检测文件的代码; 2.上传的文件改为允许的后缀绕过js检测后再抓包…...

前端还是后端,该怎么选择
在计算机科学领域,前端和后端是两个常见的方向,它们各自拥有独特的特点和职责。本文将对前端和后端进行比较,并总结哪些人适合前端,哪些人适合后端。 一、前端 前端开发主要涉及构建用户界面,处理用户交互和用户体验…...

【Python】Python系列教程-- Python3 循环语句(十七)
文章目录 前言while 循环无限循环while 循环使用 else 语句简单语句组for 语句for...elserange() 函数break 和 continue 语句及循环中的 else 子句pass 语句 前言 往期回顾: Python系列教程–Python3介绍(一)Python系列教程–Python3 环境…...

chatgpt赋能python:Python如何变为列表
Python如何变为列表 Python是一种高级编程语言,用于快速、轻松地编写软件。它的语法简洁、易于学习,可以用于各种领域,包括Web开发、机器学习和数据科学等。其中,列表是Python的一种基本数据类型,它用于存储一系列相关…...

高频面试八股文用法篇(二) hive中几种排序类型区别
目录 排序函数 1、order by 2、sort by 3、distribute by 4、cluster by 总结 排序类型 1、order by order by是与关系型数据库的用法是一样的。select * from emp order by empno desc; 针对全局数据进行排序,所以最终只会有1个reduce,因…...

linuxOPS基础_linux umask
1、什么是umask umask表示创建文件时的默认权限(即创建文件时不需要设置而天生的权限) 例如: root用户下,touch a ,文件a的默认权限是644 普通用户下,touch b ,文件b的默认权限是664 644和…...

K8s基础核心
Kubernetes (K8s) 是一个用于自动化部署、扩展和管理容器化应用程序的开源平台。下面是 Kubernetes 的一些核心概念: Pod(容器组):Pod 是 Kubernetes 中最小的可调度和管理的单元 ,它可以包含一个或多个相关的容器。这…...