IP Library Granted Patent US 9,038,067
Granted Patent B2
US 9,038,067 · App. 13/659,107 · Granted May 19, 2015

Virtual computer system and control method of migrating virtual computer

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,038,067
App. No.
13/659,107
Granted
May 19, 2015
Kind
B2
Abstract

A live migration in a virtual computer system. On a source physical computer, the control information area of the source logical FC-HBA (managed by an OS) is copied to the control information area of a dummy logical FC-HBA managed by a hypervisor. After an FC login to the dummy FC-HBA, an address conversion table is rewritten so that a host physical address for referring to the control information area of a logical HBA 1 ′ can be referred to using a guest logical address for referring to the control information area of the source FC-HBA. After the FC logout of the source FC-HBA, using a WWN of the FC used for the FC logout, a login to the destination logic FC-HBA is performed. Next, the OS on the source computer is taken over by the destination computer. Therefore, the disk accessed on the source computer can be accessed from the destination FC-HBA.

Claims (60)

1. A virtual computer system comprising:

a plurality of physical computers on which virtual computers are operating, the plurality of physical computers including a first physical computer and a second physical computer; and

a memory device coupled to the first physical computer and the second physical computer via a FC (Fibre Channel) network,

wherein the first physical computer includes:

a first physical HBA;

a first hypervisor that creates a first logical HBA and a second logical HBA by dividing the first physical HBA;

a first virtual computer, managed by the first hypervisor, to which the first logical HBA, having a first WWN (World Wide Name), is assigned and on which an OS operates to access the memory device via a first link that connects the first logical HBA and the memory device; and

an address conversion table that manages correspondences of guest logical addresses of the first virtual computer to host physical addresses of the first physical computer,

wherein, when the first virtual computer is migrated onto the second physical computer, the first hypervisor is configured to:

execute a logout process of the first WWN of the first logical HBA;

execute a login process of a second WWN of the second logical HBA; and

rewrite a first correspondence, where a first guest logical address of the first virtual computer corresponds to a first host physical address indicating the control area of the first logical HBA, of the address conversion table into a second correspondence, where the first guest logical address corresponds to a second host physical address indicating a control area of the second logical HBA;

wherein the OS operating on the first virtual computer accesses the memory device based on the rewritten address conversion table via a second link that connects the second logical HBA and the memory device while the first virtual computer is being migrated onto the second physical computer.

2. The virtual computer system according to claim 1 , wherein

the OS operating on the first virtual computer logs in from the first logic HBA having the first WWN to the memory device via the first link before the migration,

the OS operating on the first virtual computer logs in from the second logical HBA having the second WWN to the memory device via the second link during the migration.

3. The virtual computer system according to claim 2 , wherein:

the first logical HBA connects to the memory device via the first physical HBA,

the second logical HBA connects to the memory device via the first physical HBA.

4. The virtual computer system according to claim 3 , wherein the OS on the first virtual computer is migrated to the second physical computer while operating and logged in to the memory device.

5. The virtual computer system according to claim 4 , wherein the migration is a live migration in which the OS operating on the first virtual computer continues to operate while the first virtual computer is migrated to the second physical computer.

6. The virtual computer system according to claim 2 , wherein the first hypervisor releases the connection of the first link to the memory device when the OS operating on the first virtual computer logs in to the memory device via the second link.

7. The virtual computer system according to claim 6 , wherein the second physical computer includes a second hypervisor, and the second hypervisor releases the connection of the second link when the OS operates on the second physical computer after migration and logs in to the memory device via a third link.

8. The virtual computer system according to claim 1 , wherein

the OS operating on the first virtual computer issues an access command to access the memory device to a first logical CPU assigned to the first virtual computer, and

while the first virtual computer is being migrated onto the second physical computer, the first logical CPU:

acquires the second host physical address, corresponding to the first guest logical address, indicating the control area of the second logical HBA by referring to the rewritten address conversion table;

accesses the acquired second host physical address; and

accesses the memory device via the second link that connects the second logical HBA corresponding to the second host physical address.

9. A control method of migrating a virtual computer in a virtual computer system having:

a plurality of physical computers on which virtual computers operating, the plurality of physical computers including a first physical computer and a second physical computer; and

a memory device being coupled to the first physical computer and the second physical computer via FC (Fibre Channel) network,

wherein the first physical computer includes:

a first physical HBA;

a first hypervisor that creates a first logical HBA and a second logical HBA by dividing the first physical HBA;

a first virtual computer, managed by the first hypervisor, to which the first logical HBA, having a first WWN, is assigned and on which an OS operates to access the memory device via a first link that connects the first logical HBA and the memory device; and

an address conversion table that manages correspondences of guest logical addresses of the first virtual computer to host physical addresses of the first physical computer, and

the control method comprising:

when the first virtual computer is migrated onto the second physical computer, executing, by the first hypervisor, a logout process of the first WWN of the first logical HBA;

executing, by the first hypervisor, a login process of a second WWN of the second logical HBA;

rewriting, by the first hypervisor, a first correspondence, where a first guest logical address of the first virtual computer corresponds to a first host physical address indicating the control area of the first logical HBA, of the address conversion table into a second correspondence, where the first guest logical address corresponds to a second host physical address indicating a control area of the second logical HBA;

accessing, by the OS operating on the first virtual computer, the memory device based on the rewritten address conversion table via a second link that connects the second logical HBA and the memory device while the first virtual computer is being migrated onto the second physical computer.

10. The control method of migrating a virtual computer according to claim 9 , further comprising:

logging in, by the OS operating on the first virtual computer, from the first logic HBA having the first WWN to the memory device via the first link before the migration; and

logging in, by the OS operating on the first virtual computer, from the second logical HBA having the second WWN to the memory device via the second link during the migration.

11. The control method of migrating a virtual computer according to claim 9 , further comprising:

issuing, by the OS operating on the first virtual computer, an access command to access the memory device to a first logical CPU assigned to the first virtual computer,

wherein, while the first virtual computer is being migrated onto the second physical computer, the first logical CPU:

acquires the second host physical address, corresponding to the first guest logical address, indicating the control area of the second logical HBA by referring to the rewritten address conversion table,

accesses the acquired second host physical address, and

accesses the memory device via the second link that connects the second logical HBA corresponding to the second host physical address.

12. The control method of migrating a virtual computer according to claim 9 , wherein:

the first logical HBA connects to the memory device via the first physical HBA,

the second logical HBA connects to the memory device via the first physical HBA.

13. The control method of migrating a virtual computer according to claim 9 , wherein the OS on the first virtual computer is migrated to the second physical computer while operating and logged in to the memory device.

14. The control method of migrating a virtual computer according to claim 9 , wherein the migration is a live migration in which the OS operating on the first virtual computer continues to operate while the first virtual computer is migrated to the second physical computer.

15. The control method of migrating a virtual computer according to claim 9 , further comprising:

releasing, by the first hypervisor, the connection of the first link to the memory device when the OS operating on the first virtual computer logs in to the memory device via the second link.

16. The control method of migrating a virtual computer according to claim 9 , wherein the second physical computer includes a second hypervisor, and further comprising:

releasing, by the second hypervisor, the connection of the second link when the OS operates on the second physical computer after migration and logs in to the memory device via a third link.

Assignments (2)
COMPANY SPLIT Recorded Aug 20, 2024
From: HITACHI, LTD.
To: HITACHI VANTARA, LTD.
Reel/Frame 069518/0761 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 11, 2012
From: MIKI, HIROSHI; OIWA, EIICHIRO; HATTA, YUKARI; HAYAKAWA, NORIMITSU; TERAYA, TAKUJI
To: HITACHI, LTD.
Reel/Frame 029443/0634 →