如何重命名asm 中的磁盘组
展开全部
1、Phase one
This phase generates a configuration file to be used in phase two.
2、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
This phase generates a configuration file to be used in phase two.
2、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
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2015-05-23 · 知道合伙人数码行家
关注
展开全部
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 }
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 }
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询