Automation of Administration Tasks
I am actually new to IRIS, and we are DevOps/PowerShell/Ansible team. We want to achieve certain administration tasks like updating Memory, Heap size, Lock size etc., in Management Portal through PowerShell. Is there any way i can achieve this without out logging in into Management portal. Off course, we have namespace, user id and password details. We have installed ODBC drive and able to update tables in the IRIS database. I have seen updating information in management portal getting updated in cpf file but vice versa i am not aware. i did not try though.
Comments
Classes such as Config allow changing these values
Config.config - InterSystems IRIS Data Platform 2020.1 - including private class members
You could write methods to update these based on passed values and then call them externally from powershell using iris session or iris terminal
Hi David,
thanks for this message. I did go to the page. I still see the examples does use the terminal interaction. Am I looking at correct place? Any other ways of automating these functions.
You can also use iristerm directly in batch mode
or use IRISDB, an example is below
Backup Freeze/Thaw batch script pitfalls for VMWare (and solutions) | (intersystems.com)
Thanks David. I did not try IRISDB method but wrote scr file to send the user name and password.