发明名称 |
Methods and systems to hot-swap a virtual machine |
摘要 |
Methods and systems to limit the duration of a service interruption caused by a failed middleware application server are disclosed. One example method and system includes monitoring the operational status of a first virtual machine operating as a primary server and the operational status of a second virtual machine operating as a stand-by server and, based on the monitored operational status of the first and second virtual machines, performing a hot-swap to cause the second virtual machine to operate as the primary server and the first virtual machine to operate as the stand-by server. The first and second virtual machines are implemented on a same host processing system. After the hot-swap, the first virtual machine is restarted. In some examples, the first virtual machine and the second virtual machine are implemented on a same host processing system. Performing the hot-swap can include causing the first virtual machine to be uncoupled from a network and causing the second virtual machine to be coupled to the network. In some examples, the method also includes causing copy of a first file system used by the primary server to be stored as a second file system for use by the stand-by server. |
申请公布号 |
US9582373(B2) |
申请公布日期 |
2017.02.28 |
申请号 |
US201414231036 |
申请日期 |
2014.03.31 |
申请人 |
VMware, Inc. |
发明人 |
Zellermayer Gal;Paz Hilik;Avital Avshi |
分类号 |
G06F11/00;G06F11/14;G06F11/20 |
主分类号 |
G06F11/00 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method comprising:
monitoring, by executing an instruction with a processor, an operational status of a first virtual machine operating as a primary server and an operational status of a second virtual machine operating as a stand-by server, the first and second virtual machines being implemented on a same host processing system; based on the monitored operational status of the first and second virtual machines, performing, by executing an instruction with the processor, a hot-swap to cause the second virtual machine to operate as the primary server and the first virtual machine to operate as the stand-by server, the hot-swap being performed by changing a file system access mode of the first virtual machine from a read/write access of a first file system to a read-only access of the first file system and changing a file system access mode of the second virtual machine from a read-only access of a second file system to a read/write access of the second file system, the first and second file systems having the same information, the secondary server being started prior to the hot-swap being initiated, and the hot-swap being performed without restarting the secondary server; and restarting the first virtual machine. |
地址 |
Palo Alto CA US |