5.1.2.4 Nesting service templates
Service templates can contain other service templates. For instance, you might want to create a LAMP stack service including a virtual machine with storage to hold a web server, and a physical machine with storage to hold the corresponding database.
Image 5-1:
|
|
Click to enlarge
|
To create a nested service including both a virtual and physical machine with attached storage
- Create 4 service templates: a virtual machine template, a storage template to attach to the VM, a physical machine template, and a storage template to attach to the PM. For detailed instructions, see Creating/modifying service templates.
- Now, create a container for the VM template and its storage template. Fill out the general information requested for your service.
- Go to the Templates included tab.
- Go to the Sequence tab.
- Click the virtual machine template.
The box's outline turns blue.
- Click the storage template.
An arrow appears between them.
- Go to the Summary tab to view the information configured on the Template properties tab, modification information, and the names of the virtual machine and storage template included. If you are satisfied with the template's settings, click Save template.
- Repeat step 2 to create another container for the physical machine and its storage.
- Once both containers have been created, create a large container for both the virtual machine and its storage and the physical machine and its storage. Fill out the general information requested for your service.
- Go to the Templates included tab.
- Go to the Sequence tab.
- Click the physical machine service.
The box's outline turns blue.
- Click the virtual machine service.
An arrow appears between them.
- Go to the Summary tab to view a summary of the new container. If you are satisfied, click the Save template button.
Related topics
© 2012 Adaptive Computing