WO2009083827A1 - Methods and systems for generating availability management framework (amf) configurations - Google Patents

Methods and systems for generating availability management framework (amf) configurations Download PDF

Info

Publication number
WO2009083827A1
WO2009083827A1 PCT/IB2008/055014 IB2008055014W WO2009083827A1 WO 2009083827 A1 WO2009083827 A1 WO 2009083827A1 IB 2008055014 W IB2008055014 W IB 2008055014W WO 2009083827 A1 WO2009083827 A1 WO 2009083827A1
Authority
WO
WIPO (PCT)
Prior art keywords
type
service
orphan
types
service group
Prior art date
Application number
PCT/IB2008/055014
Other languages
French (fr)
Inventor
Ali Kanso
Maria Toeroe
Original Assignee
Telefonaktiebolaget Lm Ericsson (Publ)
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US11/961,849 external-priority patent/US20090164767A1/en
Application filed by Telefonaktiebolaget Lm Ericsson (Publ) filed Critical Telefonaktiebolaget Lm Ericsson (Publ)
Priority to EP08868741A priority Critical patent/EP2240851A1/en
Publication of WO2009083827A1 publication Critical patent/WO2009083827A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1479Generic software techniques for error detection or fault masking
    • G06F11/1482Generic software techniques for error detection or fault masking by means of middleware or OS functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2038Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant with a single idle spare processing component
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2041Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant with more than one idle spare processing component

Definitions

  • the present invention generally relates to high availability (HA) systems (hardware and software) and, more particularly, to HA systems managed by an Availability Management Framework (AMF).
  • HA high availability
  • AMF Availability Management Framework
  • High availability systems are systems that are implemented primarily for the purpose of improving the availability of services which the systems provide. Availability can be expressed as a percentage of time during which a system or service is "up". For example, a system designed for 99.999% availability (so called “five nines" availability) refers to a system or service which has a downtime of only about 0.44 minutes/month or 5.26 minutes/year. High availability systems provide for a designed level of availability by employing redundant nodes, which are used to provide service when system components fail. For example, if a server running a particular application crashes, an HA system will detect the crash and restart the application on another, redundant node. Various redundancy models can be used in HA systems.
  • an N+l redundancy model provides a single extra node (associated with a number of primary nodes) that is brought online to take over the role of a node which has failed.
  • a single dedicated node for handling failures may not provide sufficient redundancy.
  • an N+M redundancy model for example, can be used wherein more than one (M) standby nodes are included and available.
  • the Service Availability Forum has standardized application programming interfaces (APIs) to aid in the development of portable, highly available applications.
  • the AIS 10 is intended to provide a standardized interface for the HA middleware 16 to support HA applications 14.
  • each set of AIS functionality is associated with an operating system 20 and a hardware platform 22.
  • the reader interested in more information relating to the AIS standard specification is referred to Application Interface Specifications (AIS), Release 5, which is available at wwWiSaforyxiLorgj the disclosure of which is incorporated here by reference.
  • AIS Application Interface Specifications
  • the AMF Availability Management Framework
  • AMF Availability Management Framework
  • the AMF is a standardized mechanism for providing service availability by coordinating redundant resources within a cluster to deliver a system with no single point of failure.
  • the AMF provides a set of application program interface (API) functions which are used, among other things, to set the states of components within a cluster and to determine the health of those components.
  • API application program interface
  • the components are also provided with the capability to query the AMF for information about their state.
  • An application which is developed using the AMF APIs and following the AMF system model leaves the burden of managing the availability of its services to the AMF. Thus, such an application does not need to deal with dynamic reconfiguration issues related to component failures, maintenance, etc.
  • the AIS standard also defines the information model (IM) for applications to be controlled by AMF.
  • IM information model
  • a service unit SU
  • a service unit can contain any number of components, but a particular component can be configured in only one service unit. Since each component is always enclosed in a service unit, from the AMF's perspective, the service unit can be considered the incremental unit of redundancy in the sense that it is the smallest logical entity that can be organized into groups in a redundant manner to provide and protect the service instances.
  • a service group is defined within the AMF information model as a logical entity that groups one or more SUs in order to provide service availability for a particular set of service instances according to a particular redundancy model.
  • the AMF information model also defines an application as being a logical entity that contains one or more SGs.
  • An application combines the individual functionalities of the constituent service groups to provide a higher level of service. From a software administration point of view, this grouping into an application reflects the set of SUs and contained components that are delivered as a consistent set of software packages to the AMF environment.
  • SMF software management framework
  • This software can typically be deployed in different configurations depending on, for example, the characteristics of the system it is deployed on, the number of nodes and their characteristics, the capabilities of the AMF implementation and the requirements put on the provided services.
  • a software vendor can describe their software such that it would allow for the widest possible usage by describing various AMF related characteristics of the software. Based on this a system integrator has to produce a particular configuration for the system the software is deployed on.
  • none of the current SAF specifications define how to generate the information model, i.e., the configuration to be used by an AMF implementation in a particular system for a particular application. Therefore, one option for creating an information model would be to create it manually. Considering the potential for an AMF configuration file to have hundreds if not thousands of lines of code to be properly defined, creating a configuration file in a manual manner will be time consuming and prone to errors.
  • a method for generating a configuration for an Availability Management Framework includes the steps of selecting entity types from an entity types file which can provide a set of service instances by first evaluating entity types associated with an application type in the entity types file, generating entities associated with the selected entity types; and distributing at least some of the generated entities on nodes of a cluster.
  • a system includes a processor for generating a configuration for an Availability Management Framework (AMF), including performing the functions of: selecting entity types from an entity types file which can provide a set of service instances by first evaluating entity types associated with an application type in the entity types file, generating entities associated with the selected entity types; and distributing at least some of the generated entities on nodes of a cluster.
  • AMF Availability Management Framework
  • a computer-readable medium contains instructions stored thereon which, when executed by a computer or a processor, perform the steps of: selecting entity types from an entity types file which can provide a set of service instances by first evaluating entity types associated with an application type in the entity types file, generating entities associated with the selected entity types; and distributing at least some of the generated entities on nodes of a cluster.
  • Figure 1 illustrates a conceptual architecture stack associated with application interface services (AIS);
  • AIS application interface services
  • Figure 2 shows an exemplary AMF managed system including service groups, service units and components
  • Figure 3 (a) depicts a high level flowchart for generating an AMF configuration according to exemplary embodiments
  • Figure 3(b) shows processes that occur within an AMF configuration generator according to exemplary embodiments
  • Figure 4 is an illustration of component type categories according to exemplary embodiments
  • Figure 5 shows component service types associated with attributes according to exemplary embodiments
  • Figure 6 shows service types associated with component service types according to exemplary embodiments
  • Figure 7 illustrates service instance templates, component service instance templates and a node template according to exemplary embodiments
  • Figure 8 illustrates a service instance template and the output service instances and a new service unit created according to exemplary embodiments
  • Figure 9 shows a newly created service group according to exemplary embodiments.
  • Figure 10 depicts a configuration generator node according to exemplary embodiments;
  • Figure 11 shows a flowchart for creating an AMF configuration file according to exemplary embodiments
  • Figure 12 conceptually illustrates an entity types file including orphan types according to an exemplary embodiment
  • Figure 13 is a flowchart illustrating a method according to an exemplary embodiment
  • Figure 14 conceptually illustrates an entity types file including orphan types and created types according to an exemplary embodiment
  • Figure 15 depicts searching for types and creating types according to an exemplary embodiment
  • Figure 16 is a flowchart illustrating a method for generating an AMF configuration according to an exemplary embodiment
  • AMF Availability Management Framework
  • HA High Availability
  • Each of the exemplary service units in SGl has two components associated therewith.
  • a component is the smallest logical entity on which the AMF 300 performs error detection and isolation, recovery, and repair. Thus, a component typically includes all of the functions which cannot be clearly separated for error containment or isolation purposes.
  • the component is also the logical entity that a portion of a workload is assigned within the provisioning of a service instance, e.g. the email service. Such a portion of the workload is called a component service instance (CSI).
  • the email service instance SI A is composed of two component service instances CSI Al and CSI A2. Each of these can be assigned to a component within a service unit. Components can further be grouped into protection groups which reflect the redundancy associated with provisioning of the component service instances.
  • components Cl and C3 can form a first protection group for CSI Al and components C2 and C4 can form a second protection group for CSI A2, both of which are associated with the email service instance SI A.
  • the AMF 300 could fail over CSI Al to component C3 the active state and, similarly, if component C2 fails while being active for CSI A2, then the AMF 300 could fail over CSI A2 to component C4 the active state.
  • AMF 300 will switch over or will fail over CSI A2 as well so the entire service unit SU2 becomes assigned active for the entire service instance SI A.
  • Service group SG2 illustrates a slightly different configuration wherein two instances of a fax service are supported by three service units SU3, SU4 and SU5.
  • SU3 and SU4 could each be assigned by AMF 300 the active state such that each supports one instance of the fax service, while SU5 could be assigned the standby state and operate as their redundant backup.
  • components C5 and C7 would form one protection group associated with one of the two fax service instances SI B and within that protect component service instance CSI B 1.
  • Components C6 and C7 could form a second protection group to protect CSI Cl associated with the other SI C of the two fax service instances.
  • service groups, service units and components can all considered to be logical entities associated with physical entities that perform work. These logical entities are assigned workloads in order to render the service, e.g., email or fax service.
  • a component service instance (CSI) represents the workload that the AMF 300 can dynamically assign to a single component.
  • Component service instances are grouped into a logical entity called a service instance (SI).
  • SI service instance
  • a service instance aggregates all component service instances to be assigned to the individual components of the service unit in order for the service unit to provide that particular service instance, e.g., email or fax service.
  • a service instance represents a single workload assigned to the entire service unit. As shown in Figure 2, service instances are shown as well as their relationship with the components, service units and service groups on the four nodes.
  • SUl is assigned the active HA state and SU2 is assigned the standby HA state (as shown by the dashed connecting line).
  • two CSIs (Al and A2) are assigned to components Cl and C3, and to C2 and C4, respectively.
  • SIB 304 SU3 is assigned the active HA state and SU5 is assigned the standby state (as shown by the dashed connecting line). Similar comments apply towards SIC 306.
  • the AMF software entity 300 needs to receive from a configuration repository 310 an input, file or system model which describes what is to be managed.
  • a configuration repository 310 In a Service Availability Forum (SAF) cluster the Information Model Management Service (IMM) typically serves as the configuration repository 310.
  • IMM Information Model Management Service
  • such configuration information can take the form of an XML (external Markup Language) file, however it will be appreciated that the particular form or format of the configuration input is not critical.
  • XML external Markup Language
  • an AMF Configuration Generator 402 receives inputs of entity types 404, e.g., as entity types files (ETFs) and services set/user input 406 to perform a mapping function which creates a system model for future use.
  • entity types 404 e.g., as entity types files (ETFs)
  • services set/user input 406 to perform a mapping function which creates a system model for future use.
  • This system model is output by the AMF Configuration Generator 402 in the form, for example, an XML file according to the SAF Information Model Management (IMM) Service XML schema 412.
  • IMM SAF Information Model Management
  • the first exemplary input is entity types 404 which describe, for example, various AMF related characteristics associated with application software to be controlled by the AMF system.
  • entity types 404 are AMF entity types described in XML entity types files, as described by the SAF Software Management Framework (SMF) specification SAI-AIS-SMF- A.01.01 which is available at www.safonim.org, the disclosure of which is incorporated here by reference.
  • SAF Software Management Framework
  • SAI-AIS-SMF- A.01.01 which is available at www.safonim.org, the disclosure of which is incorporated here by reference.
  • From the SAF specifications there are currently two mandatory AMF entity types that need to accompany any application software intended for such systems. These two entity types are the component types (CompType) and their respective component service types (CST).
  • CompType component types
  • CST component service types
  • the second exemplary type of input is the services set/user input 406.
  • the services set/user input 406 typically includes information related to the services the site provides for which the AMF configuration is being created.
  • the services set/user input 406 is a set of service instances in which each service instance is described by a set of component service instances as well as other desired user inputs, e.g., a number of nodes provided with the system providing the service or services and the desired redundancy model to protect them.
  • the services set/user input 406 is typically site specific.
  • This exemplary method involves using SI templates each of which describe a set of SIs that shall be protected by SGs of the same type.
  • the CSIs are also defined via CSI templates.
  • the SI templates are typically based on the service types (SvcType) provided as service set/user input 406 or by the entity types files.
  • the service type determines the composing CS types (CST) and any limits for the number of component service instances that an SI of the service type may contain.
  • the CSI templates are based on the CS types provided with the software and the user input needs to indicate which CS types are used from these and how many instances of them are desired for the composition of an SI of the particular SI template.
  • An SI template also defines the number of SIs to be configured based on this template and their grouping to SGs. Additionally, the desired redundancy model is typically input by a user and included in the SI template. Another input typically received by the AMF Configuration Generator 402 from the services set/user input 406 is the number of nodes. The number of nodes input is used to assign the service units of the configuration to nodes according to different criteria (e.g. implement hardware redundancy, load balancing among cluster nodes, etc.) if necessary. This information may be provided as a user input to the AMF Configuration Generator 402, or collected from the target system by other SAF services.
  • the exemplary configuration generation method begins by matching each received SI template with the entity types 404 provided.
  • a suitable SU type is selected from among those in the received input set (fmdSUType method).
  • This selection method checks the SU types for the capability of providing the desired service type that the SI template refers to. If there are such SU types available, then one is selected by matching the capabilities of the component types of the SU type for each of the component service types with the capabilities required for providing the specified component service type by the CSI templates (fmdCompType method) in the required redundancy mode required by the enclosing SI template.
  • the selection method finds the SU type(s) that provide the CSI(s) with the minimum number of components, i.e., the selection criterion results in maximizing the utilization of each component in the configuration.
  • the selection criterion results in maximizing the utilization of each component in the configuration.
  • other selection criterion can be used as desired.
  • this exemplary configuration generator 402 can determine whether the available component types can be grouped in another manner to construct a new, desired SU type. This can occur as part of the fmdSUType and fmdCompType pseudo-code functions described below, i.e., the fmdCompType method adds an appropriate component type from the complete set of component types to the newly constructed SU type for each set of CSIs that needs to be protected. This determination as to whether new SU types may be constructed is typically based upon a user input, e.g., a yes or no input regarding whether the AMF Configuration Generator 402 is permitted to perform new SU type construction.
  • the submitted SU types will preferably be used, however, if the submitted SU types are found to be insufficient, the AMF Configuration Generator 402 will have the option to attempt to create an appropriate SU type.
  • this exemplary method chooses an appropriate SG type from the available set of SG types based on the features defined by the user for the desired redundancy model in the SI template. If no such appropriate SG type is available, a new SG type is created using input parameters found within the SI template.
  • the AMF Configuration Generator 402 Upon completion of finding the appropriate entity types, the AMF Configuration Generator 402 generates the entities, i.e., instances of these types (generateConf method) that can provide the desired services (createSis method).
  • the configuration is populated so that both the active and the standby assignments of each SI protected by each SG can be satisfied. This is done by creating one SU with the required number of components so that the SU provides the required active and standby capabilities for all of the SIs as necessary and within them for all CSIs. Once all of the components of the first SU have been added, other SUs required by the redundancy model are copied from this first SU as desired for the HA environment to create a first SG. This procedure is then repeated for each SG necessary to protect all the service instances generated from an SI template in the configuration that is currently being created. Additionally, one exemplary method for creating this configuration uses equal ranking and equal load between all SUs. Alternatively, other exemplary methods can be used.
  • different ranks can be assigned to the different SUs within an SG.
  • a global rank can be assigned as well as a per SI rank. If only the global rank is specified then for SIs this is the rank that would be used.
  • other factors can be used in assigning rank such as, for example, SI load based upon different resource needs, e.g., a database application would be storage/memory intensive. Also a collaboration of different applications, or the opposite, could be considered.
  • populating this configuration can be complemented by using a method that generates, based on the previously generated SI and CSI templates, all (or a desired portion) of the SI and CSIs respective attributes.
  • each received SI template is matched with the received entity types 404 in step 420. Matching also occurs in the follow on steps as needed. Processing then continues by finding a component type by selecting the component type within an SU type or among all component types (provided it is permitted to construct a new SU type) such that the component type provides a highest utilization for a specified redundancy model in step 422. Calculating required active capabilities for an SU type within an SG with respect to an SI template, wherein an SU of the SU type provides a group of SIs from a single template occurs in step 424.
  • step 426 calculating required standby capabilities for an SU type with respect to an SI template, wherein an SU of the SU type protects a group of SIs from a single template occurs in step 426.
  • the Configuration Generator 402 searches for a first SU type that can provide SIs based on one of the templates in step 428. This leads to searching for a first SG type that can provide SIs using a requested SU type according to a specified redundancy model in step 430.
  • the configuration generation proceeds with populating the configuration with the entities of these types. This begins with generating all of the SIs and their respective CSIs to be protected by an SG based upon the templates in step 432.
  • a first SU is created for the SG and then others are copied to create the complete SG.
  • a next set of SIs and CSIs can then be generated for the next SG. If the SIs belong to the same SI template, the SG is just copied, until all the SIs required by the template have been assigned to an SG. For the next SI template the process can be repeated starting with the creation of a first SU. The process ends when all the SGs have been created for all SI templates.
  • the configuration e.g., a file
  • the configuration can, for example, be in an IMM XML format for use by an AMF via IMM.
  • the elements of this configuration can be generated by a type matching process which loops on the SI templates: for each SI template the SG type, the SU type and the component types are selected. Exemplary pseudocode illustrating this process in more detail is provided below. For the instance generation described above, there are additional loops as multiple entities are created for each selected type.
  • the configuration e.g., IMM XML, contains both the entity types and all the generated entities.
  • SUs can be assigned to nodes by setting the appropriate attributes.
  • the AMF can use this attribute when it is provided, otherwise the AMF distributes the SUs in an implementation specific way. Note also that it may not always be desirable to assign an SU to a node, e.g., when the SU is assigned to a node it cannot be instantiated by AMF anywhere else, in which case, if the node is faulty, that SU would be lost with the node. If no node is specified AMF will pick a node from among those available.
  • the AMF Configuration Generator 402 uses the above described exemplary embodiments to generate a configuration which becomes an output of code in, for example, an IMM XML file 412.
  • This output of an IMM XML file 412 is preferably provided in an acceptable format for use by an AMF system as described in, for example, SAF Information Model Management (IMM) specification SAI-AIS-IMM-A.02.01.
  • This exemplary code is then stored in a Configuration Repository 310 (or other desirable computer readable medium or memory storage unit) in step 414 for future use by an AMF.
  • An additional process that occurs at the end of the exemplary generation of an AMF configuration is the method for distribution of the SUs on the cluster nodes.
  • the AMF specification does not currently describe performance characteristics for entities, therefore an exemplary method for distribution of SUs can assume that each SU of the configuration produces equal workloads with respect to each other and with or without assignment. It is at this point that the number of nodes to be used needs to be known by the system as either a received user input or by the system knowing what is available, e.g., information provided by another SAF service.
  • this exemplary method distributes the SUs among the nodes of the cluster by selecting for each SU the node that has the smallest load and that has no (or the fewest number of) SUs of the same SG that the current SU belongs to.
  • These conditions can be provided by using a global round robin distribution of the SUs as the SUs are being created during the configuration process.
  • this exemplary distribution method can be modified by assuming, based on performance characteristics of the system, different capacities for the different nodes and different load for the different SUs.
  • another exemplary alternative embodiment for configuration could be based upon the assumption of different failure scenarios desiring to avoid or minimize overload situations when one or more SUs/nodes fail in the system.
  • AMF configuration a purely illustrative exemplary embodiment will now be described with respect to Figures 4-9.
  • FTP file transfer protocol
  • SMTP simple mail transfer protocol
  • HTTP hyper text transfer protocol
  • the goal is to support file transfer protocol (FTP) services, simple mail transfer protocol (SMTP) services and hyper text transfer protocol (HTTP) services in an HA environment by creating a configuration file for use by an AMF to manage these services in an HA environment.
  • FTP file transfer protocol
  • SMTP simple mail transfer protocol
  • HTTP hyper text transfer protocol
  • CompType A 502 there are two component types labeled CompType A 502 named Surge FTP and CompType B 504 named Apache.
  • CompType A 502 can provide up to three active or six standby assignments for CST A 506 for FTP and, CompType A 502 can also provide up to one active or one standby assignments for CST B 508 for SMTP. Regarding CompType B 504, it is capable of providing up to three active and six standby assignments for CST C 510 for HTTP.
  • CST A 506 for FTP is shown with two attributes 602 and 604 associated therewith. Attribute 602 could, for example, deal with IP ranges and attribute 604 could, for example, be associated with security levels. More or fewer attributes can be associated with a CST (as well as the other CSTs) as shown by CST B 508 for SMTP having three attributes and CST C 510 having just one attribute.
  • These attributes associated with the CSTs are typically submitted as part of the input entity types 404 as they are determined by the way the software is implemented.
  • CSTs are also associated with service types.
  • SvcType A 702 representing the file transfers and email service
  • SvcType B 704 which represents the web page display service.
  • SvcType A 702 is associated with CST B 508 and CST A 506 representing the FTP and SMTP component service types.
  • SvcType B is solely associated with CST C 510, with HTTP.
  • These service types can be submitted as either entity types inputs 404 or as part of the services set/user input 406. This then leads to the various templates submitted as part of the services set/user input 406.
  • the services set/user input 406 includes templates.
  • SI templates, CSI templates and a node template are illustrated in Figure 7.
  • An SI template 802 includes the following: a name, e.g., Sl-temp-a 804; a redundancy model, e.g., N+M 806; a service type, e.g., File Transfer and Mail 808; the preferred number of active and standby assignments per SI, e.g., 1 Active + 1 Standby 810; the values for N and M SUs as appropriate for the redundancy model, e.g., 3 + 1 SUs 812; and the desired number of SIs, e.g., 3 SIs.
  • CSI template 816 includes a name, e.g., CSI-temp- A 820, a CST, e.g., FTP 822, and the number of CSIs in this case one 824.
  • the other template is a node template 826 which includes a name 828 and the number of nodes 830 in the cluster. They are to be used for the distribution of the generated service units.
  • these desired templates as well as the entity types 404 are processed by the AMF Configuration Generator 402.
  • SI template 802 is being processed by the AMF Configuration Generator 402.
  • outputs are generated by the AMF Configuration Generator 402.
  • populated SIs 902, 904 and 906 are generated.
  • a first SU 908 is created of a (new) SU type to meet the desired needs associated with the SIs (902, 904 and 906) of the SI template 802.
  • a new SU type was created if there was no acceptable available SU type and the orphan types allowed for the creation of new SU type as needed.
  • the Configuration Generator 402 determined that the best CompType for CST A and CST B is CompType A which allows the SU 908 to only use three components to support each of the SIs 902, 904 and 906, which have three CSIs associated with them.
  • CompType A which allows the SU 908 to only use three components to support each of the SIs 902, 904 and 906, which have three CSIs associated with them.
  • the SI template 802 e.g., the provision of three active SUs and one standby SU 812, four SUs are created and deployed as shown in Figure 9 as part of the new SG 1002.
  • illustrative pseudo-code used for generating an AMF configuration is shown below.
  • This illustrative pseudo-code is broken down into three sections: Inputs, Outputs and Configuration Generation, for ease of understanding.
  • the Inputs section of pseudo-code corresponds to the various inputs that may be received by the AMF Configuration Generator 402. Some of them are mandatory (e.g. component type, component service type, SI templates), others may be generated by the configuration generator (e.g. SU type).
  • the Outputs are building blocks of the final configuration created from the Inputs by the Configuration Generation.
  • the Outputs together with some of the Inputs presented to an AMF implementation via IMM in an XML file providing this way the complete AMF information model.
  • the first group of inputs described are from the entity types 404 subset.
  • x_active_andjy_standby ⁇ > y
  • y ⁇ 1 x_active_orjy_standby ⁇ > y
  • y ⁇ 1 l_active_orjy_standby ⁇ y
  • a second type of inputs may belong either to the entity types 404 or to the services set/user input 406 subset.
  • a third type of inputs may belong either to the entity types 404 or to the services set/user input 406 subset or completely omitted as an input. In this latter case the configuration generation is creating these types.
  • a service unit type is a tuple
  • sut ⁇ sutCt, sutServices>
  • a fourth type of inputs is the services set/user input 406 which, as described according to exemplary embodiments above, includes Service Instance templates for the service instances and Component Service Instance templates for their component service instances that need to be protected by Service Groups. Pseudo-code for a variety of services set/user input 406 is shown below.
  • numCsi is the number of CSIs of type cst created based on this template.
  • numSIs is the number of SI that is created using this template
  • susSpare is the number of spare SUs.
  • the final type of input is the number of nodes. Number of nodes can be an optional
  • the number of nodes can be described using pseudo-code as a node template as follows. Each node template characterizes a distinct set of nodes that share characteristics. Currently only one template is used that represents all the nodes of the cluster.
  • Outputs are a result of processing by the AMF Configuration Generator 402 to be used in the final configuration file. The pseudo-code used to describe and generate these Outputs is described below.
  • ⁇ / ⁇ ttr Value ⁇ ttr e cst.attr; attrValue.value is a value set for the attribute
  • sut the service unit type within which the search is performed, it may be empty
  • the find CompType method selects the component type within the service unit type or among all component types that can provide the highest utilization for the given redundancy model.
  • validCompTypes is the set of component types that can provide a required component service type cst within the service unit type sut or among all the component types:
  • ) // for each valid component type vet begin j 0 while (j ⁇
  • Min vct.csCapabilitV j .maxAct if Min > 0 AND Min > MaxMin begin
  • the required SU active capabilities are calculated with respect to the SI template with the assumption that an SU provides a group of SIs from a single template.
  • ceil() is used to round up to the nearest integer.
  • siTemp.numSIs redMod ⁇ nw ⁇ y ceil siTemp.numSUs .sus - siTemp.numSUs.sus Spare
  • suStdbCap the required standby capability for the SU type or an SU with respect to the SI template Function description
  • the required SU standby capabilities are calculated with respect to the SI template with the assumption that an SU provides a group of SIs from a single template.
  • ceil() is used to round up to the nearest integer.
  • This function searches for the first SU type that can provide the SIs of the given template siTemp. Optimization may be added depending on other requirements.
  • validSuTypes is the set of service unit types that can provide the required service type siTemp. st among all the service unit types:
  • Vsut j .memCt.csC ⁇ p ⁇ bility .compC ⁇ p ⁇ x _ active _ and _y _ stanby ⁇ ⁇ V sut .st ⁇ siTemp. st > VSUt 1 sut , e SUT;
  • It may be an empty, set in which case a new SU type is created if it is permitted by
  • ) // find an SU type that begin J O while(j ⁇
  • This function searches for the first SG type that can protect the SIs using the
  • this method Based on the provided SI template, this method generates all the service instances and their component service instances that shall be protected by a service group. Currently this function does not include the generation of CSI attributes.
  • userPreference is a set of preferences that guides the configuration generation. They allow for different options and optimization and can be extended accordingly. The pseudo-code does not reflect them.
  • app ⁇ safApp, memSgs, memSis>. Since the application refers to the SG set and the SI set, and they all refer to their children in turn, only the application itself is defined in this example as an output. This "app" is thus a tree with all the instances according to the Output section. Functional description
  • Node 1100 can contain a processor 1102 (or multiple processor cores), memory 1104, one or more secondary storage devices 1106 and an interface unit 1108 to facilitate communications between node 1100 and the rest of the network, i.e., sources of input and receiver of the output. Additionally, the node 1100 can contain control instructions for automating the generation of the system model based upon received inputs.
  • a node 1100 may include a processor for generating a system model according to the format of an IMM XML schema for future (or current) use by an AMF.
  • a method for generating a configuration file is shown in the flowchart of Figure 11.
  • a node receives inputs, associated with at least one service to be managed by the AMF and software used to provide the at least one service in step 1202.
  • the node then processes the inputs to support the at least one service in step 1204.
  • the node then generates a configuration using the processed inputs in step 1206, if possible. It will be appreciated that it is possible that no configuration can be generated if, for example, the required services cannot be provided by the system or software with the desired level of protection (redundancy).
  • Some of these exemplary embodiments employ a "bottom up" approach for selecting an SU type and component type as part of the AMF configuration generation process. That is, some of these exemplary embodiments search for a suitable SU type and component type set in an entities type file 404 based on the inputs which are provided to the configuration process and then generate compatible higher level type(s), e.g., an SG type, as part of the AMF configuration generation process. However, according to another exemplary embodiment described below, it may first be useful to look at the constraints (if any) associated with the higher level types in the input entity types file 404 as part of the search for a suitable SU type and component type in order to avoid generating unnecessary higher level types and/or higher level types which are inconsistent with such constraints.
  • the entity types file 404 from, e.g., a vendor, has specified one complete group of types, e.g., an app type, an SG type, an SU type and a component type represented by column 1300 (each of which may have several instances associated therewith).
  • the remaining types, e.g., represented by columns 1302, 1304 and 1306 are incompletely specified in the entity types file 404.
  • the circled types in these columns are referred to herein as "orphaned" types because they are not supported by higher level types in the entity types file 404.
  • searching for a service unit type and a component type to support a service can be performed in an order which involves first evaluating those groups of types which are more fully specified and then evaluating those groups of types which are less fully specified.
  • This enables, for example, such a search to consider the constraints which may be provided by the vendor for the higher level types and/or to avoid creating higher level types when a service may be supported by a service unit type and component type which are already supported by higher level types.
  • restrictions or constraints may include, for example, one or more of: relations between types, limitations, capabilities dependencies, or other constraints.
  • An example of such a constraint is a redundancy type associated with the SG type.
  • step 1402 evaluates an application type in an entity types file at step 1402 to determine whether that application type has a constraint which conflicts with one of the inputs to the configuration generation process, e.g., a user input requirement associated with redundancy. Stated differently, step 1402 evaluates the existing application type to determine whether it satisfies the requirements associated with this service instance template.
  • the entity types file shown in Figure 12 the application type in columnl300 could, for example, be evaluated initially at step 1402.
  • step 1403 the flow follows the "No" path from block 1402 to select another application type from the entity types file at step 1403.
  • the flow moves on to step 1404, wherein a service group type associated with the first selected application type in column 1300 is checked to see if it meets the requirements. If so, then the flow moves down to the next lower level at step 1406 wherein a service unit type associated with that service group type is checked to see if it satisfies the requirements for this service. If so, then that SU type, SG type and application type are selected for this service instance template at step 1408.
  • the process could move on to column 1302 which includes an orphan service group type.
  • This orphan service group type is then evaluated at step 1414 to determine if it has a conflict with the requirements, e.g., related to redundancy. If not, then the flow moves on to step 1416 wherein one or more service unit types associated with this service group type are checked to see if they can satisfy the requirements. If a set of SU type and an orphan SG type from the entity types file satisfy the requirements for this service instance template, then those entity types are selected and an application type can be created at step 1418 to support the SU type and SG type.
  • step 1420 If the orphan service group type satisfies the requirements for this service instance template, but the first checked service unit type does not, then other service unit types associated with this service group type (if any exist) may be evaluated by looping back to step 1416 through step 1420. If none of the service unit types associated with this orphan service group type satisfy the requirements, then the flow can follow the "Yes" path from decision block 1420 wherein other orphan service group types can then be evaluated, if any exist in this entity types file. Otherwise, if this is the last orphan service group type in this entity type file, then the flow can follow the "Yes" path from block 1422 to block 1424 wherein orphan service unit types are evaluated, e.g., the orphan service unit type shown in column 1304 of Figure 12. If this (or another via the loop including step 1428) orphan service unit type fulfills the requirements associated with the service instance template 1400, then that orphan service unit type is selected in step 1426 and an SG type and application type are created to support that SU type.
  • step 1430 Therein, it can be checked to see whether a suitable service unit type can be constructed from orphan component types. If so, then a supporting SU type, SG type and application type are created at step 1432. If not, then the service instance template cannot be satisfied at step 1434 and the process terminates. Note that, in steps 1418, 1426 and 1432, new types may be created or existing types can be checked to see if they satisfy the SI requirements in which case they can "adopt" the orphaned type which is being selected.
  • the particular order of search is not critical to these exemplary embodiments and, therefore, the SU types found in an entity types file may be evaluated in any desired order as part of the AMF configuration process.
  • the AMF configuration generator tool may not be permitted to generate new instances of higher level types, e.g., App types and SG types, unless the SU type under consideration is an orphan, i.e., is not supported by the higher level types in an entities file.
  • an AMF configuration tool according to one exemplary embodiment would be permitted to create the types illustrated above the circled, orphaned types in Figure 14, but would not be permitted to create, e.g., another SG type in column 1300.
  • This latter possibility is exemplified in Figure 15 wherein an AMF configuration generator (or a type finder portion 1600 thereof) according to this exemplary embodiment first searches for an appropriate SU type among the type groups which have higher level types in the entities file, e.g., as represented by rows 1300 and 1302 and the overlaid arrows therein, in the manner discussed above with respect to Figure 13.
  • the search is, as described above, based on the calculated parameters returned from calculator portion 1602, e.g., in a manner similar to that described above and in the exemplary pseudocode below. Having not found a suitable SU type in these type groups, the type finder 1600 then evaluates SU type 1604 and finds it to be suitable for supporting the service of interest. To support a new SU type 1604, the type creator portion 1606 of the AMF configuration generator then creates an App type and SG type in column 1304, e.g., in the manner described above with respect to the "bottom up" embodiments. All of these processes are described in more detail below.
  • step 1700 the data to be used in the configuration process is collected.
  • entity types describing the software applications
  • set of services that the particular system should provide using this software.
  • entity types these are typically provided by the software vendor as an XML entity types file.
  • the XML schema for an entity types file is specified by the SAF SMF specification as described above. Accordingly, there are two mandatory entity types that the entity types file must contain for the software, i.e., the component types and the component service types they provide.
  • entity types may also be provided, however these types do not have to be present in an entity types file if there are no restrictions or constraints related to them.
  • an AMF configuration contains all of the entity types defined by AMF, therefore these higher level types are also one of the expected outputs of these exemplary embodiments.
  • the entity types in the entity types file can be classified to find those types that are not referenced by any other type, i.e., the orphan types described above. More specifically, the orphan component types are not referenced by any service unit type, the orphan service unit types are not referenced by any service group type, and the orphan service group types are not referenced by any application type.
  • orphaned types have no limitations on how they are used with respect to, other higher level types whereas unorphaned types may be not be permitted to have higher level types created therefor.
  • the second part of the inputs which are collected at step 1700 are the services that the site will provide for which the AMF configuration is being created.
  • the AMF specification defines the services as a set of service instances in which each service instance is described by a set of component service instances. This is site specific information and will be entered into the AMF configuration generation tool according to exemplary embodiments by a user, e.g., a site designer.
  • this exemplary embodiment provides for service instance (SI) templates that characterize sets of service instances which are similar and that shall be protected in a similar manner. Therefore each template specifies a set of SIs that are protected by service groups (SG) of the same type.
  • SG service groups
  • CSI participating component service instances
  • CSIs are based on the component service types provided by the software, and indicate how many instances are necessary for the composition of a service instance.
  • An SI template also defines, for example, to which service type it belongs, the desired redundancy model, the number of service instances based on this template and their grouping of SIs to service groups.
  • the corresponding set of service instances and their component service instances is generated by this exemplary embodiment. This can be complemented, according to some exemplary embodiments, by a procedure which generates all of the service and component service instances with their exact attribute settings.
  • the configuration generator (e.g., the generateConf method in the pseudocode below) loops through the SI templates specified by the user.
  • the entity types that can provide the service instances are selected at step 1702, e.g., by finding them among the existing types and/or creating new types.
  • the type selection step 1702 starts with matching an SI template with the entity types provided as input.
  • the service group types of the existing application types are checked, e.g., to determine if the redundancy model of the service group type matches the one required by the SI template.
  • the service unit types of this service group type are checked (e.g., using the findSut method in the pseudocode below) to determine if they can (a) provide the required service type and (b) support the load of SIs expected to be assigned to them. If both of these conditions are met then, according to this exemplary embodiment, the service unit type, the service group type and the parent application are chosen for the service instances of the SI template.
  • a service group type is either created (e.g., using the createSgType method in the pseudocode below) or found (e.g., using the findSgt method in the pseudocode below to search the set of createdSGTs) among the already existing created service group types to adopt the orphan service unit type. If a new service group type needs be created (it is added to the set of created service group types createdSGTs), then the appropriate application type also needs to be found or created.
  • a service unit type is created (e.g., using the createSuType in the pseudocode below), and then adopted by a found/created service group type, that in turn will be adopted by a found/created application type.
  • this exemplary embodiment then generates the entities of these types (e.g., within the generateConf in the pseudocode below) that would provide the service instances needed to support the requested services at step 1704. That is the AMF configuration is populated so it can provide for both the active and the standby assignments of each service instance protected by each service group.
  • This exemplary embodiment assumes equal ranking for all of the service units within each service group. However the present invention is not so limited and, for example, a ranking procedure can be added to dictate an ordered handling of service units within the service groups. Additionally, the entity types may be refined or optimized by tailoring the parameters of the type instances to their use based on the created entity instances.
  • this exemplary embodiment assumes that each service unit of the configuration produces equal load and that each cluster node provides the same capacity, although it will be appreciated by those skilled in the art that the present invention is not so limited.
  • this exemplary embodiment distributes the SUs among the nodes, at step 1706 in Figure 16, of the cluster by selecting, for each SU, the node that has the smallest load in terms of number of service units assigned and that has no SU (or a smallest number of) associated with the same SG that the current SU belongs to.
  • These conditions can be implemented by, for example, performing a global round robin distribution of the SUs as they are being created.
  • this exemplary distribution method can be further optimized or enhanced, e.g., based on performance characteristics of the system by assuming different capacities for the different nodes and different load for the different service units and or service instances and/or based on the assumption of different failure scenarios to avoid overload situations when one or more SUs/nodes fail in the system. These additional conditions will result in a non-round robin distribution of the SUs on the nodes.
  • the process associated with steps 1702, 1704 and 1706 continues until all of the SI templates are processed and the configuration is populated with entities to provide their service instances in the SAF system.
  • an AMF configuration is generated by this exemplary embodiment that specifies all of the instances for all of the entity types and their entities.
  • the result can then be stored or saved, e.g., in a memory device or recordable medium, in any desired format as indicated by step 1708.
  • this output can be presented and/or stored in accordance with the AIS specifications as an XML file created according to the IMM schema, which contains the description of the instances as specified in the UML model of AMF.
  • an SAF compliant AMF implementation can be provided with the information model of all of the entities which it needs to manage as an input. Due to the potential complexity of AMF
  • orphanSGTs is a collection of service group types that are not referenced by any SU type in the input set ( orphanSGTs CI SGT ). Note that even when they are adopted by created application types, they remain in the set of orphanSGTs.
  • suActCap the required active capability for the SU with respect to the SI Functional description
  • the required SU active capabilities are calculated with respect to the SI template with the assumption that an SU provides a group of SIs from a single template.
  • ceil() is used to round up to the nearest integer.
  • suStdbCap the required standby capability for the SU with respect to the SI Function description
  • the required SU standby capabilities are calculated with respect to the SI template with the assumption that an SU provides a group of SIs from a single template.
  • ceil() is used to round up to the nearest integer.
  • siTemp.numSIs redMod ⁇ nplusm ⁇ >
  • This function creates an application type that supports a given service group type.
  • This function creates a service group type that supports a given service unit type, and sets the redundancy model of this service group to same one of the SI template
  • This function creates a service unit type that supports a given service type.
  • This function searches for the first created application type that can support the given SG type. This function is NOT used for finding application types that are not created. Modifications to this function are possible based of preferences regarding the extensibility of created application types
  • This function searches for the first created SG type that can support the given SU type. This function is NOT used for finding SG types that are not created.
  • sutSet a set of SU types c SUT// we could be looking in orphanSUTs or sgt.sgtSut or createdSUTs
  • This function searches for the first SU type that can support the SIs of the given template siTemp. Optimization may be added depending on other requirements.
  • This function searches for the first component type that can support the CSIs of the given template csiTemp. Optimization may be added depending on other requirements.
  • CALL calculateSuActLoad WITH siTemp RETURNING suActLoad
  • This function searches for the first component type in orphan CTS that can support the CSIs of the given template csiTemp. Optimization may be added depending on other requirements.
  • BOOLEAN/OMW d false For every ct IN orphanCTS CASE siTemp. redMod OF nway:
  • This function calculates the number of components of a given component type that need to be created inside a particular service unit
  • This function will assign the given service unit to a node that have the smallest number of service units assigned to it.
  • userPerference is a set of preferences that guides the configuration generation. They allow for different options and optimization and can be extended accordingly. The pseudo-code does not reflect them.
  • Apps i.e. AMF entities for all applications distributed on the nodes of a cluster. Note that the sets of types provided as input are also updated with the created entity types.
  • exemplary pseudo-code performs evaluations between SI requirements and type capabilities in a strict sense, i.e., checking to see if each value in type's capabilities tuple or set is equal to a corresponding value in the SI requirements tuple or set to determine if a type supports those requirements
  • other evaluation metrics can be used to determine the suitability of a type.
  • an AMF configuration generator may decide that it is sufficient that the required set of SG Type is present as a subset. This allows for the extension of existing created types. As a result the configuration will have different numbers of application types and therefore different number of applications, which reflects different strategies of grouping, e.g., grouping by functionality. Strict equivalence results in a 1 :1 relation between created SU types, created SG types and created application types. Allowing subsets without other strategies results in a single APPT as it was done in the bottom-up approach.

Abstract

Techniques for generating a system model for use by and availability management framework (AMF) are described. Inputs are received, processed and mapped into outputs which are further processed into a configuration file in an Information Model Management 5 (IMM) Service eXternal Markup Language (XML) format which can be used as a system model by an AMF.

Description

METHODS AND SYSTEMS FOR GENERATING AVAILABILITY MANAGEMENT FRAMEWORK (AMF) CONFIGURATIONS
RELATED APPLICATIONS
This application is a continuation-in-part of U.S. Patent Application Serial No. 11/961,849, filed on December 20, 2007, and entitled "Methods and Systems for Generating Availability Management Framework (AMF) Configurations", the disclosure of which is expressly incorporated here by reference. This application is also related to, and claims priority from, U.S. Provisional Patent Application Serial No. 61/085,583, filed on August 1, 2008, entitled "Automatic Generation of AMF Compliant Configuration Top-Down Approach", the disclosure of which is also expressly incorporated here by reference.
TECHNICAL FIELD The present invention generally relates to high availability (HA) systems (hardware and software) and, more particularly, to HA systems managed by an Availability Management Framework (AMF).
BACKGROUND High availability systems (also known as HA systems) are systems that are implemented primarily for the purpose of improving the availability of services which the systems provide. Availability can be expressed as a percentage of time during which a system or service is "up". For example, a system designed for 99.999% availability (so called "five nines" availability) refers to a system or service which has a downtime of only about 0.44 minutes/month or 5.26 minutes/year. High availability systems provide for a designed level of availability by employing redundant nodes, which are used to provide service when system components fail. For example, if a server running a particular application crashes, an HA system will detect the crash and restart the application on another, redundant node. Various redundancy models can be used in HA systems. For example, an N+l redundancy model provides a single extra node (associated with a number of primary nodes) that is brought online to take over the role of a node which has failed. However, in situations where a single HA system is managing many services, a single dedicated node for handling failures may not provide sufficient redundancy. In such situations, an N+M redundancy model, for example, can be used wherein more than one (M) standby nodes are included and available.
As HA systems become more commonplace for the support of important services such as file sharing, internet customer portals, databases and the like, it has become desirable to provide standardized models and methodologies for the design of such systems. For example, the Service Availability Forum (SAF) has standardized application programming interfaces (APIs) to aid in the development of portable, highly available applications. As shown in the conceptual architecture stack of Figure 1, the AIS 10 is intended to provide a standardized interface for the HA middleware 16 to support HA applications 14. As described below, each set of AIS functionality is associated with an operating system 20 and a hardware platform 22. The reader interested in more information relating to the AIS standard specification is referred to Application Interface Specifications (AIS), Release 5, which is available at wwWiSaforyxiLorgj the disclosure of which is incorporated here by reference.
Of particular interest for the present application is the Availability Management Framework (AMF), which is a software entity defined within the AIS specification. According to the AIS specification, the AMF is a standardized mechanism for providing service availability by coordinating redundant resources within a cluster to deliver a system with no single point of failure. The AMF provides a set of application program interface (API) functions which are used, among other things, to set the states of components within a cluster and to determine the health of those components. The components are also provided with the capability to query the AMF for information about their state. An application which is developed using the AMF APIs and following the AMF system model leaves the burden of managing the availability of its services to the AMF. Thus, such an application does not need to deal with dynamic reconfiguration issues related to component failures, maintenance, etc.
The AIS standard also defines the information model (IM) for applications to be controlled by AMF. According to this IM, a service unit (SU) as a logical entity that aggregates a set of components, thereby combining their individual functionalities to provide a higher level service. A service unit can contain any number of components, but a particular component can be configured in only one service unit. Since each component is always enclosed in a service unit, from the AMF's perspective, the service unit can be considered the incremental unit of redundancy in the sense that it is the smallest logical entity that can be organized into groups in a redundant manner to provide and protect the service instances.
A service group (SG) is defined within the AMF information model as a logical entity that groups one or more SUs in order to provide service availability for a particular set of service instances according to a particular redundancy model. The AMF information model also defines an application as being a logical entity that contains one or more SGs. An application combines the individual functionalities of the constituent service groups to provide a higher level of service. From a software administration point of view, this grouping into an application reflects the set of SUs and contained components that are delivered as a consistent set of software packages to the AMF environment. Within this environment, by introducing the software management framework (SMF), the AMF information model was extended with types that allow the characterization of software developed for SAF systems, e.g., software which is used to provide HA services managed by the AMF.
This software can typically be deployed in different configurations depending on, for example, the characteristics of the system it is deployed on, the number of nodes and their characteristics, the capabilities of the AMF implementation and the requirements put on the provided services. Thus, a software vendor can describe their software such that it would allow for the widest possible usage by describing various AMF related characteristics of the software. Based on this a system integrator has to produce a particular configuration for the system the software is deployed on. However, none of the current SAF specifications define how to generate the information model, i.e., the configuration to be used by an AMF implementation in a particular system for a particular application. Therefore, one option for creating an information model would be to create it manually. Considering the potential for an AMF configuration file to have hundreds if not thousands of lines of code to be properly defined, creating a configuration file in a manual manner will be time consuming and prone to errors.
Accordingly, it would be desirable to provide systems and methods automating the generation of configurations for an AMF system or process.
SUMMARY
Systems and methods according to the present invention address this need and others by automating the generation of configurations for an AMF system or process. According to an exemplary embodiment, a method for generating a configuration for an Availability Management Framework (AMF) includes the steps of selecting entity types from an entity types file which can provide a set of service instances by first evaluating entity types associated with an application type in the entity types file, generating entities associated with the selected entity types; and distributing at least some of the generated entities on nodes of a cluster.
According to another exemplary embodiment, a system includes a processor for generating a configuration for an Availability Management Framework (AMF), including performing the functions of: selecting entity types from an entity types file which can provide a set of service instances by first evaluating entity types associated with an application type in the entity types file, generating entities associated with the selected entity types; and distributing at least some of the generated entities on nodes of a cluster.
According to another exemplary embodiment a computer-readable medium contains instructions stored thereon which, when executed by a computer or a processor, perform the steps of: selecting entity types from an entity types file which can provide a set of service instances by first evaluating entity types associated with an application type in the entity types file, generating entities associated with the selected entity types; and distributing at least some of the generated entities on nodes of a cluster. BRIEF DESCRIPTION OF THE DRAWINGS
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate one or more embodiments and, together with the description, explain these embodiments. In the drawings:
Figure 1 illustrates a conceptual architecture stack associated with application interface services (AIS);
Figure 2 shows an exemplary AMF managed system including service groups, service units and components; Figure 3 (a) depicts a high level flowchart for generating an AMF configuration according to exemplary embodiments;
Figure 3(b) shows processes that occur within an AMF configuration generator according to exemplary embodiments;
Figure 4 is an illustration of component type categories according to exemplary embodiments;
Figure 5 shows component service types associated with attributes according to exemplary embodiments;
Figure 6 shows service types associated with component service types according to exemplary embodiments; Figure 7 illustrates service instance templates, component service instance templates and a node template according to exemplary embodiments;
Figure 8 illustrates a service instance template and the output service instances and a new service unit created according to exemplary embodiments;
Figure 9 shows a newly created service group according to exemplary embodiments; [ Figure 10 depicts a configuration generator node according to exemplary embodiments;
Figure 11 shows a flowchart for creating an AMF configuration file according to exemplary embodiments; and Figure 12 conceptually illustrates an entity types file including orphan types according to an exemplary embodiment;
Figure 13 is a flowchart illustrating a method according to an exemplary embodiment; Figure 14 conceptually illustrates an entity types file including orphan types and created types according to an exemplary embodiment; Figure 15 depicts searching for types and creating types according to an exemplary embodiment; and
Figure 16 is a flowchart illustrating a method for generating an AMF configuration according to an exemplary embodiment
DETAILED DESCRIPTION
The following description of the exemplary embodiments of the present invention refers to the accompanying drawings. The same reference numbers in different drawings identify the same or similar elements. The following detailed description does not limit the invention. Instead, the scope of the invention is defined by the appended claims.
To provide some additional context for this discussion, consider an exemplary Availability Management Framework (AMF) controlled High Availability (HA) system as shown in Figure 2. Therein, four nodes (A, B, C and D) are associated with two service groups (SGl and SG2). A service group is a group of service units (SUs) which provide service availability for one or more service instances (SIs) of particular services. For example, SGl includes SUl and SU2 which, in this example, support an instance of an e-mail service (hardware and software) and SG2 includes SU3, SU4 and SU5, which support two instances of a fax service (hardware and software). At runtime, for the email service instance SIA supported by SGl, AMF 300 may select to assign SUl the active state and SU2 the standby state.
Each of the exemplary service units in SGl has two components associated therewith. A component is the smallest logical entity on which the AMF 300 performs error detection and isolation, recovery, and repair. Thus, a component typically includes all of the functions which cannot be clearly separated for error containment or isolation purposes. The component is also the logical entity that a portion of a workload is assigned within the provisioning of a service instance, e.g. the email service. Such a portion of the workload is called a component service instance (CSI). The email service instance SI A is composed of two component service instances CSI Al and CSI A2. Each of these can be assigned to a component within a service unit. Components can further be grouped into protection groups which reflect the redundancy associated with provisioning of the component service instances. For example, components Cl and C3 can form a first protection group for CSI Al and components C2 and C4 can form a second protection group for CSI A2, both of which are associated with the email service instance SI A. Thus if component C 1 fails while being assigned active for CSI Al and C3 assigned as standby, the AMF 300 could fail over CSI Al to component C3 the active state and, similarly, if component C2 fails while being active for CSI A2, then the AMF 300 could fail over CSI A2 to component C4 the active state. At the time of the fail over of CSI Al, AMF 300 will switch over or will fail over CSI A2 as well so the entire service unit SU2 becomes assigned active for the entire service instance SI A.
Service group SG2 illustrates a slightly different configuration wherein two instances of a fax service are supported by three service units SU3, SU4 and SU5. For example, SU3 and SU4 could each be assigned by AMF 300 the active state such that each supports one instance of the fax service, while SU5 could be assigned the standby state and operate as their redundant backup. In this case, components C5 and C7 would form one protection group associated with one of the two fax service instances SI B and within that protect component service instance CSI B 1. Components C6 and C7 could form a second protection group to protect CSI Cl associated with the other SI C of the two fax service instances.
In the above described examples, service groups, service units and components can all considered to be logical entities associated with physical entities that perform work. These logical entities are assigned workloads in order to render the service, e.g., email or fax service. A component service instance (CSI) represents the workload that the AMF 300 can dynamically assign to a single component. Component service instances are grouped into a logical entity called a service instance (SI). A service instance aggregates all component service instances to be assigned to the individual components of the service unit in order for the service unit to provide that particular service instance, e.g., email or fax service. A service instance represents a single workload assigned to the entire service unit. As shown in Figure 2, service instances are shown as well as their relationship with the components, service units and service groups on the four nodes. More specifically, for SIA 302, SUl is assigned the active HA state and SU2 is assigned the standby HA state (as shown by the dashed connecting line). For SIA 302, two CSIs (Al and A2) are assigned to components Cl and C3, and to C2 and C4, respectively. Regarding SIB 304, SU3 is assigned the active HA state and SU5 is assigned the standby state (as shown by the dashed connecting line). Similar comments apply towards SIC 306.
For an AMF software entity 300 to operate in the above described exemplary manner, the AMF software entity 300 needs to receive from a configuration repository 310 an input, file or system model which describes what is to be managed. In a Service Availability Forum (SAF) cluster the Information Model Management Service (IMM) typically serves as the configuration repository 310. According to one exemplary embodiment, such configuration information can take the form of an XML (external Markup Language) file, however it will be appreciated that the particular form or format of the configuration input is not critical. According to exemplary embodiments, a high level method for generating the configuration input an AMF application will now be described with respect to Figure 3 (a). Initially an AMF Configuration Generator 402 receives inputs of entity types 404, e.g., as entity types files (ETFs) and services set/user input 406 to perform a mapping function which creates a system model for future use. This system model is output by the AMF Configuration Generator 402 in the form, for example, an XML file according to the SAF Information Model Management (IMM) Service XML schema 412. This output code in an IMM XML file 412 is then stored in the configuration repository 310 in step 414. These various inputs and steps will be described in more detail below.
The first exemplary input is entity types 404 which describe, for example, various AMF related characteristics associated with application software to be controlled by the AMF system. These entity types 404 are AMF entity types described in XML entity types files, as described by the SAF Software Management Framework (SMF) specification SAI-AIS-SMF- A.01.01 which is available at www.safonim.org, the disclosure of which is incorporated here by reference. From the SAF specifications, there are currently two mandatory AMF entity types that need to accompany any application software intended for such systems. These two entity types are the component types (CompType) and their respective component service types (CST). Other entity types may also be provided as inputs 404, however, they do not have to be present in an entity types file if the software implementation has no restrictions related to them. The second exemplary type of input is the services set/user input 406. The services set/user input 406 typically includes information related to the services the site provides for which the AMF configuration is being created. In the AMF environment, the services set/user input 406 is a set of service instances in which each service instance is described by a set of component service instances as well as other desired user inputs, e.g., a number of nodes provided with the system providing the service or services and the desired redundancy model to protect them. The services set/user input 406 is typically site specific. This exemplary method involves using SI templates each of which describe a set of SIs that shall be protected by SGs of the same type. Within each SI template the CSIs are also defined via CSI templates. The SI templates are typically based on the service types (SvcType) provided as service set/user input 406 or by the entity types files. The service type determines the composing CS types (CST) and any limits for the number of component service instances that an SI of the service type may contain. Accordingly, the CSI templates are based on the CS types provided with the software and the user input needs to indicate which CS types are used from these and how many instances of them are desired for the composition of an SI of the particular SI template. An SI template also defines the number of SIs to be configured based on this template and their grouping to SGs. Additionally, the desired redundancy model is typically input by a user and included in the SI template. Another input typically received by the AMF Configuration Generator 402 from the services set/user input 406 is the number of nodes. The number of nodes input is used to assign the service units of the configuration to nodes according to different criteria (e.g. implement hardware redundancy, load balancing among cluster nodes, etc.) if necessary. This information may be provided as a user input to the AMF Configuration Generator 402, or collected from the target system by other SAF services. These exemplary input entity types 404 and services set/user input 406 are received at the AMF Configuration Generator 402 where the inputs are processed to generate a system model for a specific AMF configuration. A general discussion of the configuration generation will now be provided followed by a detailed (but purely exemplary) pseudo-code implementation. References to the pseudo code implementation are priced in the text below in parentheses.
Initially the exemplary configuration generation method (generateConf method) begins by matching each received SI template with the entity types 404 provided. A suitable SU type is selected from among those in the received input set (fmdSUType method). This selection method checks the SU types for the capability of providing the desired service type that the SI template refers to. If there are such SU types available, then one is selected by matching the capabilities of the component types of the SU type for each of the component service types with the capabilities required for providing the specified component service type by the CSI templates (fmdCompType method) in the required redundancy mode required by the enclosing SI template. According to one exemplary embodiment, the selection method finds the SU type(s) that provide the CSI(s) with the minimum number of components, i.e., the selection criterion results in maximizing the utilization of each component in the configuration. However, other selection criterion can be used as desired.
For the case where the selection criterion results in no SU types found that provide the desired composition of CSIs, this exemplary configuration generator 402 can determine whether the available component types can be grouped in another manner to construct a new, desired SU type. This can occur as part of the fmdSUType and fmdCompType pseudo-code functions described below, i.e., the fmdCompType method adds an appropriate component type from the complete set of component types to the newly constructed SU type for each set of CSIs that needs to be protected. This determination as to whether new SU types may be constructed is typically based upon a user input, e.g., a yes or no input regarding whether the AMF Configuration Generator 402 is permitted to perform new SU type construction. If a no is submitted then only the submitted types will be used. If a yes is submitted, then the submitted SU types will preferably be used, however, if the submitted SU types are found to be insufficient, the AMF Configuration Generator 402 will have the option to attempt to create an appropriate SU type. Once an SU type is found or constructed, this exemplary method chooses an appropriate SG type from the available set of SG types based on the features defined by the user for the desired redundancy model in the SI template. If no such appropriate SG type is available, a new SG type is created using input parameters found within the SI template.
Upon completion of finding the appropriate entity types, the AMF Configuration Generator 402 generates the entities, i.e., instances of these types (generateConf method) that can provide the desired services (createSis method). The configuration is populated so that both the active and the standby assignments of each SI protected by each SG can be satisfied. This is done by creating one SU with the required number of components so that the SU provides the required active and standby capabilities for all of the SIs as necessary and within them for all CSIs. Once all of the components of the first SU have been added, other SUs required by the redundancy model are copied from this first SU as desired for the HA environment to create a first SG. This procedure is then repeated for each SG necessary to protect all the service instances generated from an SI template in the configuration that is currently being created. Additionally, one exemplary method for creating this configuration uses equal ranking and equal load between all SUs. Alternatively, other exemplary methods can be used.
For example according to one exemplary embodiment, instead of using equal ranking and load, different ranks can be assigned to the different SUs within an SG. A global rank can be assigned as well as a per SI rank. If only the global rank is specified then for SIs this is the rank that would be used. According to another exemplary embodiment, other factors can be used in assigning rank such as, for example, SI load based upon different resource needs, e.g., a database application would be storage/memory intensive. Also a collaboration of different applications, or the opposite, could be considered. According to one exemplary embodiment, populating this configuration can be complemented by using a method that generates, based on the previously generated SI and CSI templates, all (or a desired portion) of the SI and CSIs respective attributes.
The exemplary processing described above with respect to the AMF Configuration Generator 402 will now be summarized as shown in the exemplary flowchart of Figure 3(b). Initially, each received SI template is matched with the received entity types 404 in step 420. Matching also occurs in the follow on steps as needed. Processing then continues by finding a component type by selecting the component type within an SU type or among all component types (provided it is permitted to construct a new SU type) such that the component type provides a highest utilization for a specified redundancy model in step 422. Calculating required active capabilities for an SU type within an SG with respect to an SI template, wherein an SU of the SU type provides a group of SIs from a single template occurs in step 424. Similarly, calculating required standby capabilities for an SU type with respect to an SI template, wherein an SU of the SU type protects a group of SIs from a single template occurs in step 426. The Configuration Generator 402 then searches for a first SU type that can provide SIs based on one of the templates in step 428. This leads to searching for a first SG type that can provide SIs using a requested SU type according to a specified redundancy model in step 430. Once the necessary entity types have been identified the configuration generation proceeds with populating the configuration with the entities of these types. This begins with generating all of the SIs and their respective CSIs to be protected by an SG based upon the templates in step 432. A first SU is created for the SG and then others are copied to create the complete SG. A next set of SIs and CSIs can then be generated for the next SG. If the SIs belong to the same SI template, the SG is just copied, until all the SIs required by the template have been assigned to an SG. For the next SI template the process can be repeated starting with the creation of a first SU. The process ends when all the SGs have been created for all SI templates.
The configuration, e.g., a file, generated by this exemplary process can, for example, be in an IMM XML format for use by an AMF via IMM. As mentioned above, the elements of this configuration can be generated by a type matching process which loops on the SI templates: for each SI template the SG type, the SU type and the component types are selected. Exemplary pseudocode illustrating this process in more detail is provided below. For the instance generation described above, there are additional loops as multiple entities are created for each selected type. The configuration, e.g., IMM XML, contains both the entity types and all the generated entities. During configuration generation, SUs can be assigned to nodes by setting the appropriate attributes. This is an optional attribute, so the AMF can use this attribute when it is provided, otherwise the AMF distributes the SUs in an implementation specific way. Note also that it may not always be desirable to assign an SU to a node, e.g., when the SU is assigned to a node it cannot be instantiated by AMF anywhere else, in which case, if the node is faulty, that SU would be lost with the node. If no node is specified AMF will pick a node from among those available.
Using the above described exemplary embodiments, the AMF Configuration Generator 402 generates a configuration which becomes an output of code in, for example, an IMM XML file 412. This output of an IMM XML file 412 is preferably provided in an acceptable format for use by an AMF system as described in, for example, SAF Information Model Management (IMM) specification SAI-AIS-IMM-A.02.01. This exemplary code is then stored in a Configuration Repository 310 (or other desirable computer readable medium or memory storage unit) in step 414 for future use by an AMF.
An additional process that occurs at the end of the exemplary generation of an AMF configuration is the method for distribution of the SUs on the cluster nodes. The AMF specification does not currently describe performance characteristics for entities, therefore an exemplary method for distribution of SUs can assume that each SU of the configuration produces equal workloads with respect to each other and with or without assignment. It is at this point that the number of nodes to be used needs to be known by the system as either a received user input or by the system knowing what is available, e.g., information provided by another SAF service. Based on this assumption, this exemplary method distributes the SUs among the nodes of the cluster by selecting for each SU the node that has the smallest load and that has no (or the fewest number of) SUs of the same SG that the current SU belongs to. These conditions can be provided by using a global round robin distribution of the SUs as the SUs are being created during the configuration process. Alternatively, this exemplary distribution method can be modified by assuming, based on performance characteristics of the system, different capacities for the different nodes and different load for the different SUs. Also, another exemplary alternative embodiment for configuration could be based upon the assumption of different failure scenarios desiring to avoid or minimize overload situations when one or more SUs/nodes fail in the system. To further illustrate the above described exemplary embodiments for generating an
AMF configuration, a purely illustrative exemplary embodiment will now be described with respect to Figures 4-9. In this exemplary system, the goal is to support file transfer protocol (FTP) services, simple mail transfer protocol (SMTP) services and hyper text transfer protocol (HTTP) services in an HA environment by creating a configuration file for use by an AMF to manage these services in an HA environment. For the input entity types 404 there are both component types and component service types. As can be seen in Figure 4, there are two component types labeled CompType A 502 named Surge FTP and CompType B 504 named Apache. CompType A 502 can provide up to three active or six standby assignments for CST A 506 for FTP and, CompType A 502 can also provide up to one active or one standby assignments for CST B 508 for SMTP. Regarding CompType B 504, it is capable of providing up to three active and six standby assignments for CST C 510 for HTTP.
These various CSTs can have a number of different attributes associated with them as shown in Figure 5. For example, CST A 506 for FTP is shown with two attributes 602 and 604 associated therewith. Attribute 602 could, for example, deal with IP ranges and attribute 604 could, for example, be associated with security levels. More or fewer attributes can be associated with a CST (as well as the other CSTs) as shown by CST B 508 for SMTP having three attributes and CST C 510 having just one attribute. These attributes associated with the CSTs are typically submitted as part of the input entity types 404 as they are determined by the way the software is implemented. CSTs are also associated with service types. For example, as shown in Figure 6, two service types are shown, SvcType A 702 representing the file transfers and email service and SvcType B 704 which represents the web page display service. Accordingly, SvcType A 702 is associated with CST B 508 and CST A 506 representing the FTP and SMTP component service types. SvcType B is solely associated with CST C 510, with HTTP. These service types can be submitted as either entity types inputs 404 or as part of the services set/user input 406. This then leads to the various templates submitted as part of the services set/user input 406.
According to exemplary embodiments, the services set/user input 406 includes templates. Continuing with the current example, SI templates, CSI templates and a node template are illustrated in Figure 7. An SI template 802 includes the following: a name, e.g., Sl-temp-a 804; a redundancy model, e.g., N+M 806; a service type, e.g., File Transfer and Mail 808; the preferred number of active and standby assignments per SI, e.g., 1 Active + 1 Standby 810; the values for N and M SUs as appropriate for the redundancy model, e.g., 3 + 1 SUs 812; and the desired number of SIs, e.g., 3 SIs. Associated with each SI template 802 are one or more CSI Templates 816 and 818. CSI template 816 includes a name, e.g., CSI-temp- A 820, a CST, e.g., FTP 822, and the number of CSIs in this case one 824. The other template is a node template 826 which includes a name 828 and the number of nodes 830 in the cluster. They are to be used for the distribution of the generated service units.
At some point after filling in the desired templates, these desired templates as well as the entity types 404 are processed by the AMF Configuration Generator 402. For example, as shown in Figure 8, SI template 802 is being processed by the AMF Configuration Generator 402. Using the received inputs as well as other known information, such as specified constraints for an AMF, outputs are generated by the AMF Configuration Generator 402. In this case, populated SIs 902, 904 and 906 are generated. Additionally, in this example, a first SU 908 is created of a (new) SU type to meet the desired needs associated with the SIs (902, 904 and 906) of the SI template 802. A new SU type was created if there was no acceptable available SU type and the orphan types allowed for the creation of new SU type as needed. Also, the Configuration Generator 402 determined that the best CompType for CST A and CST B is CompType A which allows the SU 908 to only use three components to support each of the SIs 902, 904 and 906, which have three CSIs associated with them. To meet another need as specified by the SI template 802, e.g., the provision of three active SUs and one standby SU 812, four SUs are created and deployed as shown in Figure 9 as part of the new SG 1002.
According to exemplary embodiments, illustrative pseudo-code used for generating an AMF configuration is shown below. This illustrative pseudo-code is broken down into three sections: Inputs, Outputs and Configuration Generation, for ease of understanding. The Inputs section of pseudo-code corresponds to the various inputs that may be received by the AMF Configuration Generator 402. Some of them are mandatory (e.g. component type, component service type, SI templates), others may be generated by the configuration generator (e.g. SU type). The Outputs are building blocks of the final configuration created from the Inputs by the Configuration Generation. The Outputs together with some of the Inputs presented to an AMF implementation via IMM in an XML file providing this way the complete AMF information model.
INPUTS
The first group of inputs described are from the entity types 404 subset. A component service type is a set as described by cst = {att,; 0 <= i < \cst\, any number of attributes}.
All component service types compose the set CST= (CSt1; 0 <= i < |GST| }.
A component capability, which is used in describing a component type, is described by a tuple of csCapability = <cst, compCap, maxAct, maxStdb>, where cst e CST; x_active_andjy_standby x_active_orjy_standby 1 _active_orjy_standby compCap = 1 _active_or_l _standby x_active 1 active
x_active_and_y_standby =^> x, x ≥ 1 x_active_orjy_standby =^> x, x ≥ 2 l_active_orjy_standby => 1 max Act = 1 _active_or_l _standby => 1 x_active =^> x, x ≥ 2 l_active => 1
x_active_andjy_standby =^> y, y ≥ 1 x_active_orjy_standby =^> y, y ≥ 1 l_active_orjy_standby ≡^ y,y ≥ 2 maxStdb = l_active_or_l_standby => 1 x_active => 0 i active => 0
A component type can be described as a set as follows. ct = { csCapabilityr, 0 <= i < \ct\, all the component service (CS) types provided by the component type ct }
All component types compose the set as described by
CT= {cfz; 0 <= i < |C71 }.
A second type of inputs may belong either to the entity types 404 or to the services set/user input 406 subset.
A member CS type is a tuple as described by memCst = <cst, maxCsi>, where cst G CST; maxCsi is the number of CSIs of type cst that a service instance of a particular type may contain.
A service type is a set sf = {memCst,; 0 <= i < \st\ component service instances that compose the service type sf\.
All the service types compose the set ST= {st1; 0 <= K \ST] }.
[0001] A third type of inputs may belong either to the entity types 404 or to the services set/user input 406 subset or completely omitted as an input. In this latter case the configuration generation is creating these types.
Service Unit Types
The services of a service unit type is a set as described by sutServices = {stlt 0 <= i < \sutServices\, all the service types the service unit provides and it is a subset of SJ]
A member component type is a tuple memCt = <ct, maxComp> where ct e CT; maxComp is the maximum number of instances of this component type an SU of this type may contain.
The component types of an SU type is a set sutCt={memCt^ 0 <= i < \sutCt\, all the component types the service unit may contain and \sutct\ <= \C7]}. A service unit type is a tuple
sut=<sutCt, sutServices>
All the service unit type compose the set SUT={suti; 0 <= i < \SUT\} This set may be empty (SUT = {}) at the beginning of the configuration generation.
Service Group Types
The service unit types of a service group type is a set as described by sgtSut={suUt 0<=i< \sgtSut\, all the service unit types the service group may contain and it is a subset of SUT}
A service group type is a tuple sgt = <sgtSut, redMod>, where
In nplusm redMod = nwav nwayactive noredundancv
All service group types compose the set
SGT = {sgt, , 0 <= i < \SGT\j This set may be empty (SGT = {}) at the beginning of the configuration generation.
A fourth type of inputs is the services set/user input 406 which, as described according to exemplary embodiments above, includes Service Instance templates for the service instances and Component Service Instance templates for their component service instances that need to be protected by Service Groups. Pseudo-code for a variety of services set/user input 406 is shown below. CSI Templates
A CSI template is a tuple csiTemp = <cst, numCsi >, where cst G CST;
numCsi is the number of CSIs of type cst created based on this template.
All CSI templates compose the set
C5/r= {csiTemp,; 0 <= i < |GSTT| }.
SI Templates
A SI template is a tuple siTemp = <st, sicsTemps, redMod, numSIs, numAct, numStdb, numSUs>, where
st e ST;
sicsiTemps = {csiTemp,; 0 <= i < \sicsiTemps\ VcsiTemprcst ≡ St1. cst and
csiTemp vnumCsi < strmaxCsi };
numSIs is the number of SI that is created using this template
f redMod ≠ nwayactive => 1 . , ■ ■ « ■ ■ ~. numAct = \ , is the number of HA active assignments per Sl;
[x;x ≥ 2
redMod ≡ nway =^> y; y ≥ 1 redMod ≡ nwayactive => 0 numStdb = , is the number of HA standby assignments redMod ≡ noredundancy => 0 1
per Sl; numSUs = <sus, susAct, susStdb, susSpare >, where sus the total number of SUs in the SG protecting the SIs generated from this template; sus >= susAct + susStdb + susSpare; redMod ≡ nplusm =^> z redMod ≡ nway active => z;z > 1 nuniAct = redMod ≡ noredundancy => numSIs , is the number of SUs that can have only redMod ≡ 2n => 1 redMod ≡ nway => 0
active assignments;
redMod ≡ nplusm => w redMod ≡ nwayactive => 0
SUSStbd numStdb = < redMod ≡ noredundancy => 0 is the number of SUs that can have redMod ≡ 2n => 1 redMod ≡ nway => 0
only standby assignments; susSpare is the number of spare SUs.
All SI templates compose the set SIT = (SiTeMp1; 0 <= i < \SIT\ }.
The final type of input is the number of nodes. Number of nodes can be an optional
separate input, or defined elsewhere, e.g., read from the system for which the configuration is being generated. The number of nodes can be described using pseudo-code as a node template as follows. Each node template characterizes a distinct set of nodes that share characteristics. Currently only one template is used that represents all the nodes of the cluster.
The node template is a tuple nodeTemp = < numNodes >, where numNodes is the number of nodes created based on the template.
All node templates compose the set
NodeTemp = (nodeTemp1; 0 <= i < \NodeTemp\ }. Outputs are a result of processing by the AMF Configuration Generator 402 to be used in the final configuration file. The pseudo-code used to describe and generate these Outputs is described below.
Outputs
Components
A component has a name and belongs to component type. It is a tuple comp = <safComp, ct >, where ct e CT; safComp is a tuple safComp = <safSu, rdn>, where safSu is a SAF compliant LDAP distinguished name of the SU the component belongs to and rdn is a relative distinguished name of the component, which is unique within the SU.
Service Units
A service unit is a tuple su = <safSu, sut, memComps>, where safSu is a tuple safSu = <safSg, rdn>, where safSg is a SAF compliant LDAP distinguished name of the SG the service unit belongs to and rdn is a relative distinguished name of the SU which is unique within the SG; sut e SUT; memComps = {memCompγ; 0 <= i < \memComps\, \/memComp.safComp.sqfSu ≡ safSu; } memComp = {} at the start of the configuration generation.
Service Groups
A service group is a tuple sg=<safSg, sgt, memSus, nodeGroup>, where safSg is a tuple safSg = <safApp, rdn>, where safApp is a SAF compliant LDAP distinguished name of the application the service group belongs to. and rdn is a relative distinguished name of the SG, which is unique within the application; sgt s SGT; memSus = {memSu{, 0 <= i < \memSus\, memSuγ.sut e sgt.sgtSut and \fmemSu.safSu.safSg ≡ safSg; } memSUs = {} at the start of the configuration generation nodeGroup = (HOUe1; 0 <= i < \nodeGroup\J ; the nodeGroup c Cluster on which the SG is distributed.
Component Service Instances
A component service instance is a tuple csi=<safCsi, cst, attrValues>, where safCsi is a tuple safCsi = <safSi, rdn>, where safSi is a SAF compliant LDAP distinguished name of the service instance the component service instance belongs to, and rdn is a relative distinguished name of the CSI, which is unique within the service instance; cst e CST; attrValues = {attrValue,; 0 <= i < \cst\} attrValue = <attr, value>, where
\/αttr Value. αttr e cst.attr; attrValue.value is a value set for the attribute
αttrVαlues = {} the method does not currently include the generation of attribute values. Service Instances
A service instance is a tuple si=<safSi, st, sg, memCsis>, where safSi is a tuple safSi = <safApp, rdn>, where safApp is a SAF compliant LDAP distinguished name of the application the service instance belongs to, and rdn is a relative distinguished name of the Sl, which is unique within the application; sts ST; memCsis = {rnemCsi,; 0 <= i < \memCsis\, VmemCsi.cst => 3st.cst; and \f memCsis αfCsi.sαfSi ≡ sαfSi; } memCsis = {} at the start of the configuration generation
sgSis = (Si1; 0 <= i < \sgSis\, V Si1.sg ≡ sg} the set of SIs protected by the same service group, they specify the same service group.
Application The application for which the configuration is generated is a tuple αpp = <safApp, memSgs, memSis>, where sαfApp is a distinguished name of the application; memSgs = {memSg{, 0 <= i < \memSgs\, \/memSg.sαfSg.sαfApp ≡ sαfApp; } memSgs = {} at the start of the configuration generation. memSis = {memSU; 0 <= i < \memSis\, \/memSi.sαfSi. sαfApp ≡ sαfApp; } memSis = {} at the start of the configuration generation. Nodes
node = <safAmfNode, hostedSus>, where safAmfNode is a distinguished name of the node; hostedSus = {hostedSu,; 0 <= i < \hostedSus\} hostedSus = {} at the start of the configuration generation.
All nodes compose the cluster: Cluster = (HOcIe1; 0 <= i < \Cluster\j
findCompType Method Input
• sut, the service unit type within which the search is performed, it may be empty
• cst, the component service type that needs to be provided
• redMod, the redundancy model within which cst is provided Output
• chosenCompType, the selected component type Functional description
The find CompType method selects the component type within the service unit type or among all component types that can provide the highest utilization for the given redundancy model.
validCompTypes is the set of component types that can provide a required component service type cst within the service unit type sut or among all the component types:
\sut ≠ {} \/sut.sutCtj .csCapability k .cst ≡ cst => Vd1 validCompTypes = {vet, ;
SUt ≡ {} Vet .csCapability .cst ≡ cst => vet, ct, e CT.
begin
MaxMin = 0 chosenCompType = {} i = 0 while (i < |validCompTypes|) // for each valid component type vet begin j = 0 while (j < |vct|.csCapability|) // for each CS type it provides begin if redMod == 2n OR redMod == nplusm Min = min(vct|.csCapabilityj.maxAct, vcti.csCapabilityj.maxStandby) if redMod == nway
// x_active_and_y_stanby is the mandatory capability // for nway if vet,. csCapability == x_active_and_y_standby Min=min(vct,.csCapabilityJ.maxAct, vct.csCapabilityj.maxStandby) else
Min = 0 // cannot be used for nway if redMod == nwayactive OR redMod == noredundancy
Min= vct.csCapabilitVj.maxAct if Min > 0 AND Min > MaxMin begin
MaxMin = Min chosenCompType = ct, end j = j + 1 end i = i + 1 end if chosenCompType == {} return cst cannot be provided else return chosenCompType end
suActCap Methods
Input
siTemp, an SI template
Output • suActCap, the required active capability for the SU type or an SU with respect to the SI template Functional description
The required SU active capabilities are calculated with respect to the SI template with the assumption that an SU provides a group of SIs from a single template. In the formula ceil() is used to round up to the nearest integer.
return
siTemp.numSIs redMod ≡ nwαy => ceil siTemp.numSUs .sus - siTemp.numSUs.sus Spare
„ , , redMod ≡
Figure imgf000032_0001
suActCap = redMod ≡ noredundancy => siTemp.numSIs redMod ≡ 2/? => siTemp.numSIs
,, , , , ./ siTemp.numSIs ] redMod ≡ nplusm => ceil
I siTemp.numSUs. sus Act J
suStdbCap Methods Input
• siTemp, an SI template
Output
• suStdbCap, the required standby capability for the SU type or an SU with respect to the SI template Function description
The required SU standby capabilities are calculated with respect to the SI template with the assumption that an SU provides a group of SIs from a single template. In the formula ceil() is used to round up to the nearest integer. return
siTemp.numSIs x siTemp.num.Stdb redMod ≡ nway => ceil siTemp.numSUs.sus - siTemp. numSUs.susSpare redMod ≡ nwayactive => 0 suStdbCap = redMod ≡ noredundancy => 0 redMod ≡ 2n => siTemp.numSIs siTemp.numSIs redMod ≡ nplusm => ceil siTemp.numSUs .susStdb
findSUType Method
Input
siTemp, an SI template
Output
• chosenSuType, the selected service unit type Functional description
This function searches for the first SU type that can provide the SIs of the given template siTemp. Optimization may be added depending on other requirements.
validSuTypes is the set of service unit types that can provide the required service type siTemp. st among all the service unit types:
siTemp. redMod ≠ nwαy => \/sutj .st ≡ siTemp.st => VSUt1 siTempredMod ≡ nwαy => validSuTypes = {vsut,;SUT ≠ {}
=> Vsutj .memCt.csCαpαbility .compCαp ≡ x _ active _ and _y _ stanby Λ Λ V sut .st ≡ siTemp. st => VSUt1 sut , e SUT;
It may be an empty, set in which case a new SU type is created if it is permitted by
limited. begin chosenSuType = {} if validSuTypes ≠ {} begin 5 i = 0 while(i < |validSUTypes|) // find an SU type that begin J = O while(j < |siTemp.sicsiTemp|) // supports all CSI templates 10 begin
// use findCompType to find an appropriate component if NOT(
3k, I => siTemp.csiTempj .cst ≡ VSUt1 memCtk .cs 'Capability t .cst )
15 J = J + |siTemp.sicsiTemp|
// make it break by being too big else if ((vsut,. memCtk.csCapabilityι.maxAct x x vsut|.memCtk.csCapabilityι.maxComp) < 20 < (siTemp.csiTempj.numCsi x suActCap(siTemp))) OR ((vsut|.memCtk.csCapabilityi.maxStdb x vsut|.memCtk.csCapabilityι.maxComp) < < (siTemp.csiTempj.numCsi x
25 suStdbCap(siTemp))) j = j + |siTemp.sicsiTemp|
// make it break by being too big j = j + 1 end
30 // next condition is only true if break occurred,
// if so go for next SU type if j > |siTemp.sicsiTemp| i = i + 1 else 35 begin chosenSuType = vsut, return chosenSuType
// returns the first appropriate SU type end
40 end end if chosenSuType == {}
// if nothing is found or no valid SU types begin
45 chosenSuType = <{}, siTemp.st> // create a new SU type i = 0 while(i < |siTemp.sicsiTemp|)
// that supports all CSI templates begin 50 vet = {} vet = findCompType(chosenSuType, siTemp.csiTemp,.cst,siTemp.redMod) if vet == {}
55 return {} // cst cannot be provided if vet £ sut. sutCt chosenSuType. sutCt = chosenSuType. sutCt U {<vct, NoLimit>} i = i + 1 end
SUT = SUT U { chosenSuType } return chosenSuType end end
findSGType Method
Input
• sut, an SU type • redMod, the required redundancy model
Output
• chosenSgType, the selected service group type Functional description
This function searches for the first SG type that can protect the SIs using the
requested service unit type sut according to the requested redundancy model redMod. Optimization may be added depending on other requirements.
begin chosenSgType = {} i = 0 while(i < |SGT|) begin
// the SG type allows for the SU type and the redundancy model if sgt,.redMod == redMod AND 3k => sgtt .sutk ≡ sut begin chosenSgType = sgt, return chosenSgType end i = i + 1 end if chosenSgType == {} begin chosenSgType = <sut, redMod> SGT = SGT U { chosenSgType } return chosenSgType end end createSis Method Input
• siTemp, an SI template for which the SIs are being generated
• sg, the sg that shall protect this set of SIs Output
• sgSis, the set of service instances protected by a service group Functional description
Based on the provided SI template, this method generates all the service instances and their component service instances that shall be protected by a service group. Currently this function does not include the generation of CSI attributes.
begin sgSis = {} i = 0 while(i < |siTemp.numSls|) begin si = <"safSi=...", siTemp. st, sg, {} > j = 0 while (j < |siTemp.sicsiTemps|) // for each CS type in the SI begin k = 0 while (k < IsiTemp.csiTempj.numCsil) // create the specified number of CSIs begin si.memCsis = si.memCsis U {<"safCsi=...", siTemp. csiTempj. cst, {} >} k = k + 1 end j = j + 1 end sgSis = sgSis U {si} i = i + 1 end return sgSis end Final configuration generation will now be described using the pseudocode as described below.
generateConf Method Input
• CT aII component types
• CSTaII component service types
• STaII service types
• SIT all service instance templates
• CSIT all component service instance templates • SUT service unit types, may be empty
• SGT service group types, may be empty
• nodeTemp the node template
• userPreference is a set of preferences that guides the configuration generation. They allow for different options and optimization and can be extended accordingly. The pseudo-code does not reflect them. Output
• AMF entities for a single application distributed on the nodes of a cluster, i.e. app = <safApp, memSgs, memSis>. Since the application refers to the SG set and the SI set, and they all refer to their children in turn, only the application itself is defined in this example as an output. This "app" is thus a tree with all the instances according to the Output section. Functional description
This is the main function which, after determining the required entity types using the findSUType and findSGType methods, populates the configuration with all the instances listed as outputs. It also distributes the generated service units on the nodes.
begin app = < "safApp=...", {}, {} > // create an application instance of the output i = 0 m = 0 while(i < |SIT|) // for each SI template begin sut = {} sut = findSUType(siTemp,) // find appropriate SU type if sut == {} return // no configuration can be generated sgt = {} sgt = findSGType(sut, siTemp,.redMod) // find appropriate SG type sg = < "safSg=...", sgt, {}, {}, {} >
// a first SG instance of the output set is created app.memSis = createSis(siTemph sg)
// create the protected SIs instances and assigned // them to that SG instance
// create first SU in the SG su = < "safSu=...", sut, {} > sg.memSus = su.memSus U {su} sg.nodeGroup = sg.nodeGroup U {nodem} nodem.hostedSus = nodem.hostedSus U {su} m = (m + 1 ) mod |Cluster| j = 0 ct_set = {} // component types in use su_act = suActCap(siTemp,) su_stdb = suStdbCap(siTemp,) while(j < |siTemp,.sicsiTemps|) // for all CS types begin ct = findComType(sut, siTempi.csiTempj.cst, siTemp,.redMod)
Figure imgf000038_0001
mem_ct = <ct, N>
// number of instances of a component type if mem _ ct £ ct _ set begin ct_set = ct_set U {mem_ct}
// remember the number of instances k = 0 while (k < N) // create the needed number of components begin su.memComps = su.memComps U {<"safComp =...", ct >} //components are created and added to the first SU k = k + 1 end end else begin
// find how many components are now in the SU
3/ => mem _ Ct1.ct ≡ ct, mem _ Ct1 e ct _ set if mem_ct|.N < N // if not enough begin k = 0 while (k < N - mem_ct|.N)
// create the needed number of components begin su.memComps = su.memComps U {<"safComp =...", ct >} k = k + 1 end mem_ct|.N = N end end j = j + 1 end k = 1 while (k < siTemp,.numSus.sus) // clone the needed number of SUs begin new_su = < "safSu=...", su.sut, su.memComps> sg.memSus = su.memSus U {new_su} //second, third etc. SUs are created and added to the SG k = k + 1 sg.nodeGroup = sg.nodeGroup U {nodem} nodem.hostedSus = nodem.hostedSus U {su} m = (m + 1 ) mod |Cluster| end app.memSgs = app.memSgs U {sg}
//the SG is added to the application i = i + 1 end end
The exemplary embodiments described above provide methods and systems for generating an output of code for an IMM XML file 412 by an AMF Configuration Generator 402 for use by an AMF via IMM, typically in a HA environment. An exemplary node 1100 which can act as an AMF Configuration Generator 402 will now be described with respect to Figure 10. Node 1100 can contain a processor 1102 (or multiple processor cores), memory 1104, one or more secondary storage devices 1106 and an interface unit 1108 to facilitate communications between node 1100 and the rest of the network, i.e., sources of input and receiver of the output. Additionally, the node 1100 can contain control instructions for automating the generation of the system model based upon received inputs. The memory (or the secondary storage) can be used for storage of exemplary inputs such as user inputs or known required entity types 404 as defined by current AMF standards. Thus, a node 1100 according to an exemplary embodiment may include a processor for generating a system model according to the format of an IMM XML schema for future (or current) use by an AMF.
Utilizing the above-described exemplary systems according to exemplary embodiments, a method for generating a configuration file is shown in the flowchart of Figure 11. Initially a node receives inputs, associated with at least one service to be managed by the AMF and software used to provide the at least one service in step 1202. The node then processes the inputs to support the at least one service in step 1204. The node then generates a configuration using the processed inputs in step 1206, if possible. It will be appreciated that it is possible that no configuration can be generated if, for example, the required services cannot be provided by the system or software with the desired level of protection (redundancy).
It will be appreciated that the foregoing exemplary embodiments are merely illustrative and that numerous variations and permutations thereof are within the scope of this document. For example, although the configuration generated by these exemplary embodiments is described as an IMM XML, it will be appreciated by those skilled in the art that this is the input format for IMM, and not necessarily that which is provided directly to an AMF implementation. An AMF implementation may instead have other, non-standard input formats. The configuration which is generated by these exemplary embodiments may be presented in such format(s). Top Down Approach The foregoing exemplary embodiments describe systems, methods, devices and software for generating an AMF configuration based on, for example, user requirements and entity types provided by the vendor. Some of these exemplary embodiments employ a "bottom up" approach for selecting an SU type and component type as part of the AMF configuration generation process. That is, some of these exemplary embodiments search for a suitable SU type and component type set in an entities type file 404 based on the inputs which are provided to the configuration process and then generate compatible higher level type(s), e.g., an SG type, as part of the AMF configuration generation process. However, according to another exemplary embodiment described below, it may first be useful to look at the constraints (if any) associated with the higher level types in the input entity types file 404 as part of the search for a suitable SU type and component type in order to avoid generating unnecessary higher level types and/or higher level types which are inconsistent with such constraints.
Consider, for example, the conceptual view of an entity types file 404 illustrated as Figure 12 which has been input to an AMF configuration generation process according to this exemplary embodiment. Therein, the entity types file 404 from, e.g., a vendor, has specified one complete group of types, e.g., an app type, an SG type, an SU type and a component type represented by column 1300 (each of which may have several instances associated therewith). The remaining types, e.g., represented by columns 1302, 1304 and 1306 are incompletely specified in the entity types file 404. The circled types in these columns are referred to herein as "orphaned" types because they are not supported by higher level types in the entity types file 404.
According to this exemplary embodiment, searching for a service unit type and a component type to support a service can be performed in an order which involves first evaluating those groups of types which are more fully specified and then evaluating those groups of types which are less fully specified. This enables, for example, such a search to consider the constraints which may be provided by the vendor for the higher level types and/or to avoid creating higher level types when a service may be supported by a service unit type and component type which are already supported by higher level types. In this context, such restrictions or constraints may include, for example, one or more of: relations between types, limitations, capabilities dependencies, or other constraints. An example of such a constraint is a redundancy type associated with the SG type. An example of a search process for selecting a service unit type and component type in support of a service according to an exemplary embodiment is illustrated in the flowchart of Figure 13. For a given set of service instance template requirements 1400, the process first evaluates an application type in an entity types file at step 1402 to determine whether that application type has a constraint which conflicts with one of the inputs to the configuration generation process, e.g., a user input requirement associated with redundancy. Stated differently, step 1402 evaluates the existing application type to determine whether it satisfies the requirements associated with this service instance template. Using, as an exemplary reference, the entity types file shown in Figure 12, the application type in columnl300 could, for example, be evaluated initially at step 1402. If a conflict exists, then the flow follows the "No" path from block 1402 to select another application type from the entity types file at step 1403. Alternatively, if the first selected application type satisfies the requirements for this service instance template, then the flow moves on to step 1404, wherein a service group type associated with the first selected application type in column 1300 is checked to see if it meets the requirements. If so, then the flow moves down to the next lower level at step 1406 wherein a service unit type associated with that service group type is checked to see if it satisfies the requirements for this service. If so, then that SU type, SG type and application type are selected for this service instance template at step 1408. If, however, a conflict is detected at the service group type level or the service unit type level, then another entity type at the same level can be evaluated (if one exists in the entity types file) by following the "No" path from the respective decision blocks 1404 or 1406, and looping back through blocks 1410 orl412. If the AMF configuration generator according to this exemplary embodiment cannot find a set of SU type, SG type and application type among those in the entity types file which satisfy the requirements for this service template, then the flow exits the "Yes" path from block 1403 to consider the orphaned service group type(s) (if any) in the entity types file. For example, if the types associated with the application type in the column 1300 did not provide a suitable set of types for the service instance template of interest, then the process could move on to column 1302 which includes an orphan service group type. This orphan service group type is then evaluated at step 1414 to determine if it has a conflict with the requirements, e.g., related to redundancy. If not, then the flow moves on to step 1416 wherein one or more service unit types associated with this service group type are checked to see if they can satisfy the requirements. If a set of SU type and an orphan SG type from the entity types file satisfy the requirements for this service instance template, then those entity types are selected and an application type can be created at step 1418 to support the SU type and SG type.
If the orphan service group type satisfies the requirements for this service instance template, but the first checked service unit type does not, then other service unit types associated with this service group type (if any exist) may be evaluated by looping back to step 1416 through step 1420. If none of the service unit types associated with this orphan service group type satisfy the requirements, then the flow can follow the "Yes" path from decision block 1420 wherein other orphan service group types can then be evaluated, if any exist in this entity types file. Otherwise, if this is the last orphan service group type in this entity type file, then the flow can follow the "Yes" path from block 1422 to block 1424 wherein orphan service unit types are evaluated, e.g., the orphan service unit type shown in column 1304 of Figure 12. If this (or another via the loop including step 1428) orphan service unit type fulfills the requirements associated with the service instance template 1400, then that orphan service unit type is selected in step 1426 and an SG type and application type are created to support that SU type.
Otherwise, if no orphan service unit types satisfy the requirements imposed by the service instance template 1400, then the flow follows the "Yes" branch from step 1428 to step 1430. Therein, it can be checked to see whether a suitable service unit type can be constructed from orphan component types. If so, then a supporting SU type, SG type and application type are created at step 1432. If not, then the service instance template cannot be satisfied at step 1434 and the process terminates. Note that, in steps 1418, 1426 and 1432, new types may be created or existing types can be checked to see if they satisfy the SI requirements in which case they can "adopt" the orphaned type which is being selected. It should be appreciated that the particular order of search is not critical to these exemplary embodiments and, therefore, the SU types found in an entity types file may be evaluated in any desired order as part of the AMF configuration process. However, according to some exemplary embodiments, the AMF configuration generator tool may not be permitted to generate new instances of higher level types, e.g., App types and SG types, unless the SU type under consideration is an orphan, i.e., is not supported by the higher level types in an entities file. Thus, using again the exemplary entity types file 404 conceptually illustrated in Figure 12, an AMF configuration tool according to one exemplary embodiment would be permitted to create the types illustrated above the circled, orphaned types in Figure 14, but would not be permitted to create, e.g., another SG type in column 1300. This latter possibility is exemplified in Figure 15 wherein an AMF configuration generator (or a type finder portion 1600 thereof) according to this exemplary embodiment first searches for an appropriate SU type among the type groups which have higher level types in the entities file, e.g., as represented by rows 1300 and 1302 and the overlaid arrows therein, in the manner discussed above with respect to Figure 13. The search is, as described above, based on the calculated parameters returned from calculator portion 1602, e.g., in a manner similar to that described above and in the exemplary pseudocode below. Having not found a suitable SU type in these type groups, the type finder 1600 then evaluates SU type 1604 and finds it to be suitable for supporting the service of interest. To support a new SU type 1604, the type creator portion 1606 of the AMF configuration generator then creates an App type and SG type in column 1304, e.g., in the manner described above with respect to the "bottom up" embodiments. All of these processes are described in more detail below.
Thus, an overall method for generating an AMF configuration according to this exemplary embodiment is illustrated in the flow diagram of Figure 16. Each of these steps will be described in some detail. Therein, at step 1700, the data to be used in the configuration process is collected. Generally speaking, such inputs include two different parts, e.g., the entity types describing the software applications, and the set of services that the particular system should provide using this software. Regarding the entity types, these are typically provided by the software vendor as an XML entity types file. The XML schema for an entity types file is specified by the SAF SMF specification as described above. Accordingly, there are two mandatory entity types that the entity types file must contain for the software, i.e., the component types and the component service types they provide. Other entity types may also be provided, however these types do not have to be present in an entity types file if there are no restrictions or constraints related to them. On the other hand, an AMF configuration contains all of the entity types defined by AMF, therefore these higher level types are also one of the expected outputs of these exemplary embodiments. The entity types in the entity types file can be classified to find those types that are not referenced by any other type, i.e., the orphan types described above. More specifically, the orphan component types are not referenced by any service unit type, the orphan service unit types are not referenced by any service group type, and the orphan service group types are not referenced by any application type. As mentioned earlier, according to some exemplary embodiments, orphaned types have no limitations on how they are used with respect to, other higher level types whereas unorphaned types may be not be permitted to have higher level types created therefor.
The second part of the inputs which are collected at step 1700 are the services that the site will provide for which the AMF configuration is being created. As mentioned above, the AMF specification defines the services as a set of service instances in which each service instance is described by a set of component service instances. This is site specific information and will be entered into the AMF configuration generation tool according to exemplary embodiments by a user, e.g., a site designer. To ease this task this exemplary embodiment provides for service instance (SI) templates that characterize sets of service instances which are similar and that shall be protected in a similar manner. Therefore each template specifies a set of SIs that are protected by service groups (SG) of the same type. Within each service instance template the participating component service instances (CSI) are also defined via templates. These CSIs are based on the component service types provided by the software, and indicate how many instances are necessary for the composition of a service instance. An SI template also defines, for example, to which service type it belongs, the desired redundancy model, the number of service instances based on this template and their grouping of SIs to service groups. Based on the set of the SI templates, the corresponding set of service instances and their component service instances is generated by this exemplary embodiment. This can be complemented, according to some exemplary embodiments, by a procedure which generates all of the service and component service instances with their exact attribute settings.
The configuration generator (e.g., the generateConf method in the pseudocode below) loops through the SI templates specified by the user. Returning to Figure 16, for each SI template, the entity types that can provide the service instances are selected at step 1702, e.g., by finding them among the existing types and/or creating new types. The type selection step 1702 starts with matching an SI template with the entity types provided as input. According to this exemplary embodiment, first the service group types of the existing application types are checked, e.g., to determine if the redundancy model of the service group type matches the one required by the SI template. If it does, then the service unit types of this service group type are checked (e.g., using the findSut method in the pseudocode below) to determine if they can (a) provide the required service type and (b) support the load of SIs expected to be assigned to them. If both of these conditions are met then, according to this exemplary embodiment, the service unit type, the service group type and the parent application are chosen for the service instances of the SI template.
On the other hand, if none of service group types of any application type can provide the service, then the "orphan service group types" are checked in the same way as described above. However, since these service group types are not referenced by any application type, when a suitable service unit type is found, an application type needs to be created. To perform application type creation, the already created application types are checked to determine whether any of them has the service group type as a member or can be extended with that service group type (e.g., using the fmdAppt method in the pseudocode below). If not, a new application type is created (e.g., using the createAppType method in the pseudocode below) and added to the set of created application types (createdAPPTs). If none of the orphan service group types can provide the service, then the "orphan service unit types" are checked in a similar way. Again, when a service unit type is found, a service group type is either created (e.g., using the createSgType method in the pseudocode below) or found (e.g., using the findSgt method in the pseudocode below to search the set of createdSGTs) among the already existing created service group types to adopt the orphan service unit type. If a new service group type needs be created (it is added to the set of created service group types createdSGTs), then the appropriate application type also needs to be found or created. If none of the orphan service unit types can provide the service, then a service unit type is created (e.g., using the createSuType in the pseudocode below), and then adopted by a found/created service group type, that in turn will be adopted by a found/created application type. Once all of the appropriate entity types have been found for an SI template, this exemplary embodiment then generates the entities of these types (e.g., within the generateConf in the pseudocode below) that would provide the service instances needed to support the requested services at step 1704. That is the AMF configuration is populated so it can provide for both the active and the standby assignments of each service instance protected by each service group. This can be accomplished by creating one service unit with the required number of components so that it provides the required active and standby capabilities for all the component service instances. Once all of the components of the first SU have been added, other SUs required by the redundancy model are copied from this first SU. If more than one service group is required for the SI template, the first service group is copied until all service instances can be served. This exemplary embodiment assumes equal ranking for all of the service units within each service group. However the present invention is not so limited and, for example, a ranking procedure can be added to dictate an ordered handling of service units within the service groups. Additionally, the entity types may be refined or optimized by tailoring the parameters of the type instances to their use based on the created entity instances. Since the AMF specification does not currently cover performance characteristics for entities, this exemplary embodiment assumes that each service unit of the configuration produces equal load and that each cluster node provides the same capacity, although it will be appreciated by those skilled in the art that the present invention is not so limited. As a result this exemplary embodiment distributes the SUs among the nodes, at step 1706 in Figure 16, of the cluster by selecting, for each SU, the node that has the smallest load in terms of number of service units assigned and that has no SU (or a smallest number of) associated with the same SG that the current SU belongs to. These conditions can be implemented by, for example, performing a global round robin distribution of the SUs as they are being created. Moreover, this exemplary distribution method can be further optimized or enhanced, e.g., based on performance characteristics of the system by assuming different capacities for the different nodes and different load for the different service units and or service instances and/or based on the assumption of different failure scenarios to avoid overload situations when one or more SUs/nodes fail in the system. These additional conditions will result in a non-round robin distribution of the SUs on the nodes. The process associated with steps 1702, 1704 and 1706 continues until all of the SI templates are processed and the configuration is populated with entities to provide their service instances in the SAF system.
As a result of applying the method illustrated in Figure 16, and described above, to the inputs, an AMF configuration is generated by this exemplary embodiment that specifies all of the instances for all of the entity types and their entities. The result can then be stored or saved, e.g., in a memory device or recordable medium, in any desired format as indicated by step 1708. For example, this output can be presented and/or stored in accordance with the AIS specifications as an XML file created according to the IMM schema, which contains the description of the instances as specified in the UML model of AMF. In this way, an SAF compliant AMF implementation can be provided with the information model of all of the entities which it needs to manage as an input. Due to the potential complexity of AMF
managed systems, this provides an automated approach to a complex and error prone task.
The following pseudo-code describes, at a high level, an exemplary implementation of
the afore-described exemplary embodiment. Other implementations are also possible.
Component Service Types
A component service type is a set cst = IaU1; 0 <= i < \cst\, any number of attributes}.
All component service types compose the set CST= (CSt1; 0 <= i < |GST| }. This set is a mandatory input and remains constant. It is provided typically by the software vendor.
Component Types
A component capability is a tuple of csCapability = <cst, compCap, maxAct, maxStdb>, where cst e CST; x_active_andjy_standby x_active_orjy_standby l_active_orjy_standby compCap = <
1 _active_or_l _standby x active l_active x active andjy standby - =5> x,x > l x_active_orjy_standby =s > x, x ≥ 2
1 active orjy standby =j - I max Act =
1 _active_or_l _standby =; > 1 x active =^> x, x ≥ 2
1 active => 1 x_active_andjy_standby =^> y, y ≥ 1 x_active_orjy_standby =^> y, y ≥ 1 l_active_orjy_standby => y,y ≥ 2 maxStdb = <
1 _active_or_l _standby => 1 x_active => 0 l_active =^> 0
A component type is a set ct = { csCapability,; O <= i < \ct\, all the component service types provided by the component type ct }
Component type sets All component types compose the set CT= {ct,; 0 <= i < \CT\ }. This set is a mandatory input and remains constant. It is provided typically by the software vendor. orphanCTs is the subset of component types that are not referenced by any SU type in the input set (orphanCTs CI CT ). Note that even when they are adopted by created service unit types, orphan component types remain in the set of orphanCTs
Service Types
A member CS type is a tuple memCst = <cst, maxCsi>, where cst G CST; maxCsi is the number of C SIs of type cst that a service instance of a particular type may contain.
A service type is a set st = {memCst,; 0 <= i < \st\ component service instances that compose the service type st}.
All the service types compose the set ST= {st!; 0 <= i < \S7] }. This set is a mandatory input and remains constant.
Service Unit Types
The services of a service unit type is a set sutServices = {st, 0 <= i < \sutServices\, all the service types the service unit provides and it is a subset of ST}
A member component type is a tuple memCt = <ct, maxComp> where ct e CT; maxComp is the maximum number of instances of this component type an SU of this type may contain.
The component types of an SU type is a set sutCt= {memCtly 0 <= i < \sutCt\, all the component types the service unit may contain and \sutct\ < = | CT\ } . A service unit type is a tuple sut=<sutCt, sutServices>
Service unit type sets
All the service unit type compose the set
Figure imgf000051_0001
\SUT\] This set may be empty (SUT = {}) at the beginning of the configuration generation. orphanSUTs is the subset of service unit types that are not referenced by any SG type in the input set
( orphanSUTs C SUT ). Note that even when they are adopted by created service group types, they remain in the set of orphanSUTs createdSUTs is initially an empty set (createdSUTs = {}). It is the collection of service unit types that are created during the process of generating a configuration. It is also a subset of the service unit types set {createdSUTs <≡ SUT).
Service Group Types The service unit types of a service group type is a set sgtSut={suth 0<=i< \sgtSut\, all the service unit types the service group may contain and it is a subset of SUT]
A service group type is a tuple sgt = <sgtSut, redMod>, where
redMod =
Figure imgf000052_0001
Service group type sets
All service group types compose the set
SGT = {sgt, 0 < = i < \SGT\}
This set may be empty (SGT = {}) at the beginning of the configuration generation. orphanSGTs is a collection of service group types that are not referenced by any SU type in the input set ( orphanSGTs CI SGT ). Note that even when they are adopted by created application types, they remain in the set of orphanSGTs. createdSGTs is initially an empty set (createdSGTs = {}). It is the collection of service group types that are created during the process of generating a configuration. It is also a subset of the service group types set {createdSGTs ^ SGT). Application Types
An application type is a set described by appt = {sgtt; 0<=i<\SGTs\; all the service group types the application type may contain}
Application type sets
All application types compose the set APPT = {appt,; 0 <= i < \APPT\ }.
This set may be empty {APPT = {}) at the beginning of the configuration generation. createdAPPTs is initially an empty set {createdAPPTs = {}). It is the collection of application types that are created and added to this set during the process of the configuration generation. It is a subset of the application types set {createdAPPTs e APPT ).
CSI Templates
A CSI template is a tuple csiTemp = <cst, numCsi >, where cst e CST; numCsi is the number of CSIs of type cst created based on this template. All CSI templates compose the set CSIT= {csiTemp,; 0 <= i < \CSIT\ ]. This set is a mandatory input and remains constant. It is provided by the site designer. SI Templates
A SI template is a tuple siTemp = <st, sicsTemps, redMod, numSIs, numAct, numStdb, numSUs>, where st e ST; sicsiTemps = {csiTemp,; 0 <= i < \sicsiTemps\ \/csiTemprCSt ≡ St1 X)St and csiTemprnumCsi ≤ strmaxCsi }; numSIs is the number of SI that is created using this template
[ redMod ≠ nwayactive => 1 numAct = i , is the number of HA active assignments per SI;
[x;x ≥ 2 redMod ≡ nway =^> y; y ≥ 1 redMod ≡ nwayactive => 0 numStdb = , is the number of HA standby assignments per SI; redMod ≡ noredundancy => 0 1 numSUs = <sus, susAct, susStdb,susSpare >, where sus the total number of SUs in the SG protecting the SIs generated from this template; sus = susAct + susStdb + susSpare; redMod ≡ nplusm => z redMod ≡ nwayactive => z; z > 1 numAct = redMod ≡ noredundancy => numSIs , is the number of SUs that can have only active redMod ≡ 2n ^> l redMod ≡ nway => 0 assignments; redMod ≡ nplusm => w redMod ≡ nwayactive => 0 susStbd numStdb = redMod ≡ noredundancy => 0 is the number of SUs that can have only standby redMod ≡ 2n ^> l redMod ≡ nway => 0 assignments; susSpare is the number of spare SUs.
All SI templates compose the set SIT = {siTemp,; 0 <= i < \SIT\ }. This set is a mandatory input and remains constant. It is provided by the site designer.
Node Templates
The node template is a tuple nodeTemp = < numNodes >, where numNodes is the number of nodes created based on the template. All node templates compose the set
NodeTemp = {nodeTemp,; 0 <= i < \NodeTemp\ }.
This set is a mandatory input and remains constant. It is provided by the site designer. Outputs to Generate Components
A component has a name and belongs to component type. It is a tuple comp = <safComp, ct >, where ct G CT; safComp is a tuple safComp = <saβSu, rdn>, where sqβu is a SAF compliant LDAP distinguished name of the SU the component belongs to and rdn is a relative distinguished name of the component, which is unique within the SU.
Service Units A service unit is a tuple su = <saJSu, sut, memComps>, where saβu is a tuple sqβu = <saβg, rdn>, where saβg is a SAF compliant LDAP distinguished name of the SG the service unit belongs to and rdn is a relative distinguished name of the SU which is unique within the SG; sut ≡ SUT; memComps = {memCompύ 0 <= i < \memComps\, \/memComp.safComp.safSu ≡ safSu; } memComp = {} at the start of the configuration generation.
Service Groups
A service group is a tuple sg=<saβg, sgt, memSus, nodeGroup>, where saβg is a tuple saβg = <safApp, rdn>, where safApp is a SAF compliant LDAP distinguished name of the application the service group belongs to and rdn is a relative distinguished name of the SG, which is unique within the application; sgt G SGT; memSus = {mernSu,; 0 <= i < \memSus\, memSu^sut G sgt.sgtSut and \fmemSu.safSu.safSg ≡ safSg; } memSUs = {} at the start of the configuration generation nodeGroup = {node,; 0 <= i < \nodeGroup\J; the nodeGroup C Cluster on which the SG is distributed.
Component Service Instances
A component service instance is a tuple csi=<safCsi, cst, attrValues>, where safCsi is a tuple safCsi = <saβi, rdn>, where saβi is a SAF compliant LDAP distinguished name of the service instance the component service instance belongs to and rdn is a relative distinguished name of the CSI, which is unique within the service instance; cst G CST; attrValues = {attrValue;, 0 <= i < \cst\} attrValue = <attr, value>, where
V ' attrValue.attr G cst.attr; attrValue.value is a value set for the attribute attrValues = {} the method does not cover the generation of attribute values. This is a potential future enhancement.
Service Instances
A service instnce is a tuple si=<saβi, st, sg, memCsis>, where saβi is a tuple saβi = <safApp, rdn>, where safApp is a SAF compliant LDAP distinguished name of the application the service instance belongs to and rdn is a relative distinguished name of the SI, which is unique within the application; st G ST; memCsis = {memCsi,; 0 <= i < \memCsis\, \/memCsi.CSt => Bst.CSt; and
\/memCsi.safCsi.safSi ≡ safSi; } memCsis = {} at the start of the configuration generation sgSis = {si,; 0 <= i < \sgSis\, V 1Si1.Sg ≡ Sg } the set of SIs protected by the same service group, they specify the same service group.
Applications
The application for which the configuration is generated is a tuple app = <safApp, memSgs, memSis>, where safApp is a distinguished name of the application; memSgs = {memSgύ 0 <= i < \memSgs\, \/memSg.sqfSg.sqfApp ≡ safApp; } memSgs = {} at the start of the configuration generation. memSis = {mernSh; 0 <= i < \memSis\, \fmemSi.safSi.safApp ≡ safApp; } memSis = {} at the start of the configuration generation. All applications compose the set Apps = {app,; 0 <= i < \Apps\}
Nodes node = <safAmfNode, hostedSus>, where safAmfNode is a distinguished name of the node; hostedSus = {hostedSu-j 0 <= i < \hostedSus\} hostedSus = {} at the start of the configuration generation.
All nodes compose the cluster: Cluster = {node,; 0 <= i < \ Cluster
Configuration Generation calculateSuActLoad Method
Input
• siTemp, an SI template Output
• suActCap, the required active capability for the SU with respect to the SI Functional description
The required SU active capabilities are calculated with respect to the SI template with the assumption that an SU provides a group of SIs from a single template. In the formula ceil() is used to round up to the nearest integer. return
siTemp .numSIs reclMod ≡ nwαy => ceil
I siTemp .numSUs .susSpαre ≡ 0 => 1 siTemp .numSUs .sus — [=> siTemp .numSUs .susSpαre
, , .,( siTemp .numSIs x siTemp .numAct redMod ≡ nwαy active => ceil
^ siTemp .numSUs .susAct suActLoαd = reclMod ≡ noredundan cy => 1 redMod ≡ 2n => siTemp .numSIs
,, , , , .,I siTemp .numSIs redMod ≡ nplusm => ceil — siTemp .numSUs .susAct
calculateSuStdbLoad Method
Input
• siTemp, an SI template Output
• suStdbCap, the required standby capability for the SU with respect to the SI Function description
The required SU standby capabilities are calculated with respect to the SI template with the assumption that an SU provides a group of SIs from a single template. In the formula ceil() is used to round up to the nearest integer. return
redMod ≡ nwav =>
Figure imgf000057_0001
redMod ≡ nwayactive => 0 suStdbLoad = redMod ≡ noredundancy => 0 redMod ≡ 2n => siTemp.numSIs
,, , , . .,, siTemp.numSIs redMod ≡ nplusm =^> cei" siTemp.numSU s. susStdb
createAppType Method
Input
• sgt, an service group type Output
• appt, an application type
Function description
This function creates an application type that supports a given service group type.
BEGIN
Create a new application type appt={sgt} ADD appt TO createdAPPTs
END
createSgType Method
Input
• sut, an service unit type
• siTemp.redMod, the redundancy model required by the SI template
Output sgt, a service group type Function description
This function creates a service group type that supports a given service unit type, and sets the redundancy model of this service group to same one of the SI template
BEGIN
Create a new service group type sgt = <sgtSut, redMod> ADD sut TO sgt.sgtSut SET sgt. redMod TO siTemp. redMod
ADD sgt TO createdSGTs
END
createSuType Method
Input
• siTemp, an SI template
Output
• sut, a service unit type
Function description
This function creates a service unit type that supports a given service type.
BEGIN
Create a new service unit sut=<sutCt, sutServices> ADD siTemp. st TO sut.sutServices
FOR every csiTemp IN siTemp. sicsTemps
CALL fmdOφhanCT WITH siTemp.csiTemp, siTemp RETURNING/ozWCr
//foundCT is the found component type If foundCT IS Null THEN SET sut TO Null // Delete the created SU Type
BREAK ELSE
SET memCT.ct TO foundCT SET memCT .maxComp TO no limit ADD memCT TO sut.sutCt
ADD sut TO createdSUTs ENDIF ENDFOR RETURN sut
END findAppt Method
Input
• givenSgt, service group type Output
• appt, an application type
Function description
This function searches for the first created application type that can support the given SG type. This function is NOT used for finding application types that are not created. Modifications to this function are possible based of preferences regarding the extensibility of created application types
BEGIN
BOOLEAN/ozW = false FOR every appt IN createdAPPT
FOR every sgt IN appt
IF sgt = givenSgt THEN RETURN appt SET found TO true BREAK out of createdAPPT
ENDIF ENDFOR ENDFOR
W found = false THEN RETURN Null
ENDIF END
findSgt Method
Input
• givenSut, service unit type
• redMod, a redundancy model
Output • sgt, a service group type
Function description
This function searches for the first created SG type that can support the given SU type. This function is NOT used for finding SG types that are not created.
BEGIN
BOOLEAN/OMW d = false FOR every sgt IN createdSGTs
IF sgt. redMod = redMod THEN FOR every sut IN sgt.sgtSut
IF sut = givenSut THEN RETURN sgt SET found TO true BREAK out of createdSGTs ENDIF ENDFOR ENDIF ENDFOR
If found = false THEN RETURN Null END
findSut Method
Input • siTemp, an SI template
• sutSet, a set of SU types c SUT// we could be looking in orphanSUTs or sgt.sgtSut or createdSUTs
Output
• sut, a service unit type
Function description
This function searches for the first SU type that can support the SIs of the given template siTemp. Optimization may be added depending on other requirements. BEGIN
BOOLEAN/ozW = false FOR every sut IN sutSet
FOR every st IN sut. Services
IF st = siTemp. st THEN FOR every csiTemp in siTemp. sicsTemps
SET found TO false
CALL findCT WITH siTemp, csiTemp, sut RETURNING/ozWO IffoundCt = Null THEN //this sut is not valid
CONTINUE and GO TO next sut in the sutSet ELSE
SET found TO true ENDIF ENDFOR
IF found = true THEN RETURN sut //the sut in the current sutSet iteration
BREAK from the sutSet loop ENDIF ENDIF ENDFOR ENDFOR
IF found = false THEN//all the su types are not valid
RETURN Null ENDIF END findCt Method
Input
• siTemp, an SI template
• csiTemp, a CSI template • sut, a service unit type
Output
• ct, a component type
Function description This function searches for the first component type that can support the CSIs of the given template csiTemp. Optimization may be added depending on other requirements.
BEGIN
BOOLEAN/ozW = false FOR every memCt W sutCt
IF memCt.ct.csCapability.cst = csiTemp.cst THEN CASE siTemp. redMod OF nway:
IF memCt.ct.csCapability.compCap = x_active_and_y_standby THEN CALL calculateSuActLoad WITH siTemp RETURNING suActLoad
CALL calculateSuStandbyLoad WITH siTemp RETURNING suStandby IF memCt.maxComp * memCt.ct.csCapability .maxActive > csiTemp. numCsi * suActLoad AND memCt.maxComp * memCt.ct.csCapability '.maxStandby > csiTemp. numCsi * suStandbyLoad
THEN
SET found TO true RETURN mem Ct. ct BREAK from the sut Ct loop
ELSE
GO to next memCt ENDIF ENDIF OTHERS: //in case of other redundancy models
CALL calculateSuActLoad WITH siTemp RETURNING suActLoad CALL calculateSuStandbyLoad WITH siTemp RETURNING suStdbLoad IF memCt.maxComp * memCt.ct.csCapability.maxActive > csiTemp. numCsi * suActLoad AND memCt.maxComp * memCt.ct.csCapability. maxStdby > csiTemp. numCsi * suStdbLoad THEN found = true RETURN memCt.ct BREAK from the sutCt loop
ELSE
GO to next memCt ENDIF ENDCASE
ENDIF ENDFOR
W found = false THEN RETURN Null ENDIF END
findOrphanCt Method
Input
• siTemp, an SI template
• csiTemp, a CSI template Output
• ct, a component type
Function description
This function searches for the first component type in orphan CTS that can support the CSIs of the given template csiTemp. Optimization may be added depending on other requirements.
BEGIN
BOOLEAN/OMW d = false For every ct IN orphanCTS CASE siTemp. redMod OF nway:
IF ct.csCap ability .compCap IS NOT x_active_and_y_standby THEN
CONTUNUE and GO TO next ct in orphanCTs ELSEIF ct.csCapability.cst = csiTemp. cst THEN RETURN ct
SET found TO true BREAK out of orphanCTs ENDIF OTHERS: IF ct. csCapability. cst = csiTemp. cst THEN
RETURN ct SET found TO true BREAK out of orphanCTs ENDCASE ENDFOR
IF found = false
RETURN Null ENDIF END
calculateNumOfComp Method
Input • ct, a component type
• siTemp, an SI template
• csiTemp, an CSI template
Output numOfComp, an integer reflecting the number of component
Function description
This function calculates the number of components of a given component type that need to be created inside a particular service unit
BEGIN
FOR every csCapability IN ct
IF csCapability. cst = csiTemp.cst THEN CALL calculateSuActLoad WITH siTemp RETURNING suActLoad
CALL calculateSuStandbyLoad WITH siTemp RETURNED suStdbLoad numOfComp = CEIL ( MAX ( (csiTemp.numCsi * suActLoad )l csCapability. maxAct,
(csiTemp.numCsi * suStdbLoad )/csCapability.maxAct)) RETURN numOfComp
BREAK out of ct loop ENDIF ENDFOR END
assigntoNode Method
Input
• su, an service unit • nodeGroup, a node group
Output
• No output
Function description This function will assign the given service unit to a node that have the smallest number of service units assigned to it.
BEGIN BOOLEAN assigned = false
FOR every node EST the cluster
IF \node.hostedSus\ < \βrstnode.hostedSus\ THEN // first node is the first node in the cluster ADD su TO node.Sus ADD node TO nodeGroup SET assigned TO true
BREAK out of cluster ENDIF ENDFOR
IF assigned = false THEN ADD su TO firstnode.Sus
ADD first node TO nodeGroup ENDIF generateConf Method
Input
• CT all component types
• CST aII component service types • ST all service types
• SIT aW service instance templates
• CSIT all component service instance templates
• SUT service unit types
• SGT service group types • APPT application types
• nodeTemp the node template
• userPerference is a set of preferences that guides the configuration generation. They allow for different options and optimization and can be extended accordingly. The pseudo-code does not reflect them.
Output
• Apps, i.e. AMF entities for all applications distributed on the nodes of a cluster. Note that the sets of types provided as input are also updated with the created entity types.
Function description
This is the main function that is responsible for creating all the entities in AMF configuration, and populate their attributes.
BEGIN BOOLEAN foundSut = false
FOR every siTemp IN SIT foundSut = false FOR every αppt IN APPT
FOR every sgt IN αppt.sgt IF sgt.redMod = siTemp. redMod THEN
CALL findSut WITH siTemp, sgt.sgtSut RETURNING sut IF sut IS NOT Null THEN
SET foundSut TO true
Create new application αpp = <"sαfApp=...", αppt, memSgs, memSis> Create new service group sg=< "sq/Sg=... ", sgt, memSus, nodeGroup>
ADD sg TO αpp.memSgs
Create new service unit su = <"sαfSu=... ", sut, memComps> ADD su TO sg.memSus FOR every siTemp. csiTemp in siTemp. sicsTemps
CALL findCt WITH sut, siTemp, csiTemp RETURNING ct CALL calculateNumOfComp WITH ct, siTemp, csiTemp RETURNING numOfComp FOR numOfComp Create component comp = < "sαfComp=... ", ct >
ADD comp TO su.memComps ENDFOR ENDFOR
CALL assigntoNode WITH su, sg.nodeGroup FOR siTemp .numSUs- l//cloning the created su.
Create new service unit newSu = <"sαfSu=... ", sut, memComps> FOR every comp IN su.memComps create component newComp
< "safComp=... ",comp.ct> ADD newComp TO newSu.memComps ENDFOR
CALL assigntoNode WITH newSM, sg. nodeGroup ADD newSu TO sg.memSus ENDFOR ADD app TO Apps
CONTEWE and GO to next SI template ENDIF ENDIF ENDFOR ENDFOR
IF foundSu = false THEN //no application type was found FOR every sgt YN orphanSGT
IF sgt.redMod = siTemp.redMod THEN
CALL fmdSut WITH siTemp, sgt.sgtSut RETURNING sut IF sut IS NOT Null THEN
SET foundSut TO true
CALL fmdAppt WITH sgt RETURNING appt
IF appt = Null THEN
CALL createApptype WITH sgt RETURNING appt ENDIF
Create new application app =
Figure imgf000065_0001
appt, memSgs, memSis> Create new service group sg=< "saβg=... ", sgt, memSus, nodeGroup>
ADD sg TO app.memSgs
Create new service unit su = <"saJSu=... ", sut, memComps>
ADD su TO sg.memSus
FOR every siTemp. csiTemp in siTemp. sicsTemps
CALL fmdCt WITH sut, siTemp, csiTemp RETURNING ct
CALL calculateNumOfComp WITH ct, siTemp, csiTemp RETURNING numOfComp FOR numOfComp
Create component comp = < "safComp=... ", ct > ADD comp TO su.memComps ENDFOR ENDFOR
CALL assigntoNode WITH su, sg.nodeGroup FOR siTemp .numSUs- l//cloning the created su.
Create new service unit newSu =
Figure imgf000065_0002
", sut, memComps>
FOR every comp EST su.memComps create component newComp
< "safComp=... ",comp.ct> ADD newComp TO newSu.memComps ENDFOR
CALL assigntoNode WITH newSM, sg.nodeGroup ADD newSu TO sg.memSus ENDFOR ADD app TO Apps
CONTINUE and GO to next SI template ENDIF ENDIF ENDFOR ENDIF IF foundSu = false THEN //no sg type was found
CALL findSut WITH siTemp, orphanSUTs RETURNING sut IF sut IS NOT Null THEN
SET foundSut TO true
CALL fmdSgt WITH sut, siTemp .redMod RETURNING sgt IF sgt = Null THEN CALL createSgtype WITH sut, siTemp .redMod RETURNING sgt
ENDIF
CALL fmdAppt WITH sgt RETURNING appt IY appt = Null THEN
CALL createApptype WITH sgt RETURNING appt ENDIF
Create new application app = <'' 'safApp= ..." ', appt, memSgs, memSis> Create new service group sg= < "saJSg=... ", sgt, memSus, nodeGroup>
ADD sg TO app.memSgs Create new service unit su =
Figure imgf000066_0001
", sut, memComps>
ADD su TO sg.memSus FOR every siTemp. csiTemp in siTemp. sicsTemps
CALL fmdCt WITH sut, siTemp, csiTemp RETURNING ct CALL calculateNumOfComp WITH ct, siTemp, csiTemp RETURNING numOfComp
FOR numOfComp
Create component comp = < "safComp=... ", ct > ADD comp TO su.memComps ENDFOR ENDFOR
CALL assigntoNode WITH su, sg.nodeGroup FOR siTemp. numSUs-l / '/ 'cloning the created su.
Create new service unit newSu = <"sqfSu=... ", sut, memComps> FOR every comp IN su.memComps create component newComp < "safComp=... ",comp.ct>
ADD newComp TO newSu.memComps ENDFOR
CALL assigntoNode WITH newSM, sg.nodeGroup ADD newSu TO sg.memSus ENDFOR
ADD app TO Apps
CONTINUE and GO to next SI template ENDIF ENDIF IF foundSu = false THEN //no su type was found
CALL findSut WITH siTemp, createdSUTs RETURNING sut IF sut = Null THEN
CALL createSutype WITH siTemp RETURNING sut ENDIF IF sut IS NOT Null THEN
SET foundSut TO true
CALL findSgt WITH sut, siTemp .redMod RETURNING sgt
IF sgt = Null THEN
CALL createSgtype WITH sut, siTemp .redMod RETURNING sgt ENDIF
CALL fmdAppt WITH sgt RETURNING appt IY appt = Null THEN
CALL createApptype WITH sgt RETURNING appt ENDIF Create new application app = <"safApp=...", appt, memSgs, memSis>
Create new service group sg=< "safSg=... ", sgt, memSus, nodeGroup> ADD sg TO app.memSgs
Create new service unit su = ", sut, memComps> ADD su TO sg.memSus FOR every siTemp.csiTemp in siTemp.sicsTemps
CALL fmdCt WITH sut, siTemp, csiTemp RETURNING ct CALL calculateNumOfComp WITH ct, siTemp, csiTemp
RETURNING numOfComp FOR numOfComp
Create component comp = < "safComp=... ", ct > ADD comp TO su.memComps ENDFOR ENDFOR CALL assigntoNode WITH su, sg.nodeGroup
FOR siTemp .numSUs-11 '/ 'cloning the created su.
Create new service unit newSu =
Figure imgf000067_0001
", sut, memComps> FOR every comp IN su.memComps create component newComp < "safComp=... ",comp.ct> ADD newComp TO newSu.memComps
ENDFOR
CALL assigntoNode WITH newSM, sg.nodeGroup ADD newSu TO sg.memSus ENDFOR ADD app TO Apps
CONTINUE and GO to next SI template ENDIF ENDIF
IF foundSu = false THEN// no types were found to support the si template MESSAGEBOX ("Sorry no types were found to support the current siTemplate")
GO TO next SI template ENDIF ENDFOR
ADD createdAPPTs TO APPT ADD createdSGTs TO SGT
ADD createdSUTs TO SUT END
Note that although the foregoing, exemplary pseudo-code performs evaluations between SI requirements and type capabilities in a strict sense, i.e., checking to see if each value in type's capabilities tuple or set is equal to a corresponding value in the SI requirements tuple or set to determine if a type supports those requirements, other evaluation metrics can be used to determine the suitability of a type. For example, for created application types an AMF configuration generator according to exemplary embodiments may decide that it is sufficient that the required set of SG Type is present as a subset. This allows for the extension of existing created types. As a result the configuration will have different numbers of application types and therefore different number of applications, which reflects different strategies of grouping, e.g., grouping by functionality. Strict equivalence results in a 1 :1 relation between created SU types, created SG types and created application types. Allowing subsets without other strategies results in a single APPT as it was done in the bottom-up approach.
The foregoing description of exemplary embodiments of the present invention provides illustration and description, but it is not intended to be exhaustive or to limit the invention to the precise form disclosed. Modifications and variations are possible in light of the above teachings or may be acquired from practice of the invention. The following claims and their equivalents define the scope of the invention.

Claims

1. A method for generating a configuration for an Availability Management Framework
(AMF) comprising: selecting entity types from an entity types file which can provide a set of service instances by first evaluating entity types associated with an application type in said entity types file; generating entities associated with the selected entity types; and distributing at least some of the generated entities on nodes of a cluster.
2. The method of claim 1, wherein said step of selecting further comprises: determining if a service group type associated with said application type supports a predetermined redundancy model; if said service group type does support said predetermined redundancy model, then determining if (a) a service unit type associated with said service group type can provide a predetermined service and (b) said service unit type can support an expected load associated with said predetermined service; and if conditions (a) and (b) are met, then selecting, as said entity types, said service unit type, said service group type and said application type.
3. The method of claim 2, wherein if said step of determining if said service group type associated with said application type supports said predetermined redundancy model returns a negative result, then determining if another service group type associated with said application type in said entity types file supports said predetermined redundancy model.
4. The method of claim 3, wherein if no service group type associated with said application type supports said predetermined redundancy model, then evaluating service group types associated with other application types in said entity types file.
5. The method of claim 4, wherein if no service group type associated with any application type in said entity types file supports said predetermined redundancy model, then: evaluating an orphan service group type in said entity types file to determine if said orphan service group type supports said predetermined redundancy model; if said orphan service group type does support said predetermined redundancy model, then determining if (a) a service unit type associated with said orphan service group type can provide said predetermined service and (b) said service unit type associated with said orphan service group type can support said expected load associated with said predetermined service; identifying an adoptive application type which can support said orphan service group type; and selecting, as said entity types, said service unit type, said orphan service group type and said adoptive application type.
6. The method of claim 5, wherein if no created application types in said entity types file has said orphan service group type as a member or can be extended to provide said orphan service group type, then creating a new application type as said adoptive application type.
7. The method of claim 5, wherein if no orphan service group type supports said predetermined redundancy model, then evaluating at least one orphan service unit type to determine if (a) said at least one orphan service unit can provide said predetermined service and (b) said at least one orphan service unit type can support said expected load associated with said predetermined service; identifying an adoptive created application type and an adoptive created service group type which can support said at least one orphan service unit type; and selecting, as said entity types, said orphan service unit type, said adoptive service group type and said adoptive application type.
8. The method of claim 1, further comprising the step of: storing said generated configuration as a file in an Information Model Management (IMM) external Markup Language (XML) format in a memory device.
9. The method of claim 7, wherein if no orphan service unit is capable of supporting said predetermined service, then evaluating at least one orphan component type to determine if said at least one orphan component type can support said predetermined service and, if so, generating higher level types using said at least one orphan component type.
10. A computer-readable medium containing instructions stored thereon which, when executed by a computer or a processor, perform the steps of: selecting entity types from an entity types file which can provide a set of service instances by first evaluating entity types associated with an application type in said entity types file; and generating entities associated with the selected entity types; and distributing at least some of the generated entities on nodes of a cluster.
11. The computer-readable medium of claim 10, wherein said step of selecting further comprises: determining if a service group type associated with said application type supports a predetermined redundancy model; if said service group type does support said predetermined redundancy model, then determining if (a) a service unit type associated with said service group type can provide a predetermined service and (b) said service unit type can support an expected load associated with said predetermined service; and if conditions (a) and (b) are met, then selecting, as said entity types, said service unit type, said service group type and said application type.
12. The computer-readable medium of claim 11 , wherein if said step of determining if said service group type associated with said application type supports said predetermined redundancy model returns a negative result, then determining if another service group type associated with said application type in said entity types file supports said predetermined redundancy model.
13. The computer-readable medium of claim 12, wherein if no service group type associated with said application type supports said predetermined redundancy model, then evaluating service group types associated with other application types in said entity types file.
14. The computer-readable medium of claim 13, wherein if no service group type associated with any application type in said entity types file supports said predetermined redundancy model, then: evaluating an orphan service group type in said entity types file to determine if said orphan service group type supports said predetermined redundancy model; if said orphan service group type does support said predetermined redundancy model, then determining if (a) a service unit type associated with said orphan service group type can provide said predetermined service and (b) said service unit type associated with said orphan service group type can support said expected load associated with said predetermined service; identifying an adoptive application type which can support said orphan service group type; and selecting, as said entity types, said orphan service unit type, said orphan service group type and said adoptive application type.
15. The computer-readable medium of claim 14, wherein if no application types in said entity types file have said orphan service group type as a member or can be extended to provide said orphan service group type, then creating a new application type as said adoptive application type.
16. The computer-readable medium of claim 14, wherein if no orphan service group type supports said predetermined redundancy model, then evaluating at least one orphan service unit type to determine if (a) said at least one orphan service unit can provide said predetermined service and (b) said at least one orphan service unit type can support said expected load associated with said predetermined service; identifying an adoptive created application type and an adoptive created service group type which can support said at least one orphan service unit type; and selecting, as said entity types, said orphan service unit type, said adoptive service group type and said adoptive application type.
17. The computer-readable medium of claim 16, further comprising the step of: storing said generated configuration as a file in an Information Model Management
(IMM) external Markup Language (XML) format in a memory device.
18. The computer-readable medium of claim 16, wherein if no orphan service unit is capable of supporting said predetermined service, then evaluating at least one orphan component type to determine if said at least one orphan component type can support said predetermined service and, if so, generating higher level types using said at least one orphan component type.
19. A system comprising : a processor for generating a configuration for an Availability Management Framework (AMF), said processor being configured to perform the functions of: selecting entity types from an entity types file which can provide a set of service instances by first evaluating entity types associated with an application type in said entity types file; and generating entities associated with the selected entity types; and distributing at least some of the generated entities on nodes of a cluster.
20. The system of claim 19, wherein said processor selects said entity types by: determining if a service group type associated with said application type supports a predetermined redundancy model; if said service group type does support said predetermined redundancy model, then determining if (a) a service unit type associated with said service group type can provide a predetermined service and (b) said service unit type can support an expected load associated with said predetermined service; and if conditions (a) and (b) are met, then selecting, as said entity types, said service unit type, said service group type and said application type.
21. The system of claim 20, wherein if said processor returns a negative result in determining if said service group type associated with said application type supports said predetermined redundancy model, then said processor determines if another service group type associated with said application type in said entity types file supports said predetermined redundancy model .
22. The system of claim 21, wherein if no service group type associated with said application type supports said predetermined redundancy model, then said processor evaluates service group types associated with other application types in said entity types file.
23. The system of claim 22, wherein if said processor determines that no service group type associated with any application type in said entity types file supports said predetermined redundancy model, then said processor evaluates an orphan service group type in said entity types file to determine if said orphan service group type supports said predetermined redundancy model, and if said orphan service group type does support said predetermined redundancy model, then said processor determines if (a) a service unit type associated with said orphan service group type can provide said predetermined service and (b) said service unit type associated with said orphan service group type can support said expected load associated with said predetermined service, identifies an adoptive application type which can support said orphan service group type, and selects, as said entity types, said orphan service unit type, said orphan service group type and said adoptive application type.
24. The system of claim 23, wherein if said processor determines that no application types in said entity types file has said orphan service unit group type as a member or can be extended to provide said orphan service unit group type, then creating a new application type as said adoptive application type.
25. The system of claim 24, wherein if no orphan service group type supports said predetermined redundancy model, then said processor evaluates at least one orphan service unit type to determine if (a) said at least one orphan service unit can provide said predetermined service and (b) said at least one orphan service unit type can support said expected load associated with said predetermined service, said processor identifies an adoptive created application type and an adoptive created service group type which can support said at least one orphan service unit type; and selects, as said entity types, said orphan service unit type, said adoptive service group type and said adoptive application type.
26. The system of claim 19, further comprising: a memory device for storing said generated configuration as a file in an Information
Model Management (IMM) external Markup Language (XML) format.
27. The system of claim 25, wherein if no orphan service unit is capable of supporting said predetermined service, then said processor evaluates at least one orphan component type to determine if said at least one orphan component type can support said predetermined service and, if so, generates higher level types using said at least one orphan component type.
PCT/IB2008/055014 2007-12-20 2008-11-29 Methods and systems for generating availability management framework (amf) configurations WO2009083827A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP08868741A EP2240851A1 (en) 2007-12-20 2008-11-29 Methods and systems for generating availability management framework (amf) configurations

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
US11/961,849 US20090164767A1 (en) 2007-12-20 2007-12-20 Methods and systems for generating availability management framework (amf) configurations
US11/961,849 2007-12-20
US8558308P 2008-08-01 2008-08-01
US61/085,583 2008-08-01
US12/242,269 US8006130B2 (en) 2007-12-20 2008-09-30 Methods and systems for generating availability management framework (AMF) configurations
US12/242,269 2008-09-30

Publications (1)

Publication Number Publication Date
WO2009083827A1 true WO2009083827A1 (en) 2009-07-09

Family

ID=40456423

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/IB2008/055014 WO2009083827A1 (en) 2007-12-20 2008-11-29 Methods and systems for generating availability management framework (amf) configurations

Country Status (3)

Country Link
US (1) US8006130B2 (en)
EP (1) EP2240851A1 (en)
WO (1) WO2009083827A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014177950A1 (en) * 2013-04-30 2014-11-06 Telefonaktiebolaget L M Ericsson (Publ) Availability management of virtual machines hosting highly available applications

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8006130B2 (en) * 2007-12-20 2011-08-23 Telefonaktiebolaget L M Ericsson (Publ) Methods and systems for generating availability management framework (AMF) configurations
US8695012B2 (en) * 2010-02-05 2014-04-08 Telefonaktiebolaget L M Ericsson (Publ) Load and backup assignment balancing in high availability systems
US8627309B2 (en) * 2010-02-25 2014-01-07 Microsoft Corporation Automated deployment and servicing of distributed applications
US8752003B2 (en) 2010-05-03 2014-06-10 Telefonaktiebolaget L M Ericsson (Publ) Model driven approach for availability management framework (AMF) configuration generation
US8285800B2 (en) * 2010-06-25 2012-10-09 Compuware Corporation Service model creation using monitored data of the performance management tool
US8738968B2 (en) * 2011-03-08 2014-05-27 Telefonaktiebolaget L M Ericsson (Publ) Configuration based service availability analysis of AMF managed systems
US8549533B2 (en) 2011-03-18 2013-10-01 Telefonaktiebolaget L M Ericsson (Publ) Ranking service units to provide and protect highly available services using N+M redundancy models
US8683424B2 (en) * 2011-10-10 2014-03-25 Telefonaktiebolaget L M Ericsson (Publ) Bridging the gap between high level user requirements and availability management framework configurations
US9081598B2 (en) 2012-11-30 2015-07-14 Telefonaktiebolaget L M Ericsson (Publ) Ensuring hardware redundancy in a virtualized environment
US9419859B2 (en) * 2012-12-04 2016-08-16 Microsoft Technology Licensing, Llc Service allocation in a distributed computing platform
US9292278B2 (en) 2013-02-22 2016-03-22 Telefonaktiebolaget Ericsson Lm (Publ) Providing high availability for state-aware applications
US20140304701A1 (en) * 2013-04-04 2014-10-09 Telefonaktiebolaget L M Ericsson (Publ) Object-Oriented Open Framework for Campaign Generation
US20150095708A1 (en) 2013-10-02 2015-04-02 Telefonaktiebolaget L M Ericsson (Publ) Automatic generation of entity types files
WO2015110867A1 (en) * 2014-01-23 2015-07-30 Telefonaktiebolaget Lm Ericsson (Publ) A pattern based configuration method for minimizing the impact of component failures
WO2015173706A1 (en) 2014-05-13 2015-11-19 Telefonaktiebolaget L M Ericsson (Publ) Generating consistent system configuration by model weaving
US10635334B1 (en) 2017-09-28 2020-04-28 EMC IP Holding Company LLC Rule based data transfer model to cloud
US10754368B1 (en) * 2017-10-27 2020-08-25 EMC IP Holding Company LLC Method and system for load balancing backup resources
US10942779B1 (en) 2017-10-27 2021-03-09 EMC IP Holding Company LLC Method and system for compliance map engine
US10834189B1 (en) 2018-01-10 2020-11-10 EMC IP Holding Company LLC System and method for managing workload in a pooled environment
US10509587B2 (en) 2018-04-24 2019-12-17 EMC IP Holding Company LLC System and method for high priority backup
US10769030B2 (en) 2018-04-25 2020-09-08 EMC IP Holding Company LLC System and method for improved cache performance
US11169836B2 (en) * 2019-01-23 2021-11-09 International Business Machines Corporation Hardware placement and maintenance scheduling in high availability systems

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6691244B1 (en) * 2000-03-14 2004-02-10 Sun Microsystems, Inc. System and method for comprehensive availability management in a high-availability computer system
US6854069B2 (en) * 2000-05-02 2005-02-08 Sun Microsystems Inc. Method and system for achieving high availability in a networked computer system
US6618805B1 (en) * 2000-06-30 2003-09-09 Sun Microsystems, Inc. System and method for simplifying and managing complex transactions in a distributed high-availability computer system
US7222268B2 (en) * 2000-09-18 2007-05-22 Enterasys Networks, Inc. System resource availability manager
US7480705B2 (en) * 2001-07-24 2009-01-20 International Business Machines Corporation Dynamic HTTP load balancing method and apparatus
US20030140333A1 (en) * 2001-12-20 2003-07-24 Hitachi, Ltd. Integration of computer system components
US7178059B2 (en) * 2003-05-07 2007-02-13 Egenera, Inc. Disaster recovery for processing resources using configurable deployment platform
US20090044186A1 (en) * 2007-08-07 2009-02-12 Nokia Corporation System and method for implementation of java ais api
US8055735B2 (en) * 2007-10-30 2011-11-08 Hewlett-Packard Development Company, L.P. Method and system for forming a cluster of networked nodes
US8006130B2 (en) * 2007-12-20 2011-08-23 Telefonaktiebolaget L M Ericsson (Publ) Methods and systems for generating availability management framework (AMF) configurations
US8375244B2 (en) * 2007-12-28 2013-02-12 International Business Machines Corporation Managing processing of a computing environment during failures of the environment
US8341014B2 (en) * 2007-12-28 2012-12-25 International Business Machines Corporation Recovery segments for computer business applications
US8346931B2 (en) * 2007-12-28 2013-01-01 International Business Machines Corporation Conditional computer runtime control of an information technology environment based on pairing constructs
US8763006B2 (en) * 2007-12-28 2014-06-24 International Business Machines Corporation Dynamic generation of processes in computing environments
US8868441B2 (en) * 2007-12-28 2014-10-21 International Business Machines Corporation Non-disruptively changing a computing environment
US8630415B2 (en) * 2008-01-25 2014-01-14 Telefonaktiebolaget L M Ericsson (Publ) Method and apparatus for authentication service application processes during service reallocation in high availability clusters

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Service AvailabilityTM Forum Application Interface Specification - Availability Management Framework SAI-AIS-AMF-B.02.01", SERVICE AVAILABILITY FORUM APPLICATION INTERFACE SPECIFICATION, XX, XX, 1 January 1900 (1900-01-01), pages 1 - 286, XP007902620 *
ANDRÃ S KÃVI ET AL: "An Eclipse-Based Framework for AIS Service Configurations", SERVICE AVAILABILITY; [LECTURE NOTES IN COMPUTER SCIENCE;;LNCS], SPRINGER BERLIN HEIDELBERG, BERLIN, HEIDELBERG, vol. 4526, 21 May 2007 (2007-05-21), pages 110 - 126, XP019080152, ISBN: 978-3-540-72735-4 *
See also references of EP2240851A1 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014177950A1 (en) * 2013-04-30 2014-11-06 Telefonaktiebolaget L M Ericsson (Publ) Availability management of virtual machines hosting highly available applications
US10025610B2 (en) 2013-04-30 2018-07-17 Telefonaktiebolaget Lm Ericsson (Publ) Availability management of virtual machines hosting highly available applications

Also Published As

Publication number Publication date
US8006130B2 (en) 2011-08-23
EP2240851A1 (en) 2010-10-20
US20090164832A1 (en) 2009-06-25

Similar Documents

Publication Publication Date Title
US8006130B2 (en) Methods and systems for generating availability management framework (AMF) configurations
US20090164767A1 (en) Methods and systems for generating availability management framework (amf) configurations
US10175969B2 (en) Data processing for upgrading medical equipment
US8695012B2 (en) Load and backup assignment balancing in high availability systems
US9075661B2 (en) Placing objects on hosts using hard and soft constraints
KR101137146B1 (en) Determining the maximal set of dependent software updates valid for installation
US11188561B2 (en) Prioritizing microservices on a container platform for a restore operation
US8549533B2 (en) Ranking service units to provide and protect highly available services using N+M redundancy models
EP2959387B1 (en) Method and system for providing high availability for state-aware applications
US8713183B2 (en) Resource compatability for data centers
Zhang et al. Overview on fault tolerance strategies of composite service in service computing
CN105827744A (en) Data processing method of cloud storage platform
CN111258726A (en) Task scheduling method and device
CN115952185B (en) Data processing method and device, equipment and storage medium
EP3097480A1 (en) A pattern based configuration method for minimizing the impact of component failures
Kanso et al. Generating AMF configurations from software vendor constraints and user requirements
CN113722107B (en) Cloud product management and control service deployment method, device, equipment and storage medium
CN109213883A (en) Hazard model group&#39;s service chaining method of combination and device, terminal, storage medium
CN108810143A (en) A kind of method, system and device of client load equilibrium mount virtual IP
CN107436790A (en) A kind of component upgrade management method and device
US20210373868A1 (en) Automated Deployment And Management Of Network Intensive Applications
CN114020368A (en) Information processing method and device based on state machine and storage medium
CN112395339A (en) Method and device for checking data access between systems, computer equipment and storage medium
CN115827216A (en) Cluster service high-availability method and device, computer equipment and storage medium
CN114546650A (en) Method and device for upgrading microservice

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08868741

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2008868741

Country of ref document: EP