While workloads are distinct units of work where a specific function is provided (e.g., an Simple Mail Transfer Protocol (SMTP) gateway) a service is a collection of cooperating workloads (e.g., a mail system comprised of an SMTP gateway, Internet Management Access Protocol version 4 (IMAP4) mail interface, Post Office Protocol version 3 (POP3) mail interface). While these services can be handcrafted what is needed is an automated way to assist in the creation and validation of such services.
Various embodiments of the invention provide techniques for validating services for deployment in an intelligent workload management system. Specifically, a method for validating a service in an intelligent workload management system is presented. Test modules are acquired for a new service; the new service comprises one or more workloads and one or more software products, each workload representing one or more specific functions for a workload management system and each software product different from the workloads. The test modules are integrated into the new service and the new service with the test modules is initiated. Next, test results are obtained as output from the test modules and the test results are compared against known valid test results, then one or more actions are taken against the new service in view of a policy that defines the one or more actions based on the comparison.
A “resource” includes a user, service, system, device, directory, data store, groups of users, combinations of these things, etc. A “principal” is a specific type of resource, such as an automated service or user that acquires an identity. A designation as to what is a resource and what is a principal can change depending upon the context of any given network transaction. Thus, if one resource attempts to access another resource, the actor of the transaction may be viewed as a principal.
An “identity” is something that is formulated from one or more identifiers and secrets that provide a statement of roles and/or permissions that the identity has in relation to resources. An “identifier” is information, which may be private and permits an identity to be formed, and some portions of an identifier may be public information, such as a user identifier, name, etc. Some examples of identifiers include social security number (SSN), user identifier and password pair, account number, retina scan, fingerprint, face scan, etc.
A “processing environment” defines a set of cooperating computing resources, such as machines (processor and memory-enabled devices), storage, software libraries, software systems, etc. that form a logical computing infrastructure. A “logical computing infrastructure” means that computing resources can be geographically distributed across a network, such as the Internet. So, one computing resource at network site X can be logically combined with another computing resource at network site Y to form a logical processing environment.
The phrases “processing environment,” “cloud processing environment,” and the term “cloud” may be used interchangeably and synonymously herein.
Moreover, it is noted that a “cloud” refers to a logical and/or physical processing environment as discussed above. The phrase “software product” refers to independent software products that are independent of the workloads and that provides features to the workloads, such as but not limited to directory services, network services, and the like.
A “workload” refers to a task, a function, and/or a distinct unit of work that is processed within a workflow management system.
Various embodiments of this invention can be implemented in existing network architectures. For example, in some embodiments, the techniques presented herein are implemented in whole or in part in the Novell® operating system products, directory-based products, cloud-computing-based products, and other products distributed by Novell®, Inc., of Waltham, Mass.
Also, the techniques presented herein are implemented in machines, such as processor or processor-enabled devices. These machines are configured to specifically perform the processing of the methods and systems presented herein. Moreover, the methods and systems are implemented and reside within a non-transitory computer-readable storage media or machine-readable storage medium and are processed on the machines configured to perform the methods.
Of course, the embodiments of the invention can be implemented in a variety of architectural platforms, devices, operating and server systems, and/or applications. Any particular architectural layout or implementation presented herein is provided for purposes of illustration and comprehension only and is not intended to limit aspects of the invention.
It is within this context that embodiments of the invention are now discussed within the context of the
Embodiments and components of the invention are implemented and reside in a non-transitory computer-readable medium that executes on one or more processors that are specifically configured to process the embodiments and components described herein and below.
At 110, the service validation manager acquires test modules for a new service. The new service is comprised of one or more workloads and one or more software products. Each workload representing one or more specific functions for a workload management system and each software product different from the workloads.
The workloads and the software products can be acquired from workload and product repositories. In some cases, the images of these elements are combined along with configuration parameters that are specific to a new service image. The new service image when instantiated representing a specific executable instance of the new service, which combines the workloads and the products and their specific configuration settings together as a single new service.
According to an embodiment, at 111, the service validation manager obtains the test modules to test each of the software products and each of the workloads for the new service. Again, a repository for test configuration and testing can be used to acquire the test modules. It may also be that the products and workloads are classified as belonging to predefined categories of features and these categories permit the automatic acquisition of the appropriate test modules from a testing repository. The workloads and/or products may also be annotated, such that the annotations permit the automatic acquisition of the appropriate test modules. Each test module is designed to test a specific feature or set of features for a particular software product and/or workload. Test data may also accompany the test modules and identified via metadata when the test modules are acquired.
At 120, the service validation manager integrates the test modules into the new service. That is, the new service includes the test modules, the workloads, and the software products.
At 130, the service validation manager initiates the new service with the test modules. Here, the new service is executed on one or more processors for the purposes of having the test modules execute to certify or validate the new service before or while it is being deployed. So, the testing can occur during deployment, concurrent with deployment, or before any deployment. Deployment means that the new service is migrated and instantiated within one or more target cloud processing environments.
At 140, the service validation manager obtains test results as output from the test modules. When the test modules execute, the test results are produced and reported back to the service validation manager. It may also be that the test modules write the test results to a repository that is monitored by the service validation manager. So, the test modules need not, in every case, directly report the test results back to the service validation manager; although in some situations this can be the case. Moreover, the test modules may report the test results to multiple resources that are automated or human.
At 150, the service validation manager compares the test results against known valid test results. Based on this comparison, the service validation manager takes one or more actions against the new service in view of a policy. The policy defines the one or more actions based on conditions noted in the comparison. So customized actions can be achieved based on the comparison of the test results against the known and valid test results.
According to an embodiment, at 151, the service validation manager updates portions of the test results to the known and valid test results. That is, some portions of the produced test results may be areas not previously recorded in the known and valid test results, such that these portions need to be updated to now become part of the known and valid test results. It may also be the case that some areas of the known and valid test results are partially incomplete or not as desirable as the produced test results. In these cases the update is appropriate as well. This update can occur via policy evaluation in a manual fashion or via some manual intervention via direction provided by an administrator that inspects the produced test results in view of the known and valid test results.
Continuing with the embodiment of 151 and at 152, the service validation manager receives annotations for the updated portions from the administrator (as discussed above) and in response to those annotations the service validation manager updates the policy. So, the process of evaluating the policy and comparing the test results can be a dynamic feedback loop that is continually evolving over time as more and more is known about the service and target cloud processing environments.
In another case, at 153, the service validation manager deploys the new service with the test modules to a target cloud processing environment. Policy may dictate that the test modules remain in the deployed versions of the new service. It may also be the case, that some of the test modules are designed to test specific unique resources or aspects of the target cloud processing environment for which the new service is being deployed, such that the test modules are needed to complete some aspects of the testing associated with the new service.
In an alternative case, at 154, the service validation manager deploys the new service with the test modules stripped out of the new service and then the service validation manager deploys the new service to a target cloud processing environment. Here again, policy may dictate that the test modules or some portion of the test modules are to be removed before the new service is deployed in its target cloud processing environment.
According to an embodiment, at 155, the service validation manager catalogues the new service as being ready for deployment and as being certified for the deployment based on a favorable comparison of the test results vis-à-vis the known and valid test results. Different degrees of certification or confidence factors associated with certification can accompany the new service as an assertion or metadata when deployed to the target cloud processing environment. Furthermore, different levels of subscription and subscription pricing for services can be based on the types and levels of certification provided by the service validation manager. Authentication in the target cloud processing environment may also depend on the type and level of certification for the new service.
In one situation, at 156, the service validation manager retests the new service with the test modules on failure of the comparison based on the actions defined in the policy. That is, the policy may state that some or all portions of retesting must occur when the comparison is below a certain threshold.
In another circumstance, at 157, the service validation manager notifies a principal on failure of the comparison based on the actions that are defined in the policy. So, a notification action can be achieved via the policy.
It is noted that the actions of 156 and 157 are not mutually exclusive; that is, both 156 and 157 can occur for a single failure of a single test result from one of the test modules.
In an embodiment, at 158, the service validation manager receives an instruction to re-initiate the processing of the method on the new service after a manual instruction is received from the principal. Here, an administrator can reinsert a previously failed new service back into the processing at 110 via a manual instruction to do so. This occurs when the administrator believes a failure was not appropriate or that some update to either the new service, the test modules, the policy, and/or the known and valid test results have taken place and warrant the new service being retested.
The test manager presents another and in some cases enhanced perspective of the service validation manager represented by the method 100 of the
At 210, the test manager obtains one or more workloads. Each workload representing one or more specific functions for a workload management system.
At 220, the test manager acquires one or more products representing one or more software products and each software product different from the workloads.
At 230, the test manager accesses a test repository and acquires test modules (scripts or programs—may also be referred to herein as “tests”), which are to test each of the products.
At 240, the test manager creates a service by assembling and integrating the workloads, the products, and the test modules together along with configuration settings.
At 250, the test manager initiates the service to process the test modules, which produce test results.
According to an embodiment, at 260, the test manager assembles the test results produced by the test modules for subsequent evaluation and analysis.
Continuing with 260 and at 261, the test manager evaluates the test results and annotates the test modules based on the test results with policies. These policies can be used in the manners discussed above with reference to the method 100 of the
Still continuing with the embodiment of 260 and at 262, the test manager compares the test results against known results to either pass or fail the service for release. It is noted that different levels of pass and failure can be achieved. So, one aspect of the service may pass while another aspect fails or a passing grade may be low and require some modification to the service to bring its grade up.
Continuing with the embodiment of 262 and at 263, the test manager fails the service and notifies a principal to modify a configuration associated with the workloads and/or the products. Here, results evaluated may be used to provide guidance and even direction to the administrator in adjusting the configuration settings.
In another case of 262 and at 264, the test manager passes the service and removes the test modules from the service. Next, the test manager deploys the service to one or more target cloud processing environments.
It is noted that passing may not necessarily entail removing the test modules before deployment. Again, policy can drive whether some, all, or none of the test modules are included in the deployed version of the service to the target cloud processing environment.
The intelligent workload management service validation system 300 implements, inter alia, the method 100 and the method 200 of the
The intelligent workload management service validation system 300 includes a service manager 301 and a test manager 302. Each of these components and their interactions with one another will now be discussed in detail.
The service manager 301 is implemented in a non-transitory computer-readable storage medium and executes on one or more processors of the network. Example aspects of the service manager 301 were provided in detail above with reference to the methods 100 and 200 of the
The service manager 301 is configured to create a service having one or more workloads and one or more products along with specific customized configuration settings. Each workload representing one or more specific functions of a workload management system and each product representing a software product that is different from the workloads.
The service manager 301 interacts with the test manager 302 to integrate test modules (scripts) into the service. The test modules test each of the products when the service is executed.
According to an embodiment, the service manager 301 is also configured to deploy the service to a target cloud processing environment with the test modules integrated into the service. Alternatively, the service manager 301 is configured to deploy the service to the target cloud processing environment with the test modules completely or at least partially removed from the service.
In an embodiment, the service manager 301 is further configured to compare test results produced from the test modules and to determine whether the service is to be certified or retested.
In yet another case, the service manager 301 is configured to notify a principal that correction is needed on the service when the service is determined to need retesting.
The
The architecture of the
The embodiments provide for an Auto Install function, at 230, where the information from 106, 136, 137, 215, and 156 are used to automatically install an operational image of a service when triggered to do so by either an administrator at 245 or an event from a build system (such as SUSE® Studio). The basic intent is that, for example, there is an updated workload in 105, which represent a new version of; for example, the SUSE® Linux operating system. It is the desire of the administrators that all services utilize the new version of Linux, which will require installing all of the products according to configuration and testing of the new operational images from the catalog. In an embodiment, the trigger for auto install, at 230, indicates that all services utilizing, for example, Linux should be validated and made ready to be used on the new operational images.
Therefore, the Auto Install, at 230, creates an operational image, at 120 or 125, of services relying upon an updated version of the workload in the Shared Repository, at 105. This Auto Install, at 230, utilizes the information from 106, 136, 137, and 156 to appropriately create new workloads in the operational image, at 120 or 125, and then load products into those operational images, as per a prior Service Configuration, at 156.
The embodiments provide for the installation of the product test scripts, programs, etc., which are described in and contained in Product Test Config, at 215. The information in 215 provides auto install capabilities with the necessary instructions for putting agents from 215 into the various operational images so that the service can be tested.
Once the operational image becomes available, at 120 or 125, operational test, at 210, provide a stimulus necessary to the testing agents within the 125, such that the products installed in the service are all tested and the results verified against valid test results, at 216. New test results may be added by operational test, at 210, which are then annotated by an administrator so that the new test results are marked for goodness and badness.
It is well to note that these tests are being performed on the operational images as they are deployed in the cloud, at 170.
The newly installed product is then deployed to the cloud at 170 in the operational test, at 210, commands. If the operational test, at 210, succeeds in the catalog; the process, at 150, re-catalogues the service and the service configuration shown for the appropriate pedigree and information concerning the readiness of the intelligent service.
If the operational test, at 210, failed then the results are passed to the Re-validate step, at 220, which then notified the appropriate operational staff to rectify the issues. When the issues are rectified a new trigger from 245 restarts the install and provides a new testing cycle.
In an embodiment the product configuration and image configuration are annotated so that the appropriate product matched up with the appropriate image. For example, an image may be marked as a Linux or Windows operational image which would then be matched against a similar tack in 137 so that only products that require Windows will be matched up with shared repository images that are Windows.
In an embodiment, after a service has been found to be fully operational and passes all the product tests, a new auto install is triggered which will reinstall the products on to the operational images but without the testing agents and then automatically catalogues as a non-test version of the service.
The above description is illustrative, and not restrictive. Many other embodiments will be apparent to those of skill in the art upon reviewing the above description. The scope of embodiments should therefore be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
The present application is a non-provisional application of and claims the benefit of priority under 35 U.S.C. 119(e) to U.S. Provisional Patent Application Ser. No. 61/315,865, filed Mar. 19, 2010, and entitled “Techniques for Managing Service Definitions in an Intelligent Workload Management System;” the disclosure of which is incorporated herein by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
5371883 | Gross et al. | Dec 1994 | A |
6163805 | Silva et al. | Dec 2000 | A |
6189031 | Badger et al. | Feb 2001 | B1 |
6269330 | Cidon et al. | Jul 2001 | B1 |
6373822 | Raj et al. | Apr 2002 | B1 |
6397359 | Chandra et al. | May 2002 | B1 |
6473794 | Guheen et al. | Oct 2002 | B1 |
6522995 | Conti et al. | Feb 2003 | B1 |
6625648 | Schwaller et al. | Sep 2003 | B1 |
6728214 | Hao et al. | Apr 2004 | B1 |
6810232 | Knowles et al. | Oct 2004 | B2 |
6920410 | Southam et al. | Jul 2005 | B2 |
6985940 | Jenkin | Jan 2006 | B1 |
7010782 | Narayan et al. | Mar 2006 | B2 |
7080357 | Foster et al. | Jul 2006 | B2 |
7165189 | Lakkapragada et al. | Jan 2007 | B1 |
7218895 | Raghavan | May 2007 | B1 |
7296189 | Day et al. | Nov 2007 | B2 |
7305464 | Phillipi et al. | Dec 2007 | B2 |
7418492 | Cohen et al. | Aug 2008 | B1 |
7464366 | Shukla et al. | Dec 2008 | B2 |
7502850 | Fellenstein et al. | Mar 2009 | B2 |
7523198 | Wu et al. | Apr 2009 | B2 |
7543056 | McClure et al. | Jun 2009 | B2 |
7613700 | Lobo et al. | Nov 2009 | B1 |
7673052 | Fried et al. | Mar 2010 | B2 |
7676700 | Fan et al. | Mar 2010 | B2 |
7702613 | Dankenbring et al. | Apr 2010 | B1 |
7711694 | Moore | May 2010 | B2 |
7721265 | Xu et al. | May 2010 | B1 |
7743142 | Fellenstein et al. | Jun 2010 | B2 |
7805514 | Yang | Sep 2010 | B2 |
7836346 | Davidov et al. | Nov 2010 | B1 |
7873667 | Lobo et al. | Jan 2011 | B2 |
RE42153 | Hubbard et al. | Feb 2011 | E |
7930683 | Li | Apr 2011 | B2 |
7937436 | Matthews et al. | May 2011 | B2 |
7953744 | Gharat et al. | May 2011 | B2 |
7958230 | Guruswamy et al. | Jun 2011 | B2 |
7962620 | Safari et al. | Jun 2011 | B2 |
8001422 | Sun et al. | Aug 2011 | B1 |
8001527 | Qureshi et al. | Aug 2011 | B1 |
8023937 | Fok et al. | Sep 2011 | B2 |
8060863 | Brunswig et al. | Nov 2011 | B2 |
8145450 | Brown et al. | Mar 2012 | B2 |
8145726 | Roche et al. | Mar 2012 | B1 |
8185877 | Colcord | May 2012 | B1 |
8191048 | Parthasarathy et al. | May 2012 | B2 |
8291068 | Kraus et al. | Oct 2012 | B2 |
8850187 | Hoggan | Sep 2014 | B2 |
20020123029 | Knowles | Sep 2002 | A1 |
20030028803 | Bunker et al. | Feb 2003 | A1 |
20030033406 | John et al. | Feb 2003 | A1 |
20030171961 | Hosali et al. | Sep 2003 | A1 |
20040010584 | Peterson et al. | Jan 2004 | A1 |
20040015583 | Barrett et al. | Jan 2004 | A1 |
20040030789 | Gupta et al. | Feb 2004 | A1 |
20040128651 | Lau | Jul 2004 | A1 |
20040199818 | Boilen et al. | Oct 2004 | A1 |
20050262499 | Read | Nov 2005 | A1 |
20050268165 | Betts et al. | Dec 2005 | A1 |
20060069805 | LeBlanc et al. | Mar 2006 | A1 |
20060090206 | Ladner et al. | Apr 2006 | A1 |
20060095312 | Conti et al. | May 2006 | A1 |
20060107152 | Stobie et al. | May 2006 | A1 |
20060150026 | Kolawa et al. | Jul 2006 | A1 |
20060150157 | Fellenstein et al. | Jul 2006 | A1 |
20060271640 | Muldoon et al. | Nov 2006 | A1 |
20070028217 | Mishra et al. | Feb 2007 | A1 |
20070156472 | Bliznak et al. | Jul 2007 | A1 |
20080228861 | Tadauchi | Sep 2008 | A1 |
20090113395 | Creamer et al. | Apr 2009 | A1 |
20090132463 | Ducos | May 2009 | A1 |
20090132703 | Fellenstein et al. | May 2009 | A1 |
20090132856 | Gorman et al. | May 2009 | A1 |
20090157419 | Bursey | Jun 2009 | A1 |
20090199160 | Vaitheeswaran et al. | Aug 2009 | A1 |
20100030784 | Lobo et al. | Feb 2010 | A1 |
20100064022 | Asano | Mar 2010 | A1 |
20100077072 | Guruswamy et al. | Mar 2010 | A1 |
20100077260 | Pillai et al. | Mar 2010 | A1 |
20100095276 | Ottavi et al. | Apr 2010 | A1 |
20100162216 | Bell et al. | Jun 2010 | A1 |
20110022586 | Wilkinson et al. | Jan 2011 | A1 |
20110055636 | DeHaan et al. | Mar 2011 | A1 |
20110083124 | Moskal et al. | Apr 2011 | A1 |
20110119382 | Shaw et al. | May 2011 | A1 |
20110126197 | Larsen et al. | May 2011 | A1 |
20110231822 | Sabin et al. | Sep 2011 | A1 |
20130047036 | Pechanec et al. | Feb 2013 | A1 |
Number | Date | Country | |
---|---|---|---|
20110231822 A1 | Sep 2011 | US |
Number | Date | Country | |
---|---|---|---|
61315865 | Mar 2010 | US |