I am trying to simplify installing agents for DBA’s and other app teams. I have created custom packages that can run silently, but by default I cannot assign things like storage policy to the specific agent. For example, an MSSQL custom package will install but no storage policy is assigned.
What I’d like to do:
DBA takes a custom package, runs the installer in “silent install” mode, server registers to the commserve.
Storage policy is assigned to the discovered DB instances
Client computer group is assigned (which has a schedule connected to it)
Ideally run a first full backup after install completes (that’s a low priority)
Pulls latest client updates - maybe executes a workflow on itself? (I know I’m dreaming)
Is there a way to customize the install.xml file in the installer? Has someone done this post-install with a qscript or other means?
I am running 11.26.41 - and it seems some custom package options have gone away.
Sorry, haven’t migrated to plans yet - but if this can be done in that world you’ll make me give that higher priority ;-)
Thanks in advance for your thoughts.
Joel Bates
Page 1 / 1
Sure can!
Use an answer file in the custom package to set everything as needed:
Thank you Mike! That got me out of my hole. I figured out how to retrieve the storagePolicyID from the API sandbox console. Is there a means to get the storagePolicyID using Powershell or another way? Or in the webconsole/java GUI?
For those of us who are “API Noobs” like me, here’s how I got a dump of my storage policies and ID’s: