Deploying a solution connectivity application

Run the connectivityManager deploy command to deploy solution connectivity. You can use the command to deploy to a local server or a remote server.

Before you begin

You must copy the solution feature file (an .esa file) to all of the servers where you plan to deploy the connectivity configuration file.

You must create a Decision Server Insights solution that contains connectivity definitions appropriate for that solution.

You must export a Decision Server Insights solution feature (.esa file) from Insight Designer. For information on exporting solutions, see Exporting solutions and agents.

About this task

The server type that you deploy your connectivity files to depends on the server topology you configured. You are likely to deploy your configuration files to one of the following server types:

  • A development server.
  • Inbound connectivity servers.
  • Outbound connectivity servers.
  • Hosts that include both inbound and outbound servers.

If you are using JMS messaging, your servers must be configured with the appropriate client for the messaging providers you plan to use.

If you are deploying to a development server, or to a host that has both inbound and outbound servers, you deploy a single solution connectivity configuration file. The file must contain all the configuration elements for the inbound and outbound endpoints for the solution.

If you are deploying to separate inbound and outbound connectivity servers, you deploy one file for inbound servers, and one file for outbound servers. Each file contains the required configuration elements for the designated server type:

  • The configuration file for inbound servers must contain all the configuration for the solution inbound endpoints.
  • The configuration file for outbound servers must contain all of the configuration for the solution outbound endpoints.

If you have multiple connectivity servers, you must deploy to each server.

It is always necessary to deploy or redeploy the solution connectivity configuration files to a server or multiple servers when the following conditions apply:

  • A new solution version adds or removes an inbound endpoint for which the server is configured.
  • A new solution version changes the URL path of an inbound HTTP endpoint for which the server is configured.
  • A new solution version requires a change to the solution connectivity server configuration file for the specific server.
  • A change is required to the solution connectivity configuration file for a specific server, for example, a change to a user name and password that is required to deliver events to an external server.

It is not necessary to deploy the solution connectivity configuration files for the following to take effect; deploying the new solution version is sufficient in these cases:

  • Changes to inbound and outbound binding definitions, including classifier expressions.
  • Changes to message transformations references in an inbound binding.
  • Changes to the binding name referenced by an inbound or outbound endpoint definition.
  • Changes to the advanced properties set by inbound or outbound endpoint definitions.
  • Changes to the modeled events or agent descriptors.

Procedure

  1. Open a command window.
  2. Run the connectivityManager deploy command, For the local command, you specify only the name of the solution feature .esa file, and the name of the .xml file that contains the solution connectivity configuration.

    To deploy connectivity to multiple remote servers, you run the connectivityManager deploy remote command.

    Table 1. Tasks to complete for each server type
    Server type Deployment tasks
    Development server (cisDev)

    The following example deploys inbound and outbound solution connectivity to the local server.

    On Windows:

    connectivityManager deploy local mysolution.esa mysolution-config.xml

    On Linux:

    ./connectivityManager deploy local mysolution.esa mysolution-config.xml
    Inbound connectivity server (cisInbound)

    The following example deploys inbound solution connectivity to the local server:

    On Windows:

    connectivityManager deploy local mysolution.esa mysolution-inbound-config.xml --inboundEndpoints="*"

    On Linux:

    ./connectivityManager deploy local mysolution.esa mysolution-inbound-config.xml --inboundEndpoints="*"
    Outbound connectivity server (cisOutbound)

    The following command deploys outbound solution connectivity to the local server:

    On Windows:

    connectivityManager deploy local mysolution.esa mysolution-outbound-config.xml --outboundEndpoints="*"

    On Linux:

    ./connectivityManager deploy local mysolution.esa mysolution-outbound-config.xml --outboundEndpoints="*"