SetVmPolicyProperty

Scope

Intended Audience
All X
CommVault Internal  
CE/System Test  
Development  

Platform

  • CommServer (Database: CommServ)

Release

  • 10.0.0

Description

This script is to allow us to change (or set) VM Allocation policy properties


Usage

qoperation execscript -sn QS_SetVmPolicyProperty -si PolicyName -si attrName -si attrVal


PolicyName - Name of the VM allocation policy


attrName – specifies the attribute name for which we need to change attrVal


attrVal - value to be set


When executed, the qscript returns one of the following output:


  • 0 - successful execution
     
  • Non Zero - for failed execution
     
  • Usage

    qoperation execscript -sn QS_SetVmPolicyProperty -si @policyName='MyPolicy' -si @propName='Use VM Pool' -si @attrVal='1'


  • script_name: QS_SetVmPolicyProperty.
     
  • exec_status: 0 for successful execution, Non zero for failed execution.
     
  • Version

  • 1.1
     
  • 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.