Creating options and option choices in the Azure Provider
BMC Cloud Lifecycle Management administrators must create options and option choices for the Azure Provider service offerings as per the cloud service provided by Microsoft Azure, so that end users can provision a virtual machine (VM) and modify the configurations after a VM is provisioned.
This topic contains the following sections:
Creating options and option choices for the Azure Provider
To create an Azure Provider option, open the Options Editor and define the Azure Provider option, as shown in the following figure:
You must configure an option choice for the option created for the Azure Provider. For detailed steps, see to add options and option choices to service blueprints.
About the options for the Azure Provider
You must create the following options for an Azure Provider of the corresponding option types:
Option Name | Option Type |
---|---|
Azure Instance | Request Definition |
Update CPU and Memory | Postdeploy Action |
Add Disk | Postdeploy Action |
Add Server | Postdeploy Action |
Install Software | Postdeploy Action |
Add Local User | Postdeploy Action |
The following sections describes the options for the Azure Provider and the steps to be followed for creating the option choices:
Azure Instance option
The Azure Instance option allows you to specify the cloud service sizes that the end user can specify or change while provisioning the offering. The cloud administrator uses the Azure Instance option to configure the service offering with all of the available sizes and options for virtual machines on Microsoft Azure.
In an Azure Provider, you can create VMs with a minimum memory size of 768 MB (ExtraSmall size), and a maximum memory size of 56 GB (A7 size).
For the Azure Instance option, you must create option choices for blueprint configuration as a FunctionalModel parameter. You must create the choices of cloud service size based on the allowed sizes in Microsoft Azure. The available sizes of Microsoft Azure are:
- ExtraSmall (shared CPU core, 768 MB memory)
- Small (1 CPU core, 1.75 GB memory)
- Medium (2 CPU core, 3.5 GB memory)
- Large (4 CPU core, 7 GB memory)
- ExtraLarge (8 CPU core, 14 GB memory)
- A5 (2 CPU core, 14 GB memory)
- A6 (4 CPU core, 28 GB memory)
- A7 (8 CPU core, 56 GB memory)
Steps to create the option choice for the Azure Instance option
- Define the the Azure Instance option choice at Blueprint Configuration > Service Definition > Parameters, as shown in the following figure:
Note: For more information, see Option Choices available when extending service blueprints. - Specify the details for configuring an option choice of ExtraSmall size, as shown in the following figure:
Update CPU and Memory option
The Update CPU and Memory option allows you to increase the CPU core and memory size of a provisioned VM.
For the Update CPU and Memory option, you must create the option choices for blueprint configuration as a FunctionalModel Parameter. You must create the choices of cloud service size based on the following allowed sizes in Microsoft Azure:
- ExtraSmall (shared CPU core, 768 MB memory)
- Small (1 CPU core, 1.75 GB memory)
- Medium (2 CPU core, 3.5 GB memory)
- Large (4 CPU core, 7 GB memory)
- ExtraLarge (8 CPU core, 14 GB memory)
- A5 (2 CPU core, 14 GB memory)
- A6 (4 CPU core, 28 GB memory)
- A7 (8 CPU core, 56 GB memory)
Steps to create the option choice for the Update CPU and Memory option
- Define the Update CPU and Memory option choice at Blueprint Configuration > CPU Count or Memory Size, as shown in the following figure:
Note: For more information, see Option Choices available when extending service blueprints. - Specify the following details for configuring an option choice of ExtraSmall size:
- CPU count, as shown in the following figure:
- Memory Size, as shown in the following figure:
- CPU count, as shown in the following figure:
Add Disk option
The Add Disk option allows you to increase the disk volume of a provisioned VM. For the Add Disk option, you must create the option choices for blueprint configuration as Additional System Disk.
Steps to create the option choice for the Add Disk option
- Define the Add Disk option choice at Blueprint Configuration > Additional System Disk, as shown in the following figure:
Note: For more information, see Option Choices available when extending service blueprints. - Specify the following details for configuring an option choice for the Add Disk option, as shown in the following figure:
Add Server option
The Add Server option allows you to add a new VM to an existing service instance. You can specify the number of VMs to be added to an existing service instance.
For the Add Server option, you must create the option choices for blueprint configuration as Add Server.
Steps to create the option choice for the Add Server option
- Define the Add Server option choice at Blueprint Configuration > Add Server, as shown in the following figure:
Note: For more information, see Option Choices available when extending service blueprints. Specify the following details for configuring an option choice for the Add Server option, as shown in the following figure:
Install Software option
The Install Software option allows you to install software on a provisioned server. You can specify the software details to be installed on a provisioned server. For the Install Software option, you must create the option choices for blueprint configuration as Software Packages.
Steps to create the option choice for the Install Software option
- Define the option choice for the Install Software option at Blueprint Configuration > Software Packages, as shown in the following figure:
Note: For more information, see Option Choices available when extending service blueprints. - Specify the following details for configuring an option choice for the Install Software option, as shown in the following figure:
Add Local User option
The Add Local User option allows you to add local user on a provisioned server. You must specify the User Name and Password parameters to enable user provisioning on the Azure VM.
For the Add Local User option, you must create the Create User option choice with the following blueprint configuration details:
- A BLPackage having the local properties defined in it for user provisioning (For example: Linux Add User or Windows Add User BLPackage) as Software Packages.
- A parameter for user name (UNIX_USER or WINDOWS_USER) as Deployment Model Parameter.
- A parameter for user password (UNIX_USER_PASSWORD or WINDOWS_USER_PASSWORD) as Deployment Model Parameter.
See Creating-a-BLPackage-for-adding-local-users-in-the-Azure-Provider for details.
The following figure illustrates the blueprint configuration details to be defined for the Create User option choice:
Steps to create the option choice for the Add Local User option
- Define the option choice for the Add Local User option at Blueprint Configuration > Software Packages, as shown in the following figure:
Note: For more information, see Option Choices available when extending service blueprints. - Specify the following details for configuring an option choice for the Add Local User option, as shown in the following figure: