Hello, it is possible with a powershell script a library set to maintenance. Background is we have 2 NAS-Systeme and we want only 1 online is to become a typ of AirGap solution.
We have qscript to do this operation. Please try with the below qscript to mark them offline.
qoperation execscript -sn setLibraryProperty -si LibName -si MarkLibraryOfflineForMaintenance -si 1
https://documentation.commvault.com/v11/expert/expert/setLibraryProperty.html
Thanks for the fast reply, but i have an error output:
Our NAS-Systems have normal SSD Disks, with our Tape Library is the script going.
Hello
The provided qscript will only work for Tape, StandAlone and PnP libraries as the same has been mentioned in the document as well.
If you would like any other customized script as per your requirement and that’s not mentioned in our available qscripts (https://documentation.commvault.com/2022e/expert/123654_available_qscripts.html), you would have to contact our Professional Services team via your Account Manager.
Best,
Rajiv Singal
Hi
A better option is to open a support request to ask if Commvault can document the API call Command Center makes to mark a library for maintenance.
Regards,
Mike
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.