Deploying PureApplication System middleware by using a PureScale database from PureData System for Transactions

Companies face many challenges, such as a rapidly expanding user base, continuous development of new applications, and the use of existing database systems. IBM® PureApplication System™ and IBM PureData™ System for Transactions are designed to meet such needs. This article describes the options you can use in those two systems to create a scalable middleware and its applications.

Shivaji D. Bhosale (sbhosale@in.ibm.com), Advisory Software Engineer, IBM

Photo of Shivaji D. BhosaleShivaji Bhosale is an IBM Certified Cloud Architect for IBM India and System Technology in Pune, India. For the past four years, Shivaji has been engaging customers with IBM Cloud technologies. His current role involves administrating systems, storage, database, and application servers in the IBM Systems and Technology Group. Shivaji received his Master's degree in Computer Management from Shivaji University, Kolhapure, India.



02 October 2013

Also available in Japanese

Introduction

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.

  1. Open the PureApplication Web Console, such as https://<IP-Address or hostname>.
  2. Click the Workload Console tab at the top of the Welcome page.
  3. On the Welcome page, click the Patterns drop-down list and select Virtual Applications.
  4. 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
    Application pattern window
  5. Click the green plus sign, as shown in Figure 1, to start building your new virtual application.
  6. 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.
    Figure 2. Start building your virtual application window
    Start building your virtual application window
  7. 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 scenario:
    1. Expand the Application Components section and drag the Enterprise Application component to the right side of the canvas (see Figure 3).
    2. Expand the Database components and drag the Existing Database component for DB2 to the right side of the canvas (see Figure 3).
    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 4.
      Figure 3. Virtual Application Builder
      Virtual Application Builder
    4. 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 4.
      Figure 4. Enterprise Application components
      Enterprise Application components
    5. 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 Figure 5:
      • 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
      Database components - existing database entry fields
    6. 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
      Field input for the connection bar
  8. Click Save to save the virtual application as shown in Figure 7.
    Figure 7. Windows to save the virtual application
    Windows to save the virtual application
  9. Enter the name of the custom virtual application using the dialog box as shown in Figure 8.
    Figure 8. Saving your custom application
    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:

  1. Navigate to the Welcome page of the Workload Console panel.
  2. Click Instances.
  3. Select Virtual Applications to deploy a new virtual application pattern as shown in Figure 9.
    Figure 9. Workload Console panel
    Workload Console panel
  4. 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
    Deploy Virtual Application window
  5. Click OK.
  6. A pattern list displays, as shown in Figure 11, which you had created earlier. Select the pattern you created.
    Figure 11. Pattern type list
    Pattern type list
  7. Click OK.
  8. The Deploy Virtual Application window displays as shown in Figure 12.
    Figure 12. Deploy Virtual Application window
    Deploy Virtual Application window
  9. Enter the name.
  10. Choose the filter IP type as either IPV4 or IPV6.
  11. Select the profile type from the "Filter by profile type" drop-down list as shown Figure 13.
    Figure 13. Filter by profile type list
    Filter by profile type list
  12. Select the profile from the Profile drop-down list as shown in Figure 14.
    Figure 14. Profile list
    Profile list
  13. Select the deployment priority from the Priority drop-down list as shown in Figure 15.
    Figure 15. Deployment priority list
    Deployment priority list
  14. Select the cloud group from the drop-down list. In this scenario, there is only one cloud group - Shared. See Figure 12.
  15. 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.
  16. Expand the Advanced option to generate or download the SSH key. See Figure 12.
  17. Click OK to deploy the virtual application. See Figure 12.

You have now completed a virtual application for Web Application Pattern Type 2.0.


Conclusion

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.

Resources

Comments

developerWorks: Sign in

Required fields are indicated with an asterisk (*).


Need an IBM ID?
Forgot your IBM ID?


Forgot your password?
Change your password

By clicking Submit, you agree to the developerWorks terms of use.

 


The first time you sign into developerWorks, a profile is created for you. Information in your profile (your name, country/region, and company name) is displayed to the public and will accompany any content you post, unless you opt to hide your company name. You may update your IBM account at any time.

All information submitted is secure.

Choose your display name



The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerWorks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

Required fields are indicated with an asterisk (*).

(Must be between 3 – 31 characters.)

By clicking Submit, you agree to the developerWorks terms of use.

 


All information submitted is secure.

Dig deeper into Cloud computing on developerWorks


  • Bluemix Developers Community

    Get samples, articles, product docs, and community resources to help build, deploy, and manage your cloud apps.

  • developerWorks Labs

    Experiment with new directions in software development.

  • DevOps Services

    Software development in the cloud. Register today to create a project.

  • Try SoftLayer Cloud

    Deploy public cloud instances in as few as 5 minutes. Try the SoftLayer public cloud instance for one month.

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Cloud computing
ArticleID=947035
ArticleTitle=Deploying PureApplication System middleware by using a PureScale database from PureData System for Transactions
publish-date=10022013