asmca命令行

asmca [-silent] [-sysAsmPassword <SYS user password>] [-asmsnmpPassword <ASM monitor password>] {<command> <options>}

Please refer to the manual for details. You can enter one of the following commands:

  1. Configure an ASM instance by specifying the following command and parameters:

    -configureASM
            [-sysAsmPassword <SYS user password>]
            [-asmsnmpPassword <ASM monitor password>]
            [(-param <paramname=paramvalue>)]
            -diskString <disk discovery path>
            (-diskGroupName <disk group name>
                    (-disk <disk path> [-diskName <disk name>] |
                     -diskList <comma separated disk list>
                            [-diskSize <disk size in MB>] 
                            [-failuregroup <failure group name>] 
                            [-force|-noforce] 
                            [-quorum|-noquorum])
                    [-redundancy <HIGH|NORMAL|EXTERNAL>]
                    [-au_size <2^0 ~ 2^6 (1 ~ 64)>]
                    [-compatible.asm <10.1 ~ 11.2>]
                    [-compatible.rdbms <10.1 ~ 11.2>]
                    [-compatible.advm <11.2>])
    
  2. Upgrade an existing ASM instance by specifying the following command and parameters:

    -upgradeASM
            [-asmsnmpPassword <ASM monitor password>]
    
  3. Configure ASM parameters by specifying the following command and parameters:

    -configureParameter
            (-param <paramname=paramvalue>)
            [-sysAsmPassword <SYS user password>]
    
  4. Create Disk Groups by specifying the following command and parameters:

    -createDiskGroup
            [-diskString <disk discovery path>]
            (-diskGroupName <disk group name>
                    (-disk <disk path> [-diskName <disk name>] |
                     -diskList <comma separated disk list>
                            [-diskSize <disk size in MB>] 
                            [-failuregroup <failure group name>] 
                            [-force|-noforce] 
                            [-quorum|-noquorum])
                    [-redundancy <HIGH|NORMAL|EXTERNAL>]
                    [-au_size <2^0 ~ 2^6 (1 ~ 64)>]
                    [-compatible.asm <10.1 ~ 11.2>]
                    [-compatible.rdbms <10.1 ~ 11.2>]
                    [-compatible.advm <11.2>])
            [-sysAsmPassword <SYS user password>]
    
  5. Add disks to Disk Groups by specifying the following command and parameters:

    -addDisk
            [-diskString <disk discovery path>]
            (-diskGroupName <disk group name>
                    (-disk <disk path> [-diskName <disk name>] |
                     -diskList <comma separated disk list>
                            [-diskSize <disk size in MB>] 
                            [-failuregroup <failure group name>] 
                            [-force|-noforce] 
                            [-quorum|-noquorum])
            [-sysAsmPassword <SYS user password>]
    
  6. Create volumes by specifying the following command and parameters:

    -createVolume
            (-volumeName <ASM volume name>
            -volumeDiskGroup <ASM disk group name for the volume>
            -volumeSizeGB <ASM volume size in GB>
            [-volumeRedundancy <INHERIT|HIGH|NORMAL|EXTERNAL>])
            [-sysAsmPassword <SYS user password>]
    
  7. Create ASM Cluster File Systems by specifying the following command and parameters:

    -createACFS
            (-acfsVolumeDevice <ASM volume device>)
            [-sysAsmPassword <SYS user password>]
    
  8. Delete ASM instance(s) by specifying the following command and parameters:

    -deleteASM
            [-force]
            [-dropDiskGroups]
            [-sysAsmPassword <SYS user password>]

你可能感兴趣的:(asmca命令行)