ITPUB??ì3
12月微软Hyper-V虚拟化沙龙主题征集
ITPUB论坛 » Oracle新技术/11g » ASM 在10g RAC 下,该怎么用?

标题: ASM 在10g RAC 下,该怎么用?
离线 qqone
版主



精华贴数 0
个人空间 0
技术积分 5340 (255)
社区积分 1112 (917)
注册日期 2001-10-18
论坛徽章:14
现任管理团队成员ITPUB元老管理团队2006纪念徽章会员2006贡献徽章授权会员2008北京奥运纪念徽章:篮球
2008北京奥运纪念徽章:沙滩排球2008北京奥运纪念徽章:跳水2008北京奥运纪念徽章:水球2008北京奥运纪念徽章:跆拳道生肖徽章2007版:鸡生肖徽章2007版:猴

发表于 2004-4-5 10:26 
ASM的库建起来了(redhat环境),
但是没用起来,应该说对她知道不多


__________________
Life is like a box of chocolates, You never know what you're gonna get.
只看该作者    顶部
离线 Arrayzhu1
木匠


精华贴数 0
个人空间 0
技术积分 340 (5839)
社区积分 63 (4428)
注册日期 2002-7-16
论坛徽章:0
      
      

发表于 2004-4-5 11:07 
Single DB搞出来了,正在试试10g RAC with ASM, asm_diskstring='/dev/raw/raw*'

I did following steps based on the guide,  

1. Create initASM.ora file
      INSTANCE_TYPE = ASM
      asm_diskstring='/dev/raw/raw*' # this is important, not show up on the guide

2. SQL Plus connect as SYSDBA for SID=ASM
3. STARTUP NOMOUNT PFILE=initASM.ora
4. CREATE SPFILE FROM PFILE=initASM.ora
5. CREATE DISKGROUP dgroup1 EXTERNAL REDUNDANCY
    DISK '/dev/raw/raw51','/dev/raw/raw52';

SELECT NAME,TYPE,TOTAL_MB,FREE_MB FROM V$ASM_DISKGROUP;

SELECT NAME,path FROM V$ASM_DISK;

CREATE DISKGROUP dgroup1 EXTERNAL REDUNDANCY
    DISK '/dev/raw/raw51','/dev/raw/raw52','/dev/raw/raw53','/dev/raw/raw54' force;

5a. You can add disk from another group with <FORCE> option,
    that is remove the disk from a group at same time.

alter diskgroup dgrp5 add disk '/dev/raw/raw51' FORCE;

alter diskgroup dgrp5 add disk '/dev/raw/raw52' FORCE,'/dev/raw/raw53' FORCE;

6. Create initDB.ora file
      ? INSTANCE_TYPE = RDBMS
      ? DB_CREATE_FILE_DEST = '+dgroup1'
7. SQL Plus connect as SYSDBA for SID=ASMDB
8. STARTUP NOMOUNT PFILE=initASMDB.ora
9. Create Oracle database and user tablespace using SQL,
   
create database ASMDB
controlfile reuse
logfile         '+dgroup1' size 16 M
datafile        '+dgroup1' size 2 G
sysaux datafile '+dgroup1' size 2 G
default temporary tablespace temp
tempfile        '+dgroup1' size 8 G
undo tablespace undo
datafile        '+dgroup1' size 8 G;

create tablespace USER_LOCAL
datafile        '+dgroup1' size 60 G;


FYI,
http://otn.oracle.com/oramag/web ... les/scalzo_asm.html

衷心感谢各位老大捧场.
关于REDUNDANCY 的资料可以看ORACLE手册.


__________________
丹江草, 我的身心是健康的,我的思想是健康的,我的生活也是健康的。
只看该作者    顶部
离线 zhu1
木匠


精华贴数 0
个人空间 0
技术积分 340 (5839)
社区积分 63 (4428)
注册日期 2002-7-16
论坛徽章:0
      
      

发表于 2004-4-13 17:05 
怎样copy control file from one ASM diskgroup to another ASM diskgroup?

我用ASM Disks 放archived logs, 怎样维护,比如Copy,delete.

另外,怎样copy control file from one ASM diskgroup to another ASM diskgroup?


__________________
丹江草, 我的身心是健康的,我的思想是健康的,我的生活也是健康的。
只看该作者    顶部
离线 zhu1
木匠


精华贴数 0
个人空间 0
技术积分 340 (5839)
社区积分 63 (4428)
注册日期 2002-7-16
论坛徽章:0
      
      

发表于 2004-4-13 17:09 
10g RAC with ASM DB搞出来了

明天给出详细步骤.


__________________
丹江草, 我的身心是健康的,我的思想是健康的,我的生活也是健康的。
只看该作者    顶部
离线 Arrayzhu1
木匠


精华贴数 0
个人空间 0
技术积分 340 (5839)
社区积分 63 (4428)
注册日期 2002-7-16
论坛徽章:0
      
      

发表于 2004-4-19 15:39 
Copy control file on ASM disks


__________________
丹江草, 我的身心是健康的,我的思想是健康的,我的生活也是健康的。
只看该作者    顶部
相关内容


CopyRight 1999-2006 itpub.net All Right Reserved.
北京皓辰广域网络信息技术有限公司. 版权所有
E-mail:Webmaster@itpub.net
京ICP证:010037号 联系我们 法律顾问