Creating virtual system patterns for applications

To specify the infrastructure for the dynamic environment, you create a virtual system pattern on the cloud system.

About this task

The virtual system pattern specifies one or more virtual images to include in the environment. The pattern also lists the script packages to apply to the virtual images. These scripts perform tasks such as opening the firewall and installing the IBM® UrbanCode Deploy agent.

The infrastructure can use any operating system or topology that is compatible with the application and that can run an IBM UrbanCode Deploy agent.

Procedure

  1. On the web console for the cloud system, create a new virtual system pattern:
    • If you are using IBM Workload Deployer, click Patterns > Virtual Systems and then click New .
    • If you are using IBM SmartCloud® Provisioning, click Catalog > Virtual System Patterns and then click New .
    Creating a new virtual system pattern
  2. Give the pattern a name and click OK.
  3. Click Edit.
  4. In the Parts list, find one or more base images for the application.
  5. Drag copies of the base images to the editor. These base images become the nodes of the pattern.
    Adding the image to the topology
  6. Add script packages to the nodes to configure them. The script packages that you need to add depend on your environment, but in many cases you must open the firewall.
  7. Add the udeploy_agent_installer_v4 script package to each image. This script package installs an agent on images. This script package might have a different name on your system.
  8. Click Done editing.

Results

The complete virtual system pattern includes one or more nodes, each with at least one script package. Later, you import information about this pattern into your local workspace and specify how the application is deployed on it.

What to do next

Import information about this pattern into your workspace. See Importing virtual system patterns into Weaver infrastructure patterns.

Feedback