OCR and VOTINGDISK

the voting file is essentially used by the cluaster synchronization services daemon for nodes moitoring information across the cluster.its size is set to around 20m.
  the oracle cluter regidtry(ocr) file is also a key component of the crs.its maintians information about the high-availability componnrnts int your cluster such as the cluster node list,cluster database instance to node mapping,and crs application resource profiles(such as services,virtual interconnect protocol address,and so on).the file is maintained automatically by administrative tools such as srvctl.its size is around 100m.
  the name of the configureation file is ocr.loc.and the configureation file variable is ocrconfig_loc.the location for cluster repository is not restricted to raw devices.you can put ocr on shared storage that is managed by a cluster file system.
### Oracle 10g 静默安装指南 Oracle 10g 的静默安装可以通过运行 `runInstaller` 工具并指定 `-silent` 参数完成。以下是关于如何执行此操作的关键点: #### 准备工作 在开始之前,需准备以下内容: - **响应文件 (Response File)**:这是一个 `.rsp` 文件,包含了所有必要的安装参数及其对应的值。该文件可以由图形界面安装向导生成,也可以手动创建。 - **环境变量设置**:确保设置了正确的环境变量,例如 `ORACLE_BASE` 和 `ORACLE_HOME`。 #### 命令语法 用于静默安装的主要命令如下所示[^2]: ```bash ./runInstaller -silent \ -responseFile /path/to/response/file.rsp \ -ignoreSysPrereqs ``` 其中: - `-responseFile`: 指定响应文件的位置。 - `-ignoreSysPrereqs`: 跳过系统先决条件检查。 #### 示例响应文件的内容 响应文件是一个简单的文本文件,通常包含类似于以下的键值对: ```plaintext oracle.install.option=INSTALL_DB_SWONLY UNIX_GROUP_NAME=oinstall INVENTORY_LOCATION=/u01/app/oraInventory SELECTED_LANGUAGES=en,zh_CN ORACLE_HOSTNAME=myserver.example.com ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1 ORACLE_BASE=/u01/app/oracle FROM_LOCATION=/mnt/cdrom/stage/products.xml SECURITY_UPDATES_VIA_MYORACLESUPPORT=false DECLINE_SECURITY_UPDATES=true ``` 上述示例中的某些字段解释如下: - `oracle.install.option`: 安装选项,可以选择仅软件 (`INSTALL_DB_SWONLY`) 或数据库实例加软件 (`INSTALL_DB_AND_CONFIG`)。 - `FROM_LOCATION`: 如果是从挂载目录或其他位置安装,则需要指定产品 XML 文件路径[^4]。 #### 执行安装 通过运行以下命令启动静默安装过程: ```bash ./runInstaller -silent \ -responseFile /path/to/response/file.rsp \ -ignoreSysPrereqs ``` 如果一切正常,日志文件会保存到 `$ORACLE_BASE/oraInventory/logs/installActions<timestamp>.log` 中以便后续排查问题。 --- ### 关于集群的相关注意事项 对于 RAC(Real Application Clusters),需要注意的是,在 Oracle 10g 版本中,OCR 和 Voting Disk 是独立管理的实体,而在更高版本如 11g 中引入了 OLR(Local Registry)的概念[^3]。因此,在规划 RAC 环境下的静默安装时,应特别关注 OCR 和 Voting Disk 的配置细节。 --- ### 总结 以上方法适用于标准单机或简单集群场景下的 Oracle 10g 数据库软件静默安装。具体实现可能因操作系统差异而略有不同,请参照官方文档进一步调整相关参数。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值