Optimized creation of distributed storage and distributed processing clusters on demand
First Claim
1. A computer program product comprising a computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a computing device, causes the computing device to:
- install a cluster on the data processing system, wherein the cluster comprises a master node and a managed node having distributed software installed thereon;
store state of cluster on external volumes;
remove references specific to the cluster from the state of the cluster stored on the external volumes;
take a snapshot of the state of the cluster stored on the external volumes to form a set of volume templates;
take a snapshot of images of the master node and the managed node to form a set of node type images; and
responsive to receiving a request to create a specified cluster, create a new set of nodes on the data processing system based on the set of node type images, clone the set of volume templates to form a new set of volumes in the data processing system, mount the new set of volumes to the new set of nodes, and recreate configurations based on details in the request,wherein cloning the set of volume templates comprises allocating fixed space to each volume, setting a space quota for logs, data, and metadata, and creating a file system from a sparse file to serve as the volumes.
1 Assignment
0 Petitions
Accused Products
Abstract
A mechanism is provided in a data processing system for creating clusters on demand. The mechanism installs a cluster on the data processing system. The cluster comprises a master node and a managed node having distributed software installed thereon. The mechanism stores state of cluster on external volumes and removes references specific to the cluster from the state of the cluster stored on the external volumes. The mechanism takes a snapshot of the state of the cluster stored on the external volumes to form a set of volume templates and takes a snapshot of images of the master node and the managed node to form a set of node type images. Responsive to receiving a request to create a specified cluster, the mechanism creates a new set of nodes on the data processing system based on the set of node type images, clones the set of volume templates to form a new set of volumes in the data processing system, mounts the new set of volumes to the new set of nodes, and recreates configurations based on details in the request.
27 Citations
10 Claims
-
1. A computer program product comprising a computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a computing device, causes the computing device to:
-
install a cluster on the data processing system, wherein the cluster comprises a master node and a managed node having distributed software installed thereon; store state of cluster on external volumes; remove references specific to the cluster from the state of the cluster stored on the external volumes; take a snapshot of the state of the cluster stored on the external volumes to form a set of volume templates; take a snapshot of images of the master node and the managed node to form a set of node type images; and responsive to receiving a request to create a specified cluster, create a new set of nodes on the data processing system based on the set of node type images, clone the set of volume templates to form a new set of volumes in the data processing system, mount the new set of volumes to the new set of nodes, and recreate configurations based on details in the request, wherein cloning the set of volume templates comprises allocating fixed space to each volume, setting a space quota for logs, data, and metadata, and creating a file system from a sparse file to serve as the volumes. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An apparatus comprising:
-
a processor; and a memory coupled to the processor, wherein the memory comprises instructions which, when executed by the processor, cause the processor to; installing a cluster on the data processing system, wherein the cluster comprises a master node and a managed node having distributed software installed thereon; storing state of cluster on external volumes; removing references specific to the cluster from the state of the cluster stored on the external volumes; taking a snapshot of the state of the cluster stored on the external volumes to form a set of volume templates; taking a snapshot of images of the master node and the managed node to form a set of node type images; and responsive to receiving a request to create a specified cluster, creating a new set of nodes on the data processing system based on the set of node type images, cloning the set of volume templates to form a new set of volumes in the data processing system, mounting the new set of volumes to the new set of nodes, and recreating configurations based on details in the request, wherein cloning the set of volume templates comprises allocating fixed space to each volume, setting a space quota for logs, data, and metadata, and creating a file system from a sparse file to serve as the volumes. - View Dependent Claims (7, 8, 9, 10)
-
Specification