If you have a virtual system pattern on a cloud system,
you can import that pattern as a resource template. This resource
template is a pattern from which you can request cloud resources.
Before you begin
Create a virtual system pattern on a compatible cloud system.
Each node in this pattern must include the
Install IBM® UrbanCode Deploy Agent script
package. See
Creating cloud patterns for resource templates.
The following cloud systems are supported:
- IBM SmartCloud® Orchestrator version
2.2 or later
- IBM PureApplication® System 1.0
or later
- IBM Workload Deployer version
3.1.0.6 or later
Procedure
- Click .
- Click Import Template from Cloud.
- Under Import Resource Template,
specify a name for the new resource template.
- In the Cloud Connection list, select
the connection to the cloud system. If you do not have
a connection to the cloud system, click New Connection and
specify the information for the connection, including the host name
and login information for the cloud system. For more information,
see Cloud connections.
- In the Cloud Resource list, select
the virtual system pattern to use.
- Optional: In the Teams fields,
specify the access information for the new resource template.
- Click Save.
- Optional: Edit the properties for the nodes
in the resource template:
- Click the new resource template to select it.
- Click an agent prototype, go to the Configuration tab,
and click Resource properties. This
table shows the properties for the node, including virtual image properties
such as memory, number of CPUs, and starting passwords. The window
also shows the properties for each script package on the node.
- Edit the properties by clicking Edit next
to a property.
You can use variables to refer to values
that are not yet specified. For example, if you have a database node
named
DB_node and an application node named
app_node,
you might need to use the host name of the database node in the application
node configuration. However, the host name is not set until the cloud
system provisions the nodes. In this case, you can refer to the host
name of the database node with the following variable:
${DB_node.hostname}
See
the documentation for your cloud system for further information about
using property variables.
Results
The template opens, displaying the resource hierarchy for
the template. The template contains a top-level folder and one agent
prototype for each node in the pattern, as shown in the following
figure.
What to do next
Create an application blueprint from this resource template.
See
Creating application blueprints.