IP Library Granted Patent US 9,448,832
Granted Patent B2
US 9,448,832 · App. 14/669,067 · Granted Sep 20, 2016

Apparatus and method for validating application deployment topology in cloud computing environment

Inventors: Geng Du (Beijing, CN); Chong Feng (Beijing, CN); Wei Feng Li (Beijing, CN); Xin Li (Beijing, CN); Qi Liu (Beijing, CN); Qiang Wang (Tianjin, CN); Yue Wang (Beijing, CN); Chunxiao Zhang (Beijing, CN)
Assignee: International Business Machines Corporation
G06F9/45558G06F8/65G06F9/50H04L67/10G06F2009/4557G06F2009/45591
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,448,832
App. No.
14/669,067
Granted
Sep 20, 2016
Kind
B2
Abstract

The present invention relates to an apparatus and a method for validating application deployment topology in a cloud environment. There is provided an apparatus for validating application deployment topology in a cloud environment comprising: a topology skeleton generator configured to generate, based on multiple VMs and script packages running on the VMs created by a user and required to deploy an application as well as running order of script packages and data dependency between script packages set by the user, a topology skeleton that comprises at least scripts of script packages of respective VMs and running order of the script packages; and a simulator configured to simulate a runtime environment in the cloud environment at the apparatus, thereby validating the running order and data dependency with respect to the topology skeleton, wherein the simulator is installed in the apparatus by using a simulator installation package retrieved from the cloud environment.

Claims (22)

1. An apparatus for validating application deployment topology in a cloud computing environment comprising:

a topology skeleton generator configured to generate, based on multiple VMs and script packages running on the VMs created by a user and required to deploy an application of the user as well as running order of the script packages and data dependency between the script packages set by the user, a topology skeleton that comprises at least scripts of script packages of respective VMs and the running order of the script packages, wherein the topology skeleton is in the form of tree folder, each VM corresponds to a VM folder under the root folder, each script package running on a VM corresponds to a subfolder under the VM folder, and each subfolder contains a script; and

a simulator configured to simulate a runtime environment in the cloud computing environment at the apparatus, thereby validating the running order and data dependency with respect to the topology skeleton, wherein the simulator is installed in the apparatus by using a simulator installation package retrieved from the cloud computing environment.

2. The apparatus according to claim 1 , wherein the script comprises an import method for getting input parameters from the outside and an export method for exporting parameters to the outside.

3. The apparatus according to claim 2 , wherein validating data dependency comprises running the import method and the export method in respective scripts to check parameters defined in the import method and export method.

4. The apparatus according to claim 3 , wherein checking parameters defined in the import method and export method comprises checking at least one of the number, the names and the value constraints of the parameters.

5. The apparatus according to claim 2 , wherein the script also comprises an implement method for implementing the function of the script specifically, and the simulator is configured to not run the implement method in respective scripts but only check at least one of syntax error and spelling error in the implement method.

6. The apparatus according to claim 2 , further comprising a reporter configured to report to the user at least one of the following errors found in the simulation procedure of the simulator: data dependency error, syntax error and spelling error.

7. The apparatus according to claim 1 , wherein the script is a default script, and the apparatus also comprises an editor, which may be used by the user to edit at least a part of the default script.

8. The apparatus according to claim 1 , wherein the simulator installation package is updated at the cloud side in response to changes in the cloud environment.

9. The apparatus according to claim 1 , wherein the simulator is configured to launch, for each VM, a process or thread to perform the simulation.

10. The apparatus according to claim 9 , wherein validating the running order comprises executing respective scripts in order in corresponding processes or threads according to the running order included in the topology skeleton.

11. A method for validating application deployment topology in a cloud computing environment at an apparatus comprising:

based on multiple VMs and script packages running on the VMs created by a user and required to deploy an application of the user as well as running order of the script packages and data dependency between the script packages set by the user, generating a topology skeleton that comprises at least scripts of script packages of respective VMs and the running order of the script packages, wherein the topology skeleton is in the form of tree folder, each VM corresponds to a VM folder under the root folder, each script package running on a VM corresponds to a subfolder under the VM folder, and each subfolder contains a script; and

configuring a simulator to simulate a runtime environment in the cloud computing environment at the apparatus, thereby validating the running order and data dependency with respect to the topology skeleton, wherein the simulator is installed in the apparatus by using a simulator installation package retrieved from the cloud computing environment.

12. The method according to claim 11 , wherein the script comprises an import method for getting input parameters from the outside and an export method for exporting parameters to the outside.

13. The method according to claim 12 , wherein validating data dependency comprises running the import method and the export method in respective scripts to check parameters defined in the import method and export method.

14. The method according to claim 12 , wherein the script also comprises an implement method for implementing the function of the script specifically, and the simulator is configured to not run the implement method in respective scripts but only check at least one of syntax error and spelling error in the implement method.

15. The method according to claim 11 , wherein the script is a default script, and the user may use an editor included in the apparatus to edit at least a part of the default script.

16. The method according to claim 11 , wherein the simulator installation package is updated at the cloud side in response to changes in the cloud environment.

17. The method according to claim 11 , wherein the simulator is configured to launch, for each VM, a process or thread to perform the simulation.

18. The method according to claim 17 , wherein validating the running order comprises executing respective scripts in order in corresponding processes or threads according to the running order included in the topology skeleton.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 26, 2015
From: DU, GENG; FENG, CHONG; LI, WEI FENG; LI, XIN; LIU, QI; WANG, QIANG; WANG, YUE; ZHANG, CHUNXIAO
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 035259/0852 →
Priority Claims (1)
CN 2014 1 0161440 · Apr 22, 2014 · national
Continuity (1)
Related Publication 20150301849A1 · Oct 22, 2015