Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SYSTEM AND METHOD FOR PROVISIONING CLOUD SERVICES ACROSS HETEROGENEOUS COMPUTING ENVIRONMENTS
Document Type and Number:
WIPO Patent Application WO/2017/007553
Kind Code:
A1
Abstract:
In accordance with an embodiment, described herein is a system and method for provisioning cloud services across heterogeneous computing environments. A plurality of provisioning instructions stored on a configuration management server can be partitioned into a plurality of ranges. A plurality of client nodes connected to the configuration management server can be configured into a plurality of groups, each group providing one or more computing environments on one or more virtual machines for hosting a cloud service. Each computing environment in a particular group can be associated with a provisioning instruction launcher that specifies a particular range of provisioning instructions. When a virtual machine in a particular group reboots, the computing environment on the virtual machine searches for the latest provisioning instruction in the range corresponding to the particular group.

Inventors:
RAHEJA RAJESH (US)
FU JONATHAN (US)
TOTH GABOR (US)
LE LAY (US)
MUKHERJEE SHILADITYA (IN)
PANDA MAROMI (IN)
JIN ZHIWEN (US)
Application Number:
PCT/US2016/035788
Publication Date:
January 12, 2017
Filing Date:
June 03, 2016
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ORACLE INT CORP (US)
International Classes:
G06F9/50
Foreign References:
US20140074973A12014-03-13
US20150082303A12015-03-19
US20120151480A12012-06-14
Other References:
None
Attorney, Agent or Firm:
MEYER, Sheldon, R. et al. (US)
Download PDF:
Claims:
Claims:

What is claimed is: 1. A system for provisioning cloud services across heterogeneous computing environments, comprising:

a computer including one or more microprocessors;

a configuration management server, executing on the computer, that stores a plurality of provisioning instructions partitioned into a plurality of ranges; and

a plurality of client nodes configured into a plurality of groups, each group providing one or more computing environments on one or more virtual machines for hosting a cloud service;

wherein each group is associated with a provisioning instruction launcher specifying a particular range of provisioning instructions for use in configuring computing environments in that group; and

wherein when a virtual machine in a particular group restarts, the computing environment on the virtual machine searches for the latest provisioning instruction in the range specified by the provisioning instruction launcher associated with the particular group. 2. The system of claim 1 , wherein the plurality of provisioning instructions are partitioned based on their version numbers.

3. The system of claim 1 or 2, further comprising

a build server configured to generate a plurality of builds, each build including a build label, and associated with a provisioning instruction; and

a plurality of points of delivery (PODs), each including a virtual machine and installed in a particular computing environment for provisioning the cloud service.

4. The system of claim 3, wherein the provisioning instruction associated with each build includes a version number, which contains a category indicator specifying that the provisioning instruction is provided for use by a particular group of client nodes.

5. The system of claim 4, wherein the version number of the provisioning instruction is updated with a date and a time from a build label of the build.

6. The system of claim 5, wherein the updated version number is uploaded to the configuration management server.

7. The system of any one of claims 1 to 6, wherein each range of provisioning instructions is associated with a metadata for use in configuring or customizing a provisioning instruction within that range for different computing environments in a particular group of client nodes.

8. The system of any one of claims 1 to 7, wherein the configuration management server is a Chef server or a Puppet server.

9. A method for provisioning cloud services across heterogeneous computing environments, comprising:

providing, on a configuration management server, a plurality of provisioning instructions that are partitioned into a plurality of ranges;

configuring a plurality of client nodes connected to the configuration management server into a plurality of groups, each group providing one or more computing environments for hosting a cloud service; and

associating each group with a provisioning instruction launcher that specifies a particular range of provisioning instructions for use in configuring computing environments in that group;

wherein when a virtual machine in a particular group restarts, the computing environment on the virtual machine searches for the latest provisioning instruction in the range specified by the provisioning instruction launcher associated with the particular group. 10. The method of claim 9, wherein the plurality of provisioning instructions are partitioned based on their version numbers.

11. The method of claim 9 or 10, further comprising

configuring a build server to generate a plurality of builds, wherein each build includes a build label and is associated with a provisioning instruction; and

creating a plurality of points of delivery (PODs), each including a virtual machine and installed in a particular computing environment for provisioning the cloud service. 12. The method of claim 11 , wherein the provisioning instruction associated with each build includes a version number, which contains a category indicator specifying that the provisioning instruction is provided for use by a particular group of client nodes.

13. The method of claim 12, wherein the version number of the provisioning instruction is updated with a date and a time from a build label of the build.

14. The method of claim 13, wherein the updated version number is uploaded to the configuration management server.

15. The method of any of claims 9 to 14, wherein each range of provisioning instructions is associated with a metadata to configure or customize a provisioning instruction within that range for the plurality of different computing environments in a particular group of client nodes.

16. The method of any one of claims 9 to 15, wherein the configuration management server is a Chef server or a Puppet server.

17. A non-transitory computer-readable storage medium storing a set of instructions for provisioning cloud services across heterogeneous computing environments, said instructions, when executed by one or more processors, causing one or more processors to perform the method of any of claims 9 to 16.

18 A non-transitory computer-readable storage medium storing a set of instructions for provisioning cloud services across heterogeneous computing environments, said instructions, when executed by one or more processors, causing the one or more processors to perform the steps comprising:

providing, on a configuration management server, a plurality of provisioning instructions that are partitioned into a plurality of ranges;

configuring a plurality of client nodes connected to the configuration management server into a plurality of groups, each group providing one or more computing environments for hosting a cloud service; and

associating each group with a provisioning instruction launcher that specifies a particular range of provisioning instructions for use in configuring computing environment in that group;

wherein when a virtual machine in a particular group restarts, the computing environment on the virtual machine searches for the latest provisioning instruction in the range specified by the provisioning instruction launcher associated with the particular group.

19. The non-transitory computer-readable storage medium of claim 18, wherein the plurality of provisioning instructions are partitioned based on their version numbers.

20. The non-transitory computer-readable storage medium of claim 18 or 19, further comprising

configuring a build server to generate a plurality of builds, each build including a build label, and associated with a provisioning instruction; and

creating a plurality of points of delivery (PODs), each including a virtual machine and installed in a particular computing environment for provisioning the cloud service.

21. The non-transitory computer-readable storage medium of any one of claims 18 to 20, wherein the provisioning instruction associated with each build includes a version number, which contains a category indicator specifying that the provisioning instruction is provided for use by a particular group of client nodes.

Description:
SYSTEM AND METHOD FOR PROVISIONING CLOUD SERVICES ACROSS

HETEROGENEOUS COMPUTING ENVIRONMENTS

COPYRIGHT NOTICE

A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.

Field of Invention:

[0001] Embodiments of the invention are generally related to continuous integration and delivery of software applications, and are particularly related to a system and method for provisioning cloud services across heterogeneous environments.

Background:

[0002] In the area of software development, a paradigm shift from a waterfall approach, with monolithic releases, to an agile approach with incremental releases, has changed the way that an application life cycle is managed. For example, developers tend to integrate early and more frequently to reduce integration failures. To accommodate the requirements of increased frequency of builds, testing and deployments, a plurality of tools, such as configuration management tools, can be used for configuration management of a plurality of machines/client nodes for multiple participants in a software development process.

[0003] These tools can use multiple provisioning instructions to configure client nodes for different purposes. However, the multiple provisioning instructions that are stored on a configuration management server can cause a client node to retrieve a provisioning instruction that it does not intend to retrieve.

Summary:

[0004] In accordance with an embodiment, described herein is a system and method for provisioning cloud services across heterogeneous computing environments. A plurality of provisioning instructions stored on a configuration management server can be partitioned into a plurality of ranges. A plurality of client nodes connected to the configuration management server can be configured into a plurality of groups, each group providing one or more computing environments on one or more virtual machines for hosting a cloud service. Each computing environment in a particular group can be associated with a provisioning instruction launcher that specifies a particular range of provisioning instructions. When a virtual machine in a particular group reboots, the computing environment on the virtual machine searches for the latest provisioning instruction in the range corresponding to the particular group.

Brief Description of the Figures:

[0005] Figure 1 illustrates a configuration management tool, in accordance with an embodiment.

[0006] Figure 2 illustrates a system for provisioning cloud services across heterogeneous computing environments, in accordance with an embodiment.

[0007] Figure 3 further illustrates a system for provisioning cloud services across heterogeneous computing environments, in accordance with an embodiment.

[0008] Figure 4 illustrates a flow chart for provisioning cloud services across heterogeneous environments by partitioning version numbers of provisioning instructions, in accordance with an embodiment.

[0009] Figure 5 illustrates a method for provisioning cloud services across heterogeneous computing environments, in accordance with an embodiment.

Detailed Description:

[0010] A configuration management tool (for example, Chef) can configure different types of client nodes for different purposes. For example, one type of client nodes can be configured for developers, and another type can be configured for testers. For a development team that uses the continuous integration and continuous delivery practice, the different types of client nodes can include the same set of server components, and one or more different versions of a software application under development.

[0011] However, such a configuration management tool often uses a configuration management server to store provisioning instructions, which can cause one type of client node to retrieve a provisioning instruction intended for another type of client nodes.

[0012] Further, the multiple provisioning instructions centrally stored on a configuration management server tend to provide configuration information for a particular type of computing environment. However, different participants in the software development process can be required to use heterogeneous computing environments. For example, a developer can be required to use a Windows environment for development, while a tester can be required to use a Linux environment for testing. [0013] Existing solutions to the above-described problems include creating different servers for storing provisioning instructions for different types of client nodes. However, the multiple servers approach is not suitable for continuous integration and continuous delivery.

[0014] In accordance with an embodiment, described herein is a system and method for provisioning cloud services across heterogeneous computing environments. A plurality of provisioning instructions stored on a configuration management server can be partitioned into a plurality of ranges. A plurality of client nodes connected to the configuration management server can be configured into a plurality of groups, each group providing one or more computing environments on one or more virtual machines for hosting a cloud service. Each computing environment in a particular group can be associated with a provisioning instruction launcher that specifies a particular range of provisioning instructions. When a virtual machine in a particular group reboots, the computing environment on the virtual machine searches for the latest provisioning instruction in the range corresponding to the particular group.

[0015] Figure 1 illustrates a configuration management tool, in accordance with an embodiment.

[0016] As shown in Figure 1 , the system can include a plurality of client nodes (for example, client node A 1 15, and client node B 117); and a configuration management server (for example, a Chef Server or a Puppet Server) 1 11 that provides provisioning instructions 123 to the plurality of client nodes.

[0017] In accordance with an embodiment, a provisioning instruction (e.g., a set of cookbooks for Chef) can serve as a fundamental unit of configuration and policy details that the configuration management server uses to bring a client node into a specific state. For example, a provisional instruction can be used to install a web server and a database server, and to change configuration files in different computing environments, for provisioning a cloud service in those computing environments.

[0018] In accordance with an embodiment, a client node can be a physical server, or a virtual machine in a private cloud or public cloud. Each client node can include an agent (for example, agent A 125 and agent B 129) that fetches a provisioning instruction and execute the provisioning instruction to configure that client node.

[0019] In accordance with an embodiment, each agent can poll the configuration management server at a regular interval for the most recent provisioning instruction, and use the provisioning instruction to bring the client node up-to-date if the client node does not comply with the state defined by the provisioning instruction.

[0020] In accordance with an embodiment, a provisioning instruction can comprise a set of files (for example, cookbook files), and a metadata to store the versions of these files. A provisioning instruction can have a unique version number, which can represent a set of functionality different from a provisioning instruction on which the version is based.

[0021] For example, a provisioning instruction version number can take the form of

X.Y.Z. , where X.Y.Z. are decimal numbers used to represent major (X), minor (Y), and patch (Z) versions.

[0022] As further shown in Figure 1 , a code repository 137, for example, a database associated with a source control application/system, can be used to store different versions of source code for a software application and provisioning instructions for configuring the client nodes for use in developing, testing, or deploying the software application.

[0023] In accordance with an embodiment, a build server (for example, Jenkins) 119 can retrieve the latest changes in the source code of the software, and perform an automated build to generate a plurality of builds, either at a regular interval, for example, nightly, or whenever code changes are detected. The build server can take the builds, and use a deployment process invoked by the agent on each client node to deploy one or more builds on that client node.

[0024] In accordance with an embodiment, a different version of the software application can be deployed for execution on each node. For example, each of service A 127 and service B 131 can represent a different version of the software application. A provisioning instruction assigned to each client node can be used to bring that client node to a desired state for execution of a particular version of the software application.

[0025] As shown in Figure 1 , the code repository can be connected 139 to the build server, which in turn can be connected 141 to the configuration management server. Whenever there is a code change in the code repository, one or more automated processes in the build server or the configuration management server can be triggered to install code packages in the builds on the client nodes.

[0026] In accordance with an embodiment, the plurality of client nodes can be configured to be used by users of different roles in the software development process. Each client node, whether it is a development node or a testing node, can use the same computing environment, in which a different version of a software application for a cloud service can be provisioned. To configure the client nodes as described above, multiple versions of provisioning instructions can be used, with each version defining the same server state and a different version of the software application.

[0027] However, when a client node of any type reboots, it can search for the latest version of the provisioning instruction. For example, if the provisioning instruction has been updated to accommodate a change that a developer has made, a testing client node can retrieve the latest version of the provisioning instruction, even if a tester may not be yet ready to test the latest version of the software application.

Version Number Partitioning for Provisioning Instructions

[0028] Figure 2 illustrates a system for provisioning cloud services across heterogeneous computing environments, in accordance with an embodiment.

[0029] More particularly, Figure 2 shows a system that can be used to overcome the above-described problems, by partitioning version numbers of provisioning instructions into different ranges, with each range assigned to one or more client nodes of a particular type, for example, one or more testing client nodes, or one or more development client nodes.

[0030] In accordance with an embodiment, each type of client nodes can be used by users of a particular role in the software development process, and can be partitioned into different groups. For example, development client nodes can be in one group, and testing client nodes can in a different group, for easy identification.

[0031] As shown in Figure 2, a build server 219 can be configured to automatically generate a plurality of builds 221 at a regular interval (for example, hourly or nightly) using source code 239 from a code repository 237. Each build can have a build label that comprises four parts: a label name, a date, a time, and a build number.

[0032] For example, in the build label

"SOACLOUD_MAIN_GENERIC_141017_1145_0219", "SOACLOUD_MAIN_GENERIC" is the label name, the numeric values indicate that the build was generated at 1 1 :45 PM on October 17, 2014, and "0219" is the build number.

[0033] In accordance with an embodiment, each build can be associated with a provisioning instruction retrieved from provisioning instructions 241 stored in the code repository. Version numbers of the provisioning instructions can be partitioned into a plurality of ranges. Each range can include one or more provisioning instructions for configuring one or more client nodes of a particular type.

[0034] In accordance with an embodiment, a range can be identified by a category indicator, which can be a numerical value for the major version in a version number of a provisioning instruction.

[0035] As an illustrative example, the version numbers of the provisioning instructions can be partitioned into a range for developers and a range for testers. The range for developers can comprise any provisioning instruction with a version number smaller than 2.0.0, and bigger than 1.0.0.

[0036] In accordance with an embodiment, the version number of the provisioning instruction associated with a build can be updated with the date and time information from the build label, to match the build with the provisioning instruction. [0037] As an illustrative example, a provisioning instruction retrieved from the code repository can have the version number "1.1.1", where the first "1" is a category indicator that this version of the provisioning instruction is created for use by a development node, the middle "1" is a minor version, and the last "1" is a patch version.

[0038] In accordance with an embodiment, the build server can modify a metadata used for storing the version number of the provisioning instruction, to replace the minor version and the build number, respectively with the date and time extracted from the build label.

[0039] For example, after the update, the version number of the provisioning instruction becomes "1. 141017.1 145", which includes the original category indicator, and the date and time extracted from the build label

"SOACLOUD_MAIN_GENERIC_141017_1145_0219".

[0040] As shown in Figure 2, provisioning instruction 222 can be created from a plurality of the provisioning instructions in the code repository, by using time stamps 225 from the plurality of builds in accordance with the method described above. The provisioning instructions that are partitioned into different ranges can be uploaded 243 from the build server to a configuration management server 21 1 , where provisioning instructions 223 can include versions numbers in range A 216 and range B 218. Points of Delivery (POD)

[0041] In accordance with an embodiment, the build server can include a plurality of files 226 for creating a plurality of points of deliveries (PODs), each POD representing a computing environment for rendering one or more builds as a cloud service.

[0042] As used herein, a POD can be a deployable or hosting unit on which a service (for example, a cloud service) can be installed. For example, a POD can comprise one or more application containers, shared storage for the containers, and options about how to run the containers. A POD can be a virtual machine, or created from a virtual machine.

[0043] As further shown in Figure 2, each of the plurality of files on the build server can be assigned an updated version number of a provisioning instruction as a postfix. The plurality of files can be subsequently uploaded to a big file server 224, together with each of the builds.

[0044] In accordance with an embodiment, multiple PODs can be created from the plurality of files, and can be uploaded to a plurality of client nodes (for example, client node A 215 and client node B 217).

[0045] For example, POD A 245 can be uploaded to client Node A, and POD B 249 can be uploaded to client node B.

[0046] In accordance with an embodiment, each POD can include a mapping file (for example, mapping file A 247 or mapping file B 251 ), and each mapping file can specify a provisioning instruction launcher (for example, provisioning instruction launcher A 246 and provisioning instruction launcher B 248). Each provisioning instruction launcher can be a file (for example, a cookbook file) used by an agent in a client node to launch the latest provisioning instruction within a particular range.

[0047] For example, provisioning instruction launcher A can be used to launch the latest provisioning instruction within the range A, and provisioning instruction launcher B can be used to launch the latest provisioning instruction within the range B.

[0048] In accordance with an embodiment, whenever a particular client node is rebooted, the provisioning instruction launcher on the client node can search for a provisioning instruction with a highest (latest) version number with a particular range.

[0049] In accordance with an embodiment, by partitioning the version numbers of the provisioning instructions into different ranges, each range tied to a particular type of client nodes, the system allows the configuration management server to store provisioning instructions for a plurality of client nodes, for use by users of different roles in the software development process.

[0050] In accordance with an alternative embodiment, during the creation of a POD, the mapping file of the POD can be used to pin down to a specific version of a provisioning instruction. For example, the mapping file can explicitly specify which version of a provisioning instruction to use. When the POD is stopped or restarted, the specified version of the provisioning instruction can be searched for, even if a newer or older version is available on the configuration management server. If the specified version is not available, an error can be generated.

[0051] Figure 3 further illustrates a system for provisioning cloud services across heterogeneous computing environments, in accordance with an embodiment.

[0052] More particularly, Figure 3 illustrates different types of computing environments provided by one client node, or a plurality of client nodes.

[0053] In accordance with an embodiment, when developing and testing a cloud service, a development team can use a particular version of a software application for a given POD. Each POD can be associated with a different computing environment, including hardware and operating systems. Virtualization solutions (for example, Vagrant Box) allow a user to simulate different computing environments using virtualization on a client node.

[0054] As shown in Figure 3, client Node C 315 can provide a Vagrant box environment, in which a plurality of PODs can be installed, for example, POD X 319 for Windows, POD Y 321 for Linux, and POD Z 323 for Ubuntu. Each POD can be a virtual machine (for example, a Vagrant box), and can include a common provisioning provision launcher, for example, provisioning launcher A 325, 327 or 329 in the PODs.

[0055] In accordance with an embodiment, the plurality of PODs allow a developer to develop or test a cloud service in a plurality of computing environments using the same provisioning instruction.

[0056] In accordance with an embodiment, each range of provisioning instructions stored on the configuration management server can be associated with a metadata (for example, metadata A 309 and metadata B 311). The metadata can be used to configure or customize the same provisioning instruction for use by a plurality of different computing environments on one client node, or across a plurality of client nodes.

[0057] In accordance with an embodiment, a provisioning instruction in range A can be used to bring each of the plurality of computing environments on client node C, to a desired state defined by the provisioning instruction. Metadata A can include information to customize the provisioning instruction to meet the specific requirements of each computing environment on client node C.

[0058] Similarly, metadata B can provide information to customize a provisioning instruction in range B, to meet the specific requirements of each of a plurality of different computing environments on different client nodes of a particular type, for example, client node D 317 and client node E 334.

[0059] In accordance with an embodiment, when a POD on client node C reboots, it can invoke the provisioning instruction launcher A to search the latest provisioning instruction within range A. When each of client node D and client node E reboots, it can invoke the same provisioning instruction launcher (for example, provisioning instruction launcher B 337 or 339) to search for the latest provisioning instruction in range B.

[0060] Figure 4 illustrates a flow chart for provisioning cloud services across heterogeneous environments by partitioning version numbers of provisioning instructions, in accordance with an embodiment.

[0061] In accordance with an embodiment, at step 411 , a developer creates a provisioning instruction with a version number that includes a category indicator that the provisioning instruction is to be used by client nodes of a particular type (e.g., development nodes).

[0062] As step 413, a build server detects code changes for a software application used for creating a cloud service, and creates a build with a build label that includes a build number, a date and a time that the build is generated.

[0063] At step 415, the build server updates the version number of the provisioning instruction with the date and the time from the build label, without changing the category indicator.

[0064] At step 417, the updated version number of the provisioning instruction is attached as a postfix for each of a plurality of files that are provided for creating a point of delivery (POD) in which to deploy the cloud service.

[0065] At step 419, the build and the plurality of files are uploaded to a big file server.

[0066] At step 421 , a POD is created from the plurality of files, and the POD is configured with a mapping file, which defines a provisioning instruction launcher for use in launching the latest provisioning instruction in a range specified by the category indicator.

[0067] At step 423, the POD is installed on one or more client nodes of the particular type indicated by the category indicator.

[0068] At step 425, as new builds are generated, the version number of the provisioning instruction is updated with the date and time from the label of each build.

[0069] At step 427, the POD uses the provisioning instruction launcher to search for the latest version of the provisioning instruction within the range.

[0070] Figure 5 illustrates a method for provisioning cloud services across heterogeneous computing environments, in accordance with an embodiment.

[0071] As shown in Figure 5, at step 51 1 , a plurality of provisioning instructions that are partitioned into a plurality of ranges are provided on a configuration management server that is connected to a plurality of client nodes.

[0072] At step 513, the plurality of client nodes are configured into a plurality of groups, each group providing one or more computing environments for hosting a cloud service.

[0073] At step 515, each computing environment in a particular group is associated with a provisioning instruction launcher that specifies a particular range of provisioning instructions.

[0074] At step 517, when rebooting, a computing environment in a particular group searches for the latest provisioning instruction in the range corresponding to the particular group.

[0075] Embodiments of the present invention may be conveniently implemented using one or more conventional general purpose or specialized digital computer, computing device, machine, or microprocessor, including one or more processors, memory and/or computer readable storage media programmed according to the teachings of the present disclosure. Appropriate software coding can readily be prepared by skilled programmers based on the teachings of the present disclosure, as will be apparent to those skilled in the software art.

[0076] In some embodiments, the present invention includes a computer program product which is a non-transitory storage medium or computer readable medium (media) having instructions stored thereon/in which can be used to program a computer to perform any of the processes of the present invention. Examples of the storage medium can include, but are not limited to, any type of disk including floppy disks, optical discs, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.

[0077] The foregoing description of embodiments of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations will be apparent to the practitioner skilled in the art. The modifications and variations include any relevant combination of the disclosed features. The embodiments were chosen and described in order to best explain the principles of the invention and its practical application, thereby enabling others skilled in the art to understand the invention for various embodiments and with various modifications that are suited to the particular use contemplated.