UpdateMongoServiceCatalogue

Updated

Description

This QScript can be used to update, insert, delete service entries from Mongo service catalogue.

Usage

The script inserts, updates or deletes service entry in the Mongo Service Catalogue stored in GxGlobalParam based on the parameters.

Example: qoperation execscript -sn QS_UpdateMongoServiceCatalogue.sql -si 'jsonString' -si 'opType'

Script to Update/Insert or Delete Service Entries From Mongo Service Catalogue

For Updating Service Catalogue supply 'jsonString', 'opType' AS 0

For Deleting entry from Service Catalogue supply 'jsonString', 'opType' AS 1

Example jsonString: '{

"dbName" : "serv1DB", MongoDB Hosted DataBase Name

"clientId": "2", Commvault ClientId where MongoDB Service is installed

"enableDRBackup" : "true", Enable or Disable MongoDB Disaster Recovery Backup and Restore

}'

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.