Storage access method and device of a virtual machine

A storage access and virtual machine technology, applied in the storage field, can solve the problems of limited network storage protocols and poor scalability, and achieve a wide range of applications and good scalability.

Active Publication Date: 2019-04-19
NEW H3C CLOUD TECH CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the manner in which the above-mentioned virtual machine accesses the network disk is affected by the technical specifications of the BIOS, and the network storage protocols that can be supported are limited, and are only applic

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Storage access method and device of a virtual machine
  • Storage access method and device of a virtual machine
  • Storage access method and device of a virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0060] In order to make the purpose, technical solutions and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only It is a part of the embodiments of this application, but not all the embodiments. The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the present application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art witho...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a storage access method and device for a virtual machine, and the method comprises the steps: enabling a server to log in a storage service of a network disk distributed for thevirtual machine, obtaining an identifier of the network disk, and creating the virtual disk with the identifier of the network disk for the virtual machine based on the network disk. The virtual machine logs in the storage service of the network disk after starting the operation system based on the virtual disk; and then based on the identifier shared by the network disk and the virtual disk, determining that the storage access path of the virtual machine comprises the access path of the network disk and the access path of the virtual disk, the access path of the virtual disk being a main path, and the access path of the network disk being a standby path. And switching the access path of the network disk as a main path by the virtual machine after detecting that the server logs out of thestorage service of the network disk. Therefore, the virtual disk can be accessed only by occupying a small amount of server resources in the starting stage of the virtual machine, and the virtual machine directly accesses the network disk after the virtual machine is started.

Description

technical field [0001] The present application relates to the technical field of storage, and in particular, to a storage access method and device for a virtual machine. Background technique [0002] In a virtualization environment, there are generally two types of disks that can be used by a virtual machine: one is a virtual disk, and the other is a network disk. At present, each time a virtual machine accesses a virtual disk, it needs to establish a communication connection with the server through a virtual network card, and then the server accesses the corresponding virtual disk. The above access process requires a server to access the virtual disk, the access path is long, and more resources of the server are required. In order to shorten the access path and reduce the occupation of server resources, the virtual machine can directly log in to the storage service of the network disk to access the network disk. Specifically, the virtual machine can log in to the storage ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/455G06F3/06
CPCG06F3/0604G06F3/067G06F9/45558
Inventor 钟晋明
Owner NEW H3C CLOUD TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products