01-linux AS4+oracle 10g ASM 操作步骤(5)

2018-11-23 22:41

备注:ORACLE_ BASE =/u01/app/oracle/

/u01/app/oracle/product/10.2.0/db_1/bin

3.3. 建密码文件

仍在$ORACLE_HOME/dbs目录,命令行运行: orapwd file=orapwd+ASM password=dba

3.4. 安装和配置CSS

$su – root

[root@/]#/u01/app/oracle/product/10.2.0/db_1/bin/localconfig add Successfully accumulated necessary OCR keys. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful.

Configuration for local CSS has been initialized

Adding to inittab

Startup will be queued to init within 30 seconds. Checking the status of new Oracle init process...

Expecting the CRS daemons to be up within 600 seconds. CSS is active on these nodes. htsolaris

CSS is active on all nodes.

Oracle CSS service is installed and running under init(1M) 检查CSS服务开启没有 ps -ef|grep ocssd

备注:$ORACLE_ HOME=/u01/app/oracle/product/10.2.0/db_1

第 21 页 共 51 页

3.5. 启动实例

以oracle用户运行:

export ORACLE_SID=+ASM sqlplus / as sysdba

startup

第 22 页 共 51 页

3.6. 建spfile

SQL> create spfile from pfile;

3.7. 建diskgroup

create diskgroup dgroup1 normal redundancy

failgroup fgroup1 disk 'ORCL:VOL1','ORCL:VOL2' failgroup fgroup2 disk 'ORCL:VOL3','ORCL:VOL4';

查看

select name,state from v$asm_diskgroup;

show parameter asm_diskgroups;

3.8. 关闭ASM实例

SQL>shutdown immediate

第 23 页 共 51 页

4. 建ASM数据库

4.1. 以oracle用户登录,运行dbca

出现欢迎界面,点next

第 24 页 共 51 页

4.2. 选择create a database,点next

第 25 页 共 51 页


01-linux AS4+oracle 10g ASM 操作步骤(5).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:最新档案局2018年工作总结及2019年工作计划范文

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: