Deploying and updating software are often tedious and time-consuming tasks for users and system administrators. Procedures and tools are sought for quickly and efficiently deploying, replicating, updating, and managing system structures and software for many systems. Suitable tools can also be useful for reprovisioning systems whereby a hardware resource subject to failure can be reprovisioned using the tools to replace failed hardware from a free resource pool. A capability to perform rolling system upgrades may also be sought whereby a large number of systems are supplied with software upgrades, managed, and scheduled for initialization or reboot at a specified time or in a controlled sequence, enabling a predictable transition to upgraded software.
Conventional techniques in the process of automated system creation entail either manually repeating a set of disparate steps or scripting command line invocations. The process of repeating steps can be faulty due to the inefficiency and susceptibility to error inherent in reentry of identical fields. Usage of command line invocations, often the scripting can be too restrictive and does not offer a sufficiently wide range of configuration values. Furthermore, user or system manager imposed scripting implementations can be difficult to maintain and have to be created for each unique circumstance.
Some tools automate individual parts of the overall configuration, but do not allow provisioning of an entire hierarchical setup.
An embodiment of a method for computer system provisioning comprises defining a container as a plurality of computer system resources sufficient to run a workload, defining a workload as a set of processes executable on the container and monitored as a single entity, and modeling the container and/or the workload as a template that contains at least some of information for deploying the container and/or the workload.
Embodiments of the invention relating to both structure and method of operation may best be understood by referring to the following description and accompanying drawings:
Users such as system administrators often desire to create many systems with identical or similar specifications. System creation is typically highly manual and can be tedious due to the repetition of individually creating multiple aspects of the system.
A template constructor permits automatic deployment of systems while retaining sufficient flexibility to permit a wide range of generic configuration values. The template constructor enables flexibility to define a range of valid parameters, streamlining creation of systems that are not identical but which share a subset of configuration values.
The template constructor enables provisioning of an entire hierarchical configuration of a system. The template constructor can be implemented as a composite template. For example, a composite template can be configured to create a complex including fixed partitions (nPartitions) which contain virtual partitions (vPartitions), further containing resource partitions.
A “container” defines computer system resources allocated to run a “workload”. Containers, once deployed, can run an operating system. Examples of containers include stand-alone servers and workstations, fixed partitions (nPartitions or nPars), virtual partitions (vPartitions or vPars), and Virtual Machines (VMs).
A “workload” defines a set of processes that can be run on a container and monitored as a single entity. The processes can be defined by a list of executable names, by the user who initiates a process, by the process that initiates other processes, by process group identifier (ID), and the like. For example, processes initiated by a user can be identified as processes started by user “wluser”. Similarly, processes initiated by a spawning process can be identified according to an identifier (ID) of the spawning process.
A “template” functions as a model of either a container or a workload. A template contains some or all of the information for actually deploying a modeled container or workload. Templates can be persisted to supply a basis for creating and deploying new containers and workloads based on the stored definitions. Templates can also take other templates as attributes, enabling creation and deployment of composite templates. A template composed of other templates greatly simplifies deployment of entire systems, for example including a multitude of technologies and operating systems.
Referring to
In an illustrative application, the graphical user interface 104 enables the user to define a container 106 as a plurality of computer system resources 108 sufficient to run a workload 110 and to define the workload 110 as a set of processes executable on the container 106 and monitored as a single entity. The graphical user interface 104 further enables the user to model the container 106 and/or the workload 110 as a workload template 112 that describes the computer system 100 and contains at least some information for deploying the container 106 and/or the workload 110. The workload template 112 can contain a composite of additional templates 114.
To maintain templates, one graphical user interface (GUI) implementation can add a single pane to the workspace. The pane can contain both a list of existing templates as well as a constructor link to create new templates. A creation wizard enables a user to specify ranges of values which apply for a specific instance of the workload or template. A template, once created, can be applied to an unconfigured system, for example by the technique of drag-and-drop, which triggers system deployment. If any configuration parameters are too vague to permit system deployment, the user can be prompted to enter a more specific value. Otherwise, deployment may be entirely automatic.
Referring to
In some embodiments, the graphical user interface can further comprise a creation wizard 210 (shown in
The graphical user interface can be implemented to enable one-click provisioning via templates. Users can define parameters for a specific class of workload 212 or container 214 and use the template to automatically deploy systems which match the template specifications. For sufficiently defined parameters, the template can be applied to a system and have the system deployed in a single action, such as a click of a button.
Referring to
Referring to
In some example embodiments, the container can be selected from various computer system resource types such as stand-alone servers and workstations, hard partitions (nPartitions or nPars), virtual partitions (vPartitions or vPars), Virtual Machines (VMs), and resource partitions. Workloads may be defined as processes owned by a user, processes owned by a set of users, instances of a defined set of executables, customized mappings of processes to workloads performed by hard-coding, and customized mappings of processes to workloads performed by manually moving a set of processes into a workload group.
Hard partitions or nPartitions (nPar) are implemented through hardware and can be defined as portions of a single server. Each instance of a hard partition (nPar) runs an operating system such as Hewlett-Packard Unix (HP-UX) independently of other nPars.
Virtual partitions or vPartitions (vPars) are created with software with each virtual partition running a separate instance of the operating system. Virtual partitions can be used within hard partitions (nPars).
Virtual Machines are partitions, much like virtual partitions, that are created with software and emulate generic servers, enabling sub-CPU and shared-I/O capabilities. Each Virtual Machine independently runs a separate operating system.
Resource partitions are partitions which are typically defined and managed through usage of a resource manager that manages resources such as processor sets (pSets) or Fair Share Scheduler (FSS) groups, or resources defined according to any suitable technology. Resource partitions can be used within, but not across, hard partitions, virtual partitions, and Virtual Machines. Resource partitions can run within a single instance of an operating system. The resource manager is a tool that enables control of allocation of central processing unit (CPU), private and shared memory, and storage (for example disk) bandwidth to multiple workloads or users within an operating system instance. The resource manager enables stacking of multiple applications within a single operating system instance and ensures that critical applications and users have access to system resources in a timely manner.
In an example of resource partition usage within a computer system, an operating system may have multiple concurrently running applications in an active state, for example including a database application and a web server. A resource manager can define resource partitions for each application to allocate resources to the particular application. For example, the database application may be allocated 40% of the resources, the web server also allocated 40%, and the remainder allocated to all other applications including overhead.
In some embodiments, an operating system kernel parameter set in the container can be tuned 312 according to workload template specifications.
Referring to
Referring to
Referring to
Referring to
Referring to
Referring to
Referring to
Referring to
A specific example illustrates how the templates can work in combination. A workload template, for example DBWorkload, can be defined to monitor a set of processes that make up a database. A container template, for example DB_VM_Container, can be defined that comprises a sufficient parameter set to create an appropriate Virtual Machine (VM). The parameters can be tuned according to specifications of the database, for example the number of processors for which a license is valid, a suitable amount of memory for running the database, the operating system type or types and version, and any appropriate kernel parameters. Once the parameters are tuned, a template can be created for a fixed partition (nPar) that functions as a Virtual Machine host, for example VM_HostContainer. The Virtual Machine host template typically includes parameters such as a number of processors and identifiers of various elements, for example input/output (I/O) chassis, operating system type and revision, and the like. Templates for all the partition and virtual machine elements can be combined in one composite template to provision a new overall system, for example a Superdome implementation. The composite template can be deployed to create at least one fixed partition (nPar) using VM_HostContainer, and once the VM_HostContainer is launched, deploy the DBWorkload template to monitor the database. The effect is that a new Superdome can progress from an unconfigured, out-of-the-box state, to running and monitoring a database on a Virtual Machine with one mouse clock (“One-click”).
Referring to
Using templates simplifies deployment of entire systems which can include multiple technologies and operating systems. Templates enable users to unambiguously define specific known values while enabling more dynamic values to be entered when deployment occurs. At peak efficiency, one-click provisioning can be realized by appropriately constraining template parameters.
A computer system can implement a set of technologies that enable a range of partitioning methods. For example, a large computer system can be divided according to specifications of a user, system administrator, or other customer to create multiple smaller computer systems within the large system. Partitioning enables much flexibility in determining a system configuration. The configuration can take a hierarchical form with a highest level comprising hard partitions (nPars), for example a single nPar operating as a standalone system or multiple nPars within a single physical computer system. From the top level of the hierarchy, the fixed partition (nPar) or fixed partitions (nPars) can be divided into virtual partitions (vPars), a software implementation that enables further subdividing of computer system. As an alternative to virtual partitions (vPars), the next level of the hierarchy may include a different technology type, Virtual Machines (VMs). The individual nPars, vPars, and VMs can directly run an operating system, for example Hewlett-Packard Unix (HP-UX), Windows, Linux, or the like. The individual partitions enable a customer to run multiple distinct operating systems, each having different characteristics with respect to isolation, granularity, and several different tradeoffs for selection by the customer.
Templates can be used to enable flexible configuration of the computer system according to selection of various elements, for example elements such as fixed partitions, virtual partitions, virtual machines, resource partitions, and selection and configuration of resources within the various partition types.
Referring to
The simple templates 502 are typically configured as highly re-usable components. Complex templates 504 can also be re-usable although often have a degree of complexity that limits re-use in practice.
In a user interface, the composite template 504 can be dragged and dropped onto a blank system. A programmed application or software engine can perform multiple steps to create the system 500 for deployment. In an illustrative example, the steps may include creating two fixed partitions (nPars) 510 and 512, and installing an operating system such as Hewlett-Packard Unix (HP-UX) on the fixed partitions (nPars) 510 and 512 in parallel. Virtual partition (vPar) software can be installed on fixed partition 0 (nPar0) 510 and Virtual Machine software installed on fixed partition 1 (nPar1) 512 in parallel. The steps can further include creating virtual partitions 0-2 (vPars 0-2) 514 and Virtual Machines 0-2 (VMs 0-2) 516 in parallel, and installing the operating system HP-UX on the virtual partitions (vPars) 514 and the Virtual Machines (VMs) 516 in parallel. Agent software can also be installed on selected elements, for example virtual partition 2 (vPar 2) and Virtual Machine 1 (VM1) in parallel. Resource partitions 518 can also be created in parallel. The system administrator, user, or other customer may use the templates to freely select a configuration of partitions, resources, and operational parameters, as desired.
Templates can also be used to combine multiple servers into an entity called a cluster. The servers or nodes of a cluster are typically loosely-connected, each maintaining separate processors, memory, and operating systems. Special communication protocols and system processors connect the nodes and enable mutual cooperation, facilitating availability and support for mission-critical applications. Cluster configurations enable a cost-effective, flexible architecture for supporting demanding information technology infrastructures.
The illustrative structures, systems, and operating methods enable definition of a template to describe a system. Usage of templates promotes efficiency because a customer may order a system and intend to create multiple identical systems, or systems with minor variations. Templates enable configuration of a system to match other systems in an environment. Systems can be duplicated while avoiding sequencing through multiple steps in a tedious manual process. Template usage avoids errors made in attempting to create duplicate systems due to inadvertent entry errors.
The templates also enable combination of templates into a composite form. Some subsets of an overall system may be created and deployed through usage of individual templates used in combination. For example, some systems may include multiple virtual partitions, each of which is created in an identical or similar configuration. For example, the virtual partitions may all be created in a similar configuration with a selected number of CPUs, a specified amount of memory, and a set of input/output configurations. Virtual partitions that are identical can be created using a single template. Virtual partitions with some variations can be created using a template that is modified from the single common template.
In a particular example, a composite template can be used to create virtual partitions, one of which is created to run a database server and another created to run a web server. Resource partitions can be particularly configured independently for the database virtual partition and for the web server virtual partition. Composite templates enable flexible mixing and matching of resources according to applications that run in the virtual partitions.
The templates can specify resource partitions, for example according to application. For example, a template for database creation can define resource partitions with a set amount of resources and a template designed for web server creation can define resource partitions with a different resource set.
Templates for creating and/or deploying virtual machines can select from among different varieties of operating systems, such as HP-UX, Windows, and Linux, and/or may have a different set of installed applications.
Templates can be configured to dynamically allocate resources based on system demands. Part of template can also specify a policy to control resource allocation based on demand.
The various functions, processes, methods, and operations performed or executed by the system can be implemented as programs that are executable on various types of processors, controllers, central processing units, microprocessors, digital signal processors, state machines, programmable logic arrays, and the like. The programs can be stored on any computer-readable medium for use by or in connection with any computer-related system or method. A computer-readable medium is an electronic, magnetic, optical, or other physical device or means that can contain or store a computer program for use by or in connection with a computer-related system, method, process, or procedure. Programs can be embodied in a computer-readable medium for use by or in connection with an instruction execution system, device, component, element, or apparatus, such as a system based on a computer or processor, or other system that can fetch instructions from an instruction memory or storage of any appropriate type. A computer-readable medium can be any structure, device, component, product, or other means that can store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
The illustrative block diagrams and flow charts depict process steps or blocks that may represent modules, segments, or portions of code that include one or more executable instructions for implementing specific logical functions or steps in the process. Although the particular examples illustrate specific process steps or acts, many alternative implementations are possible and commonly made by simple design choice. Acts and steps may be executed in different order from the specific description herein, based on considerations of function, purpose, conformance to standard, legacy structure, and the like.
While the present disclosure describes various embodiments, these embodiments are to be understood as illustrative and do not limit the claim scope. Many variations, modifications, additions and improvements of the described embodiments are possible. For example, those having ordinary skill in the art will readily implement the steps necessary to provide the structures and methods disclosed herein, and will understand that the process parameters, materials, and dimensions are given by way of example only. The parameters, materials, and dimensions can be varied to achieve the desired structure as well as modifications, which are within the scope of the claims. Variations and modifications of the embodiments disclosed herein may also be made while remaining within the scope of the following claims.
Number | Name | Date | Kind |
---|---|---|---|
6247109 | Kleinsorge et al. | Jun 2001 | B1 |
6345287 | Fong et al. | Feb 2002 | B1 |
6606744 | Mikurak | Aug 2003 | B1 |
6854016 | Kraenzel et al. | Feb 2005 | B1 |
7007276 | Kubala et al. | Feb 2006 | B1 |
7054924 | Harvey et al. | May 2006 | B1 |
7292969 | Aharoni et al. | Nov 2007 | B1 |
7310673 | Zhu et al. | Dec 2007 | B2 |
7350186 | Coleman et al. | Mar 2008 | B2 |
7406477 | Farrar et al. | Jul 2008 | B2 |
7496890 | Miller et al. | Feb 2009 | B2 |
7603443 | Fong et al. | Oct 2009 | B2 |
7644162 | Zhu et al. | Jan 2010 | B1 |
7676552 | Eilam et al. | Mar 2010 | B2 |
7694117 | Kilian et al. | Apr 2010 | B2 |
7694303 | Hahn et al. | Apr 2010 | B2 |
7703092 | Glaser et al. | Apr 2010 | B1 |
7743373 | Avram et al. | Jun 2010 | B2 |
7779389 | Markov et al. | Aug 2010 | B2 |
7810094 | McClure et al. | Oct 2010 | B1 |
7890951 | Vinberg et al. | Feb 2011 | B2 |
7970905 | Baskaran et al. | Jun 2011 | B2 |
8108855 | Dias et al. | Jan 2012 | B2 |
8151245 | Oberlin et al. | Apr 2012 | B2 |
8156477 | Rozenfeld | Apr 2012 | B2 |
20030221094 | Pennarun | Nov 2003 | A1 |
20040078373 | Ghoneimy et al. | Apr 2004 | A1 |
20050177716 | Ginter et al. | Aug 2005 | A1 |
20050192921 | Chaudhuri et al. | Sep 2005 | A1 |
20060010450 | Culter | Jan 2006 | A1 |
20060020937 | Schaefer | Jan 2006 | A1 |
20060025985 | Vinberg et al. | Feb 2006 | A1 |
20060059253 | Goodman et al. | Mar 2006 | A1 |
20060250981 | Li et al. | Nov 2006 | A1 |
20070157172 | Zenz et al. | Jul 2007 | A1 |
20070256073 | Troung et al. | Nov 2007 | A1 |
20080256531 | Gao et al. | Oct 2008 | A1 |
20090144700 | Huff et al. | Jun 2009 | A1 |
20090265712 | Herington | Oct 2009 | A1 |
20100107163 | Lee | Apr 2010 | A1 |
20110265064 | Hadar et al. | Oct 2011 | A1 |