Home Database Mysql Tutorial Solaris 10(x86)构建Oracle 10g RAC之--配置系统环境(2)

Solaris 10(x86)构建Oracle 10g RAC之--配置系统环境(2)

Jun 07, 2016 pm 04:36 PM
oracle solaris Construct environment system Configuration

Solaris10(x86)构建Oracle10gRAC之--配置系统环境(2)系统环境:操作系统:Solaris10(x86-64)Cluster:OracleCRS10.2.0.1.0Oracle:Oracle10.2.0.1.0如图所示

Solaris 10(x86)构建Oracle 10g RAC之--配置系统环境(2)


系统环境:

操作系统:Solaris 10(x86-64)

Cluster: Oracle CRS 10.2.0.1.0

Oracle:  Oracle 10.2.0.1.0


如图所示:RAC 系统架构

wKiom1S_b-OSHjhcAAGktznT6W4920.jpg


一、建立主机之间的信任关系(在所有node)


1、配置主机hosts.equiv文件

[root@node1:/]# cat /etc/hosts.equiv  node1  root node1  oracle node1-vip root node1-vip oracle node1-priv root node1-priv oracle node2  root node2  oracle node2-vip  root node2-vip  oracle node2-priv  root node2-priv  oracle

2、配置Oracle用户.rhosts文件

[oracle@node1:/export/home/oracle]$ cat .rhosts  node1  root node1  oracle node1-vip root node1-vip oracle node1-priv root node1-priv oracle node2  root node2  oracle node2-vip  root node2-vip  oracle node2-priv  root node2-priv  oracle

3、启动相关的服务,验证

[root@node1:/]# svcs -a |grep rlogin disabled       10:05:17 svc:/network/login:rlogin [root@node1:/]# svcadm enable svc:/network/login:rlogin [root@node1:/]# svcadm enable svc:/network/rexec:default [root@node1:/]# svcadm enable svc:/network/shell:default [root@node1:/]# svcs -a |grep rlogin online         11:37:34 svc:/network/login:rlogin [root@node1:/]# su - oracle Oracle Corporation      SunOS 5.10      Generic Patch   January 2005 [oracle@node1:/export/home/oracle]$ rlogin node1 Last login: Wed Jan 21 11:29:36 from node2-priv Oracle Corporation      SunOS 5.10      Generic Patch   January 2005

二、安装CRS前系统环境的检测(在node1)

[oracle@node1:/export/home/oracle]$ unzip 10201_clusterware_solx86_64.zip [oracle@node1:/export/home/oracle/clusterware/cluvfy]$ ./runcluvfy.sh     USAGE: cluvfy [ -help ] cluvfy stage { -list | -help } cluvfy stage {-pre|-post}    [-verbose] cluvfy comp  { -list | -help } cluvfy comp     [-verbose] [oracle@node1:/export/home/oracle/clusterware/cluvfy]$ ./runcluvfy.sh stage -pre crsinst -n node1,node2 -verbose Performing pre-checks for cluster services setup  Checking node reachability... Check: Node reachability from node "node1"   Destination Node                      Reachable?                 ------------------------------------  ------------------------   node1                                 yes                        node2                                 yes                      Result: Node reachability check passed from node "node1". Checking user equivalence... Check: User equivalence for user "oracle"   Node Name                             Comment                    ------------------------------------  ------------------------   node2                                 passed                     node1                                 passed                   Result: User equivalence check passed for user "oracle". Checking administrative privileges... Check: Existence of user "oracle"   Node Name     User Exists               Comment                    ------------  ------------------------  ------------------------   node2         yes                       passed                     node1         yes                       passed                   Result: User existence check passed for "oracle". Check: Existence of group "oinstall"   Node Name     Status                    Group ID                   ------------  ------------------------  ------------------------   node2         exists                    200                        node1         exists                    200                      Result: Group existence check passed for "oinstall". Check: Membership of user "oracle" in group "oinstall" [as Primary]   Node Name         User Exists   Group Exists  User in Group  Primary       Comment        ----------------  ------------  ------------  ------------  ------------  ------------   node2             yes           yes           yes           yes           passed         node1             yes           yes           yes           yes           passed       Result: Membership check for user "oracle" in group "oinstall" [as Primary] passed. Administrative privileges check passed. Checking node connectivity... Interface information for node "node2"   Interface Name                  IP Address                      Subnet             ------------------------------  ------------------------------  ----------------   e1000g0                         192.168.8.12                    192.168.8.0        e1000g1                         10.10.10.12                     10.10.10.0       Interface information for node "node1"   Interface Name                  IP Address                      Subnet             ------------------------------  ------------------------------  ----------------   e1000g0                         192.168.8.11                    192.168.8.0        e1000g1                         10.10.10.11                     10.10.10.0       Check: Node connectivity of subnet "192.168.8.0"   Source                          Destination                     Connected?         ------------------------------  ------------------------------  ----------------   node2:e1000g0                   node1:e1000g0                   yes              Result: Node connectivity check passed for subnet "192.168.8.0" with node(s) node2,node1. Check: Node connectivity of subnet "10.10.10.0"   Source                          Destination                     Connected?         ------------------------------  ------------------------------  ----------------   node2:e1000g1                   node1:e1000g1                   yes              Result: Node connectivity check passed for subnet "10.10.10.0" with node(s) node2,node1. Suitable interfaces for the private interconnect on subnet "192.168.8.0": node2 e1000g0:192.168.8.12 node1 e1000g0:192.168.8.11 Suitable interfaces for the private interconnect on subnet "10.10.10.0": node2 e1000g1:10.10.10.12 node1 e1000g1:10.10.10.11 ERROR:  Could not find a suitable set of interfaces for VIPs. Result: Node connectivity check failed. ---vip 网络检测失败 Checking system requirements for 'crs'... Check: Total memory    Node Name     Available                 Required                  Comment      ------------  ------------------------  ------------------------  ----------   node2         1.76GB (1843200KB)        512MB (524288KB)          passed       node1         1.76GB (1843200KB)        512MB (524288KB)          passed     Result: Total memory check passed. Check: Free disk space in "/tmp" dir   Node Name     Available                 Required                  Comment      ------------  ------------------------  ------------------------  ----------   node2         3GB (3150148KB)           400MB (409600KB)          passed       node1         2.74GB (2875128KB)        400MB (409600KB)          passed     Result: Free disk space check passed. Check: Swap space    Node Name     Available                 Required                  Comment      ------------  ------------------------  ------------------------  ----------   node2         2GB (2096476KB)           512MB (524288KB)          passed       node1         2GB (2096476KB)           512MB (524288KB)          passed     Result: Swap space check passed. Check: System architecture    Node Name     Available                 Required                  Comment      ------------  ------------------------  ------------------------  ----------   node2         64-bit                    64-bit                    passed       node1         64-bit                    64-bit                    passed     Result: System architecture check passed. Check: Operating system version    Node Name     Available                 Required                  Comment      ------------  ------------------------  ------------------------  ----------   node2         SunOS 5.10                SunOS 5.10                passed       node1         SunOS 5.10                SunOS 5.10                passed     Result: Operating system version check passed. Check: Operating system patch for "118345-03"    Node Name     Applied                   Required                  Comment      ------------  ------------------------  ------------------------  ----------   node2         unknown                   118345-03                 failed       node1         unknown                   118345-03                 failed     Result: Operating system patch check failed for "118345-03". Check: Operating system patch for "119961-01"    Node Name     Applied                   Required                  Comment      ------------  ------------------------  ------------------------  ----------   node2         119961-06                 119961-01                 passed       node1         119961-06                 119961-01                 passed     Result: Operating system patch check passed for "119961-01". Check: Operating system patch for "117837-05"    Node Name     Applied                   Required                  Comment      ------------  ------------------------  ------------------------  ----------   node2         unknown                   117837-05                 failed       node1         unknown                   117837-05                 failed     Result: Operating system patch check failed for "117837-05". Check: Operating system patch for "117846-08"    Node Name     Applied                   Required                  Comment      ------------  ------------------------  ------------------------  ----------   node2         unknown                   117846-08                 failed       node1         unknown                   117846-08                 failed     Result: Operating system patch check failed for "117846-08". Check: Operating system patch for "118682-01"    Node Name     Applied                   Required                  Comment      ------------  ------------------------  ------------------------  ----------   node2         unknown                   118682-01                 failed       node1         unknown                   118682-01                 failed     Result: Operating system patch check failed for "118682-01". ---系统补丁检测失败 Check: Group existence for "dba"    Node Name     Status                    Comment                    ------------  ------------------------  ------------------------   node2         exists                    passed                     node1         exists                    passed                   Result: Group existence check passed for "dba". Check: Group existence for "oinstall"    Node Name     Status                    Comment                    ------------  ------------------------  ------------------------   node2         exists                    passed                     node1         exists                    passed                   Result: Group existence check passed for "oinstall". Check: User existence for "oracle"    Node Name     Status                    Comment                    ------------  ------------------------  ------------------------   node2         exists                    passed                     node1         exists                    passed                   Result: User existence check passed for "oracle". Check: User existence for "nobody"    Node Name     Status                    Comment                    ------------  ------------------------  ------------------------   node2         exists                    passed                     node1         exists                    passed                   Result: User existence check passed for "nobody". System requirement failed for 'crs' Pre-check for cluster services setup was unsuccessful on all the nodes.

----在以上的系统环境检测中,VIP网络检查失败;

如果在检测前没有配置VIP网络,,可以用一下方式进行配置;如果已经配置过,就不会检测失败。

配置vip network(node1):

[root@node1:/]# ifconfig e1000g0:1 plumb up

[root@node1:/]# ifconfig e1000g0:1 192.168.8.13 netmask 255.255.255.0

[root@node1:/]# ifconfig -a

lo0: flags=2001000849 mtu 8232 index 1

        inet 127.0.0.1 netmask ff000000 

e1000g0: flags=1000843 mtu 1500 index 2

        inet 192.168.8.11 netmask ffffff00 broadcast 192.168.8.255

        ether 8:0:27:28:b1:8c 

e1000g0:1: flags=4001000842 mtu 1500 index 2

        inet 192.168.8.13 netmask ffffff00 broadcast 192.168.8.255

e1000g1: flags=1000843 mtu 1500 index 3

        inet 10.10.10.11 netmask ffffff00 broadcast 10.10.10.255

        ether 8:0:27:6e:16:1 

         

配置vip network(node2):

[root@node2:/]# ifconfig e1000g0:1 plumb up

[root@node2:/]# ifconfig e1000g0:1 192.168.8.14 netmask 255.255.255.0     

[root@node2:/]# ifconfig -a

lo0: flags=2001000849 mtu 8232 index 1

        inet 127.0.0.1 netmask ff000000 

e1000g0: flags=1000843 mtu 1500 index 2

        inet 192.168.8.12 netmask ffffff00 broadcast 192.168.8.255

        ether 8:0:27:1f:bf:4c 

e1000g0:1: flags=1000843 mtu 1500 index 2

        inet 192.168.8.14 netmask ffffff00 broadcast 192.168.8.255

e1000g1: flags=1000843 mtu 1500 index 3

        inet 10.10.10.12 netmask ffffff00 broadcast 10.10.10.255

        ether 8:0:27:a5:2c:db

----在以上的系统环境检测中,部分补丁没有安装(可以通过Oracle官方网站下载,本机为测试环境暂不安装)

wKiom1TAdVXiJfiMAALB9MzZMrs024.jpg



本文出自 “天涯客的blog” 博客,请务必保留此出处

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Huawei's Qiankun ADS3.0 intelligent driving system will be launched in August and will be launched on Xiangjie S9 for the first time Huawei's Qiankun ADS3.0 intelligent driving system will be launched in August and will be launched on Xiangjie S9 for the first time Jul 30, 2024 pm 02:17 PM

On July 29, at the roll-off ceremony of AITO Wenjie's 400,000th new car, Yu Chengdong, Huawei's Managing Director, Chairman of Terminal BG, and Chairman of Smart Car Solutions BU, attended and delivered a speech and announced that Wenjie series models will be launched this year In August, Huawei Qiankun ADS 3.0 version was launched, and it is planned to successively push upgrades from August to September. The Xiangjie S9, which will be released on August 6, will debut Huawei’s ADS3.0 intelligent driving system. With the assistance of lidar, Huawei Qiankun ADS3.0 version will greatly improve its intelligent driving capabilities, have end-to-end integrated capabilities, and adopt a new end-to-end architecture of GOD (general obstacle identification)/PDP (predictive decision-making and control) , providing the NCA function of smart driving from parking space to parking space, and upgrading CAS3.0

How long will Oracle database logs be kept? How long will Oracle database logs be kept? May 10, 2024 am 03:27 AM

The retention period of Oracle database logs depends on the log type and configuration, including: Redo logs: determined by the maximum size configured with the "LOG_ARCHIVE_DEST" parameter. Archived redo logs: Determined by the maximum size configured by the "DB_RECOVERY_FILE_DEST_SIZE" parameter. Online redo logs: not archived, lost when the database is restarted, and the retention period is consistent with the instance running time. Audit log: Configured by the "AUDIT_TRAIL" parameter, retained for 30 days by default.

The order of the oracle database startup steps is The order of the oracle database startup steps is May 10, 2024 am 01:48 AM

The Oracle database startup sequence is: 1. Check the preconditions; 2. Start the listener; 3. Start the database instance; 4. Wait for the database to open; 5. Connect to the database; 6. Verify the database status; 7. Enable the service (if necessary ); 8. Test the connection.

How to use interval in oracle How to use interval in oracle May 08, 2024 pm 07:54 PM

The INTERVAL data type in Oracle is used to represent time intervals. The syntax is INTERVAL <precision> <unit>. You can use addition, subtraction, multiplication and division operations to operate INTERVAL, which is suitable for scenarios such as storing time data and calculating date differences.

Always new! Huawei Mate60 series upgrades to HarmonyOS 4.2: AI cloud enhancement, Xiaoyi Dialect is so easy to use Always new! Huawei Mate60 series upgrades to HarmonyOS 4.2: AI cloud enhancement, Xiaoyi Dialect is so easy to use Jun 02, 2024 pm 02:58 PM

On April 11, Huawei officially announced the HarmonyOS 4.2 100-machine upgrade plan for the first time. This time, more than 180 devices will participate in the upgrade, covering mobile phones, tablets, watches, headphones, smart screens and other devices. In the past month, with the steady progress of the HarmonyOS4.2 100-machine upgrade plan, many popular models including Huawei Pocket2, Huawei MateX5 series, nova12 series, Huawei Pura series, etc. have also started to upgrade and adapt, which means that there will be More Huawei model users can enjoy the common and often new experience brought by HarmonyOS. Judging from user feedback, the experience of Huawei Mate60 series models has improved in all aspects after upgrading HarmonyOS4.2. Especially Huawei M

How to see the number of occurrences of a certain character in Oracle How to see the number of occurrences of a certain character in Oracle May 09, 2024 pm 09:33 PM

To find the number of occurrences of a character in Oracle, perform the following steps: Get the total length of a string; Get the length of the substring in which a character occurs; Count the number of occurrences of a character by subtracting the substring length from the total length.

Oracle database server hardware configuration requirements Oracle database server hardware configuration requirements May 10, 2024 am 04:00 AM

Oracle database server hardware configuration requirements: Processor: multi-core, with a main frequency of at least 2.5 GHz. For large databases, 32 cores or more are recommended. Memory: At least 8GB for small databases, 16-64GB for medium sizes, up to 512GB or more for large databases or heavy workloads. Storage: SSD or NVMe disks, RAID arrays for redundancy and performance. Network: High-speed network (10GbE or higher), dedicated network card, low-latency network. Others: Stable power supply, redundant components, compatible operating system and software, heat dissipation and cooling system.

How much memory does oracle require? How much memory does oracle require? May 10, 2024 am 04:12 AM

The amount of memory required by Oracle depends on database size, activity level, and required performance level: for storing data buffers, index buffers, executing SQL statements, and managing the data dictionary cache. The exact amount is affected by database size, activity level, and required performance level. Best practices include setting the appropriate SGA size, sizing SGA components, using AMM, and monitoring memory usage.

See all articles