Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

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:

UpdCPUMem-Opt.png

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). 

Note

For detailed information about the available sizes and options for virtual machines on Microsoft Azure, see Virtual Machine and Cloud Service Sizes for Azure.

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:

  1. ExtraSmall (shared CPU core, 768 MB memory)
  2. Small (1 CPU core, 1.75 GB memory)
  3. Medium (2 CPU core, 3.5 GB memory)
  4. Large (4 CPU core, 7 GB memory)
  5. ExtraLarge (8 CPU core, 14 GB memory)
  6. A5 (2 CPU core, 14 GB memory)
  7. A6 (4 CPU core, 28 GB memory)
  8. A7 (8 CPU core, 56 GB memory) 

Steps to create the option choice for the Azure Instance option

  1. Define the the Azure Instance option choice at Blueprint Configuration > Service Definition > Parameters, as shown in the following figure:
    image2014-1-29 13:51:19.png
    Note: For more information, see Option Choices available when extending service blueprints.
  2. Specify the details for configuring an option choice of ExtraSmall size, as shown in the following figure:
    AddDsk-optchoice.png

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.

Note

For detailed information about the available sizes and options for virtual machines on Microsoft Azure, see Virtual Machine and Cloud Service Sizes for Azure.

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: 

  1. ExtraSmall (shared CPU core, 768 MB memory)
  2. Small (1 CPU core, 1.75 GB memory)
  3. Medium (2 CPU core, 3.5 GB memory)
  4. Large (4 CPU core, 7 GB memory)
  5. ExtraLarge (8 CPU core, 14 GB memory)
  6. A5 (2 CPU core, 14 GB memory)
  7. A6 (4 CPU core, 28 GB memory)
  8. A7 (8 CPU core, 56 GB memory) 

Steps to create the option choice for the Update CPU and Memory option

  1. Define the Update CPU and Memory option choice at Blueprint Configuration > CPU Count or Memory Size, as shown in the following figure:
    UpdCPUMem-OptChoice1.png
    Note: For more information, see Option Choices available when extending service blueprints.
  2. Specify the following details for configuring an option choice of ExtraSmall size:

    • CPU count, as shown in the following figure:
      UpdCPU-OptChoice1.png
    • Memory Size, as shown in the following figure:
      UpdMem-OptChoice1.png

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.

Note

You can create the option choice for disk size in the 1-1024 GB range only, as shown in the following figure:

AddDsk-optchoice3.png

Steps to create the option choice for the Add Disk option

  1. Define the Add Disk option choice at Blueprint Configuration > Additional System Disk, as shown in the following figure:
    AddDsk-optchoice1.png
    Note: For more information, see Option Choices available when extending service blueprints.
  2. Specify the following details for configuring an option choice for the Add Disk option, as shown in the following figure:
    AddDsk-optchoice2.png

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.

Note

  1. The VMs of an existing service instance must not have the NAT IP address enabled.
  2. The Add Server post-deploy action is applicable only on single-tier, provisioned VMs and does not apply on multitier, provisioned VMs.

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

  1. Define the Add Server option choice at Blueprint Configuration > Add Server, as shown in the following figure:
    AddServ-OptChoice1.png
    Note: For more information, see Option Choices available when extending service blueprints.
  2. Specify the following details for configuring an option choice for the Add Server option, as shown in the following figure:
    AddServ-OptChoice.png

    Note

    • Number of Instances specifies the number of VMs to be provisioned by using the Add Server post-deployment action. You must create only one instance.
    • Ensure that User Entry is set to Enabled to allow the user to log on to the newly provisioned VM by using the specified user name and password when adding a new VM.

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

  1. Define the option choice for the Install Software option at Blueprint Configuration > Software Packages, as shown in the following figure:
    SwOpt.png
    Note: For more information, see Option Choices available when extending service blueprints.
  2. Specify the following details for configuring an option choice for the Install Software option, as shown in the following figure:
    SwOpt1.png

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:

UsrProv-SrvCatOpt.png

Steps to create the option choice for the Add Local User option

  1. Define the option choice for the Add Local User option at Blueprint Configuration > Software Packages, as shown in the following figure:

    UsrProv-SrvCatOptCnfg.png
    Note: For more information, see Option Choices available when extending service blueprints.
  2. Specify the following details for configuring an option choice for the Add Local User option, as shown in the following figure:

    UsrProv-SrvCatOptChc.png

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*