Run Provisioning
The Run Provisioning tool enables you to run arbitrary provisioning actions on an object of any currently supported scope (for example, node, database, database instance, application, cluster, or cluster instance) in BMC Database Automation.
To use the tool, type the following command:
run_prov_job.pl <manager_fqn> <exec_id> <job_type> <xml_filename>
User examples
The following command runs a provisioning job to create an Oracle database on bdamgr.mycompany.com:8087 on May 30, 2013:
The XML content to be passed in the xml_filename argument can be found by running an operation from the GUI and then retrieving the XML from the log package.
The environment variable GA_ASYNC_MODE can be used to further control the behavior of the run_prov_job.pl script:
In another example, the following command runs a provisioning job to apply a Db2 patch to bdamgr.mycompany.com:8087 on May 20, 2014:
run_prov_job.pl https://bdamgr.mycompany.com:80872014-MAY-20 DB2::ApplyPatch db.xml