0

Oracle Database ASM disk string profile string vs param string ?

ASMCMD [+] > dsget
profile: /dev/disk*
parameter: /dev/disk*

Do we need to set both of them ? what is consequence of setting one in these two ?

Thanks

1

asm_diskstring can be set in the ASM parameterfile and in the GPnP profile as well. Grid Infrastructure needs to know where to search for ASM disks before starting ASM and reading the ASM parameterfile, the GPnP profile makes that possible.

dsget

dsget
        Retrieves the discovery diskstring value that is
        used by the Oracle ASM Instance and its clients

Synopsis
        dsget [ --normal | --profile [ -f ] | --parameter ]

Description
        The options for the dsget command are described below.

        --normal        - Retrieves the discovery string from the Grid Plug
                          and Play (GPnP) profile and the one that is set in
                          the Oracle ASM instance. It returns one row each for
                          the profile and parameter setting. This is the
                          default setting.

        --parameter     - Retrieves the ASM_DISKSTRING parameter setting of
                          the Oracle ASM instance.

        --profile       - Retrieves the discovery string from the GPnP
                          profile.

        -f              - If -f is specified, retrieves the discovery string
                          from the local GPnP profile.  This parameter
                          can only be specified if --profile is specified.

Examples
        The following example uses dsget to retrieve the current discovery
        diskstring value from the GPnP profile and the ASM_DISKSTRING parameter.

        ASMCMD [+] > dsget
        profile: /devices/disk*
        parameter: /devices/disk*
2
  • @malatesh To be honest, I have never seen a case, where the 2 values were different on purpose. If you need to modify it, just use dsset to modify the value at both locations at once. – Balazs Papp Sep 6 '16 at 18:00
  • Thanks!. I need to understand this, since we are automating the recovery process during which we need set the asm disk string. question arise like if the required disk string is already available in profile do we need to set in parameter and vice versa. – malatesh Sep 7 '16 at 6:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.