This article describes how to deploy an application in PureApplication System, which uses the features of PureData System for Transactions where applications can start using the full existing data. In this case, you can use existing data capabilities as well as constantly access data. The benefits are as follows:
- The infrastructure setup is handled by PureApplication System, which encapsulates the installation, configuration, and integration of all the components as well as the virtual infrastructure to manage workloads based in your defined policies. This process requires less manual administration.
- The predefined patterns are provided with optimized configurations for the solutions they support. The implementation is based on industry recommended practices to save time when configuring and deploying applications.
- The database as a service provides rapid and flexible solutions, such as scalability, availability, and performance.
- Minimal knowledge of the underlying middleware infrastructure is required, which reduces the need for middleware skill requirements.
Creating a virtual application pattern
To make the data services robust and more scalable in PureApplication System, you need to create a virtual application to use the capabilities of PureData System for Transactions.
- Open the PureApplication Web Console, such as
https://<IP-Address or hostname>.
- Click the Workload Console tab at the top of the Welcome page.
- On the Welcome page, click the Patterns drop-down list and select Virtual Applications.
- Select the virtual application pattern type that you want to create as
shown in Figure 1. In this scenario, we have chosen to use Web
Application Pattern Type 2.0.
Figure 1. Application pattern window
- Click the green plus sign, as shown in Figure 1, to start building your new virtual application.
- When you click on the plus sign, it automatically
opens the dialog box, Create Application, to create
the customized application. Select Blank application
and click the Start Building button as shown in
Figure 2. Start building your virtual application window
- When you click on the Start Building button, the
Virtual Application Builder opens in another
browser window, as shown Figure 3. In this scenario, the decision is
to create a virtual application for Enterprise Application for
WebSphere® Application Server. The scenario also associates an
existing DB2® database from PureData System for Transactions to
the virtual application. Use the following steps to re-create this
- Expand the Application Components section and drag the Enterprise Application component to the right side of the canvas (see Figure 3).
- Expand the Database components and drag the Existing Database component for DB2 to the right side of the canvas (see Figure 3).
- Create the connection between the Enterprise
Application component and the Existing
Database component. The connection is made by
dragging the blue dot (on the side of the component) from one
component over to the other component, as shown in Figure
Figure 3. Virtual Application Builder
- Click the Application components -
Enterprise Application. After you have
clicked the component, the right side of the screen gives you
options for that component. You can then specify a name for
the Enterprise Application, apply an EAR file, and select the
interim fix pack from the drop-down lists, as shown in Figure
Figure 4. Enterprise Application components
- Click the Database component - Existing
database box. After you have clicked on this
component, the right side of the screen gives you options for that
component. You can specify information in several fields. The
following fields are available for you to complete as shown in
- Name: This field is for the existing database.
- Existing Database Name: This field is for the database that you want to use from PureData System for Transactions.
- Server Hostname or IP Address, Server Port Number, User name, and Password are self-explanatory.
Figure 5. Database components - existing database entry fields
- Click the connection bar (made when connecting the components
earlier using the blue dots). After you have clicked the bar,
the right side of the screen gives you the options associated
with the bar. You need to specify the JNDI name of the data
source as shown in Figure 6.
Figure 6. Field input for the connection bar
- Click Save to save the virtual application as shown
in Figure 7.
Figure 7. Windows to save the virtual application
- Enter the name of the custom virtual application using the dialog box
as shown in Figure 8.
Figure 8. Saving your custom application
Deploying the virtual application
You just created the virtual application pattern. Now you will deploy the virtual application pattern in this section. In this scenario, you will deploy a virtual application for Web Application Pattern Type 2.0.
To deploy the virtual application and a new virtual application pattern:
- Navigate to the Welcome page of the Workload Console panel.
- Click Instances.
- Select Virtual Applications to deploy a new virtual
application pattern as shown in Figure 9.
Figure 9. Workload Console panel
- When you select Virtual Applications in the same
window, it opens the Deploy Virtual Application window. Select
Pattern Type > Web Application Pattern Type
2.0 as shown in Figure 10.
Figure 10. Deploy Virtual Application window
- Click OK.
- A pattern list displays, as shown in Figure 11, which you had created
earlier. Select the pattern you created.
Figure 11. Pattern type list
- Click OK.
- The Deploy Virtual Application window displays as shown in Figure
Figure 12. Deploy Virtual Application window
- Enter the name.
- Choose the filter IP type as either IPV4 or IPV6.
- Select the profile type from the "Filter by profile type" drop-down
list as shown Figure 13.
Figure 13. Filter by profile type list
- Select the profile from the Profile drop-down list as
shown in Figure 14.
Figure 14. Profile list
- Select the deployment priority from the Priority
drop-down list as shown in Figure 15.
Figure 15. Deployment priority list
- Select the cloud group from the drop-down list. In this scenario, there is only one cloud group - Shared. See Figure 12.
- Select the IP group from drop-down list. In this scenario, there is only one IP group - Pure AS IP Group 3. See Figure 12.
- Expand the Advanced option to generate or download the SSH key. See Figure 12.
- Click OK to deploy the virtual application. See Figure 12.
You have now completed a virtual application for Web Application Pattern Type 2.0.
This article described how to deploy a virtual application pattern in PureApplication System and to use some of the capabilities of PureData System for Transactions. These simple steps can help you use the existing database from PureData for middleware virtual application pattern deployment in PureApplication System.
- IBM PureData System for Transactions home page
- IBM PureSystems Centre
- IBM PureApplication System Information Center
- IBM Redbook: Adopting IBM PureApplication System V1.0
- IBM PureSystems resources on developerworks