Importing virtual system patterns into Weaver infrastructure patterns

To work with a virtual system pattern in an infrastructure component, you must import that pattern into a Weaver pattern file. Pattern files are Weaver representations of virtual system patterns.

Before you begin

Create a virtual system pattern. See Creating virtual system patterns for applications.

To import a virtual system pattern, you need to install or access the Weaver command-line interface (CLI). You can install the CLI on your local system or access a Weaver agent.

About this task

To import a virtual system pattern to a Weaver topology, open a command-line window on a computer that has the Weaver runtime installed and run the following command:
weaver iwd import PATTERN_ID -h hostname -u username -p password 
PATTERN_ID
The ID of the pattern. You can find the pattern ID by opening the web page for the pattern and looking in the URL for the page. For example, the following URL is for a pattern with the ID 80:
https://cloud_host.mycompany.com/dashboard/design/patterns/#80
hostname
The host name for the cloud system, such as cloud_host.mycompany.com.
username
Your user name for the cloud system.
password
Your password for the cloud system.

Results

The resulting Weaver file contains information about the virtual system pattern, including information about the nodes and the script packages that are on each node.
Note: Do not edit this file. It must match the pattern exactly.

What to do next

Create a façade to assign human-readable names to the elements in the pattern file. See Defining Weaver infrastructure façades for virtual system patterns.

Feedback