1. Field of the Invention
The present invention relates generally to an improved data processing system, and in particular to a computer implemented method, data processing system, and computer program product for automated ranking of target server partitions based on current workload partition performance state.
2. Description of the Related Art
A virtualized process collection (VPC) is an assembly of processes which comprise the runtime instance of a specific application, such as Websphere or DB2, deployed within a logical partition of an operating system. This collection can also be described as a container which can be relocated or migrated between logical partitions (LPARs). In some systems, these virtualized process collections may be migrated from one server or physical device to another (i.e., mobility operation) to allow for load balancing the processes across the system.
Virtualized process collections can be moved manually under administrative control or using a system capable of moving the collections automatically. The latter is the most flexible approach. The ability to move virtualized process collections results in a data center that behaves rapidly to changes in its resource usage characteristics without the intervention of operators or administrators in most cases. This dynamic mobile application environment is referred to as “Utility Computing” (UC). Utility Computing is concerned with the management of virtualized process collections, with the focus on mobility to achieve a highly dynamic data center.
Examples of virtual server migration technologies include AIX® Workload Partition (WPAR), Linux® Workload Partition (WPAR), EMC's V-Motion™ and the Xen Virtual Management (VM) Console. A Workload Partition (WPAR) instance is a portion or representation of a system within an operating system. A virtualized process collection can be defined as the collection of processes running within a virtual server partition. A Workload Partition defines the container for a virtualized process collection. Other containers for a virtualized process collection may include a VMWare partition or a Xen VM instance.
When migrating a process from a source system to a target system, such as from one server or physical device to another or from one system partition to another partition within the same server, some current virtual server solutions such as EMC's V-Motion™ and the Xen VM Console do not allow for automatic migration, providing only manually triggered mobility and leaving target selection completely up to the user. Other virtual server mobility technologies, such as the AIX® and Linux® WPAR products, provide the ability for automatically migrating a WPAR instance to another partition. However, automation of virtual server technologies requires some sort of mechanism to rank available target server partitions for migration to ensure that the partition with the most appropriate performance characteristics is selected as the migration target based on the current performance state of the WPAR or virtual machine instance.
The illustrative embodiments provide a computer implemented method, data processing system, and computer program product for automated ranking of target server partitions based on current workload partition performance state. When a violation of a stack tier policy for the virtualized process collection in a source logical partition is detected, the stack tier comprising the virtualized process collection is examined to determine a scalability of the stack tier. A set of logical partitions are examined to identify target logical partitions for the migration event, wherein the target logical partitions are compatible for migrating the virtualized process collection based on the scalability of the stack tier. A performance state of the virtualized process collection is analyzed, and the target logical partitions for selection in the migration event are ranked based on the performance states of the virtualized process collection and the stack tier policy.
The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as a preferred mode of use, further objectives and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
With reference now to the figures and in particular with reference to
In the depicted example, server 104 and server 106 connect to network 102 along with storage unit 108. In addition, clients 110, 112, and 114 connect to network 102. Clients 110, 112, and 114 may be, for example, personal computers or network computers. In the depicted example, server 104 provides data, such as boot files, operating system images, and applications to clients 110, 112, and 114. Clients 110, 112, and 114 are clients to server 104 in this example. Network data processing system 100 may include additional servers, clients, and other devices not shown.
In the depicted example, network data processing system 100 is the Internet with network 102 representing a worldwide collection of networks and gateways that use the Transmission Control Protocol/Internet Protocol (TCP/IP) suite of protocols to communicate with one another. At the heart of the Internet is a backbone of high-speed data communication lines between major nodes or host computers, consisting of thousands of commercial, governmental, educational and other computer systems that route data and messages. Of course, network data processing system 100 also may be implemented as a number of different types of networks, such as for example, an intranet, a local area network (LAN), or a wide area network (WAN).
With reference now to
In the depicted example, data processing system 200 employs a hub architecture including a north bridge and memory controller hub (NB/MCH) 202 and a south bridge and input/output (I/O) controller hub (SB/ICH) 204. Processing unit 206, main memory 208, and graphics processor 210 are coupled to north bridge and memory controller hub 202. Processing unit 206 may contain one or more processors and even may be implemented using one or more heterogeneous processor systems. Graphics processor 210 may be coupled to the NB/MCH through an accelerated graphics port (AGP), for example.
In the depicted example, local area network (LAN) adapter 212 is coupled to south bridge and I/O controller hub 204 and audio adapter 216, keyboard and mouse adapter 220, modem 222, read only memory (ROM) 224, universal serial bus (USB) and other ports 232, and PCI/PCIe devices 234 are coupled to south bridge and I/O controller hub 204 through bus 238, and hard disk drive (HDD) 226 and CD-ROM 230 are coupled to south bridge and I/O controller hub 204 through bus 240. PCI/PCIe devices may include, for example, Ethernet adapters, add-in cards, and PC cards for notebook computers. PCI uses a card bus controller, while PCIe does not. ROM 224 may be, for example, a flash binary input/output system (BIOS). Hard disk drive 226 and CD-ROM 230 may use, for example, an integrated drive electronics (IDE) or serial advanced technology attachment (SATA) interface. A super I/O (SIO) device 236 may be coupled to south bridge and I/O controller hub 204.
An operating system runs on processing unit 206 and coordinates and provides control of various components within data processing system 200 in
Instructions for the operating system, the object-oriented programming system, and applications or programs are located on storage devices, such as hard disk drive 226, and may be loaded into main memory 208 for execution by processing unit 206. The processes of the illustrative embodiments may be performed by processing unit 206 using computer implemented instructions, which may be located in a memory such as, for example, main memory 208, read only memory 224, or in one or more peripheral devices.
The hardware in
In some illustrative examples, data processing system 200 may be a personal digital assistant (PDA), which is generally configured with flash memory to provide non-volatile memory for storing operating system files and/or user-generated data. A bus system may be comprised of one or more buses, such as a system bus, an I/O bus and a PCI bus. Of course the bus system may be implemented using any type of communications fabric or architecture that provides for a transfer of data between different components or devices attached to the fabric or architecture. A communications unit may include one or more devices used to transmit and receive data, such as a modem or a network adapter. A memory may be, for example, main memory 208 or a cache such as found in north bridge and memory controller hub 202. A processing unit may include one or more processors or CPUs. The depicted examples in
The illustrative embodiments provide a mechanism which provides for management of virtualized process collections. A management software approach in the form of a Virtualized Process Collection (VPC) Manager is provided to enable automatic and dynamic migration of applications running within the virtualized process collections. The term “automated” in this context may be described as a system running fully unattended. The term “dynamic” is used to describe policy driven management based on system events. The illustrative embodiments also allow the state of the migrating application to be retained, including the connection state, during the migration operation.
The illustrative embodiments also provide a generic algorithm for analysis of resource metrics which allows complex policies to be built from a collection of metric definitions defined at runtime. The generic algorithm is deployed to analyze a generic collection of resource metrics associated with resource and application usage on a processing grid and rank the resources by prioritized policy for workload migration. These resource metrics are provided to a correlation engine within the VPC Manager. Within the correlation engine, this generic model enables a flexible implementation for consumption, ranking, and weighting of performance analysis criteria, which is completely independent of metric reporting schema. The implementation of this generic algorithm reduces product maintenance requirements and simplifies policy creation by enabling complex policies to be based on historical performance data, the schema of which is not known at design time and may change anytime after product deployment.
The generic algorithm defines a mechanism to correlate a collection of performance metrics based on common property values assigned to each metric. These property values comprise metadata which describe the metrics. This metadata includes a weight property, limit property, critical property, and maximum property. A weight property is a float indicating the relative weight to be assigned for a particular metric. A limit property is a float describing the highest expected value allowed for the metric. A critical property is a boolean indicating whether the metric indicates a critical monitor value. A maximum property is a float describing the policy trigger value for the metric. Metrics describing some aspect of a condition are represented as either a numeric rate or a percentage value representing a meaningful data point. The correlation engine normalizes rates into percentages using the limit property and then performs averaging based on the weight assigned to specific metric objects for a particular policy. Additional properties of a metric include the critical and maximum properties, which enable the correlation engine to indicate critical readings on specific metrics or override calculated threshold values with individual metric values that are out of expected range.
The illustrative embodiments further provide a Target Ranker which leverages the policies built using the generic algorithm to enable ranking of server partitions based on current virtualized process collection performance state. A Target Ranker designed into the VPC Manager addresses the need for target partition ranking to facilitate on-demand allocation of server resources in an automated data center environment. Server partitions are ranked accordingly depending on the needs of a specific virtualized process collection, i.e. whether or not the virtualized process collection is experiencing high demand for services deployed within the collection. The partition ranking exercise may be executed by a user to facilitate the selection of server partition targets at runtime. This ranking is referenced when the need for a migration event is determined, and a filter is applied based on the rank of the current server profile for the virtualized process collection to limit the list of available server partitions to the appropriate servers which are available for a virtualized process collection migration event. The performance state of all server partitions is analyzed based on a tier policy created using the generic algorithm described above. The server partition with the lowest current performance state calculated using the tier policy is selected, and if the current performance state of that server partition is below the “idle threshold” (meaning there is enough overhead on the system to accommodate the virtualized process collection to be migrated), then the migration event is processed.
Partition 1 306 is shown to contain an Operating System (OS) instance 304, Virtualized Process Collection (VPC) Agent 310, and two virtualized process collections, VPC 1 312 and VPC 2 314. Partition 2 308 is shown to comprise an Operating System (OS) instance 305, Virtualized Process Collection (VPC) Agent 311, and one virtualized process collection, VPC 3 316. In this particular example, partitions 1 306 and 2 308 are implemented using AIX®, which is designed to interface with a WPAR management firmware, such as VPC Manager 302. AIX® is used only as an example in these illustrative embodiments. Other types of operating systems, such as OS/400® and Linux®, may also be used depending on the particular implementation.
As previously mentioned, a virtualized process collection is an assembly of processes which comprise the runtime instance of a specific application deployed within a logical partition of an operating system. VPC Agent 310 monitors virtualized process collections VPC 1 312 and VPC 2 314, and VPC Agent 311 monitors virtualized process collection VPC 3 316. The VPC Agents collect runtime usage metrics about these virtualized process collections. These runtime usage metrics comprise metrics related to performance state of a virtualized process collection, such as CPU, memory total, and network traffic rate, among others. The CPU metric is the percentage of CPU consumed by the virtualized process collection. The memory total metric is the total amount of memory used by the virtualized process collection or the percentage of system memory consumed by the virtualized process collection. The network traffic rate is the throughput rate of the connections of virtualized process collection.
In a particular example, the metrics for VPC 1 312 collected by VPC Agent 310 reflect enough information for VPC Manager 302 to analyze and make key decisions about when and to what partition the virtualized process collection should be migrated. VPC Agent 310 then stores the collected metrics and provides the metrics to VPC Manager 302. VPC Manager 302 communicates with VPC Agent 310 through a coordinator of VPC Agent-specific events, or VPC Agent Event Coordinator (AEC) 318. Likewise, VPC Manager 302 communicates with VPC Agent 311 through VPC Agent Event Coordinator (AEC) 319. An Event Coordinator is a multi-threaded process which manages the life-cycle of its own threads to achieve a high fidelity of cross-system communication with VPC Agents 310 and 311, respectively.
VPC Manager 302 is a multi-threaded process which monitors the metrics transmitted from VPC Agents 310 and 311. VPC Manager 302 comprises Utility Computing Engine (UCE) 320, Event Queue Manager 322, and Performance Monitor 324. Once metrics have been received from an agent such as VPC Agent 310, these metrics are analyzed by Utility Computing Engine 320. Utility Computing Engine 320 employs dynamic, policy driven algorithms based on system events to drive the decisions on when to migrate applications. Use of Utility Computing Engine 320 in the virtualized process space is unique due to the use of algorithms which have been heavily tested and are more feature rich than other management software approaches. These algorithms are specifically designed for Utility Computing.
Utility Computing Engine 320 signals VPC Manager 302 using a database event queuing system, Event Queue Manager (EQM) 322. Event Queue Manager (EQM) 322 is responsible for propagating events throughout VPC Manager 302.
Performance Monitor (PM) 324 collects the performance metrics from VPC Agent 310 and persists the metrics to database 330. Performance Monitor 324 is also responsible for validating the authenticity of the VPC Agent to decide if Performance Monitor 324 is allowed to receive performance metrics from that VPC Agent.
Performance Monitor (PM) 324 also analyzes the performance metrics using the generic algorithm which allows for ranking resources by prioritized policy for workload migration. Performance Monitor (PM) 324 checks for trigger violations in the new performance metric updates. A trigger violation occurs when a performance metric value exceeds a configured high or low threshold specified in a policy. Within Performance Monitor (PM) 324, the trigger is an algorithmic comparison of a performance metric value to the configured thresholds in the policy. When a threshold is exceeded, Performance Monitor (PM) 324 regards this as a trigger violation and signals Utility Computing Engine 320 to execute stack tier analysis using Stack Tier Analyzer 326. A stack is an application stack, or a group of applications (virtualized process collections) that logically work together. A tier is a level on the stack that describes a specific application (virtualized process collection) component of the stack. For instance, a high level grouping of related virtualized process collections may be defined in the system as a “tier” of virtualized process collections. Execution of a stack tier analysis by Stack Tier Analyzer 326 may result in a migration event based on the performance state of all virtualized process collections associated to the tier. The migration event may be created from the stack tier analysis by a request for event creation from Event Queue Manager 322. The generic algorithm for analyzing collected performance metrics is described further in
When Utility Computing Engine 320 receives the migration event from Event Queue Manager 322, Utility Computing Engine 320 reviews the configured policy for the stack tier to decide what migration action should be taken. The resulting action is a migration event once Utility Computing Engine 320 determines the best location or target partition to send the virtualized process collection. To determine the best migration target partition, Target Ranker 328 in Utility Computing Engine 320 is used to compile a list of the target partitions in the system and rank the server partitions based on current workload partition performance state. The process for VPC migration event targeting is described further in
Utility Computing Engine 320 then provides the migration event created through Event Queue Manager 322 to Event Coordinator 318. Event Coordinator 318 opens a connection over TCP (Transmission Control Protocol) using SOAP (Simple Object Access Protocol) to request VPC Agent 310 take action on the migration event. VPC Agent 310 migrates the virtualized process collection to another VPC Agent (not shown), the target of the migration, as specified by Utility Computing Engine 320 when the migration event was created.
The VPC Agent target communicates with its own Event Coordinator to verify compatibility traits of the source and target partitions. The VPC Manager then conducts the migration in coordination with the source and target VPC Agents 310 and its Event Coordinator 318.
When the migration or the virtualized process collection has completed successfully, Event Coordinator 318 notifies Event Queue Manager 322, so that the migration event may be marked as “completed”.
The process begins when the Performance Monitor obtains the performance metrics for a virtualized process collection from the VPC Agents (step 502). The Performance Monitor parses the value pairs in the metrics (step 504), and obtains the policy for the stack tier (step 506). The policy comprises the metric threshold values calculated by the generic algorithm for the stack tier. The Performance Monitor then executes a performance state analysis (step 508).
The performance state analysis uses the policy to determine if there are any trigger (threshold) violations in the collected performance metrics. In the analysis, the Performance Monitor determines whether the current state or threshold level of the collected performance metrics is higher than a maximum threshold value in the policy (step 510). If the current state or threshold level of the collected performance metrics is higher than the maximum threshold value in the policy (‘yes’ output of step 510), the Performance Monitor records the virtualized process collection metrics as being a “hot” virtualized process collection trigger (step 512). A hot virtualized process collection trigger includes metrics whose performance thresholds are higher than the maximum threshold specified in the policy for that virtualized process collection. In this case, the hot virtualized process collection will need to be migrated to another server partition. The Performance Monitor then stores the performance metrics in a database, such as database 330 in
Turning back to step 510, if the current state or threshold level of the collected performance metrics is not higher than the maximum threshold value in the policy (‘no’ output of step 510), the Performance Monitor determines whether the current state or threshold level of the metrics is lower than the minimum threshold value in the policy (step 516). If the current state or threshold level of the collected performance metrics is not lower than the minimum threshold value in the policy (‘no’ output of step 516), no trigger is recorded and the Performance Monitor stores the performance metrics in a database (step 514).
Turning back to step 516, if the current state or threshold level of the virtualized process collection metrics is lower than the minimum threshold value in the policy (‘yes’ output of step 516), the Performance Monitor records the metrics as being a “cold” virtualized process collection trigger (step 518). A cold virtualized process collection trigger includes metrics whose performance thresholds are lower than the minimum threshold specified in the policy for that virtualized process collection. In this case, the cold virtualized process collection will need to be migrated to another server partition. The Performance Monitor then stores the performance metrics in a database (step 514).
Responsive to receiving the signal from the Performance Monitor, the Utility Computing Engine retrieves the policy for the stack tier (step 602). The Utility Computing Engine also retrieves the virtualized process collection trigger information (step 604). The virtualized process collection trigger information may be obtained from database 330 in
Next, the Utility Computing Engine calculates the performance state of the stack tier by averaging the states of the virtualized process collection (step 612). The Utility Computing Engine then determines whether the calculated tier state is higher than the maximum tier state specified in the tier policy (step 614). If the calculated tier state is higher than the maximum tier state specified in the tier policy (‘yes’ output of step 614), the Utility Computing Engine generates a scale up or scale out migration event (step 616). The Utility Computing Engine generates the event by requesting migration event creation from Event Queue Manager 322 in
Turning back to step 614, if the calculated tier state is not higher than the maximum tier state specified in the tier policy (‘no’ output of step 614), the Utility Computing Engine determines if the calculated tier state is lower than a minimum tier state specified in the tier policy (step 618). If the calculated tier state is lower than the minimum tier state specified in the tier policy (‘yes’ output of step 618), the Utility Computing Engine generates a scale down or scale in migration event (step 620). A ‘scale down’ event migrates the virtualized process collection to a less powerful server. A ‘scale in’ event consolidates the virtualized process collection to a single server. The Utility Computing Engine then sleeps for a defined time period (e.g., one minute) (step 608), and the process loops back to step 602.
Turning back to step 618, if the calculated tier state is not lower than the minimum tier state specified in the tier policy (‘no’ output of step 618), the Utility Computing Engine sleeps for a defined time period (e.g., one minute) (step 608), and the process loops back to step 602.
The process begins with a checkpoint command being sent to a checkpoint agent on the source logical partition containing the virtualized process collection (step 702). A determination is made by the Event Coordinator as to whether the virtualized process collection is paused from the checkpoint operation (step 704). If the virtualized process collection is paused (‘yes’ output of step 704), the Event Coordinator executes the virtualized process collection configuration scripts on the target logical partition (step 706). The virtualized process collection is then restarted on the target logical partition (step 708).
The Event Coordinator then determines if the virtualized process collection is running on the target logical partition (step 710). If the virtualized process collection is not running (‘no’ output of step 710), the Event Coordinator initiates a migration failure recovery (step 712).
Turning back to step 704, if the virtualized process collection is not paused (‘no’ output of step 704), the Event Coordinator initiates a migration failure recovery (step 712).
Turning back to step 710, if the virtualized process collection is running (‘yes’ output of step 710), the Event Coordinator verifies the health of the virtualized process collection (step 714). If the health of the virtualized process collection is not verified (‘no’ output of step 714), the Event Coordinator initiates a migration failure recovery (step 712). If the health of the virtualized process collection is verified (‘yes’ output of step 714), the virtualized process collection on the source logical partition is destroyed (step 716). A determination is made as to whether the virtualized process collection on the source logical partition was destroyed (step 718). If the virtualized process collection was destroyed (‘yes’ output of step 718), the migration event is determined to be complete (step 720). If the virtualized process collection was not destroyed (‘no’ output of step 718), the Event Coordinator initiates a migration failure recovery (step 712).
Using the calculated thresholds, the Utility Computing Engine performs a stack tier analysis which determines whether the average of the tier thresholds exceeds a maximum threshold specified in the tier policy in step 810. If the maximum or minimum threshold is violated, a migration event is generated.
The Target Ranker then identifies each virtualized process collection based on the individual threshold levels and determines the type of server partition to which each virtualized process collection should be migrated in step 812. The Target Ranker also identifies the best target server partition that each virtualized process collection should be migrated in step 814. The VPC Manager then fires the migration event in step 816. VPC Manager database 818 may provide the information for each step as needed.
The process begins by starting a threshold calculation for a tier policy (step 902). The correlation engine then obtains details about each metric in a virtualized process collection (step 904). A determination is made by the correlation engine as to whether metric details exist for the metrics (step 906). If metric details do not exist (‘no’ output of step 906), the process continues to step 928. If metric details exist (‘yes’ output of step 906), the correlation engine determines if a metric in the collection is a critical metric (step 908). A critical metric has a boolean property indicating that the metric indicates a critical monitor value. If the metric is not a critical metric (‘no’ output of step 908), the correlation engine continues to step 914. If the metric is a critical metric (‘yes’ output of step 908), the correlation engine determines if the value of the metric is higher than the maximum property specified in the tier policy (step 910). A maximum property is a float describing the policy trigger value for the metric. If the metric value is higher than the maximum value (threshold trigger value) in the policy (‘yes’ output of step 910), the correlation engine sends a critical policy violation signal to the VPC Manager (step 912). If the metric value is not greater than the maximum value specified in the policy (‘no’ output of step 910), the correlation engine continues to step 914.
At step 914, the correlation engine determines whether the weight property of the metric is higher than 0 (step 914). The weight property is a float indicating the relative weight to be assigned for the particular metric. The correlation engine keeps a running total of the weight properties which is referred to as the weight factor. The weight factor is the total of all weight properties. If the weight property of the metric is not higher than 0 (‘no’ output of step 914), the process continues to step 928. If the weight property of the metric is higher than 0 (‘yes’ output of step 914), the correlation engine determines whether the limit property of the metric is higher than 0 (step 916). The limit property is a float describing the highest expected value allowed for the metric. If the limit property of the metric is higher than 0 (‘yes’ output of step 916), the correlation engine first calculates the percentage value of the metric as the metric value divided by the limit property of the metric (step 918), and then continues to step 920. If the limit property of the metric is not higher than 0 (‘no’ output of step 916), the correlation engine calculates the performance state of the metric as the weight property of the metric divided by the weight factor total to determine the weighted average of all metrics (step 920).
Once the performance state of the metric has been calculated, the correlation engine determines if the value of the metric is higher than the maximum property specified in the tier policy (step 922). If the metric value is not higher than the maximum value (‘no’ output of step 922), the process continues to step 928. If the metric value is higher than the maximum value (‘yes’ output of step 922), the correlation engine determines if the value of the metric is the highest value (maximum value) for all metrics processed (step 924). If the metric value is the maximum value (‘yes’ output of step 924), the correlation engine stores that metric value as the highest value which has violated a metric maximum property for all recorded metrics (step 926), and the process continues to step 928. If the value is not the maximum value (‘no’ output of step 924), the correlation engine continues to step 928.
At step 928, the correlation engine determines if there are additional metrics in the collection to process (step 928). If there are additional metrics in the collection to process (‘yes’ output of step 928), the process continues to step 938 to process the next metric, and process continues to step 904. If there are no additional metrics in the collection to process (‘no’ output of step 928), the correlation engine calculates the performance state of the metric by dividing the total weighted performance state calculated in step 920 by the total weight for all metrics (step 930).
The correlation engine then makes a determination as to whether the highest value calculated in step 926 and recorded as violating a metric maximum is higher than the weighted average performance state of all metrics calculated in step 930 (step 932). If the highest value is not higher than the performance state of the metric (‘no’ output of step 932), the correlation engine returns the performance state of the metric to the component that requested the state analysis (e.g., the Performance Monitor or Stack Tier Analyzer) (step 934). If the highest value exceeds the weighted average performance state of all metrics (‘yes’ output of step 932), the correlation engine first uses the highest value as the performance state of that virtualized process collection (step 936) before returning the new performance state to the component that requested the state analysis (e.g., the Performance Monitor or Stack Tier Analyzer) (step 934).
Other implementations of the generic algorithm in
The process begins when a trigger violation is received at the Target Ranker (step 1002). A trigger violation occurs when a performance state value for the virtualized process collection exceeds a configured high or low threshold specified in a policy. The Target Ranker determines whether the violation is due to the maximum threshold specified in the policy being exceeded (step 1004). If the maximum threshold has been exceeded (‘yes’ output of step 1004), the Target Ranker determines if the tier comprising the virtualized process collection scales vertically (step 1006).
The term “scalability” defines how server partitions are selected for a specific virtualized process collection when the average performance state of all virtualized process collection on a given tier falls above or below the specified maximum and minimum thresholds in the tier policy. Vertical scalability implies that a virtualized process collection needs to relocate to a dedicated or more powerful server partition when the metrics for the virtualized process collection exceed a maximum threshold defined in a tier policy, or either consolidate to a shared server or relocate to a less powerful server when the virtualized process collection falls below a minimum threshold. Horizontal scalability implies that the virtualized process collection needs to relocate to a dedicated server partition when the metrics for the virtualized process collection exceed a maximum threshold defined in a tier policy, or consolidate to a shared partition when the virtualized process collection exceeds a minimum threshold.
If the virtualized process collection tier scales vertically (‘yes’ output of step 1006), the Target Ranker determines if the virtualized process collection tier is located on a shared server (step 1014). If the virtualized process collection tier is located on a shared server (‘yes’ output of step 1014), the Target Ranker identifies the target partition type as a “scale out” migration event (step 1016), and the process continues to step 1020. If the virtualized process collection tier is not located on a shared server (‘no’ output of step 1014), the Target Ranker identifies the target partition type as a “scale up” migration event (step 1018), and the process continues to step 1020.
Turning back to step 1006, if the virtualized process collection tier does not scale vertically (‘no’ output of step 1006), the Target Ranker determines if the virtualized process collection tier is located on a shared server (step 1008). If the virtualized process collection tier is located on a shared server (‘yes’ output of step 1008), the process continues to step 1016.
If the virtualized process collection tier is not located on a shared server (‘no’ output of step 1008), the Target Ranker determines if the virtualized process collection tier is undeployed (step 1010). If the virtualized process collection tier is not undeployed (‘no’ output of step 1010), the Target Ranker determines that the tier deployment is at a maximum (step 1012). If the virtualized process collection tier is undeployed (‘yes’ output of step 1010), the process continues to step 1016.
At step 1020, the Target Ranker determines if a target partition type has been identified (step 1020). If a target partition type has been identified (‘yes’ output of step 1020), a migration event is fired by the Utility Computing Engine (step 1022). If no target partition type is identified (‘no’ output of step 1020), no servers are currently available for virtualized process collection migration (step 1024).
Turning back to step 1004, if the maximum threshold has not been exceeded (‘no’ output of step 1004), the Target Ranker determines if the tier comprising the virtualized process collection scales vertically (step 1026). If the tier scales vertically (‘yes’ output of step 1026), the Target Ranker determines if all of the virtualized process collections in the tier are on the lowest level of the vertical scale (step 1028). If the virtualized process collections are all on the lowest profile (‘yes’ output of step 1028), the Target Ranker determines that there is no target partition for a “scale down” migration event (step 1030).
Turning back to step 1028, if the virtualized process collections are not all on the lowest profile (‘no’ output of step 1028), the Target Ranker identifies a target partition for a “scale down” migration event (step 1032). The process then continues to step 1020.
Turning back to step 1026, if the virtualized process collection tier does not scale vertically (‘no’ output of step 1026), the Target Ranker determines if all of the virtualized process collection in the tier are located on a shared server (step 1034). If all of the virtualized process collections are on a shared server (‘yes’ output of step 1034), the Target Ranker determines that the virtualized process collection tier is fully consolidated (step 1036). If all of the virtualized process collections are not on a shared server (‘no’ output of step 1034), the Target Ranker identifies a target partition for a “scale in” migration event (step 1038), and the process continues to step 1020.
The process determines if the target server type identified in
Turning back to step 1104, if the target server type is not a “scale down” target (‘no’ output of step 1104), the Target Ranker determines if the target server type is a “scale in” target (step 1108). If the target server type is a “scale in” target (‘yes’ output of step 1108), the Target Ranker obtains LPAR data for host servers of this tier (step 1110). The process then continues to step 1118.
Turning back to step 1108, if the target server type is not a “scale in” target (‘no’ output of step 1108), the Target Ranker determines if the target server type is a “scale out” target (step 1112). If the target server type is a “scale out” target (‘yes’ output of step 1112), the Target Ranker obtains LPAR data where the partition profile rank is any ranked WPAR (step 1114). The process then continues to step 1118.
Turning back to step 1112, if the target server type is not a “scale out” target (‘no’ output of step 1112), the Target Ranker find a “scale up” target by obtaining LPAR data where the partition profile rank is higher than the current WPAR profile rank (step 1116). The process then continues to step 1118.
At step 1118, the Target Ranker finds the LPAR with the lowest current resource utilization (step 1118). The Target Ranker then determines if the located LPAR threshold is below “idle” (step 1120). If the LPAR threshold is below “idle” (‘yes’ output of step 1120), the particular target LPAR for the migration event is found (step 1122). If the LPAR threshold is not below “idle” (‘no’ output of step 1120), no target LPAR is found for the migration event (step 1124).
The invention can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment containing both hardware and software elements. In a preferred embodiment, the invention is implemented in software, which includes but is not limited to firmware, resident software, microcode, etc.
Furthermore, the invention can take the form of a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system. For the purposes of this description, a computer-usable or computer readable medium can be any tangible apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
The medium can be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device) or a propagation medium. Examples of a computer-readable medium include a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk and an optical disk. Current examples of optical disks include compact disk—read only memory (CD-ROM), compact disk—read/write (CD-R/W) and DVD.
Further, a computer storage medium may contain or store a computer readable program code such that when the computer readable program code is executed on a computer, the execution of this computer readable program code causes the computer to transmit another computer readable program code over a communications link. This communications link may use a medium that is, for example without limitation, physical or wireless.
A data processing system suitable for storing and/or executing program code will include at least one processor coupled directly or indirectly to memory elements through a system bus. The memory elements can include local memory employed during actual execution of the program code, bulk storage, and cache memories which provide temporary storage of at least some program code in order to reduce the number of times code must be retrieved from bulk storage during execution.
Input/output or I/O devices (including but not limited to keyboards, displays, pointing devices, etc.) can be coupled to the system either directly or through intervening I/O controllers.
Network adapters may also be coupled to the system to enable the data processing system to become coupled to other data processing systems or remote printers or storage devices through intervening private or public networks. Modems, cable modem and Ethernet cards are just a few of the currently available types of network adapters.
The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to best explain the principles of the invention, the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
Number | Name | Date | Kind |
---|---|---|---|
6148335 | Haggard et al. | Nov 2000 | A |
7257811 | Hunt et al. | Aug 2007 | B2 |
7383405 | Vega et al. | Jun 2008 | B2 |
7757214 | Palczak et al. | Jul 2010 | B1 |
20020091786 | Yamaguchi et al. | Jul 2002 | A1 |
20040010787 | Traut et al. | Jan 2004 | A1 |
20050060704 | Bulson et al. | Mar 2005 | A1 |
20050268298 | Hunt et al. | Dec 2005 | A1 |
20070028244 | Landis et al. | Feb 2007 | A1 |
20070168635 | Allen et al. | Jul 2007 | A1 |
20070250838 | Belady et al. | Oct 2007 | A1 |
20080163239 | Sugumar et al. | Jul 2008 | A1 |
Entry |
---|
Mark Allen Weiss. Data Structures and Problem Solving Using JAVA. 2002. Addison Wesley. 2nd ed. pp. 283-285. |
HP. HP-UX Workload Manager User's Guide. Mar. 2006. Hewlett-Packard. Part No. B8844-90010. pp. 1-24, 56-64, and 179. |
U.S. Appl. No. 11/689,034, filed Mar. 21, 2007, Fried et al. |
U.S. Appl. No. 11/689,214, filed Mar. 21, 2007, Fried et al. |
U.S. Appl. No. 11/766,517, filed Jun. 21, 2007, Houlihan et al. |
U.S. Appl. No. 11/766,544, filed Jun. 21, 2007, Houlihan et al. |
VMware , Overview, pp. 1-2, retrieved Apr. 9, 2007 vmware.com/products/vi/vc/vmotion.html. |
VMware ESX Server, VirtualCenter, and VMotion on Dell PowerEdge Servers, pp. 63-68, retrieved Apr. 9, 2007 vmware.com/pdf/esx—vc—vmotion.pdf. |
Server virtualization, pp. 1-6, retrieved Apr. 9, 2007 searchservervirtualization.techtarget.com/tip/0,289483,sid94—gdci1188946,00.html. |
Softricity, 1 page, retrieved Apr. 10, 2007 softricity.com/index.html. |
Appistry—At the Convergence of Grid Computizing, Virtualization and SOA, 1 page, retrieved Apr. 10, 2007 appistry.com. |
Appsonic—next generation software deployment, 1 page, retrieved Apr. 10, 2007 appsonic.com. |
Berry, “Algorithm for General Diagnosis Involving Historical Performance Data”, IBM Technical Disclosure Bulletin, pp. 479-480, Jul. 1995, vol. 38, No. 7. |
Number | Date | Country | |
---|---|---|---|
20080320269 A1 | Dec 2008 | US |