用asmcmd 的rebal 代替 ASM_POWER_LIMIT 引數

paulyibinyi發表於2014-08-07

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部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-1247099/,如需轉載,請註明出處,否則將追究法律責任。

相關文章