PowerVC

 View Only

Deploy Templates

By Archive User posted Tue July 12, 2016 12:00 AM

  


By: Himabindu P J


IBM PowerVC Software Engineer



 


IBM Cloud PowerVC Manager provides a new tool called a ‘deploy template’ that allows you to specify a set of deployment options for an image. Users with self-service authority can use the deploy template to quickly and easily deploy a virtual machine. Deploy templates are available under the ‘Images’ page in the user interface. This is an exclusive cloud feature that is created and maintained by users with the Administrator role. Once the deploy templates are created, project users can create any number of instances as required. 









What is a deploy template?



A cloud administrator creates deploy templates to define and control virtual machine (VM) specifications for users. This keeps cloud users from being exposed to the complexities of deploy parameters (e.g., CPU or memory allocations) and placement policies, as well as giving administrators control over the resources that self-service users can access. As you can see, deploy templates give advantages to both the cloud user (simplified deployment) and the cloud administrator (governance/resource control).



In order to create a deploy template, the following details are required:




  1. Deploy template name and description

  2. Deploy target

  3. Storage connectivity groups

  4. Compute template

  5. Collocation rules

  6. Networks

  7. Activation input



How to create a deploy template:



Only Administrators can create a deploy template from an image. Below are the steps to create a deploy template: -




  1. On the ‘Images’ page, select an image and click “Create Deploy Template”.








  1. The deploy template page is displayed as shown below: -






  1. Enter the deploy template name and description

  2. Choose the host group, storage connectivity group, compute template and collocation rule.



             




  1. Choose a Primary network from the drop down and optionally enter the activation input. Click “Create Deploy Template”.






  1. A deploy template will be created under “Deploy templates” tab as shown below: -





As you can see, creating a deploy template is extremely easy. And using a deploy template to deploy a VM is just as easy.



How to create a VM from a deploy template



To deploy a VM from the deploy template, perform the following steps.




  1. Navigate to the ‘Images’ page, click the Deploy Templates tab and select the template.








  1. Click Deploy. The deploy template and VM specifications are displayed.



              




  1. Enter the virtual machine name and choose the number of instances to be deployed, then click “Deploy”.

  2. Depending on the project policies, either the deployment starts right away or a request is created. If a request is generated, the administrator must approve the deploy request before the deployment will start.

  3. You can view the virtual machines on the ‘Virtual Machines ‘page once the deploy completes.





Now you should be able to easily create and use deploy templates with Cloud PowerVC Manager. If you have any questions, feel free to add them below. We’d love to hear from you!  And don’t forget to follow us on Facebook, LinkedIn, and Twitter.






#privatecloud
#Storage
6 comments
2 views

Permalink

Comments

Tue August 07, 2018 08:43 PM

Abderahim,
To answer your two questions:
1) The APIs for creating deploy templates are internal to PowerVC and not intended for external use.
2) No, you cannot deploy an LPAR without disks from PowerVC.

Thu August 02, 2018 05:09 PM

Hi

Is there a way tho know what API to use to do these creation ? is there a way to deloy an LPAR (just HMC definition) whitout disks ?

thanks
Abderahim

Thu November 16, 2017 09:26 AM

Hi Amarendra,

The Deploy templates are project specific but not role specific.
Any users belonging to a project can access the deploy templates irrespective of the which role they belong to.
Hope it answers your query.

Thank you,
Himabindu

Thu November 16, 2017 09:09 AM

Can Deploy template mapped with user defined roles ? User having "Viewer" role can have access to any particular "Deploy Template"

Thu April 20, 2017 12:10 PM

Hi,

PowerVC Deploy Templates are not same as Openstack Flavors.
Deploy templates uses flavors internally and in addition to this, we can define other deploy parameters like storage (provisioning methodology) and networking details.
Hope this answers your query.

Thank you very much.

Thu April 20, 2017 11:17 AM

Hi, Thank you for the informative article. Are Deploy Templates comparable to Openstack Flavors? We have a cloud aggregator software and we are facing a lot of issues integrating our software with PowerVC. Although this may not be a problem right now, we would like to be sure if Flavors and Deploy Templates mean the same thing as far as Openstack API calls are concerned.
Thank you.