Server clustering in a computing-on-demand system
A device may provision two or more servers, each of the servers including a network interface. In addition, the device may enable the network interface in each of the provisioned servers, create a shared volume, assign the shared volume to each of the provisioned servers, and enable a clustering application on each of the provisioned servers to form a cluster comprising the provisioned servers, the cluster having a heartbeat via the network interfaces.
1. A method comprising:
receiving, at a provisioning portal, a user selection of a set of resources to form a cluster in a cloud computing environment, the user selection of the set of resources including a primary virtual machine, and virtual storage, the user selection received from a web based user interface;
provisioning the cluster in the cloud computing environment to include the primary virtual machine to execute on a first host, and a secondary virtual machine to execute on a second host separate from the first host, the second virtual machine synchronized with the primary virtual machine, the primary virtual machine and the secondary virtual machine share a heartbeat where failure of the primary virtual machine causes execution to shift to the secondary virtual machine; and
provisioning the virtual storage as a part of the cluster in the cloud computing environment.
2. The method of claim 1 , the method further comprising:
enabling a primary virtual application in the primary virtual machine with access to the virtual storage during the provisioning of the cluster.
3. The method of claim 1 , further comprising:
provisioning the secondary virtual machine to enable the secondary virtual machine to handle failure of the primary virtual machine or the first host.
4. The method of claim 1 , wherein the virtual storage can be a virtual storage area network (SAN) in the cloud computing environment.
5. The method of claim 1 , further comprising:
executing a first virtual application on the primary virtual machine and a second virtual application on the secondary virtual machine.
6. The method of claim 5 , further comprising:
copying the first virtual application to create the second virtual machine; and
synchronizing the execution of the first virtual application and the second virtual application.
7. A computing device comprising:
a non-transitory computer readable medium, having stored therein a provisioning portal; and
a set of processors coupled to the non-transitory computer readable medium, to execute the provisioning portal, the provisioning portal configurable to:
receive a user selection of a set of resources to form a cluster in a cloud computing environment, the user selection of the set of resources including a primary virtual machine, and virtual storage, the user selection received from a web based user interface,
provision the cluster in the cloud computing environment to include the primary virtual machine to execute on a first host, and a secondary virtual machine to execute on a second host separate from the first host, the secondary virtual machine synchronized with the primary virtual machine, the primary virtual machine and the secondary virtual machine share a heartbeat where failure of the primary virtual machine causes execution to shift to the secondary virtual machine, and
provision the virtual storage as a part of the cluster in the cloud computing environment.
8. The computing device of claim 7 , wherein the provisioning portal is further to enable a primary virtual application in the primary virtual machine with access to the virtual storage during the provisioning of the cluster.
9. The computing device of claim 7 , wherein the provisioning portal is further to provision to enable the secondary virtual machine to handle failure of the primary virtual machine or the first host.
10. The computing device of claim 7 , wherein the virtual storage can be a virtual storage area network (SAN) in the cloud computing environment.
11. The computing device of claim 7 , wherein the provisioning portal is further to execute a first virtual application on the primary virtual machine and a second virtual application on the secondary virtual machine.
12. The computing device of claim 11 , wherein the provisioning portal is further to copy the first virtual application to create the second virtual machine, and synchronize the execution of the first virtual application and the second virtual application.
13. A non-transitory computer-readable medium, having stored therein a set of instructions, which when executed by a computer system cause the computer system to perform a set of operations comprising:
receiving, at a provisioning portal, a user selection of a set of resources to form a cluster in a cloud computing environment, the user selection of the set of resources including a primary virtual machine, and virtual storage, the user selection received from a web based user interface;
provisioning the cluster in the cloud computing environment to include the primary virtual machine to execute on a first host, and a secondary virtual machine to execute on a second host separate from the first host, the secondary virtual machine is synchronized with the primary virtual machine, the primary virtual machine and the secondary virtual machine share a heartbeat where failure of the primary virtual machine causes execution to shift to the secondary virtual machine; and
provisioning the virtual storage as a part of the cluster in the cloud computing environment.
14. The non-transitory computer-readable medium of claim 13 , wherein the operations further comprising:
enabling a primary virtual application in the primary virtual machine with access to the virtual storage during the provisioning of the cluster.
15. The non-transitory computer-readable medium of claim 14 , wherein the operations further comprising:
provisioning the secondary virtual machine to enable the secondary virtual machine to handle failure of the primary virtual machine or the first host.
16. The non-transitory computer-readable medium of claim 15 , wherein the virtual storage can be a virtual storage area network (SAN) in the cloud computing environment.
17. The non-transitory computer-readable medium of claim 13 , wherein the operations are further comprising
executing a first virtual application on the primary virtual machine and a second virtual application on the secondary virtual machine.
18. The non-transitory computer-readable medium of claim 13 , wherein the operations are further comprising:
copying the first virtual application to create the second virtual machine; and
synchronizing the execution of the first virtual application and the second virtual application.