CN112631732A - Method and device for realizing batch ISO (International organization for standardization) establishment of CephX authentication virtual machines - Google Patents

Method and device for realizing batch ISO (International organization for standardization) establishment of CephX authentication virtual machines Download PDF

Info

Publication number
CN112631732A
CN112631732A CN202011626993.5A CN202011626993A CN112631732A CN 112631732 A CN112631732 A CN 112631732A CN 202011626993 A CN202011626993 A CN 202011626993A CN 112631732 A CN112631732 A CN 112631732A
Authority
CN
China
Prior art keywords
mapping
cache
image
distribution
mark
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011626993.5A
Other languages
Chinese (zh)
Other versions
CN112631732B (en
Inventor
邓玉芳
季统凯
贺忠堂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN202011626993.5A priority Critical patent/CN112631732B/en
Priority to PCT/CN2021/085465 priority patent/WO2022141922A1/en
Publication of CN112631732A publication Critical patent/CN112631732A/en
Application granted granted Critical
Publication of CN112631732B publication Critical patent/CN112631732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45583Memory management, e.g. access or allocation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The embodiment of the application discloses a method and a device for realizing batch ISO creation of CephX authentication virtual machines; the method comprises the following steps: mapping caching and recording are carried out through a mapping cache record table and a mapping cache mapping record table which are preset with unique constraint, mapping distribution request is initiated, and mapping distribution caching is carried out according to a preset mapping distribution rule; mapping the mapping cache and storing records through the mapping cache mapping record table, initiating a mapping cache mapping request, and mapping the mapping cache according to a preset mapping cache mapping rule; the embodiment of the application solves the problem that the hot plug of the optical disc is not supported when the CephX authentication is used, and simultaneously realizes the concurrent execution on the same ISO and the same node, thereby achieving the effect of batch execution.

Description

Method and device for realizing batch ISO (International organization for standardization) establishment of CephX authentication virtual machines
Technical Field
The embodiment of the application relates to the technical field of virtual machine management, in particular to a method and a device for achieving batch ISO creation of CephX authentication virtual machines.
Background
The RBD block storage is the most widely used and stable storage type among the 3 storage types provided by Ceph. The RBD block is similar to a disk and can be mounted in a physical machine or a virtual machine. Ceph provides two ways of identity authentication: none and CephX; none indicates that the client does not need to access the Ceph storage cluster through a key, which is obviously not recommended; the CephX is essentially a symmetric encryption protocol, the encryption algorithm is AES, and the AES is used for identifying the identity of a user and authenticating the operation of the user on a client so as to prevent network security problems such as man-in-the-middle attack, data tampering and the like.
In order to support batch creation, many cloud platforms provide an image distribution function to distribute an image cache to a node in advance; however, the RBDiso with the CephX authentication does not support hot plug at present, that is, the optical disc cannot be mounted and unloaded online when the RBDiso with the CephX authentication is used; in order to realize the batch iso creation of the virtual machine, most platforms provide an image distribution function, and image distribution is performed before batch creation, which undoubtedly increases the inconvenience of cloud platform operation.
Disclosure of Invention
The embodiment of the application provides a method and a device for achieving batch ISO creation of CephX authentication virtual machines, and aims to solve the problems that in the prior art, hot plugging of an optical disc is not supported when CephX authentication is used, and the virtual machines cannot be created in batch ISO without an image cache.
In a first aspect, an embodiment of the present application provides an implementation method for creating CephX authenticated virtual machines in batch ISO, including:
presetting a mapping cache record table and a mapping cache mapping record table of unique constraint, wherein the mapping cache record table is used for recording mapping cache in a target node, and the mapping cache mapping record table is used for recording mapping cache mapping in the target node;
judging whether the target node has a mapping cache or not through the mapping cache record table;
storing records according to the judgment result of the mapping cache and initiating a mapping distribution request to the mirror node component;
after receiving the image distribution request, the image node component performs image distribution caching according to a preset image distribution rule;
judging whether the target node has mapping of the mapping cache or not through the mapping cache mapping record table;
storing a record according to the judgment result of the mapping cache and initiating a mapping cache mapping request to the computing node component;
and after receiving the mapping request of the mapping cache, the computing node component carries out mapping cache mapping according to a preset mapping cache mapping rule.
Further, the saving a record according to the judgment result of the image cache and initiating an image distribution request to the mirror node component includes:
if the mapping cache exists and the distribution state is an active state, storing a mapping cache record in a mapping cache record table;
if the image cache record is successfully stored, setting a mark of the distribution operation as a first mark, and initiating an image distribution request to the mirror image node component;
if the image cache record is failed to be stored, setting a mark of the distribution operation as a second mark, and initiating an image distribution request to the mirror image node component;
and if the mapping cache does not exist, judging whether the target node has the mapping cache again through the mapping cache record table.
Further, after receiving the image distribution request, the mirror node component performs image distribution caching according to a preset image distribution rule, including:
after receiving the image distribution request, the mirror image node component judges the mark of the distribution operation, and if the mark of the distribution operation is a first mark, the image distribution caching is carried out;
if the mark of the distribution operation is a second mark, carrying out cycle detection, calling a synchronous message of the distribution state through the control node, and feeding back the synchronous message of the distribution state to the control node until the distribution state is an active state, wherein the image cache of the control node is successfully distributed;
and when the cycle detection time exceeds a preset threshold value, feeding back a mapping cache distribution failure state to the control node, and entering a rollback state.
Further, the storing the record according to the judgment result of the mapping of the image cache and initiating the mapping request of the image cache to the computing node component includes:
if the mapping state is active, storing a mapping cache mapping record in a mapping cache mapping record table;
if the mapping record of the mapping operation is successfully stored, setting a mark of the mapping operation as a third mark, and initiating a mapping request of the mapping operation to the computing node component;
if the mapping record of the mapping operation is failed to be stored, setting a mark of the mapping operation as a fourth mark, and initiating a mapping request of the mapping operation to the computing node component;
and if the mapping cache mapping does not exist, judging whether the mapping cache mapping already exists in the target node again through the mapping cache mapping record table.
Further, after receiving the mapping request, the compute node component performs mapping according to a preset mapping rule, including:
after receiving the mapping request of the mapping cache, the computing node component judges the mark of the mapping operation, and if the mark of the mapping operation is a third mark, mapping the mapping cache;
if the mark of the mapping operation is a fourth mark, carrying out cycle detection, calling a mapping state through the control node, and feeding back to the control node that the mapping cache is successfully mapped until the mapping state is an active state;
and when the cycle detection time exceeds a preset threshold value, feeding back a mapping failure state of the mapping cache to the control node, and entering a rollback state.
Further, the image cache record table comprises six fields of a first ID, a first image ID, a storage target, a storage type, a distribution state and a resource type; the first ID is a unique constraint field, and is formed by combining values of four fields of the first image ID, the storage target, the storage type and the resource type;
the mapping record table of the image cache comprises six fields of a second ID, a second image ID, a node name, a storage pool name, a mapping path and a mapping state; the second ID is a unique constraint field, and is formed by combining values of three fields of an image ID, a node name and a storage pool name.
Further, the performing image cache mapping includes:
and mapping the RBD block equipment to the virtual machine operating system through the map command of the RBD block.
Further, after the computing node component receives the mapping request and performs mapping according to a preset mapping rule, the method further includes:
the configuration file of the virtual machine is modified by mapping the device path of the ISO cache.
In a second aspect, an embodiment of the present application provides an apparatus for implementing batch ISO creation of CephX authenticated virtual machines, including:
the system comprises a record table presetting module, a mapping cache module and a mapping cache module, wherein the record table presetting module is used for presetting a mapping cache record table and a mapping cache mapping record table of unique constraint, the mapping cache record table is used for recording mapping cache in a target node, and the mapping cache mapping record table is used for recording mapping cache in the target node;
the mapping cache judging module is used for judging whether the target node has mapping cache or not through the mapping cache record table;
the distribution request sending module is used for saving records according to the judgment result of the mapping cache and sending a mapping distribution request to the mirror image node component;
the distribution cache execution module is used for carrying out image distribution cache according to a preset image distribution rule after the image node component receives the image distribution request;
the mapping cache mapping judging module is used for judging whether the target node has mapping cache mapping or not through the mapping cache mapping record table;
the mapping request sending module is used for saving records according to the judgment result of mapping of the mapping cache and sending a mapping cache mapping request to the computing node component;
and the mapping cache mapping execution module is used for mapping the mapping cache according to a preset mapping cache mapping rule after the computing node component receives the mapping cache mapping request.
Further, the distribution request sending module includes: the system comprises a cache record storage unit, a first mark setting module, a second mark setting module and a mapping cache node judgment unit;
the cache record storage unit is used for storing the mapping cache record in the mapping cache record table if the mapping cache exists and the distribution state is an active state; the first mark setting module is used for setting a mark of a distribution operation as a first mark and initiating a mapping distribution request to a mirror image node component if the mapping cache record is successfully stored; the second mark setting module is used for setting a mark of the distribution operation as a second mark and initiating a mapping distribution request to the mirror image node component if the mapping cache record is failed to be stored; and the mapping cache node judging unit is used for judging whether the target node has mapping cache again through the mapping cache record table if the mapping cache does not exist.
Further, the distribution cache execution module includes: the system comprises a distribution cache execution unit, a distribution cycle detection unit and a distribution rollback state unit;
the distribution cache execution unit is used for judging the mark of distribution operation after the mirror image node assembly receives the image distribution request, and if the mark of the distribution operation is a first mark, the image distribution cache is carried out; the distribution cycle detection unit is used for realizing cycle detection if the mark of the distribution operation is a second mark, calling a synchronous message of a distribution state through the control node, and feeding back the synchronous message to the control node to successfully cache and distribute the image until the distribution state is an active state; and the distribution rollback state unit is used for feeding back the mapping cache distribution failure state to the control node and entering a rollback state when the cycle detection time exceeds a preset threshold value.
Further, the mapping request sending module includes: the system comprises a mapping cache record storage unit, a third mark setting module, a fourth mark setting module and a cache mapping node judgment unit;
the mapping cache record storage unit is used for storing mapping cache mapping records in a mapping cache mapping record table if mapping cache mapping exists and the mapping state is an active state; the third mark setting module is used for setting a mark of the mapping operation as a third mark and initiating a mapping request of the mapping cache to the computing node component if the mapping record of the mapping cache is successfully stored; the fourth mark setting module is used for setting a mark of the mapping operation as a fourth mark and initiating a mapping request of the mapping cache to the computing node component if the mapping record of the mapping cache is failed to be stored; and the cache mapping node judging unit is used for judging whether the target node has mapping cache mapping again through the mapping cache mapping record table if the mapping cache mapping does not exist.
Further, the image cache mapping execution module includes: the device comprises a cache mapping execution unit, a mapping cycle detection unit and a mapping rollback state unit;
the cache mapping execution unit is used for judging the mark of the mapping operation after the computing node component receives the mapping request of the mapping cache, and if the mark of the mapping operation is a third mark, mapping the mapping cache;
the mapping cycle detection unit is used for carrying out cycle detection if the mark of the mapping operation is a fourth mark, calling the mapping state through the control node, and feeding back the mapping state to the control node that the mapping cache is successfully mapped until the mapping state is in an active state;
and the mapping rollback state unit is used for feeding back a mapping failure state of the mapping cache to the control node and entering a rollback state when the cycle detection time exceeds a preset threshold value.
Further, the image cache mapping execution module is further configured to map the RBD block device to the virtual machine operating system through a map command of the RBD block.
Further, the method also comprises the following steps: a virtual machine disk configuration module for modifying a configuration file of a virtual machine by mapping an ISO cached device path.
In a third aspect, embodiments of the present application provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the implementation method of batch ISO creation of CephX authenticated virtual machines according to the first aspect.
The method comprises the steps of performing image caching and record saving through an image caching record table by presetting an image caching record table and an image caching mapping record table with unique constraint, initiating an image distribution request, and performing image distribution caching according to a preset image distribution rule; the mapping cache mapping is carried out and the record is stored through the mapping cache mapping record table, the mapping cache mapping request is initiated, and the mapping cache mapping is carried out according to the preset mapping cache mapping rule, so that the problem that the hot plug of the optical disc is not supported when the CephX authentication is used is solved, and the concurrent execution on the same ISO and node is realized, thereby achieving the effect of batch execution.
Drawings
Fig. 1 is a flowchart of an implementation method for creating CephX authenticated virtual machines in batch ISO according to an embodiment of the present application;
fig. 2 is a flowchart of another implementation method for creating CephX certified virtual machines in batch ISO according to an embodiment of the present application;
fig. 3 is a flowchart of another implementation method for creating CephX certified virtual machines in batch ISO according to an embodiment of the present application;
fig. 4 is a flowchart of another implementation method for creating CephX certified virtual machines in batch ISO according to the embodiment of the present application;
fig. 5 is a flowchart of another implementation method for creating CephX certified virtual machines in batch ISO according to the embodiment of the present application;
fig. 6 is a flowchart of an implementation apparatus for creating CephX authenticated virtual machines in batch ISO according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The method for realizing batch ISO CephX authentication virtual machine creation includes the steps of conducting image caching and record storage through an image caching record table and an image caching mapping record table with unique constraint through preset image caching record tables, initiating an image distribution request, and conducting image distribution caching according to preset image distribution rules; the mapping cache mapping is carried out and the record is stored through the mapping cache mapping record table, the mapping cache mapping request is initiated, and the mapping cache mapping is carried out according to the preset mapping cache mapping rule, so that the problem that the hot plug of the optical disc is not supported when the CephX authentication is used is solved, and the concurrent execution on the same ISO and node is realized, thereby achieving the effect of batch execution.
The RBD block storage is the most widely used and stable storage type among the 3 storage types provided by Ceph. The RBD block is similar to a disk and can be mounted in a physical machine or a virtual machine. Ceph provides two ways of identity authentication: none and CephX; none indicates that the client does not need to access the Ceph storage cluster through a key, which is obviously not recommended; the CephX is essentially a symmetric encryption protocol, the encryption algorithm is AES, and the AES is used for identifying the identity of a user and authenticating the operation of the user on a client so as to prevent network security problems such as man-in-the-middle attack, data tampering and the like. To support batch creation, many cloud platforms provide an image distribution function to distribute an image cache to the operation of a node in advance. However, the RBDiso with the CephX authentication does not support hot plug at present, that is, the optical disc cannot be mounted and unloaded online when the RBDiso with the CephX authentication is used; in order to realize the batch iso creation of the virtual machine, most platforms provide an image distribution function, and image distribution is performed before batch creation, which undoubtedly increases the inconvenience of cloud platform operation.
Specifically, there are many steps in creating a virtual machine task flow template, such as a virtual machine initialization step, a virtual machine node environment creation detection step, a system disk creation step, a system disk mounting step, a data disk mounting task flow creation step, a network card mounting task flow creation step, a virtual machine startup step, a virtual machine password modification step, a virtual machine renaming step, and the like.
According to the embodiment of the application, the mounting ISO task flow step is added after the mounting network card task flow step, so that the problems that the existing method does not support optical disk hot plug when CephX authentication is used and the virtual machines cannot be established in batches under the condition that image cache does not exist are solved.
The step of mounting the ISO task flow is a nested subtask flow, and the task flow comprises a step of mounting ISO initialization, a step of detecting and distributing image cache, a step of detecting and mapping ISO cache, a step of modifying virtual machine optical disk configuration and a step of mounting optical disk completion.
Exemplary, mount ISO initialization step: generally, some operations before ISO are mounted, such as changing the task state of the virtual machine to be mounting an optical disc, etc., so as to prevent other people from performing other operations on the virtual machine.
Specifically, a step of detecting and distributing image cache is added in a mounted ISO task flow template, and the step can be executed on the same ISO and node concurrently, so that the effect of batch execution is achieved; specifically, steps of detecting and mapping ISO cache are added in a mounted ISO task flow template, the problem that hot plug of an optical disc is not supported when CephX authentication is used is solved by mapping RBD block equipment to an operating system through a map command of the RBD block, and meanwhile, the steps can be executed on the same ISO and node simultaneously, and the effect of batch execution is achieved.
Fig. 1 is a flowchart of a method for creating CephX authenticated virtual machines in batch ISO according to an embodiment of the present application. Referring to fig. 1, the implementation method for creating a CephX certified virtual machine in batch ISO specifically includes:
step 110, presetting a mapping cache record table of unique constraint and a mapping cache mapping record table, wherein the mapping cache record table is used for recording mapping cache in a target node, and the mapping cache mapping record table is used for recording mapping cache mapping in the target node.
Specifically, a mapping cache record table with unique constraint is set, wherein the mapping cache record table comprises six fields of a first ID, a first mapping ID, a storage target, a storage type, a distribution state and a resource type; the first ID is a unique constraint field, and is formed by combining values of four fields of the first image ID, the storage target, the storage type and the resource type.
Illustratively, the storage target refers to a target location of cache storage, and optionally, is generally a storage pool name; the storage types comprise node, vg and RBD; the distribution state comprises descending, deletion and active; the resource types include ISO and image.
Specifically, an image cache mapping record table with unique constraint is set, wherein the image cache mapping record table comprises six fields of a second ID, a second image ID, a node name, a storage pool name, a mapping path and a mapping state; the second ID is a unique constraint field, and is formed by combining values of three fields of an image ID, a node name and a storage pool name.
Illustratively, the mapping state includes mapping and active; the resource types include ISO and image.
And step 120, judging whether the target node has an image cache or not through the image cache record table.
It can be understood that the system first determines whether an image cache already exists on the target node through the image cache record table, and executes the next steps according to whether the image cache exists.
And step 130, saving records according to the judgment result of the image cache and initiating an image distribution request to the mirror image node component.
Referring to fig. 2, the step 130 can be specifically realized by the steps 1301 and 1304.
Step 1301, if the image cache exists and the distribution state is the active state, storing an image cache record in an image cache record table.
Specifically, if it is determined from the map cache record table that the map cache exists on the target node, the present distribution state is determined, and if the present distribution state is an active (active) state, an attempt is made to store the map cache record in the map cache record table.
Step 1302, if the image cache record is successfully saved, setting a mark of the distribution operation as a first mark, and initiating an image distribution request to the mirror node component.
Specifically, if the image cache record is successfully stored in the image cache record table, because the first ID is formed by combining values of four fields, namely a first image ID, a storage target, a storage type and a resource type, and is uniquely constrained, if the image cache record is successfully stored, it is indicated that the image is not cached on the target node, and no other task exists for distributing the image to the target node, at this time, a flag is set for the distribution operation, and is marked as the first flag, optionally, the first flag is marked as distribute, and an image distribution request is initiated to the mirror node component; it is to be appreciated that the mirror node component is used to implement the image distribution cache.
And 1303, if the image cache record is not stored, setting a mark of the distribution operation as a second mark, and initiating an image distribution request to the mirror node component.
If the image cache record stored in the image cache record table fails, it indicates that other operations are distributing the image to the target node, at this time, a mark is set for the distribution operation, and is marked as a second mark, and optionally, the second mark is marked as check, and an image distribution request is initiated to the mirror node component.
And 1304, if the mapping cache does not exist, judging whether the target node has the mapping cache again through the mapping cache record table.
And if the mapping cache record table judges that the mapping cache does not exist on the target node, judging whether the mapping cache exists on the target node again through the mapping cache record table.
Illustratively, when the virtual machines are created in batch, the flow step of the first virtual machine distributes images, and other virtual machines always detect the state of the images, detect whether the images are distributed completely, and enter the next step when the images are detected to be completed; i.e., the creation of virtual machines is created in parallel.
And step 140, after receiving the image distribution request, the mirror image node component performs image distribution caching according to a preset image distribution rule.
Referring to fig. 3, step 140 can be specifically realized by steps 1401-1403.
Step 1401, after receiving the image distribution request, the mirror node component judges a mark of the distribution operation, and if the mark of the distribution operation is a first mark, performs image distribution caching.
Specifically, after receiving the image distribution request, the mirror node component judges a mark of the distribution operation, and if the mark of the distribution operation is a first mark, the distribution operation is performed normally; optionally, the image distribution operation is: distributing the local storage image to a designated node; distributing the distributed storage to the distributed storage; the centralized storage is distributed to the vg of the centralized storage (consistent with the vg where the virtual machine is located).
And 1402, if the mark of the distribution operation is the second mark, performing loop detection, calling a synchronization message of the distribution state through the control node, and feeding back the synchronization message of the distribution state to the control node until the distribution state is an active state, wherein the distribution state is fed back to the control node to successfully distribute the image cache.
Optionally, if the mark of the distribution operation is the second mark, if the mark is check, performing cycle detection, calling a synchronization message for obtaining the distribution state of the image cache to the control node, and feeding back to the control node that the image cache is successfully distributed until the distribution state of the image cache is in an active (active) state, so that the mount ISO process continues to execute the next step.
And step 1403, when the cycle detection time exceeds a preset threshold value, feeding back a mapping cache distribution failure state to the control node, and entering a rollback state.
It can be understood that if the loop detection is overtime, that is, when the loop detection time exceeds a preset threshold value, it indicates that the mapping cache fails to be successfully distributed, a distribution failure state message is fed back to the mapping cache of the control node, and the mount ISO process enters a rollback state, that is, the rollback operation of the previous step is executed; it can be understood that the specific value of the preset threshold value for the loop detection may be set according to the requirement, and the specific value is not limited in this embodiment of the application.
And 150, judging whether the target node has mapping of the mapping cache or not through the mapping cache mapping record table.
It can be understood that the system first determines whether the image cache mapping already exists on the target node through the image cache mapping record table, and executes the next steps according to whether the image cache mapping exists.
Step 160, saving the mapping record of the mapping according to the judgment result of the mapping and initiating a mapping request of the mapping to the computing node component.
Referring to fig. 4, step 160 can be specifically implemented by step 1601-1604.
Step 1601, if the mapping status is active and the mapping cache mapping exists, storing a mapping cache mapping record in the mapping cache mapping record table.
Specifically, if the mapping cache mapping record table determines that the mapping cache mapping exists on the target node, the mapping state at this time is determined, and if the mapping state at this time is an active (active) state, the mapping cache mapping record is attempted to be stored in the mapping cache mapping table.
Step 1602, if the mapping record of the image cache is successfully saved, setting a mark of the mapping operation as a third mark, and initiating an image cache mapping request to the compute node component;
specifically, if the mapping record is successfully stored in the mapping record table, because the second ID is formed by combining values of three fields, namely, a second mapping ID, a node name and a storage pool name, and the unique constraint is imposed, if the mapping record is successfully stored, it indicates that the mapping does not have cache mapping on the target node, and no other task exists that is mapping the mapping onto the target node, at this time, a flag is set for the mapping operation, and is marked as a third flag, and optionally, the third flag is marked as a map, and a mapping cache mapping request is initiated to the compute node component; it will be appreciated that the compute node components are used to implement image cache mapping.
Step 1603, if the mapping record of the mapping cache is not stored, setting a mark of the mapping operation as a fourth mark, and initiating a mapping cache mapping request to the computing node component;
if the mapping record of the image cache is stored in the mapping record table of the image cache fails, indicating that other operations are distributing the image cache to the target node, setting a mark for the mapping operation at this time, marking as a fourth mark, and optionally marking as check for the second mark, and initiating a mapping request of the image cache to the computing node component.
Step 1604, if there is no mapping cache mapping, determining whether the mapping cache mapping already exists in the target node again through the mapping cache mapping record table.
And if the mapping cache mapping record table judges that the mapping cache mapping does not exist on the target node, judging whether the mapping cache mapping exists on the target node again through the mapping cache mapping record table.
Step 170, after receiving the mapping request, the compute node component performs mapping according to a preset mapping rule.
Referring to FIG. 5, step 170 can be specifically implemented in step 1701-1703.
Step 1701, after receiving the mapping request of the mapping cache, the computing node component judges the mark of the mapping operation, and if the mark of the mapping operation is a third mark, mapping the mapping cache;
specifically, after receiving the mapping request of the image cache, the computing node component judges the mark of the mapping operation, and if the mark of the mapping operation is the third mark, the mapping operation is map, and normal mapping operation of the image cache is performed; optionally, the mapping operation of the image cache is: and mapping the RBD block equipment to the virtual machine operating system through the map command of the RBD block.
Step 1702, if the mapping operation is marked as a fourth mark, performing loop detection, and calling a mapping state through the control node until the mapping state is an active state, and feeding back to the control node that mapping of the mapping cache is successful;
optionally, if the mapping operation is marked as the fourth mark, and if the mapping operation is marked as check, performing loop detection, calling a synchronization message for obtaining the mapping state of the image cache to the control node, and feeding back to the control node that the image cache mapping is successful when the mapping state of the image cache is an active (active) state, so that the mount ISO process continues to execute the next step.
And step 1703, feeding back a mapping failure state of the mapping cache to the control node when the cycle detection time exceeds a preset threshold value, and entering a rollback state.
It can be understood that if the loop detection is overtime, that is, when the loop detection time exceeds the preset threshold, it indicates that the mapping of the shadow cache is not successful, a mapping failure status message is fed back to the shadow cache of the control node, and the mount ISO process enters a rollback state, that is, the rollback operation of the previous step is performed.
On the basis of the above embodiment, the method for implementing batch ISO creation of the CephX authenticated virtual machine may be further embodied as: after the computing node component receives the mapping request of the mapping cache, the computing node component performs mapping cache mapping according to a preset mapping cache mapping rule, and the method further comprises the following steps:
the configuration file of the virtual machine is modified by mapping the device path of the ISO cache.
For example, the related mount configuration is written into a configuration file of the virtual machine, and the optical disc is still mounted on the virtual machine after the virtual machine is restarted for one time.
The above steps are not performed in the exact order in which they are described, which should be understood as an overall solution.
On the basis of the foregoing embodiment, fig. 6 is a schematic structural diagram of an implementation apparatus for creating CephX authenticated virtual machines in batch ISO according to the embodiment of the present application. Referring to fig. 6, the image processing apparatus provided in this embodiment specifically includes: record table presetting module 301, image cache judging module 302, distribution request sending module 303, distribution cache executing module 304, image cache mapping judging module 305, mapping request sending module 306 and image cache mapping executing module 307.
The record table presetting module 301 is configured to preset a mapping cache record table and a mapping cache mapping record table of unique constraints, where the mapping cache record table is used to record a mapping cache in a target node, and the mapping cache mapping record table is used to record a mapping cache mapping in the target node; the image cache judging module 302 is configured to judge whether the target node already has an image cache according to the image cache record table; the distribution request sending module 303 is configured to store a record according to a determination result of the image cache and send an image distribution request to the mirror node component; the distribution cache execution module 304 is configured to perform image distribution caching according to a preset image distribution rule after the image node component receives the image distribution request; the mapping cache mapping determining module 305 is configured to determine whether a mapping cache mapping already exists in the target node according to the mapping cache mapping record table; the mapping request sending module 306 is configured to store a record according to a determination result of mapping of the mapping cache and send a mapping cache mapping request to the compute node component; the mapping cache mapping executing module 307 is configured to perform mapping cache mapping according to a preset mapping cache mapping rule after the computing node component receives the mapping cache mapping request.
Further, the distribution request sending module 303 includes: the system comprises a cache record storage unit, a first mark setting module, a second mark setting module and a mapping cache node judgment unit;
the cache record storage unit is used for storing the mapping cache record in the mapping cache record table if the mapping cache exists and the distribution state is an active state; the first mark setting module is used for setting a mark of a distribution operation as a first mark and initiating a mapping distribution request to a mirror image node component if the mapping cache record is successfully stored; the second mark setting module is used for setting a mark of the distribution operation as a second mark and initiating a mapping distribution request to the mirror image node component if the mapping cache record is failed to be stored; and the mapping cache node judging unit is used for judging whether the target node has mapping cache again through the mapping cache record table if the mapping cache does not exist.
Further, the distribution cache executing module 304 includes: the system comprises a distribution cache execution unit, a distribution cycle detection unit and a distribution rollback state unit;
the distribution cache execution unit is used for judging the mark of distribution operation after the mirror image node assembly receives the image distribution request, and if the mark of the distribution operation is a first mark, the image distribution cache is carried out; the distribution cycle detection unit is used for realizing cycle detection if the mark of the distribution operation is a second mark, calling a synchronous message of a distribution state through the control node, and feeding back the synchronous message to the control node to successfully cache and distribute the image until the distribution state is an active state; and the distribution rollback state unit is used for feeding back the mapping cache distribution failure state to the control node and entering a rollback state when the cycle detection time exceeds a preset threshold value.
Further, the mapping request sending module 306 includes: the system comprises a mapping cache record storage unit, a third mark setting module, a fourth mark setting module and a cache mapping node judgment unit;
the mapping cache record storage unit is used for storing mapping cache mapping records in a mapping cache mapping record table if mapping cache mapping exists and the mapping state is an active state; the third mark setting module is used for setting a mark of the mapping operation as a third mark and initiating a mapping request of the mapping cache to the computing node component if the mapping record of the mapping cache is successfully stored; the fourth mark setting module is used for setting a mark of the mapping operation as a fourth mark and initiating a mapping request of the mapping cache to the computing node component if the mapping record of the mapping cache is failed to be stored; and the cache mapping node judging unit is used for judging whether the target node has mapping cache mapping again through the mapping cache mapping record table if the mapping cache mapping does not exist.
Further, the image cache mapping execution module 307 includes: the device comprises a cache mapping execution unit, a mapping cycle detection unit and a mapping rollback state unit;
the cache mapping execution unit is used for judging the mark of the mapping operation after the computing node component receives the mapping request of the mapping cache, and if the mark of the mapping operation is a third mark, mapping the mapping cache;
the mapping cycle detection unit is used for carrying out cycle detection if the mark of the mapping operation is a fourth mark, calling the mapping state through the control node, and feeding back the mapping state to the control node that the mapping cache is successfully mapped until the mapping state is in an active state;
and the mapping rollback state unit is used for feeding back a mapping failure state of the mapping cache to the control node and entering a rollback state when the cycle detection time exceeds a preset threshold value.
Further, the image cache mapping execution module 307 is further configured to map the RBD block device to the virtual machine operating system through a map command of the RBD block.
Further, the method also comprises the following steps: a virtual machine disk configuration module for modifying a configuration file of a virtual machine by mapping an ISO cached device path.
The device for realizing batch ISO creation of CephX authenticated virtual machines provided by the embodiment of the application can be used for executing the method for realizing batch ISO creation of CephX authenticated virtual machines provided by the embodiment, and has corresponding functions and beneficial effects.
The mapping cache record table and the mapping cache mapping record table with the unique constraint are preset, mapping cache and record storage are carried out through the mapping cache record table, a mapping distribution request is initiated, and mapping distribution cache is carried out according to a preset mapping distribution rule; the mapping cache mapping is carried out and the record is stored through the mapping cache mapping record table, the mapping cache mapping request is initiated, and the mapping cache mapping is carried out according to the preset mapping cache mapping rule, so that the problem that the hot plug of the optical disc is not supported when the CephX authentication is used is solved, and the concurrent execution on the same ISO and node is realized, thereby achieving the effect of batch execution.
The embodiment of the present application further provides a storage medium containing computer-executable instructions, where the computer-executable instructions, when executed by a computer processor, are configured to perform an implementation method for creating a CephX certified virtual machine in a batch ISO, where the implementation method for creating a CephX certified virtual machine in a batch ISO includes: presetting a mapping cache record table and a mapping cache mapping record table of unique constraint, wherein the mapping cache record table is used for recording mapping cache in a target node, and the mapping cache mapping record table is used for recording mapping cache mapping in the target node; judging whether the target node has a mapping cache or not through the mapping cache record table; storing records according to the judgment result of the mapping cache and initiating a mapping distribution request to the mirror node component; after receiving the image distribution request, the image node component performs image distribution caching according to a preset image distribution rule; judging whether the target node has mapping of the mapping cache or not through the mapping cache mapping record table; storing a record according to the judgment result of the mapping cache and initiating a mapping cache mapping request to the computing node component; and after receiving the mapping request of the mapping cache, the computing node component carries out mapping cache mapping according to a preset mapping cache mapping rule.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDRRAM, SRAM, EDORAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application includes computer-executable instructions, and the computer-executable instructions are not limited to the implementation method for creating a CephX authenticated virtual machine in a batch ISO as described above, and may also perform related operations in the implementation method for creating a CephX authenticated virtual machine in a batch ISO as provided in any embodiment of the present application.
The apparatus, the storage medium, and the computer device for implementing batch creating of CephX certified virtual machines according to ISO provided in the foregoing embodiments may execute the method for implementing batch creating of CephX certified virtual machines according to ISO provided in any embodiment of the present application, and reference may be made to the method for implementing batch creating of CephX certified virtual machines according to ISO provided in any embodiment of the present application without detailed technical details described in the foregoing embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (10)

1. A method for realizing batch ISO creation of CephX authentication virtual machines is characterized by comprising the following steps:
presetting a mapping cache record table and a mapping cache mapping record table of unique constraint, wherein the mapping cache record table is used for recording mapping cache in a target node, and the mapping cache mapping record table is used for recording mapping cache mapping in the target node;
judging whether the target node has a mapping cache or not through the mapping cache record table;
storing records according to the judgment result of the mapping cache and initiating a mapping distribution request to the mirror node component;
after receiving the image distribution request, the image node component performs image distribution caching according to a preset image distribution rule;
judging whether the target node has mapping of the mapping cache or not through the mapping cache mapping record table;
storing a record according to the judgment result of the mapping cache and initiating a mapping cache mapping request to the computing node component;
and after receiving the mapping request of the mapping cache, the computing node component carries out mapping cache mapping according to a preset mapping cache mapping rule.
2. The method for realizing batch ISO CephX certification virtual machine creation according to claim 1, wherein the saving of the record according to the judgment result of the image cache and the initiation of the image distribution request to the mirror node component include:
if the mapping cache exists and the distribution state is an active state, storing a mapping cache record in a mapping cache record table;
if the image cache record is successfully stored, setting a mark of the distribution operation as a first mark, and initiating an image distribution request to the mirror image node component;
if the image cache record is failed to be stored, setting a mark of the distribution operation as a second mark, and initiating an image distribution request to the mirror image node component;
and if the mapping cache does not exist, judging whether the target node has the mapping cache again through the mapping cache record table.
3. The method for realizing batch ISO CephX certification virtual machine creation according to claim 2, wherein the image node component performs image distribution caching according to a preset image distribution rule after receiving the image distribution request, and the method comprises:
after receiving the image distribution request, the mirror image node component judges the mark of the distribution operation, and if the mark of the distribution operation is a first mark, the image distribution caching is carried out;
if the mark of the distribution operation is a second mark, carrying out cycle detection, calling a synchronous message of the distribution state through the control node, and feeding back the synchronous message of the distribution state to the control node until the distribution state is an active state, wherein the image cache of the control node is successfully distributed;
and when the cycle detection time exceeds a preset threshold value, feeding back a mapping cache distribution failure state to the control node, and entering a rollback state.
4. The method for realizing batch ISO CephX certification virtual machine creation according to claim 1, wherein the saving of the record according to the judgment result of the mapping and the initiation of the mapping request to the compute node component include:
if the mapping state is active, storing a mapping cache mapping record in a mapping cache mapping record table;
if the mapping record of the mapping operation is successfully stored, setting a mark of the mapping operation as a third mark, and initiating a mapping request of the mapping operation to the computing node component;
if the mapping record of the mapping operation is failed to be stored, setting a mark of the mapping operation as a fourth mark, and initiating a mapping request of the mapping operation to the computing node component;
and if the mapping cache mapping does not exist, judging whether the mapping cache mapping already exists in the target node again through the mapping cache mapping record table.
5. The method for realizing batch ISO CephX certification virtual machine creation according to claim 4, wherein the step of mapping the image cache according to a preset mapping rule of the image cache after the computing node component receives the mapping request of the image cache comprises the following steps:
after receiving the mapping request of the mapping cache, the computing node component judges the mark of the mapping operation, and if the mark of the mapping operation is a third mark, mapping the mapping cache;
if the mark of the mapping operation is a fourth mark, carrying out cycle detection, calling a mapping state through the control node, and feeding back to the control node that the mapping cache is successfully mapped until the mapping state is an active state;
and when the cycle detection time exceeds a preset threshold value, feeding back a mapping failure state of the mapping cache to the control node, and entering a rollback state.
6. The method for realizing batch ISO creation of CephX certified virtual machines according to claim 1, wherein the image cache record table comprises six fields of a first ID, a first image ID, a storage target, a storage type, a distribution state and a resource type; the first ID is a unique constraint field, and is formed by combining values of four fields of the first image ID, the storage target, the storage type and the resource type;
the mapping record table of the image cache comprises six fields of a second ID, a second image ID, a node name, a storage pool name, a mapping path and a mapping state; the second ID is a unique constraint field, and is formed by combining values of three fields of an image ID, a node name and a storage pool name.
7. The method for realizing batch ISO CephX certification virtual machine creation according to claim 1, wherein the mapping the image cache comprises:
and mapping the RBD block equipment to the virtual machine operating system through the map command of the RBD block.
8. The method for realizing batch ISO CephX certification virtual machine creation according to claim 1, wherein after the computing node component receives the mapping request of the image cache and performs the mapping of the image cache according to a preset mapping rule of the image cache, the method further comprises:
the configuration file of the virtual machine is modified by mapping the device path of the ISO cache.
9. An implementation apparatus for batch ISO creation of CephX authentication virtual machines, comprising:
the system comprises a record table presetting module, a mapping cache module and a mapping cache module, wherein the record table presetting module is used for presetting a mapping cache record table and a mapping cache mapping record table of unique constraint, the mapping cache record table is used for recording mapping cache in a target node, and the mapping cache mapping record table is used for recording mapping cache in the target node;
the mapping cache judging module is used for judging whether the target node has mapping cache or not through the mapping cache record table;
the distribution request sending module is used for saving records according to the judgment result of the mapping cache and sending a mapping distribution request to the mirror image node component;
the distribution cache execution module is used for carrying out image distribution cache according to a preset image distribution rule after the image node component receives the image distribution request;
the mapping cache mapping judging module is used for judging whether the target node has mapping cache mapping or not through the mapping cache mapping record table;
the mapping request sending module is used for saving records according to the judgment result of mapping of the mapping cache and sending a mapping cache mapping request to the computing node component;
and the mapping cache mapping execution module is used for mapping the mapping cache according to a preset mapping cache mapping rule after the computing node component receives the mapping cache mapping request.
10. A storage medium containing computer-executable instructions for performing a method for batch ISO creation of CephX certified virtual machines according to any one of claims 1 to 8 when executed by a computer processor.
CN202011626993.5A 2020-12-30 2020-12-30 Implementation method and device for creating CephX authentication virtual machines by batch ISO Active CN112631732B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011626993.5A CN112631732B (en) 2020-12-30 2020-12-30 Implementation method and device for creating CephX authentication virtual machines by batch ISO
PCT/CN2021/085465 WO2022141922A1 (en) 2020-12-30 2021-04-02 Method and apparatus for implementing batch iso creation of cephx authentication virtual machines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011626993.5A CN112631732B (en) 2020-12-30 2020-12-30 Implementation method and device for creating CephX authentication virtual machines by batch ISO

Publications (2)

Publication Number Publication Date
CN112631732A true CN112631732A (en) 2021-04-09
CN112631732B CN112631732B (en) 2024-03-29

Family

ID=75290025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011626993.5A Active CN112631732B (en) 2020-12-30 2020-12-30 Implementation method and device for creating CephX authentication virtual machines by batch ISO

Country Status (2)

Country Link
CN (1) CN112631732B (en)
WO (1) WO2022141922A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419535A (en) * 2008-11-19 2009-04-29 北京航空航天大学 Distributed virtual magnetic disc system of virtual machine
CN102307207A (en) * 2010-09-25 2012-01-04 广东电子工业研究院有限公司 System and method for online customizing virtual machine image
US20140013322A1 (en) * 2012-07-05 2014-01-09 International Business Machines Corporation Virtual machine image distribution network
CN105573679A (en) * 2015-12-18 2016-05-11 国云科技股份有限公司 Method suitable for storage pool resource mapping rule of distributed storage system
US20190042424A1 (en) * 2017-08-07 2019-02-07 Sreekumar Nair Method and system for storage virtualization
CN111638855A (en) * 2020-06-03 2020-09-08 山东汇贸电子口岸有限公司 Method for physical bare computer to support Ceph back-end volume
CN111831399A (en) * 2020-07-21 2020-10-27 浪潮云信息技术股份公司 Data synchronization method and system of shared disk based on Ceph storage back-end volume

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101482014B1 (en) * 2012-05-11 2015-01-14 네이버 주식회사 File cache system and method using allocation table and system and method for distributing file cache application
US9081682B2 (en) * 2012-10-15 2015-07-14 Red Hat Israel, Ltd. Virtual machine installation image caching
CN105573820A (en) * 2015-12-15 2016-05-11 国云科技股份有限公司 Hot plug method for Xen virtual machine compact disc
CN106095527A (en) * 2016-06-07 2016-11-09 国云科技股份有限公司 A kind of storage pool implementation method being applicable to cloud platform virtual machine
CN107329704B (en) * 2017-06-30 2020-03-24 杭州宏杉科技股份有限公司 Cache mirroring method and controller
CN107634853A (en) * 2017-08-28 2018-01-26 深圳市云舒网络技术有限公司 A kind of customizable distributed caching method based on object storage

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419535A (en) * 2008-11-19 2009-04-29 北京航空航天大学 Distributed virtual magnetic disc system of virtual machine
CN102307207A (en) * 2010-09-25 2012-01-04 广东电子工业研究院有限公司 System and method for online customizing virtual machine image
US20140013322A1 (en) * 2012-07-05 2014-01-09 International Business Machines Corporation Virtual machine image distribution network
CN105573679A (en) * 2015-12-18 2016-05-11 国云科技股份有限公司 Method suitable for storage pool resource mapping rule of distributed storage system
US20190042424A1 (en) * 2017-08-07 2019-02-07 Sreekumar Nair Method and system for storage virtualization
CN111638855A (en) * 2020-06-03 2020-09-08 山东汇贸电子口岸有限公司 Method for physical bare computer to support Ceph back-end volume
CN111831399A (en) * 2020-07-21 2020-10-27 浪潮云信息技术股份公司 Data synchronization method and system of shared disk based on Ceph storage back-end volume

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
M D POAT ET AL.: "Performance and Advanced Data Placement Techniques with Ceph\'s Distributed Storage System", 《 JOURNAL OF PHYSICS: CONFERENCE SERIES》 *
刘飞 等: "异构存储感知的Ceph存储系统数据放置方法", 《计算机科学》 *
张小庆;贺忠堂;李春林;张恒喜;钱琼芬;: "云计算系统中数据中心的节能算法研究", 计算机应用研究, no. 04 *
熊刚;季统凯: "工业云操作系统的自主研制", 《自动化博览》 *

Also Published As

Publication number Publication date
WO2022141922A1 (en) 2022-07-07
CN112631732B (en) 2024-03-29

Similar Documents

Publication Publication Date Title
US9426147B2 (en) Protected device management
US9092632B2 (en) Platform firmware armoring technology
TWI536264B (en) Method and system for swapping contexts used to create a secure operating environment
US9535828B1 (en) Leveraging non-volatile memory for persisting data
JP5981035B2 (en) Hardware access protection
CN108073823B (en) Data processing method, device and system
CN109669822B (en) Electronic device, method for creating backup storage pool, and computer-readable storage medium
CN112835733A (en) Self-service equipment service processing method and device and self-service equipment
CN110334531B (en) Virtual machine key management method, master node, system, storage medium and device
CN112099904B (en) Nested page table management method and device of virtual machine, processor chip and server
WO2023016414A1 (en) Credential rotation method, computing device, and storage medium
BR112014031586B1 (en) SYSTEM TO EMULATE A RELIABLE EXECUTION ENVIRONMENT AND COMPUTER STORAGE MEDIA
WO2019037521A1 (en) Security detection method, device, system, and server
US11868476B2 (en) Boot-specific key access in a virtual device platform
US20210294910A1 (en) Systems and methods for protecting a folder from unauthorized file modification
CN112631732B (en) Implementation method and device for creating CephX authentication virtual machines by batch ISO
CN111414610A (en) Method and device for determining database verification password
WO2016197850A1 (en) Method and apparatus for accessing privacy data in physical memory of electronic device
US9058503B2 (en) Systems and methods for secure storage on a mobile device
CN115576626A (en) Method, device and storage medium for safe mounting and dismounting of USB (Universal Serial bus) device
CN109189425A (en) A kind of management method of BMC, management system and relevant apparatus
US20210345101A1 (en) LiFi Location Services as a Prerequisite to System Activation
CN114070856A (en) Data processing method, device and system, operation and maintenance auditing equipment and storage medium
US20240095338A1 (en) Isolated runtime environments for securing secrets used to access remote resources from compute instances
CN110990120B (en) Inter-partition communication method and device for virtual machine monitor, storage medium and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant