Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Exporting service blueprints and the service catalog by using eZDeploy


This topic describes how to export BMC Cloud Lifecycle Management service blueprints and the service catalog as an eZDeploy package (.eZ file). If you want to import a service blueprint, you must export it first.

 

Before you begin

  • Ensure that the eZDeploy profile is created in the source environment prior to exporting a service blueprint or a service catalog. 
  • Ensure that the option included in the Service being exported must have at least one option choice.

To export service blueprints as an eZDeploy package

Run the following command:
export –name <serviceBlueprintName> -profile <eZDeploySourceProfileName>

  • serviceBlueprintName: Name of the BMC Cloud Lifecycle Management service blueprint
  • eZDeploySourceProfileName: Name of the eZDeploy source profile that is created

If eZDeploy detects any BMC Atrium Orchestrator workflows that are associated with the service blueprint, you must provide the module version.

When the BMC Cloud Lifecycle Management service blueprint is exported, a folder named export is created under the eZDeploy directory. The export folder contains an .eZ file (zip file) with the BMC Cloud Lifecycle Management service blueprint name, as shown in the following figure:

expscrn.png

Tip

eZDeploy logs each step at eZDeploy Installed Directory/ezdeploy.log. For any issues, you can check the log file.

Warning

If eZDeploy cannot locate the objects other than the specified locations displayed in the following table, the export process might fail. The table lists the object types and their locations in BMC Server Automation.

Object type

Location in BMC Server Automation

Application component template

Component Templates/CSM_Application_Packages

System package

Depot/CSM_OS_Packages

VGP

Depot/CSM_Virtual_Guest_Packages

BLPackage deploy job

Jobs/CSM_Applications

Software deploy job

Jobs/CSM_Applications

NSH script

Depot/CSM_Scripts


 

To export a service blueprint with the service catalog as an eZDeploy package

Run the following command:
export –name <serviceBlueprintName> -profile <eZDeploySourceProfileName> –service <serviceName>

  • serviceBlueprintName: Name of the BMC Cloud Lifecycle Management service blueprint
  • eZDeploySourceProfileName: Name of the eZDeploy source profile that is created
  • serviceName: Name of the service from the service catalog to be exported

When the BMC Cloud Lifecycle Management service blueprint is exported, a folder named export is created under the eZDeploy directory. The export folder contains an .eZ file (zip file) with the BMC Cloud Lifecycle Management service blueprint name. This exports the service catalog, service offering, options and option choices associated with the service. The servicecatalog folder created with the blueprint and bsa folders contains the exported options, service offering and option choices details, as shown in the following figure:

SrvExp.png    

 

Where to go from here

Importing-service-blueprints-and-service-catalog-using-eZDeploy

Validating-import-and-export-actions-in-eZDeploy

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*