An Environment Instance, as its name suggests, is simply an The Topology Overview displays the association between one environment and one instance. An Environment Instance Each pair is created by either associating an Instance to an Environment on the Edit/Create Environment Wizard, or associating an Environment to an Instance on the Edit/Create Instance Wizard. Endpoints and properties values are mapped to those Environment Instance pairs.
Each Instance likely has a development environment, a production environment, and at least one testing environment. The association of Environments to Instances defines a matrix. Endpoint association and properties are defined at each intersection.
This table depicts four Environments identified as by rows, and two Instances which are identified as by columns. Each Environment Instance combination intersection defines which Endpoint(s) host the Instance for that Environment, and the Environment-specific properties which are required to communicate to the underlying technology. Note that the SOA2 Instance in the DEV and SIT Environments do not have any Endpoints or configuration properties defined because SOA2 is not associated with those Environments.
SOA1 | SOA2 | |
---|---|---|
DEV | Endpoint(s) | N/A |
SIT | Endpoint (s) | Endpoint (s ) |
UAT | Endpoint (s) | N/A |
PROD | Endpoint (s) | Endpoint (s) |
The image below depicts the Environment Instances Instance pairing for SOA2. In this case, the FlexDeploy SOA Plugin's soaDeploy operation was associated to the SOA2 instance. The soaDeploy operation defines several Environment-Instance-scoped properties that must be defined for the operation to succeed.
Instances are flexible enogh enough to allow FlexDeploy to adapt to a variety of technologies and platforms. In Oracle Data Integrator, for example, an Instance is most likely one to one with a single installation, spanning all Environments (e.g. DEV, SIT, UAT, and PROD). In the case of Oracle WebLogic, a single installation is partitioned into one or more domains. So for WebLogic it makes more sense to map an Instance to each WebLogic domain, since each domain will require different property configuration to communicate with its servers.
Notice that in the table below the wls_customer and wls_order Instances (domains) share the same host/Endpoint in the DEV and SIT Environments, but only share some of the same hosts/Endpoint in the UAT and PROD Environments. Mapping the Instances to the WLS domains allows the flexibility to match the Endpoint and properties to your exact Topology.
wls_customer | wls_order | |
---|---|---|
DEV | Endpoints | Endpoints |
SIT | Endpoints | Endpoints |
UAT | Endpoints | Endpoints |
PROD | Endpoints | Endpoints |
Viewing Environment Instances
To view the Environment Instances that have been established select Topology -> Environment Instances from the menu.
Associating Endpoints to Environment Instances
, and choose the Topology Overview tab.
Every circle on the screen represents an Environment and Instance association, i.e. each circle represent physical installation of some application, middleware, database or subset of it. The configuration of these pairings can be viewed and edited by clicking the circle.
Updating Environment Instance Properties
Each Environment Instance has an Endpoints column, which indicates the number of Endpoints pair has a Properties tab which summarizes the required properties that are associated to it. Click on the number in the Endpoints column to add or remove endpoints from the Environment Instance. The circle on the Topology Overview will not become green if all of the required properties are not set (as well as an endpoint is assigned).
The properties are linked to the Environment Instance intersection because workflows and/or plugin operations associated to the Instance have Environment-Instance-scoped properties defined. These Environment-Instance-scoped properties must have values defined for every Environment to which that Instance is mapped. This provides, for example, the ability to define unique Weblogic Admin Server host and port for each Environment Instance.
Tip |
---|
Note that encrypted properties are stored in Credential Store (Local or External) and can be configured using Edit button next to credential name drop down. Alternatively, you can reuse single credential for multiple properties also, in which case you should name that credential appropriately. |
See Properties chapter for more details.
Associating Endpoints to an Environment Instance Pair
The different colors of the circles indicates the level of completion of the configuration, see the table below for what each color indicates.
Icon | Description |
---|---|
All required properties are unset, or there is no endpoint associated to the Environment Instance pair. | |
Some required properties are set, but other required properties have been left empty. At least one endpoint is associated to the Environment Instance pair. | |
All required properties are set and there is at least one endpoint associated to the Environment Instance pair. |
Each intersection has an Endpoints tab, which displays the different Endpoints that are associated to it.
To associate an Endpoint to the an Environment Instance association, shuttle click and drag one or more Endpoints from the left right over to Selected Endpoints by selecting an endpoint and clicking the Add buttonthe main pane. The list of available Endpoints on the left right can be filtered by entering all or part of the name or port into the Filter field Search field and clicking the Search button. By the list will be automatically filtered. By default, only Endpoints which are active are available for association.
Once an Endpoint has been shuttled to Selected Endpoints, optional Resource Types can be assigned. The Resource Types indicates what type of resources the Endpoint contains, which helps in determining which Endpoints should be selected to perform particular plugin executions. For example, the Weblogic plugin has Resource Types of WLS Admin Server, WLS Managed Server, and WLS Node Manager. Selecting the Resource Type(s) for each Endpoint tells FlexDeploy a little bit more about the Topology and enables it to direct work appropriately (e.g. to the Weblogic Admin Server vs. one of its Managed Servers).
To disassociate an Endpoint from the Environment Instance, shuttle one or more Endpoints from Selected Endpoints back over to the left by selecting an endpoint and clicking the Remove Buttonclick an Endpoint row and drag it back to the list on the right.
Click the Save button to save the changes , and then click the Back button to and automatically return to the previous screen.
Updating Environment Instance Properties
Each Environment Instance also has a Properties column which summarizes the required properties that are associated to it. The first number indicates the number of properties which have been assigned values. The second number identifies the total number of required properties associated to that Environment Instance. If the two numbers are not equal it means that additional configuration is required for that Environment Instance. Click on the link in the Properties column to provide the ability to update properties associated to the Environment Instance.
The properties are linked to the Environment Instance because workflows or plugin operations associated to the Instance have Environment-Instance-scoped properties defined. These Environment-Instance-scoped properties must have values defined for every Environment to which that Instance is mapped. This provides, for example, the ability to define unique Weblogic Admin Server host and port for each Environment Instance.See Properties chapter for more detailsAlternatively, click the Apply button to save any changes, but remain on the screen until the Back button is clicked.