×

Controlling usage of virtual disks before their attachment to virtual machines

  • US 10,282,221 B2
  • Filed: 11/16/2012
  • Issued: 05/07/2019
  • Est. Priority Date: 12/09/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method for controlling usage of virtual disks in a data-processing center hosting a set of virtual machines, the method comprising:

  • detecting a first request of attaching a new virtual disk comprising a set of new software programs to a first selected virtual machine, wherein the first selected virtual machine has a system virtual disk comprising a guest operating system attached to the system virtual disk and the set of new software programs comprises at least two new software programs;

    loading an image of the new virtual disk into a virtual disk repository in response to detecting the first request of attaching the new virtual disk;

    discovering the set of new software programs in the new virtual disk from the image of the virtual disk in the virtual disk repository;

    adding composition information of the new virtual disk to a composition library, wherein the composition information of the new virtual disk comprises an indication of the set of new software programs, and wherein a unique identifier is associated with the composition information to indicate at least version information and that the composition information is retrieved from the composition library;

    retrieving an indication of license entitlements of the set of new software programs from a license repository;

    enabling the attachment of the new virtual disk to the first selected virtual machine in response to a comparison between the composition information of the new virtual disk and the license entitlements of the set of new software programs from the license repository, indicating that further usage of all software programs in the set of the new software programs is allowed;

    in response to the enabling, attaching the new virtual disk to the first selected virtual machine and activating the set of new software programs; and

    removing an old virtual disk from the first selected virtual machine, wherein removing the old virtual disk comprises;

    deactivating old software programs comprised in the old virtual disk by executing an old de-activation module previously copied to the system virtual disk;

    deleting the old de-activation module of the old virtual disk from the system virtual disk of the first selected virtual machine; and

    automatically, and without manual intervention, updating the license entitlements of the set of new software programs in response to the attachment of the new virtual disk to the first selected virtual machine, wherein updating the license entitlements comprises updating a number of instances of the set of new software programs available for use; and

    detecting a second request of attaching the new virtual disk to a second selected virtual machine;

    retrieving the composition information of the new virtual disk from the composition library after detecting the second request;

    preventing the attachment of the new virtual disk to the second selected virtual machine in response to a comparison between the composition information of the new virtual disk and the updated license entitlements of the set of new software programs, wherein the comparison indicates that further usage of at least one of the set of new software programs is not allowed; and

    in response to the preventing, returning a warning message that the updated license entitlements cannot be fulfilled .

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×