-
2013-01-08
11/379,953
2006-04-24
US 8,352,930 B1
2013-01-08
-
-
Thuy Dao | Ziaul A Chowdhury
2030-06-09
A method is employed to group computers to facilitate application of a software modification to the computers. The method includes identifying a global set of computers to which it is desired to apply the software modification. Based on characteristics of software configurations of the computers of the identified global set, the computers of the identified global set are grouped into a plurality of clusters. Grouping the computers into a plurality of clusters includes processing syntactic information about the computers to identify the plurality of clusters and applying the software modification to the computers of the clusters. The software modification is applied with an adjustment for each cluster in an attempt to avoid software breakage of the computers of that cluster.
Get notified when new applications in this technology area are published.
G06F9/44 IPC
Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs Arrangements for executing specific programs
G06F9/445 IPC
Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs; Arrangements for executing specific programs Program loading or initiating
This application is related to the following, all of which are incorporated herein by reference in their entirety:
It is well-known that maintenance of software configurations on computers in an enterprise can be difficult. Many times, when modifications are made to existing software configurations, the existing software ceases to operate properly. Furthermore, different computers may have different operating systems (OS's), OS versions and/or OS patch sets. In addition, different computers may have different software applications, application versions and/or application patch sets.
As a result, when it is desired or necessary to perform what is nominally a global software modification—e.g., to install a new application—to minimize or avoid breakage, it becomes necessary to variously adjust the modification procedure to accommodate breakage caused by the various configurations.
A method is employed to group computers to facilitate application of a software modification to the computers. The method includes identifying a global set of computers to which it is desired to apply the software modification. Based on characteristics of software configurations of the computers of the identified global set, the computers of the identified global set are grouped into a plurality of clusters.
Grouping the computers into a plurality of clusters includes processing syntactic information about the computers to identify the plurality of clusters and applying the software modification to the computers of the clusters. The software modification is applied with an adjustment for each cluster in an attempt to avoid software breakage of the computers of that cluster.
FIG. 1 is a flowchart illustrating a broad aspect of a method in which similar host are grouped, such that the same adjustment to a baseline software modification procedure can be applied to all of the computers in each group.
FIG. 2 illustrates a “mini-loop” in which the baseline software modification procedure for a subset of computers in a group is adjusted, until the hosts of the subset can be validated as successfully modified.
FIG. 3 is a flowchart illustrating an example of selecting the “similar host group”.
FIGS. 4a to 4c graphically illustrate example output at various stages of the FIG. 3 processing.
As discussed in the Background, due to the disparate configurations of the various computers in an enterprise, software configurations tend to break in different ways when it is attempted to make modifications to those software configurations. Thus, it is desirable to group the computers such that the same adjustment applied to a baseline software modification procedure relative to one computer in a group can be applied to other computers in the same group.
FIG. 1 is a flowchart illustrating a broad aspect of a method in which similar computers (more broadly, “hosts”) are grouped, such that the same adjustment to a baseline software modification procedure can be applied to all of the computers in each group. Referring now to FIG. 1, at step 102, the set of all hosts is determined. That is, it is determined to which hosts the software modification procedure is to be applied. At step 104, a first “similar host group” is selected from the determined set of all hosts. We discuss later some examples of selecting a “similar host group.”
At step 106, a subset of the first “similar host group” is processed. In particular, the hosts of the subset are modified using the baseline software modification procedure. As necessary, the baseline software modification procedure is adjusted, until the hosts of the subset can be validated as successfully modified. Step 106 may be performed in a “mini-loop” such as that shown in FIG. 2, and discussed below.
Continuing on, at step 108, the remainder of the first “similar host group” is modified using the baseline software modification procedure, nominally with the adjustment determined in step 106, but further adjusted as appropriate, so that the remainder of the hosts of the first “similar host group” can be validated. Step 108, also, may be performed in a “mini-loop” such as that shown in FIG. 2. It is not strictly necessary to modify every host in a similar host group, although that would represent the most thorough processing of the hosts. At any time, we can skip the host group that is currently being modified and move on to another group. Optionally, processing of different host groups can be parallelized as well.
At step 110, it is determined if all the hosts of the set (determined in step 102) have been modified (not counting any hosts that were intentionally left unmodified). If not, then, at step 112, a next “similar host group” is selected among the remaining unmodified hosts. For example, the next “similar host group” may be the set of remaining computers that is most similar to the first set, or the largest set of remaining computers that are most similar to each other, or the set that is most dissimilar to the first set. Steps 106, 108 and 110 are repeated for this selected next “similar host group.” If it is determined at step 110 that all the hosts of the set have been modified, processing is complete at step 114.
In the above flow, if at any point we have modified a number of hosts such that either the current grouping is not useful for selecting the next hosts to be modified or a fresh grouping would possibly be more useful, we may optionally restart the grouping on the subset of the original set of hosts that are still unmodified. Furthermore, when a set of hosts is grouped, the grouping may be done multiple times according to different sets of parameters in order to see whether one particular choice of parameters produces a better grouping. As an example, such parameters may include: choosing to include or exclude particular types of semantic info; assigning different weights to different types of semantic or syntactic info; etc.
As a result of the FIG. 1 processing, wherein a software modification procedure is applied to similar groups of hosts, the process of adjusting the baseline software modification procedure, to accommodate differences in the hosts, is eased.
As mentioned above, FIG. 2 illustrates a “mini-loop” in which the baseline software modification procedure is adjusted, until the hosts of a subset of a similar host group can be validated as successfully modified. Referring to FIG. 2, at step 202, the hosts are modified and an attempt is made to validate the modification. At step 204, it is determined if the modification was successfully validated. If it is determined that the modification was not successfully validated, then at step 206, the modification is adjusted (e.g., taking into account the reason the modification was not successfully validated) and the validation is attempted again.
Now, with reference to FIG. 3, we discuss an example of selecting the “similar host group.” In the FIG. 3 example, once the set of all hosts is determined (step 302), a semantic analysis is applied (step 304) to segment hosts, followed by a syntactic analysis (step 312) on a chosen one of the segments (step 310) resulting from the semantic analysis.
With respect to step 302, this step is typically performed manually. Step 302 may also include providing meta-data for each computer that can be used in the segmenting step (step 308, discussed below). The meta-data may include, for example, the function/mission/line of business in which the computer is used or other attributes. The information is typically provided by people. Other meta-data may include an indication of priority/importance—i.e., an indication of which computers, or which applications on which computers, are more important than others.
Other meta-data may include an indication of the “validatability,” which refers to the existence of validation test procedures for the software packages on a computer. For example, a computer that is not very validatable is one for which reliable validation test procedures are not known for its primary software packages and, therefore, cannot be thoroughly tested. By contrast, a very validatable host is one that has software packages for which validation testing has already been done and, therefore, it is known how to thoroughly validate and/or apply breakage workarounds. Intermediately, there are hosts for which there is some confidence that validation testing can be properly performed, but for which not all the validation testing has already been performed.
Generally, the semantic analysis (step 304) clusters the hosts based on properties of the hosts that are known or thought to be significant differentiators with regard to the software modification to be attempted. For example, a significant differentiator may be the operating system and/or software packages installed on each host, including the versions/patch-sets associated with the operating system and/or patch sets.
In general, then, a way is determined to clearly define the state of a computer, and then to define a notion of similarity between such states. One way to do this in a specific implementation is by considering the state of each computer to be a vector of atoms. An atom can represent one or more of, for example, installed OS version/patch; installed SW applications/versions/patch-sets; a computer group, of which the computer is a member (e.g., “accounting” or “web services”); a primary line-of-business of the computer; a flag indicating whether the computer performs a mission-critical task; and a ranking of the “validatability” of the host (an aggregate of “validatability” ranking of applicable atoms).
Other possible attributes of an atom include, for example, a weight to indicate level of importance of that atom; for what the atom indicates, an indication of whether it is of primary or secondary importance to the mission of the host; for what the atom indicates, an indication of variance based on total software inventory; for the software application that the atom indicates, identify validation test suites and/or test procedures (e.g., provided by vendor or developed for customer use during software maintenance cycles); and a ranking of the “validatability” for the software application that the atom indicates.
Referring still to FIG. 3, step 306 (within step 304) is a semantic inspection of the hosts. The information about the operating system and software packages, and the versions/patch-sets (e.g., the atom information) can generally be gathered automatically. The information may be obtainable by inspecting each software package itself or by querying the OS. In some examples, human input can be utilized as well, e.g., humans can indicate the names of the most important/critical software packages. Furthermore, it should be noted that the versions/patch-sets may not have been linearly applied.
Step 308 (within step 304) is a segmentation step. The operation of the segmenting step 308 is based at least on information gathered during the semantic inspection step 306. In particular, the population of hosts is segmented according to at least some of the semantic information. For example, the segmenting may be by operating system or by application or application groups. A segment may also be further segmented—e.g., first by operating system and then by application groups. The intent is to start on a segment that is the best starting point for the modification, and this starting segment can be chosen based on size, degree of similarity with the other segments, etc.
In a simple example, the segmenting step may be performed via a simple selection, based on individual computers in the population having or not having some attribute. For example, an operating system of a computer may be characterized by a micro-version. An OS micro-version is a naming representation of the OS name, version, and applied patch-sets (including service packs and similar upgrades) and optionally representing the install order of the patch-sets. An application micro-version is defined similarly.
Micro-versions can provide a fast and accurate similarity measure for a set of computers, and test-equivalence classes can be realized simply by grouping computers with the same OS micro-versions together, and optionally also sub-grouping by application micro-versions. It is thought that this approach works particularly well for a larger host population having some micro-versions that occur frequently, such as in a centrally managed IT dept where operating systems, applications and patch-sets are applied in the same order to many computers.
Turning again to a more general discussion of the segmenting step 308, a segment may be relatively simplistically determined by using one attribute value (e.g., a specific OS “micro-version”), and every computer having that value of the attribute falls within a particular segment, with all other computers falling outside that particular segment. On the other hand, a segment may be relatively complexly determined by providing many attribute values to a cluster-analysis algorithm—for example with inputs being the OS/SW micro-versions or other attributes, and the outputs being the segments (also known as “clusters” with respect to cluster analysis algorithms). Generally, the segmentation of step 308 does not use information gathered in the syntactic inspection step 314.
The result of the segmenting step 308 is one or more segments, and possibly some outliers, which are a subset of “all hosts” (determined in step 302) and represent similar hosts. The value of the segmentation step is that it can minimize or prevent mis-clustering of hosts (e.g., based on the gathered syntactic information from step 314), where it is known from the semantic information that the hosts are in fact very dissimilar and are advantageously not clustered together. An example of this is two computers that are 90% similar, but where the 10% difference actually represents different operating systems and, hence, the computers are fundamentally dissimilar for the purposes of applying the software modification.
As mentioned above, the syntactic analysis (312) is performed on one segment at a time—the segment chosen in step 310. (In some cases, for example, where no segments were identified, then the syntactic analysis (312) is performed on all of the hosts.) Step 314 is an information gathering step, to obtain syntactic information about the hosts of the segment on which the syntactic analysis 312 is being performed. The syntactic information may be present, for example, in an inventory of information about files (and, more generally, containers) accessible by each host. For example, application Ser. No. 11/277,596 describes a method to maintain an inventory of such information for one or more hosts.
In the inventory-comparison analysis step 316 of the syntactic analysis, an indication of a set of clusters is determined. The clusters are “test-equivalence classes” representing hosts deemed to be syntactically similar, based on the syntactic information about the hosts. There may also be some outliers that were determined to not fit into any of the clusters.
In some examples, the semantic analysis step 304 is not performed, with reliance for clustering being entirely on syntactic information in the syntactic analysis step 312. For example, the set of operating system files (or, as appropriate, other files or characteristics that are determined to affect what adjustments to make to the baseline software modification procedure) can be used as the primary “clustering key” in the inventory comparison analysis step 316 of the syntactic analysis step 312. However, it is difficult in many instances to determine which files are operating system files and which files are “other” files. For example, with the Windows operating system, it can be difficult to distinguish between where the operating system ends and the applications start.
On the other hand, the reader may be considering why the syntactic analysis step 312 is employed at all, after the segmentation output of the semantic analysis step 304. In general, as discussed in the previous paragraph, the information that most affects the adjustments to make to the baseline software modification procedure is the syntactic information. In general, however, the semantic analysis step 304 is helpful, for example, to minimize the occurrence of mis-clustering of computers that are in fact very dissimilar. Finally, at step 318, a set of one or more similar host groups is provided.
FIGS. 4a, 4b and 4c graphically illustrate example output at various stages of the FIG. 3 processing to determine one or more “similar host groups.” Specifically, FIGS. 4a, 4b and 4c graphically illustrate, respectively, an example output of step 302 (determine all hosts) in FIG. 3, of step 304 (semantic analysis), and of step 312 (syntactic analysis). Referring to FIG. 4a, this figure illustrates a set 402 of all hosts. FIG. 4b illustrates the set 402 of all hosts divided into segments (e.g., including segments 404a, 404b and 404c, as well as other segments). FIG. 4c illustrates the hosts of some segments being clustered into “similar host groups” as a result of the syntactic analysis step. For example, segment 404a includes groups 406a and 406b; and segment 404b includes group 406c.
It is noted, with reference to FIGS. 4a to 4c, that the semantic analysis step 304 may be entirely performed before starting the syntactic analysis step 312 but, in some examples, portions of the semantic analysis step 304 and the syntactic analysis step 312 are interleaved.
In summary, then, by intelligently grouping computers in a manner that is likely to correlate to the manner in which a baseline software modification procedure may be adjusted to avoid breakage, administration of a software modification to computers of an enterprise may be simplified.
1. A method implemented by executing instructions stored in a memory of a computer, the method comprising:
identifying a global set of hosts, comprising computers, to which it is desired to apply a software modification;
segmenting the hosts based on a semantic analysis of attributes selected from an attribute group including operating system name, operating system version, operating system patch-sets, and installed software applications, such that hosts in each segment share at least one attribute;
selecting a segment to syntactically analyze;
grouping the hosts of the selected segment into a plurality of clusters, wherein grouping the hosts into a plurality of clusters includes processing syntactic information about the hosts in the selected segment to identify the plurality of clusters, wherein the syntactic information is obtained from an inventory of information about files accessible by each host, and wherein the syntactic information is different from the attributes;
repeating the selecting the segment and the grouping until substantially all hosts in the global set of hosts have been grouped;
selecting a cluster of hosts; and
applying the software modification to the selected cluster of hosts using a baseline software modification procedure, wherein the applying comprises:
selecting a subset of hosts in the selected cluster of hosts;
attempting to modify the hosts in the subset using the baseline software modification procedure;
if the attempt is not successful, adjusting the baseline software modification procedure until the modification is successful, wherein the adjusting includes:
modifying at least one host of the selected cluster with an adjustment to the baseline software modification procedure, wherein the adjustment is determined by:
applying a nominal version of the software modification to the at least one host according to the baseline software modification procedure;
testing to determine whether the software modification is successful;
adjusting the baseline software modification procedure; and
repeating the testing and adjusting step until it is determined that the software modification is successfully applied on the at least one host;
determining whether the modified host operates according to desired characteristics;
based on determining that the modified host does not operate according to the desired characteristics, updating the adjustment; and
repeating the modifying, determining and adjustment updating step on the at least one host; and
repeating the selecting, attempting, and adjusting, until all hosts in the selected cluster of hosts have been modified with the software modification.
2. The method of claim 1, further comprising:
obtaining the semantic information.
3. The method of claim 2, wherein:
obtaining the semantic information includes obtaining the semantic information based on human input.
4. The method of claim 3, wherein:
the semantic information based on human input includes characterization of how the hosts are used.
5. The method of claim 4, wherein:
the characterization of how the hosts are used includes a characterization of importance of the hosts or applications on the hosts.
6. The method of claim 3, wherein:
the semantic information based on human input includes a characterization of validatability.
7. The method of claim 1, wherein:
the steps of segmenting the hosts and grouping the hosts into a plurality of clusters are at least partially interleaved.
8. The method of claim 1, wherein:
adjusting the baseline software modification procedure further comprises repeating the modifying, determining and adjustment updating step for other hosts of that cluster, other than the at least one host of that cluster.
9. The method of claim 1, wherein:
the adjustment is initially a null adjustment.
10. The method of claim 1, wherein:
the semantic information about each host includes information about types of software present on that host.
11. The method of claim 10, wherein:
the information about types of software present on that host include information about the operating system and applications present on that host.
12. The method of claim 11, wherein:
the information about operating system and applications present on that host includes an indication of a version, including patch sets.
13. The method of claim 1, further comprising:
repeating the selecting the cluster of hosts and applying the software modification until all hosts in the global set of hosts have been modified with the software modification.