The current version of software, 5.4, only supports the export and import of templates. I believe the next patch release for BBNA will support the export of predefined jobs also. Product management will need to validate this.
The template import export utility (bcan-templates-utility-5.3.02.zip) can be found in the program directory of the BBNA server under C:\Program Files\BMC Software\BCA-Networks\public\bmc\bca-networks\extras or the corresponding directory on Unix.
Principal Software Consultant
BMC Bladelogic Network Automation
BMC Software, Inc.
Thanks for the answer regarding Templates. For predefined jobs, does that means that we need to implement again the predefined jobs on the new server ?
We now have predefined jobs import/export in BBNA 5.4.01.
Can you tell us how to do it..?
One more questions is, Can i run predefined job from command line...???
Rahul V. Bhadane
There is no OOB utility to run Predefined Job from cmd line. You could however write a custom wrapper around the BNA web service client API to invoke the PredefinedJobService’s submitJob call to accomplish this. Refer to the BNA Developer’s Guide for details regarding this call and its arguments.
Regarding how to import/export content –
On an installed system, you can use this utility - \public\bmc\bca-networks\extras\bcan-import-export-8.2.00.zip.
It has scripts called import(.sh/bat) and export(.sh/bat).
For usage information, on cmd line simply type command name followed by “-?”
The utility is also documented in the BNA User’s Guide.
When i tried the same , i was getting following error, can you share the any format for template export.
Missing required options: url, user, password, file, component
Try... 'export.[sh/bat] -?' for usage
Rahul, here is how you would use the script -
Invoke the export.bat or export.sh command with the following options:
-component component_name The component to export, one of the following options:
■ Pod Blueprints
-file filename The name of the export file
-name filter (optional) The name of the component to export.
-password password The BMC Network Automation server password
-url URL The BMC Network Automation server URL
-user username The BMC Network Automation server user name