Creating virtual system patterns for resource templates
To provision dynamic environments from a cloud system, you must create a virtual system pattern that specifies the contents of the environment.
Before you begin
- Make sure that you have a user account on the cloud and that you have the permission to create
virtual system patterns.For this type of cloud integration, the following cloud systems are supported:
- IBM® Cloud Orchestrator version 2.4 or later
- IBM SmartCloud® Orchestrator versions 2.2 and 2.3
- IBM® PureApplication® System version 1.0 or later
- IBM® Workload Deployer version 3.1.0.6 or later
- Configure the cloud system as described in Configuring virtual system pattern-based clouds.
About this task
Procedure
- On the web console for the cloud host, create a new virtual
system pattern.This process differs depending on the type of cloud. For instructions, read the documentation for your cloud system.For example, for IBM® Workload Deployer, click and then click the New
button.
- Give the pattern a name and click OK.
- Click Edit
.
- In the Parts list, find one or more
base virtual images for the application. Note: These virtual images must have the following characteristics:
- An installation of Java™
- The unzip program
- The JAVA_HOME system variable set
Restriction: For versions of HCL Launch prior to version 6.0.1.4, the image must not have more than one network card. For version 6.0.1.4 and later, the image can have more than one network card. - Drag one or more copies of the base images to the editor.
For example, the following figure shows a pattern that contains two images.
- Add script packages to the nodes based on the requirements
of your cloud system.For example, you might need to open the firewall on the images. You might also need to run script packages for security compliance or registration. To add a script package, find it in the Pattern Editor, under Scripts and then drag the script package to one node at a time.
- Add the Install HCL Launch Agent script
package to each node.You do not need to specify the parameters on this script package; these parameters are filled in when you provision an environment using this pattern.
- Optional: Customize the pattern.For example, you can specify the passwords for the images by clicking the Properties
icon at the top of each image. Depending on the images you are using, you might be able to specify the memory or processing power of the images, or other details about the images.
- Click Done editing to save the pattern.