Deployment (Import/Export)

Introduction

ConSol CM offers the option to export the system configuration with or without run-time data into a file and to import this file into another ConSol CM system. The transfer file is called a scenario (sometimes also called a scene). It can contain various data - details are explained in the following sections.

Usually a scenario with configuration data is used to transfer data from a test to a staging or production system.

Since ConSol CM works with transfer keys for all objects it is highly recommended to transfer test to staging or production environments by using a scenario, and not to implement the same functionality in both systems. In case a transfer (export/import) is performed later on, there will be duplicate objects! Please read the detailed explanations below.

Scenarios

A scenario is a file in a proprietary ConSol CM format (similar to .zip, .jar, and .tar) that contains the data of a ConSol CM installation. It can be exported from one ConSol CM system and imported into the same or another system. This can be very helpful, e.g., when a test scenario is built on a test system which can then be transferred to a production server.

When an export file is created (see detailed explanation in the sections below) the administrator can decide which data should be included.

A scenario will always contain:

A scenario can contain, depending on the selection of the administrator (see figure below):

A scenario will never contain:

Deployment (Import/Export) Using the Admin Tool

In the Admin Tool, the deployments are managed using the navigation item Import/Export in the navigation group System. In this navigation item you can import or export scenarios (i.e., the whole configuration or part of it) in an application-specific format. You usually do this to transfer data between different ConSol CM installations. A typical example is transfer of the configuration from a test system to a production system.

All export/import actions are logged in the file transfer.log. A detailed description of this file is provided in the section Logging and Log Files.

Figure 408: ConSol CM Admin Tool - System, Import/Export

The import of external data can modify, overwrite, or delete existing data irrecoverably. Although the user is prompted for confirmation at critical points during deployment, this cannot prevent erroneous handling. Use this function only if you are very sure what you are doing. In case of doubt please ask the ConSol CM support team or a ConSol CM consultant for assistance.

Export

Click on Export afterwards to start the data export.

You will have to select the data that should be included in the export file (scenario). The following options are available:

If you would like to export the complete configuration, select All in the Configuration data section. The export/import of subsets (e.g., templates only) is usually applied when selected data (e.g., from a test environment) has to be transferred to another (e.g., live) system.

Import

General

Please note that during the import, the DWH LIVE mode must be switched off.

The general principles of ConSol CM scenario import are:

The following parameters have to be set for an import operation:

Click on Import afterwards to start the data import.

Runtime data are only imported into the target fields if these fields are empty. If a field contains an entry, this entry will not be overwritten during an import of a scene. Please use ETL (extract - transform - load) operations for export/import of runtime /operating data! This is not a use case for ConSol CM scene export / import.

Configuring System Behavior During Scene Import

The import of the configuration data in a scene is separated into several database transactions. This helps limit memory usage on the database server. However, in case of fatal errors during the import this could result in an inconsistent system state.

A ConSol CM system property can be used to configure the system in a way that all configuration items of a scene import are encapsulated in one large database transaction. Therefore, when enabling this option, a fatal error during import of a configuration item cannot leave the system in an inconsistent state. Rather the whole encapsulating transaction will be rolled back putting the system configuration-wise into the state before the import. The transaction encapsulation does not include localization strings or runtime data which are handled independently of this setting.

Use the ConSol CM system property cmas-core-server, config.import.global.transaction.enabled.

Enabling this transaction encapsulation may result in longer import execution times and higher memory requirements on the database server!

Transformation of User Name and Password Fields During Import into CM 6.11

In ConSol CM version 6.11, the behavior of two customer fields (former data object group fields) has changed:

Thus, when you import a scenario from a ConSol CM system with a version lower than 6.11 to a system running version 6.11 (or higher), two transformations will be performed automatically. The checkbox Delete existing data for the import operation does not have any influence on this behavior. 

Workflow Deployment (for Deployment Error Recovery Only)

Usually, all operations concerning workflow design and deployment are performed using the Process Designer. However, if an error occurs during workflow deployment, you can transfer the tickets that could not be transferred into the new workflow using the following options.

First select the queue(s), then choose the transfer mode:

Please also read the detailed explanation of the workflow deployment process in the ConSol CM Process Designer Manual.