Unsupported content

 

This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

Installing software as a part of an Azure service offering

You can install additional software on the virtual machines (VMs) that are provisioned using the Azure Provider. You can create single-tier or multi-tier offerings.

This topic contains the following sections:

Before you begin

To create a custom image of a VM with RSCD agent

You must create a custom image in the Microsoft Azure management portal of a VM with the RSCD agent installed in it. For more information, see Creating and Uploading a Virtual Hard Disk that Contains the Windows Server Operating System.

Note

Microsoft Azure allows you to create custom images using the Virtual Hard Disks (VHDs) of a storage account and also by capturing the image of an existing VM using the CAPTURE feature in Microsoft Azure portal (See http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-capture-image-windows-server/ for details). In Azure Provider, the VMs provisioned using a custom image are then placed in the same storage account in Microsoft Azure as the one used for creating the custom image. 

The following example procedure describes the steps for creating a custom image on the Microsoft Azure management portal. The image is a VM with RSCD provisioned by using BMC Cloud Lifecycle Management.

  1. Log on to the Microsoft Azure management portal by using your Microsoft Azure user-account credentials.
  2. Click  VIRTUAL MACHINES, and select the VM that was provisioned by using the BMC Cloud Lifecycle Management application.

  3. Click and then select Keep the attached disks, as shown in the following figure:

  4. To confirm the deletion of the VM, click YES.
  5. Click DISKS.
    The disk details of the deleted VM are displayed, as shown in the following figure:

  6. Select the OS disk of the deleted VM and click  and then select Retain the associated VHD, as shown in the following figure:

  7. To confirm the deletion of the OS disk, click YES, as shown in the following figure:

  8. Navigate to the Virtual Machines > IMAGES page, and click  to create a custom image.
    The Create an image from a VHD window appears, as shown in the following figure:

  9. Enter a name and a description for the new custom image.
  10. Click VHD URL, and select the VHD of the deleted VM, as shown in the following figure:

  11. Click Open.
  12. Select I have run Sysprep on the virtual machine associated with this VHD.
  13. Click OK.
    A custom image is created, as shown in the following figure:

To define an Azure service blueprint for installing custom software

Navigate to the Service Designer to specify the software installation as a part of the service offering, and perform the following steps:

  1. In the Application tab of the Blueprint Editor, select an application component. The Basic Details are as shown in the figure below:



  2. Click Software Packages and click 
    The following figure shows the Software Packages pop-up window:


  3. Select the available software package and click OK.
    The selected software package is added in the service blueprint definition.
  4. (For multi-tier service blueprint model only) Navigate to the service Definition > Sequencing option, and click the Deployment Sequence tab, and then use the Up and Down arrows to configure the sequence in which service blueprint components are deployed when the service is requested. The following figure shows a definition of software application deployment in a two-tier service blueprint.

  5. Click Save to save the changes in the service blueprint.
  6. Check the service blueprint into the Blueprint Library.

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.

Comments