Solaris 10下迁移10G RAC (三)

本文详细介绍了Oracle RAC环境下Clusterware的安装过程,包括安装前的系统检查、正式安装步骤、网络配置及OCR与Voting磁盘设置等关键环节。
最近做了一个rac数据库的迁移,中间涉及到很多部分内容,包括rac环境的搭建、ASM的设置、数据库的迁移、升级等。
本文是这次迁移工作的第三部分:安装oracle clusterware。

3 安装clusterware

3.1检验系统是否满足安装clusterware的要求

pre1oracle用户执行如下脚本:

$ ./runcluvfy.sh stage -pre crsinst -n pre1,pre2

Performing pre-checks for cluster services setup

Checking node reachability...

Node reachability check passed from node "pre1".

Checking user equivalence...

User equivalence check passed for user "oracle".

Checking administrative privileges...

User existence check passed for "oracle".

Group existence check passed for "oinstall".

Membership check for user "oracle" in group "oinstall" [as Primary] passed.

Administrative privileges check passed.

Checking node connectivity...

Node connectivity check passed for subnet "172.0.2.0" with node(s) pre2,pre1.

Node connectivity check passed for subnet "10.0.0.0" with node(s) pre2,pre1.

Suitable interfaces for VIP on subnet "172.0.2.0":

pre2 ce0:172.0.2.3

pre1 ce0:172.0.2.1

Suitable interfaces for the private interconnect on subnet "10.0.0.0":

pre2 ce1:10.0.0.2

pre1 ce1:10.0.0.1

Node connectivity check passed.

Checking system requirements for 'crs'...

Total memory check passed.

Free disk space check passed.

Swap space check passed.

System architecture check passed.

Operating system version check passed.

Package existence check passed for "SUNWarc".

Package existence check passed for "SUNWbtool".

Package existence check passed for "SUNWhea".

Package existence check passed for "SUNWlibm".

Package existence check passed for "SUNWlibms".

Package existence check passed for "SUNWsprot".

Package existence check passed for "SUNWsprox".

Package existence check passed for "SUNWtoo".

Package existence check passed for "SUNWi1of".

Package existence check passed for "SUNWi1cs".

Package existence check passed for "SUNWi15cs".

Package existence check passed for "SUNWxwfnt".

Package existence check passed for "SUNWlibC".

Package existence check failed for "SUNWscucm:3.1".

Check failed on nodes:

pre2,pre1

Package existence check failed for "SUNWudlmr:3.1".

Check failed on nodes:

pre2,pre1

Package existence check failed for "SUNWudlm:3.1".

Check failed on nodes:

pre2,pre1

Package existence check failed for "ORCLudlm:Dev_Release_06/11/04,_64bit_3.3.4.8_reentrant".

Check failed on nodes:

pre2,pre1

Package existence check failed for "SUNWscr:3.1".

Check failed on nodes:

pre2,pre1

Package existence check failed for "SUNWscu:3.1".

Check failed on nodes:

pre2,pre1

Group existence check passed for "dba".

Group existence check passed for "oinstall".

User existence check passed for "oracle".

User existence check passed for "nobody".

System requirement failed for 'crs'

Pre-check for cluster services setup was unsuccessful on all the nodes.

这里显示检测不通过,但是不影响安装clusterware,原因上面已经说过。

3.2 正式安装clusterware

启动VNC,开始执行安装程序:

bash-3.00# xhost +

access control disabled, clients can connect from any host

bash-3.00# su - oracle

Sun Microsystems Inc. SunOS 5.10 Generic January 2005

bash-3.00$ export DISPLAY=172.0.2.1:1.0

重新执行ssh-agent,以免出错:

bash-3.00$ cd /backup/soft/cluster/

bash-3.00$ exec /usr/bin/ssh-agent $SHELL

$ /usr/bin/ssh-add

Identity added: /export/home/oracle/.ssh/id_rsa (/export/home/oracle/.ssh/id_rsa)

Identity added: /export/home/oracle/.ssh/id_dsa (/export/home/oracle/.ssh/id_dsa)

$ pwd

/backup/soft/cluster

启动安装界面:

$ ./runInstaller

Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be 5.8, 5.9 or 5.10. Actual 5.10

Passed

Checking Temp space: must be greater than 250 MB. Actual 10917 MB Passed

Checking swap space: must be greater than 500 MB. Actual 11324 MB Passed

Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed

All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2007-09-22_12-31-16AM. Please wait ...$ Oracle Universal Installer, Version 10.2.0.1.0 Production

Copyright (C) 1999, 2005, Oracle. All rights reserved.

Checking installer requirements...

Checking operating system version: must be 5.8, 5.9 or 5.10. Actual 5.10

Passed

Checking Temp space: must be greater than 250 MB. Actual 10934 MB Passed

Checking swap space: must be greater than 500 MB. Actual 11333 MB Passed

Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed

All installer requirements met.

在界面点击下一步,在出来的界面选择inventory directorysystem group,默认是/oracle/app/oraInventoryoinstall,用默认值,next

输入OraCrs10g_home1的路径:/oracle/app/product/10.2/crs,在语言中添加简体中文,然后next

接着oracle进行一系列的检测,如果都通过,下一步

输入cluster name,这里用默认的crs

cluster nodes中配置下面信息:

public node name private node name virtual host name

pre1 priv-pre1 vip-pre1

pre2 priv-pre2 vip-pre2

这里的接口名称要和/etc/hosts中的设置一样。

选择下一步,设置网络,如果显示出来的不正确,输入正确的网络信息

选择下一步,输入OCR的位置/dev/rdsk/c3t0d3s5,选择外部冗余

选择下一步,输入Voting的位置:/dev/rdsk/c3t0d3s6,选择外部冗余

选择下一步,开始安装

最后,在所有节点以root运行如下两个脚本:

/oracle/app/oraInventory/orainstRoot.sh

/oracle/app/product/10.2/crs/root.sh

pre1上以root执行:

bash-3.00# /oracle/app/oraInventory/orainstRoot.sh

Changing permissions of /oracle/app/oraInventory to 770.

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

The execution of the script is complete

bash-3.00# /oracle/app/product/10.2/crs/root.sh

WARNING: directory '/oracle/app/product/10.2' is not owned by root

WARNING: directory '/oracle/app/product' is not owned by root

WARNING: directory '/oracle/app' is not owned by root

WARNING: directory '/oracle' is not owned by root

Checking to see if Oracle CRS stack is already configured

Setting the permissions on OCR backup directory

Setting up NS directories

Oracle Cluster Registry configuration upgraded successfully

WARNING: directory '/oracle/app/product/10.2' is not owned by root

WARNING: directory '/oracle/app/product' is not owned by root

WARNING: directory '/oracle/app' is not owned by root

WARNING: directory '/oracle' is not owned by root

Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.

node :

node 1: pre1 priv-pre1 pre1

node 2: pre2 priv-pre2 pre2

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

Operation successful.

Now formatting voting device: /dev/rdsk/c3t0d3s6

Format of 1 voting devices complete.

Startup will be queued to init within 30 seconds.

Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds.

CSS is active on these nodes.

pre2

CSS is inactive on these nodes.

pre1

Local node checking complete.

Run root.sh on remaining nodes to start CRS daemons.

pre2上以root执行:

bash-3.00# /oracle/app/oraInventory/orainstRoot.sh

Changing permissions of /oracle/app/oraInventory to 770.

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

The execution of the script is complete

bash-3.00# /oracle/app/product/10.2/crs/root.sh

WARNING: directory '/oracle/app/product/10.2' is not owned by root

WARNING: directory '/oracle/app/product' is not owned by root

WARNING: directory '/oracle/app' is not owned by root

WARNING: directory '/oracle' is not owned by root

Checking to see if Oracle CRS stack is already configured

Setting the permissions on OCR backup directory

Setting up NS directories

Oracle Cluster Registry configuration upgraded successfully

WARNING: directory '/oracle/app/product/10.2' is not owned by root

WARNING: directory '/oracle/app/product' is not owned by root

WARNING: directory '/oracle/app' is not owned by root

WARNING: directory '/oracle' is not owned by root

clscfg: EXISTING configuration version 3 detected.

clscfg: version 3 is 10G Release 2.

Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.

node :

node 1: pre1 priv-pre1 pre1

node 2: pre2 priv-pre2 pre2

clscfg: Arguments check out successfully.

NO KEYS WERE WRITTEN. Supply -force parameter to override.

-force is destructive and will destroy any previous cluster

configuration.

Oracle Cluster Registry for cluster has already been initialized

Startup will be queued to init within 30 seconds.

Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds.

CSS is active on these nodes.

pre1

pre2

CSS is active on all nodes.

Waiting for the Oracle CRSD and EVMD to start

Oracle CRS stack installed and running under init(1M)

Running vipca(silent) for configuring nodeapps

Creating VIP application resource on (2) nodes...

Creating GSD application resource on (2) nodes...

Creating ONS application resource on (2) nodes...

Starting VIP application resource on (2) nodes...

Starting GSD application resource on (2) nodes...

Starting ONS application resource on (2) nodes...

Done.

返回界面,点击OKoracle再进行做一些配置后,再次用clufty检测所有节点的crs状态,如果正确,则点击EXIT退出。

至此,clusterware安装完毕。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/231499/viewspace-63864/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/231499/viewspace-63864/

先展示下效果 https://pan.quark.cn/s/e81b877737c1 Node.js 是一种基于 Chrome V8 引擎的 JavaScript 执行环境,它使开发者能够在服务器端执行 JavaScript 编程,显著促进了全栈开发的应用普及。 在 Node.js 的开发流程中,`node_modules` 文件夹用于存储所有依赖的模块,随着项目的进展,该文件夹可能会变得异常庞大,其中包含了众多可能已不再需要的文件和文件夹,这不仅会消耗大量的硬盘空间,还可能减慢项目的加载时间。 `ModClean 2.0` 正是为了应对这一挑战而设计的工具。 `ModClean` 是一款用于清理 `node_modules` 的软件,其核心功能是移除那些不再被使用的文件和文件夹,从而确保项目的整洁性和运行效率。 `ModClean 2.0` 是此工具的改进版本,在原有功能上增加了更多特性,从而提高了清理工作的效率和精确度。 在 `ModClean 2.0` 中,用户可以设置清理规则,例如排除特定的模块或文件类型,以防止误删重要文件。 该工具通常会保留项目所依赖的核心模块,但会移除测试、文档、示例代码等非运行时必需的部分。 通过这种方式,`ModClean` 能够协助开发者优化项目结构,减少不必要的依赖,加快项目的构建速度。 使用 `ModClean` 的步骤大致如下:1. 需要先安装 `ModClean`,在项目的根目录中执行以下命令: ``` npm install modclean -g ```2. 创建配置文件 `.modcleanrc.json` 或 `.modcleanrc.js`,设定希望清理的规则。 比如,可能需要忽略 `LICENSE` 文件或整个 `docs`...
2026最新微信在线AI客服系统源码 微信客服AI系统是一款基于PHP开发的智能客服解决方案,完美集成企业微信客服,为企业提供7×24小时智能客服服务。系统支持文本对话、图片分析、视频分析等多种交互方式,并具备完善的对话管理、人工转接、咨询提醒等高级功能。 核心功能 ### 1.  智能AI客服 #### 自动回复 - **上下文理解**:系统自动保存用户对话历史,AI能够理解上下文,提供连贯的对话体验 - **个性化配置**:可自定义系统提示词、最大输出长度等AI参数 #### 产品知识库集成 - **公司信息**:支持配置公司简介、官网、竞争对手等信息 - **产品列表**:可添加多个产品,包括产品名称、配置、价格、适用人群、特点等 - **常见问题FAQ**:预设常见问题及答案,AI优先使用知识库内容回答 - **促销活动**:支持配置当前优惠活动,AI会自动向用户推荐 ### 2. 多媒体支持 #### 图片分析 - 支持用户发送图片,AI自动分析图片内容 - 可结合文字描述,提供更精准的分析结果 - 支持常见图片格式:JPG、PNG、GIF、WebP等 #### 视频分析 - 支持用户发送视频,AI自动分析视频内容 - 视频文件自动保存到服务器,提供公网访问 - 支持常见视频格式:MP4、等 ### 3.  人工客服转接 #### 关键词触发 - **自定义关键词**:可配置多个转人工触发关键词(如:人工、客服、转人工等) - **自动转接**:用户消息包含关键词时,自动转接给指定人工客服 - **友好提示**:转接前向用户发送提示消息,提升用户体验 #### 一键介入功能 - **后台管理**:管理员可在对话管理页面查看所有对话记录 - **快速转接**:点击"一键介入"按钮,立即将用户转接给人工客服
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值