April 26, 2013 | Written by: Dominique Vernier
Share this post:
Using patterns to deploy an application topology has many advantages, such as reducing the deployment delay, eliminating configuration errors and using best practices.
Patterns are provided by different IBM products, all based on the same technology such as IBM Workload Deployer, IBM PureApplication and IBM SmartCloud Application Services. These products offer pattern-types out of the box.
A pattern-type is a kind of toolbox from where you can pick components (Enterprise Application Server or Databases) to build your topology as a pattern. It exists also as a repository from which you can download pattern-types: The PureSystems Center.
But what if I don’t find the pattern-type I need! What shall I do? Can I create my own toolbox?
The answer is yes! The IBM SmartCloud Application Services, IBM Workload Deployer and IBM PureApplication offer the same Plugin Development Kit (PDK). The PDK is a plugin for Eclipse (see installation instructions here) and provides a number of wizards to create your own pattern-type.
As a pattern-type uses Python for scripting, it is better to also install it in your Eclipse environment. Please read this article to know more about how to setup your Eclipse environment to efficiently create your own pattern-type: How to setup your SCAS/IWD/PureApp plugin development environment?
Once you have setup your Eclipse development environment, you are ready to go and start the development of your first pattern-type.
Basically, a pattern-type is composed of two or more plugins. One is the definition of the pattern-type, describing the version, the licenses and pre-requisites, while the others are defining each component (the tools in your tool box) and also the logic on how to link them to each other. The plugin can also define scalability policies, resiliency, component attributes and links and their attributes. You can also specify your own metrics for your own scalability or reuse existing ones (CPU/MEM/DISK Usage) and show them in the portal.
You can also create your own shared service to, for example, manage a pool of resources through different running pattern.
You will be able also to hook provisioning and de-provisioning processes to add some business logic if needed.
How to do that? You will find here a step by step education on how to create your own pattern-type. The education starts with a simple case and moves up to creating your own shared service.
IBM SmartCloud Application Service web site: This contains links toward the ‘price page’, ‘service description’ and ‘charge schedule’.
You can also find articles and videos about the new IBM SmartCloud Application Services by visiting my own website http://cloud.itdove.com and more specifically the IBM SmartCloud Application Services category.