Contents
- Overview
- Creating a Deployment Archive in the Policy Studio
- Deploying a Deployment Archive in the Policy Studio
- Deploying a Factory Configuration in the Policy Studio
- Deploying a Currently Loaded Configuration in the Policy Studio
- Deployment Summary in the Policy Studio
- Deploying an Archive in API Gateway Manager
- Deploying on the Command Line
A deployment archive is a .fed
file that contains API Gateway
configuration. For example, this includes a Certificate Store, User Store, Core Configuration,
External Connections and Listeners. Such a collection of configuration is also known as a
configuration assembly. Using a deployment archive to deploy an assembly
enables you to edit configuration offline, and then deploy elsewhere later on a specified process.
For more details, see the section called “Creating a Deployment Archive in the Policy Studio”.
A configuration property is a name-value pair that identifies a specific
configuration assembly. Specifying a property associates metadata with the corresponding configuration
profiles in that assembly. For example, the Name property with a value of Default
Factory Configuration
associated with a default installation. Assigning properties to an
configuration also enables you to edit configuration offline, and deploy later on a specified process.
You can use the Policy Studio to create deployment archives. You can also use the Policy Studio to deploy
an existing deployment archive, factory configuration, or working configuration on selected API Gateway
instances. You can also use the API Gateway Manager to deploy a deployment archive in your Web browser.
Alternatively you can use the managedomain
script to create and deploy deployment
archives on the command line.
Currently Loaded Configuration
To create a deployment archive (.fed
file) for a currently loaded API Gateway
configuration, perform the following steps:
-
In the main menu, select File -> Save Deployment Archive.
-
Enter values for the appropriate configuration properties (Name, Description, and Version).
-
If you wish to create any additional properties (for example, Department), click the green plus button on the right, and enter a property value (for example,
Engineering
). -
Click OK.
-
Enter a filename for the
.fed
file, and click Save.
API Gateway Group View
To create a deployment archive in the API Gateway Group view, perform the following steps:
-
Right-click a server in the tree, and select Save Deployment Archive.
-
Browse to a directory in the dialog.
-
Click OK. The file is saved to the specified directory (for example,
c:\temp\5c3b2a3c-23a5-4261-87cb-eca150f0a037.fed
. -
Click OK.
To view and modify configuration properties in the API Gateway Group view, perform the following steps:
-
Right-click a server in the tree, and select View/Modify Properties.
-
Enter values for the appropriate configuration properties (Name, Description, and Version).
-
If you wish to create additional properties (for example, Department), click the green plus button on the right, and enter a property value (for example,
Engineering
). -
Click Update Configuration Properties.
-
Click OK.
To deploy an existing deployment archive (.fed
file) in the API Gateway
Group view, perform the following steps:
-
Click the Deploy button in the toolbar.
-
In the Select the servers(s) you wish to deploy to section, select a server group from the list, and select the server instance(s) in the box below.
-
In the Select the configuration you wish to deploy section, select I wish to deploy an existing archive.
-
In the Location of Archive field, click Browse, and select the
.fed
file. -
Click Deploy to upload the archive to the Admin Node Manager and deploy to the selected server(s).
-
When the archive has deployed, click Finish.
To deploy a default factory configuration in the API Gateway Group view, perform the following steps:
-
Click the Deploy button in the toolbar.
-
In the Select the servers(s) you wish to deploy to section, select a server group from the list, and select the server instance(s) in the box below.
-
In the Select the configuration you wish to deploy section, select I wish to deploy a factory configuration.
-
Click Deploy to deploy the configuration to the selected server(s).
To deploy a currently loaded configuration in the Policy Studio, perform the following steps:
-
Click the Deploy button on the right in the toolbar.
-
In the Select the servers(s) you wish to deploy to section, select a server group from the list, and select the server instance(s) in the box below.
-
Enter values for the appropriate configuration properties (Name, Description and/or Version).
-
If you wish to create any additional properties (for example, Department), click the green plus button on the right, and enter a property value (for example,
Engineering
). -
Click Deploy.
When the Deployment Results screen is displayed, the deployment starts, and deployment to each server occurs sequentially. Feedback is provided using icons in the Task column, and text in the Status column. When the configuration has deployed, click Finish.
Canceling Deployments
You can cancel deployments by clicking the Cancel button. Feedback is provided in the Status column. You cannot cancel a deployment when it has started. The wizard performs the cancellation at the end of the current deployment, with all remaining deployments being cancelled.
Deployment Errors
Client-side and server-side errors can occur. Client-side errors are displayed in the System Trace in the Console view. If any server-side deployment errors occur during the deployment process, you can review these in the Deployment Error Log view. This is displayed at the bottom of the screen when you click Finish, and lists any errors that occur for each process. The corresponding Console Deployment Log is also available in the Console view.
Redeploying
When you have deployed a configuration to one or more processes, you can click back through the wizard to change your selections and redeploy, without needing to exit and relaunch the wizard.
You can use the API Gateway Manager in a Web browser to deploy an existing deployment archive to a group of API Gateways. Perform the following steps:
- In the Topology view, right-click the API Gateway, and select Deploy.
- Browse to the deployment archive to be deployed.
- Choose the Group and API Gateways to which you wish to deploy the archive.
- Select Deploy in the wizard, and the deployment archive is deployed to the selected API Gateways.
You can create and deploy a deployment archive using the managedomain
script in the following directory:
The deployment options in the managedomain
script are as follows:
18) Deploy to a group 19) List deployment information 20) Create deployment archive 21) Download deployment archive 22) Update deployment archive properties