ITPub博客

首页 > 数据库 > Oracle > 用asmcmd 的rebal 代替 ASM_POWER_LIMIT 参数

用asmcmd 的rebal 代替 ASM_POWER_LIMIT 参数

原创 Oracle 作者:paulyibinyi 时间:2014-08-07 12:00:17 1 删除 编辑

ASMCMD> help rebal
rebal
        Rebalances a disk group.

Synopsis
        rebal [--power ] [-w]

Description
        The options for the rebal command are described below.
        diskgroup       - Disk group name.
        --power power   - The power level can be set to the same values as the
                          ASM_POWER_LIMIT initialization parameter.  For
                          information about the ASM_POWER_LIMIT initialization
                          parameter settings, see the Oracle Automatic Storage
                          Management Administrator's Guide.
                          The power level can be set from 0 to 1024. A value
                          of 0 disables rebalancing. If the rebalance power
                          is not specified, the value defaults to the setting
                          of the ASM_POWER_LIMIT initialization parameter.
                          You can determine if a rebalance operation is
                          occurring with the ASMCMD lsop command.
        -w              - Wait option. Causes ASMCMD to wait for the
                          disk group to be rebalanced before returning
                          control to the user. The default is not waiting.

Examples
        The following is an example of the rebal command that rebalances the
        FRA disk group with a power level set to 4.
        ASMCMD [+] > rebal --power 4 FRA
        ASMCMD [+] > lsop
        Group_Name  Operation  State  Power
        FRA         REBAL      RUN    4

See Also
       lsop

ASMCMD> rebal --power 4 DGTEST
Rebal on progress.
ASMCMD> lsop
Group_Name  Pass       State  Power  EST_WORK  EST_RATE  EST_TIME 
DGTEST      COMPACT    WAIT   4                                   
DGTEST      REBALANCE  DONE   4                                   
ASMCMD>

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7199859/viewspace-1247099/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
学习数据库

注册时间:2007-12-11

  • 博文量
    907
  • 访问量
    6894087