You create content packs to record (export) customizations so that you can reuse them in another implementation. For example, consider a test-to-production migration: You can reuse customizations by exporting a content pack on the test system and importing it on the production system. Using content packs provides greater efficiency and accuracy than repeating multiple customization processes manually.
Follow these steps:
You can include any or all of the following categories:
For example, for services, you can specify date last modified.
Note: Events, rules, actions, and report data objects (including API plug-ins) are not specific to any business units. That is, they always apply to all business units.
The CA Service Catalog command prompt opens.
ant create-contentpack
The Catalog system creates the folder structure for the content pack.
The Catalog system also prompts you to specify the following:
Note: We recommend that you name the folder to include the name, version, and locale (language) of the content pack.
The ant command creates the content pack folder named %USM_HOME%\FileStore\contentpacks\folder-name.
This folder includes the contentpack.properties file. This file stores the identification data for the content pack.
This folder also contains several subfolders, including the following and others:
If applicable, you populate these subfolders later in this procedure.
ant export-to-contentpack
The ant command does the following:
For example, if you exported services, the ant command does the following:
The ant command copies some (but not all) categories of objects to their subfolders. Therefore, you copy the remaining categories of objects to their folders manually, as explained in the next step.
Stores CA Process Automation processes.
Stores images for the services that you have included the Services subfolder.
Stores images for the service option groups that you have included in the Services subfolder.
Stores custom scripts to run before you import the content pack. Examples include scripts that unzip files required for the import or scripts that display critical information.
Stores custom scripts to run after you import the content pack. Examples include scripts that load data into the Catalog system or that prompt the user for configuration specifications.
Stores custom API plug-ins.
You have created the content pack on the source computer. You are now ready to import it on the target computer.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |