最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501
当前位置: 首页 - 科技 - 知识百科 - 正文

如何重命名ASM中的磁盘组

来源:懂视网 责编:小采 时间:2020-11-09 10:27:32
文档

如何重命名ASM中的磁盘组

如何重命名ASM中的磁盘组:介绍一个重命名oracle asm 磁盘组的工具renamedg 介绍一个重命名Oracle asm 磁盘组的工具renamedg Therenamedgtool enables you to change the name of a cloned disk group. The disk group must be dismo
推荐度:
导读如何重命名ASM中的磁盘组:介绍一个重命名oracle asm 磁盘组的工具renamedg 介绍一个重命名Oracle asm 磁盘组的工具renamedg Therenamedgtool enables you to change the name of a cloned disk group. The disk group must be dismo

介绍一个重命名oracle asm 磁盘组的工具renamedg

介绍一个重命名Oracle asm 磁盘组的工具renamedg

Therenamedgtool enables you to change the name of a cloned disk group. The disk group must be dismounted on all nodes in the cluster before runningrenamedgon the disk group.

renamedgrenames a disk group using a two-step process:

  • Phase one

    This phase generates a configuration file to be used in phase two.

  • Phase two

    This phase uses the configuration file to perform the renaming of the disk group.

  • The syntax is:


    renamedg{-help|help=true}

    renamedg
    [phase={one|two|both} ]dgname=diskgroup
    newdgname=newdiskgroup[config=configfile]
    [asm_diskstring=discoverystring,discoverystring... ]
    [clean={true|false} ] [check={true|false} ]
    [confirm={true|false}] [verbose={true|false} ]
    [keep_voting_files={true|false}]

  • phase={one|two|both}

  • 注意:

    Applies to:
    Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.2.0.0
    Information in this document applies to any platform.

    Goal
    The purpose of this document is to provide information about rename diskgroup in 10g and 11gR1 release

    Solution
    rename diskgroup option is a new feature of 11gR2 .

    You can use this tool to rename your 10g or 11gR1 ASM diskgroup

    you need to just install 11gR2 SIHA Grid Infrastructure software only installation.

    cd <11gr2 grid home>/bin
    renamedg

    use renamedg tool to rename 10g or 11gR1 diskgroup.

    Diskgroup cannot be renamed under following conditions :

    - the Diskgroup is mounted
    - the Diskgroup is being used by CSS
    - Diskgroup contains offline disks

    eg:

    -bash-4.1$ sqlplus / as sysasm

    SQL*Plus: Release 11.2.0.4.0 Production on Mon Mar 24 15:33:16 2014

    Copyright (c) 1982, 2013, Oracle. All rights reserved.


    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Automatic Storage Management option

    SQL> alter diskgroup new_datagroup2 dismount;

    Diskgroup altered.

    SQL>
    SQL>
    SQL> exit

    -bash-4.1$
    -bash-4.1$ renamedg -help
    NOTE: No asm libraries found in the system

    Parsing parameters..
    phase Phase to execute,
    (phase=ONE|TWO|BOTH), default BOTH

    dgname Diskgroup to be renamed

    newdgname New name for the diskgroup

    config intermediate config file

    check just check-do not perform actual operation,
    (check=TRUE/FALSE), default FALSE

    confirm confirm before committing changes to disks,
    (confirm=TRUE/FALSE), default FALSE

    clean ignore errors,
    (clean=TRUE/FALSE), default TRUE

    asm_diskstring ASM Diskstring (asm_diskstring='discoverystring',
    'discoverystring1' ...)

    verbose verbose execution,
    (verbose=TRUE|FALSE), default FALSE

    keep_voting_files Voting file attribute,
    (keep_voting_files=TRUE|FALSE), default FALSE

    -bash-4.1$ renamedg dgname=NEW_DATAGROUP2 newdgname=datagroup2 asm_diskstring='/dev/oracleasm/disks/*' verbose=true
    NOTE: No asm libraries found in the system

    Parsing parameters..

    Parameters in effect:

    声明:本网页内容旨在传播知识,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

    文档

    如何重命名ASM中的磁盘组

    如何重命名ASM中的磁盘组:介绍一个重命名oracle asm 磁盘组的工具renamedg 介绍一个重命名Oracle asm 磁盘组的工具renamedg Therenamedgtool enables you to change the name of a cloned disk group. The disk group must be dismo
    推荐度:
    标签: 中的 如何 今天
    • 热门焦点

    最新推荐

    猜你喜欢

    热门推荐

    专题
    Top