SetSpareGroupProperties

Description

Script set drive properties.

Parameters:

  • TapeLibraryName : Name of the Tape library.
  • SpareMediaGroupName : Name of the spare media group.
  • opType : Operation type.
  • LowWaterMarkValue : Value which needs to be set for low watermark.
  • HighWaterMarkValue : Value which needs to be set for low watermark, if this value is given as 0 then the high water mark level will be set to infinite.
  • OldSpareMediaGroupName : Name of the current spare media group.
  • NewSpareMediaGroupName : Name of the new spare media group.
  • Usage

    Generic script for setting drive properties

    To set a spare media group as default scratch pool.

    qoperation execscript -sn QS_SetSpareGroupProperties -si @opType = '1' -si @TapeLibraryName='Name of the library' -si @SpareMediaGroupName = 'Spare Media Group Name'

    To set low water mark on a spare media group.

    qoperation execscript -sn QS_SetSpareGroupProperties -si @opType = '2' -si @TapeLibraryName='Name of the library' -si @SpareMediaGroupName = 'Spare Media Group Name' -si @LowWaterMarkValue = '<Value that needs to be set>'

    To set high water mark on a spare media group.

    qoperation execscript -sn QS_SetSpareGroupProperties -si @opType = '3' -si @TapeLibraryName='Name of the library' -si @SpareMediaGroupName = 'Spare Media Group Name' -si @HighWaterMarkValue = '<Value that needs to be set>'

    If the @HighWaterMarkValue = 0 , then the high water mark level will be set to infinite.

    To set priority as low on a spare media group.

    qoperation execscript -sn QS_SetSpareGroupProperties -si @opType = '4' -si @TapeLibraryName='Name of the library' -si @SpareMediaGroupName = 'Spare Media Group Name'

    To set priority as medium on a spare media group.

    qoperation execscript -sn QS_SetSpareGroupProperties -si @opType = '5' -si @TapeLibraryName='Name of the library' -si @SpareMediaGroupName = 'Spare Media Group Name'

    To set priority as high on a spare media group.

    qoperation execscript -sn QS_SetSpareGroupProperties -si @opType = '6' -si @TapeLibraryName='Name of the library' -si @SpareMediaGroupName = 'Spare Media Group Name'

    To set "Spare Media Selection Criteria" to "Use most reused Media first".

    qoperation execscript -sn QS_SetSpareGroupProperties -si @opType = '7' -si @TapeLibraryName='Name of the library' -si @SpareMediaGroupName = 'Spare Media Group Name'

    To set "Spare Media Selection Criteria" to "Use least reused Media first".

    qoperation execscript -sn QS_SetSpareGroupProperties -si @opType = '8' -si @TapeLibraryName='Name of the library' -si @SpareMediaGroupName = 'Spare Media Group Name'

    To set "Spare Media Selection Criteria" to "Use media based on Capacity - Fill lower capacity Media first".

    qoperation execscript -sn QS_SetSpareGroupProperties -si @opType = '9' -si @TapeLibraryName='Name of the library' -si @SpareMediaGroupName = 'Spare Media Group Name'

    To set "Spare Media Selection Criteria" to "Use media based on Capacity - Fill higher capacity Media first".

    qoperation execscript -sn QS_SetSpareGroupProperties -si @opType = '10' -si @TapeLibraryName='Name of the library' -si @SpareMediaGroupName = 'Spare Media Group Name'

    To change the name of the scratch pool

    qoperation execscript -sn QS_SetSpareGroupProperties -si @opType = '11' -si @TapeLibraryName='Name of the library' -si @OldSpareMediaGroupName = 'Current Spare Media Group Name' -si @NewSpareMediaGroupName = 'New Spare Media Group Name'

    Details

    • Scope: All
    • Platform: CommServe (Database: CommServ)
    • Release: 11.0.0

    Disclaimer of Warranties

    CommVault provides software tools and utilities on an "as is" basis, as a courtesy and convenience to its users, and they may be changed from time to time without notice. These tools and utilities are provided without express, implied, or statutory warranties of any kind. You assume full risk and responsibility for the selection, possession, performance and proper installation and use of the software tools and utilities, and for verifying the results obtained there from. Your use of CommVault software tools and utilities indicates your unconditional acceptance of the above disclaimer.

    Loading...