CN111880907A - Method for starting virtual machine by utilizing ISO (International organization for standardization) aiming at OpenStack platform - Google Patents

Method for starting virtual machine by utilizing ISO (International organization for standardization) aiming at OpenStack platform Download PDF

Info

Publication number
CN111880907A
CN111880907A CN202010770604.XA CN202010770604A CN111880907A CN 111880907 A CN111880907 A CN 111880907A CN 202010770604 A CN202010770604 A CN 202010770604A CN 111880907 A CN111880907 A CN 111880907A
Authority
CN
China
Prior art keywords
virtual machine
file
volume
iso
mode
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.)
Pending
Application number
CN202010770604.XA
Other languages
Chinese (zh)
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.)
Inspur Cloud Information Technology Co Ltd
Original Assignee
Inspur Cloud Information 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 Inspur Cloud Information Technology Co Ltd filed Critical Inspur Cloud Information Technology Co Ltd
Priority to CN202010770604.XA priority Critical patent/CN111880907A/en
Publication of CN111880907A publication Critical patent/CN111880907A/en
Pending legal-status Critical Current

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
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • 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/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • 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/45575Starting, stopping, suspending or resuming virtual machine instances

Abstract

The invention discloses a method for starting a virtual machine by utilizing ISO (International organization for standardization) aiming at an OpenStack platform, which relates to the technical field of ISO optical disk files and comprises the following steps: the user transmits the ISO optical disk file/ISO optical disk file and the drive file to the host machine through the file transmission tool; by calling a command line or API: 1) creating a blank Volume with the source of an ISO optical disk file in a Volume column of an OpenStack console, and starting a virtual machine in a Volume mode; 2) logging in the started virtual machine, installing the custom plug-in according to the requirement, and closing the virtual machine after the installation is finished; 3) automatically generating a mirror Image file template in an Image field of an openstack console; 4) and separating the volume with the image file template, starting another virtual machine by the volume, downloading the image file template on the other virtual machine, and transmitting the image file template to the user machine through a file transmission tool. The method can lead the ISO optical disk files in the local or other cloud disks into the mirror image warehouse, customize the virtual machine and ensure the realization of user requirements.

Description

Method for starting virtual machine by utilizing ISO (International organization for standardization) aiming at OpenStack platform
Technical Field
The invention relates to the technical field of OpenStack, in particular to a method for starting a virtual machine by utilizing ISO (International organization for standardization) aiming at an OpenStack platform.
Background
Cloud computing is a service related to information technology, software and the internet, and takes the internet as a center, and provides fast and safe cloud computing service and data storage on a website, so that every person using the internet can use huge computing resources and data centers on the network. The core of cloud computing is that many computer resources can be coordinated together, so that a user can acquire infinite resources through a network, and the acquired resources are not limited by time and space.
Openstack is an open source project aimed at providing software for the construction and management of public and private clouds. OpenStack covers various aspects of networking, virtualization, operating systems, servers, and so on. OpenStack provides scalable and resilient cloud computing services for private and public clouds. The project aims to provide a cloud computing management platform which is simple to implement, can be expanded in a large scale, is rich and has a unified standard.
Based on this, in order to better meet the requirement of creating a virtual machine by user customization and avoid the constraint of users in the existing mirror image files such as QCOW2, a method for starting the virtual machine by using ISO is designed for the OpenStack platform, and user privatization is realized.
Disclosure of Invention
Aiming at the requirements and the defects of the prior art development, the invention provides a method for starting a virtual machine by utilizing ISO (International organization for standardization) on an OpenStack platform, so that a user has the authority to provide an ISO optical disk file, transparently installs custom software, customizes custom configuration, supplements a custom security plug-in, autonomously realizes the process of creating the virtual machine and ensures the full realization of the user requirements no matter in a Linux operating system or a Windows operating system.
The invention discloses a method for starting a virtual machine by utilizing ISO (International organization for standardization) aiming at an OpenStack platform, which adopts the following technical scheme for solving the technical problems:
a method for starting a virtual machine by utilizing ISO aiming at an OpenStack platform comprises the following implementation contents:
(1) the user transmits the ISO optical disk file/ISO optical disk file and the drive file to the host machine through the file transmission tool;
(2) creating a blank Volume with the source of the ISO optical disk file in a Volume column of an OpenStack console by calling a command line or an API (application program interface) mode, and starting a virtual machine in a Volume starting mode;
(3) logging in the started virtual machine, installing the custom plug-in according to the requirement by calling a command line or an API mode, and closing the virtual machine after the installation is finished;
(4) automatically generating an Image file template in a Raw format or a Qcow2 format in an Image field of an openstack console by calling a command line or an API (application programming interface) mode;
(5) and separating and generating a volume with the image file template by calling a command line or an API (application program interface), starting another virtual machine by the volume, downloading the image file template on the other virtual machine through a wide image-download command, and transmitting the image file template to the user machine through a file transmission tool.
Optionally, a blank Volume from the ISO optical disc file is created in the Volume column of the OpenStack console by calling a command line or an API, and the virtual machine is started in a Volume starting manner, in the process,
(2.1) when calling the command line, needing to specify the volume size, the available domain available-zone, the volume type and the bootable disk bootable, or adopting a POST request mode to create a blank volume by using an ISO optical disk file when calling the API mode;
(2.2) when the command line is called, the uuid of the volume, the dimension of the specification, the available domain availability-zone and the uuid of the network are required to be specified, or when the API mode is called, the virtual machine is started in a volume starting mode by adopting a POST request mode.
Further optionally, step (3) is performed, and after the virtual machine is closed, the virtual machine may be unloaded by calling the command line.
Further optionally, in the process of automatically generating the image file template by calling a command line or an API,
when the command line is called, uuid of volume, dimension or, available domain, and uuid of network need to be specified, or, when the API mode is called, a POST request mode is adopted to generate a mirror image file template.
Further optionally, the volume with the image file template is generated separately by calling a command line or an API manner, and another virtual machine is started with the volume, in the process,
(5.1) when calling the API mode, adopting a DELETE request mode to separately generate a volume with the mirror image file template;
(5.2) when the command line is called, the uuid of the volume, the dimension of the specification, the available domain availability-zone and the uuid of the network are required to be specified, or when the API mode is called, a POST request mode is adopted, and another virtual machine is started in a volume starting mode.
Further optionally, for a Linux system, the ISO optical disc file is a Linux ISO optical disc file, and the user transmits the Linux ISO optical disc file to the host through an xftp file transmission tool.
Further optionally, for the Windows system, the ISO disc file is a Windows ISO disc file, and at this time,
the user transmits the Windows ISO optical disc file and virtio driver file to the host computer through the xftp file transfer tool,
and prompting to load the PCI equipment and the network equipment in the virtio drive file in the process of starting the virtual machine in a volume starting mode.
Further optionally, in the process that the user transmits the ISO disc file/ISO disc file and the drive file to the host through the file transmission tool, it is necessary to specify an image type disk-format, a container type container-format, a public image-public, and an upload image path file.
Further alternatively, the specification size of the blank volume must be larger than the specification sizes of the ISO/ISO optical disc file and the drive file.
Compared with the prior art, the method for starting the virtual machine by utilizing the ISO for the OpenStack platform has the beneficial effects that:
1) the method of the invention is in Linux operating system, or in Windows operating system, users have the authority to provide ISO CD file, install custom software transparently, customize custom configuration, supplement custom security plug-in, realize the procedure of creating the virtual machine autonomously, have guaranteed the abundant realization of the user's demand;
2) the method can lead the ISO optical disk files in local or other cloud disks into the mirror image warehouse, and customize the virtual machine, so that a user can avoid the process of generating a QCOW2 or RAW mirror image template, directly and autonomously install the optical disk files, simultaneously abandon the pre-support plug-in and the basic configuration in the cloud platform standard template, and transparently install the self-defined plug-in as the user wants.
Drawings
FIG. 1 is a flow chart of an embodiment of the present invention for generating a Linux image file template;
FIG. 2 is a flowchart of generating a Windows image file template according to a second embodiment of the present invention.
Detailed Description
In order to make the technical scheme, the technical problems to be solved and the technical effects of the present invention more clearly apparent, the following technical scheme of the present invention is clearly and completely described with reference to the specific embodiments.
The first embodiment is as follows:
with reference to fig. 1, this embodiment provides a method for starting a virtual machine by using ISO for an OpenStack platform, where the implementation content of the method includes:
(1) and the user transmits the Linux ISO optical disk file to the host machine through the xftp file transmission tool.
In this embodiment, taking a CentOS 7.2 system as an example, in the process of transmitting a Linux ISO disc file, an image type disk-format needs to be specified, a container type container-format needs to be specified, a public image-public needs to be specified, a path file for uploading an image needs to be specified, and the execution codes are as follows:
openstack image create\
--disk-format iso--container-format bare\
--public\
--file./CentOS-7.2-x86_64-Minimal-1511.iso\
CentOS-7.2-x86_64-Minimal-1511iso
at this time, the ISO optical disc file name, MD5 value and size are specifically:
CentOS-7.2-x86_64-Minimal-1511iso 7f81c165-ac3a-4395-91c1-c46507769a73 603MB
(2) and creating a blank Volume with the source of the ISO optical disk file in a Volume column of the OpenStack console by calling a command line or an API (application program interface) mode, and starting the virtual machine in a Volume starting mode. In the course of this process, the process,
(2.1) when the command line is called, the volume size, the available domain available-zone, the volume type and the bootable disk bootable need to be specified, and the specification size of the blank volume needs to be larger than that of the Linux ISO optical disk file.
The code implementation and feedback results are as follows:
Figure BDA0002616464680000051
or, when calling the API mode, a POST request mode is adopted, a blank volume is created with a Linux ISO disc file, and the code implementation is as follows:
(1)
URL:
http://*.*.*.*:8776/v2/9bff4086e23648fa8b2e70eb61e12dda/volumes
the request mode comprises the following steps:
POST mode
A request body:
Figure BDA0002616464680000061
a returning body:
Figure BDA0002616464680000062
Figure BDA0002616464680000072
(2)
URL:
http://*.*.*.*:8776/v2/9bff4086e23648fa8b2e70eb61e12dda/volumes/cd98f871-f741-4527-b3bd-23b 888c46173/action
the request mode comprises the following steps:
OST mode
A request body:
Figure BDA0002616464680000071
a returning body:
none.
(2.2) when the command line is called, the uuid of the volume, the specification size of the navigator, the available domain availability-zone and the uuid of the network are required to be specified, when the API mode is called, a POST request mode is adopted, the virtual machine is started in a volume starting mode, namely, the empty volume is connected to the virtual machine, at the moment, the uuid of the virtual machine and the uuid of the volume are added behind the command openstack addvolume, and the code implementation and feedback results are as follows:
openstack server\
add volume f488ccae-0c87-4d1c-83bc-e5986a4aa1b6\
cd98f871-f741-4527-b3bd-23b888c46173
or when calling the API mode, adopting a POST request mode and starting the virtual machine in a volume starting mode, wherein the code is realized as follows:
URL:
http://*.*.*.*:8774/v2.1/servers/f488ccae-0c87-4d1c-83bc-e5986a4aa1b6/os-volume_attachments
calling mode:
POST mode
A request body:
Figure BDA0002616464680000082
a returning body:
Figure BDA0002616464680000081
(3) and logging in the started virtual machine, installing the user-defined plug-in according to the requirement by calling a command line or an API (application program interface), and closing the virtual machine after the installation is finished.
The virtual machine may then be unloaded by calling the command line, and this unloading process may not be performed.
(4) Through calling a command line or an API mode, a Linux Image file template in a Raw format or a Qcow2 format is automatically generated in the Image field of the openstack console, and in the process,
when the command line is called, the uuid of the volume, the specification size fluor, the available domain availability-zone and the uuid of the network need to be specified, at this time, the command openstack image create represents that a new image file is created through the volume, and the implementation codes are as follows:
openstack image create\
--force--volume cd98f871-f741-4527-b3bd-23b888c46173\
dr-centos72-volume-convert-image
or when calling the API mode, adopting a POST request mode, and realizing the following codes:
URL:
http://*.*.*.*:8776/v2/9bff4086e23648fa8b2e70eb61e12dda/volumes/cd98f871-f741-4527-b3bd-23b 888c46173/action
the request mode comprises the following steps:
POST mode
A request body:
Figure BDA0002616464680000091
a returning body:
none.
(5) Separating and generating a volume with a Linux image file template by calling a command line or an API mode, starting another virtual machine by the volume, downloading the Linux image file template on the other virtual machine through a work image-download command, transmitting the Linux image file template to a user machine through an xftp file transmission tool, in the process,
(5.1) when calling the API mode, adopting a DELETE request mode to separately generate a volume with a Linux image file template, and realizing the following codes:
openstack server\
emove volume 385e187c-fa57-42f5-b48b-f3d9ed5be614\
7249e05a-7935-432c-9212-b6d60582e086
wherein the command openstack server remove volume represents the unloading of the virtual machine and volume connection.
URL:
http://*.*.*.*:8774/v2.1/servers/385e187c-fa57-42f5-b48b-f3d9ed5be614/os-volume_attachments/72 49e05a-7935-432c-9212-b6d60582e086
The request mode comprises the following steps:
ELETE mode
No request body and return body.
(5.2) in the process of starting another virtual machine in a volume starting mode, when a command line is called, the uuid of the volume, the specification size viewer, the available domain availability-zone and the uuid of the network are required to be specified, and the implementation codes are as follows:
openstack server create\
--volume cd98f871-f741-4527-b3bd-23b888c46173\
--flavor 47e2d941-5f5d-4027-812c-8610ee866fac\
--availability-zone cn-north-3a\
--network 04dd8b7b-02cb-4555-843a-06166bb7584f\
dr-centos72-system-new
or, when calling API mode, adopting POST request mode,
URL:
http://*.*.*.*:8774/v2.1/os-volumes_boot
the request mode comprises the following steps:
POST mode
A request body:
Figure BDA0002616464680000101
a returning body:
Figure BDA0002616464680000102
Figure BDA0002616464680000111
example two:
with reference to fig. 2, this embodiment provides a method for starting a virtual machine by using ISO for an OpenStack platform, where the implementation content of the method includes:
(1) and the Windows ISO optical disk file and the virtio driver file of the user are transmitted to the host machine through the xftp file transmission tool.
In the process of transmitting the Windows ISO disc file and the virtio drive file, an image type disk-format, a container type container-format, a public image-public, and a path file for uploading an image need to be specified, and the execution codes are as follows:
openstack image create\
--disk-format iso\
--container-format bare\
--public\
--file./virtio-win-0.1.171.iso virtio-win-0.1.171-iso\
#virtio-win-0.1.171-iso 88f08946-84be-453c-a4fe-dc7fc82e447b\
openstack image create\
--disk-format iso\
--container-format bare\
--public--file./windows_2012_R2_64Bit.iso windows_2012_R2_64Bit-iso\
#windows_2012_R2_64Bit-iso 25a253c3-7388-4cf5-bdec-f68e941e457f\
(2) and creating a blank Volume with the source of the ISO optical disk file in a Volume column of the OpenStack console by calling a command line or an API (application program interface) mode, and starting the virtual machine in a Volume starting mode. In the course of this process, the process,
(2.1) when the command line is called, the volume size, the available domain available-zone, the volume type and the bootable disk bootable need to be specified, and the specification size of the blank volume needs to be larger than that of the Linux ISO optical disk file.
The code implementation and feedback results are as follows:
Figure BDA0002616464680000121
Figure BDA0002616464680000131
or, when calling the API mode, a POST request mode is adopted, a blank volume is created with a Linux ISO disc file, and the code implementation is as follows:
(1)
URL:
http://*.*.*.*:8776/v2/9bff4086e23648fa8b2e70eb61e12dda/volumes
calling mode:
POST mode
A request body:
Figure BDA0002616464680000132
a returning body:
Figure BDA0002616464680000141
(2)
URL:
http://*.*.*.*:8776/v2/9bff4086e23648fa8b2e70eb61e12dda/volumes/7249e05a-7935-432c-9212-b6 d60582e086/action
calling mode:
POST mode
A request body:
Figure BDA0002616464680000142
Figure BDA0002616464680000151
a returning body:
none.
And (2.2) prompting the loading of the PCI equipment and the network equipment in the virtio driver file in the process of starting the virtual machine in the volume starting mode. When the command line is called, a nova boot command is used, an ISO file is required to be designated as a system disk image, a specification size navigator is required, a network nic uuid is designated, block and device respectively designate a virtual file and a volume file uuid, and the code is realized as follows:
Figure BDA0002616464680000152
or when calling the API mode, adopting a POST request mode and starting the virtual machine in a volume starting mode, wherein the code is realized as follows:
URL:
http://*.*.*.*:8774/v2.1/os-volumes_boot
calling mode:
POST mode
A request body:
Figure BDA0002616464680000153
Figure BDA0002616464680000161
a returning body:
Figure BDA0002616464680000162
Figure BDA0002616464680000171
(3) and logging in the started virtual machine, installing the user-defined plug-in according to the requirement by calling a command line or an API (application program interface), and closing the virtual machine after the installation is finished.
Subsequently, the virtual machine can be unloaded by calling a command line, at this time, the openstack server removevolume represents unloading the virtual machine and volume connection, and the code is implemented as follows:
openstack server\
emove volume 385e187c-fa57-42f5-b48b-f3d9ed5be614\
7249e05a-7935-432c-9212-b6d60582e086
an API mode and a POST request mode can be adopted, and the following codes are realized:
URL:
http://*.*.*.*:8774/v2.1/servers/385e187c-fa57-42f5-b48b-f3d9ed5be614/os-volume_attachments/72 49e05a-7935-432c-9212-b6d60582e086
the request mode comprises the following steps:
DELETE mode
No request body and return body.
Of course, this unloading process may not be performed.
(4) By calling a command line or an API mode, a Windows Image file template in a Raw format or a Qcow2 format is automatically generated in the Image field of the openstack console, and in the process,
when the command line is called, the uuid of the volume, the dimension navigator, the available domain availability-zone and the uuid of the network need to be specified, and the implementation codes are as follows:
openstack image create\
--volume 7249e05a-7935-432c-9212-b6d60582e086\
dr-windows2012-volume-convert-image
or when calling the API mode, adopting a POST request mode, and realizing the following codes:
URL:
http://*.*.*.*:8776/v2/9bff4086e23648fa8b2e70eb61e12dda/volumes/cd98f871-f741-4527-b3bd-23b 888c46173/action
the request mode comprises the following steps:
OST mode
A request body:
Figure BDA0002616464680000181
a returning body:
(5) separating and generating a volume with a Windows image file template by calling a command line or an API mode, starting another virtual machine by the volume, downloading the Windows image file template on the other virtual machine through a work image-download command, transmitting the Windows image file template to a user machine through an xftp file transmission tool, in the process,
(5.1) when calling API mode, adopting DELETE request mode, separating and generating the volume with Windows image file template, and realizing the following codes:
openstack server\
remove volume 385e187c-fa57-42f5-b48b-f3d9ed5be614\
7249e05a-7935-432c-9212-b6d60582e086
wherein the command openstack server remove volume represents the unloading of the virtual machine and volume connection.
URL:
http://*.*.*.*:8774/v2.1/servers/385e187c-fa57-42f5-b48b-f3d9ed5be614/os-volume_attachments/72 49e05a-7935-432c-9212-b6d60582e086
The request mode comprises the following steps:
DELETE mode
A requesting entity and a returning entity.
(5.2) in the process of starting another virtual machine in a volume starting mode, when a command line is called, the uuid of the volume, the specification size viewer, the available domain availability-zone and the uuid of the network are required to be specified, and the implementation codes are as follows:
openstack server create\
--network e563a946-7cda-45cd-a004-aeb9af3333b5\
--flavor a6740b4b-4a77-40de-b630-7cb40444051f\
--volume 7249e05a-7935-432c-9212-b6d60582e086\
dr-windows2012-system-new
or, when calling API mode, adopting POST request mode,
URL:
http://*.*.*.*:8774/v2.1/os-volumes_boot
the method comprises the following steps:
POST mode
A request body:
Figure BDA0002616464680000191
a returning body:
Figure BDA0002616464680000192
Figure BDA0002616464680000201

Claims (9)

1. a method for starting a virtual machine by utilizing ISO aiming at an OpenStack platform is characterized in that the implementation content of the method comprises the following steps:
(1) the user transmits the ISO optical disk file/ISO optical disk file and the drive file to the host machine through the file transmission tool;
(2) creating a blank Volume with the source of the ISO optical disk file in a Volume column of an OpenStack console by calling a command line or an API (application program interface) mode, and starting a virtual machine in a Volume starting mode;
(3) logging in the started virtual machine, installing the custom plug-in according to the requirement by calling a command line or an API mode, and closing the virtual machine after the installation is finished;
(4) automatically generating an Image file template in a Raw format or a Qcow2 format in an Image field of an openstack console by calling a command line or an API (application programming interface) mode;
(5) and separating and generating a volume with the image file template by calling a command line or an API (application program interface), starting another virtual machine by the volume, downloading the image file template on the other virtual machine through a wide image-download command, and transmitting the image file template to the user machine through a file transmission tool.
2. The method of claim 1, wherein a blank Volume originating from the ISO CD file is created in the Volume column of OpenStack console by calling command line or API method, and the virtual machine is started in Volume start mode, in the process,
(2.1) when calling the command line, needing to specify the volume size, the available domain available-zone, the volume type and the bootable disk bootable, or adopting a POST request mode to create a blank volume by using an ISO optical disk file when calling the API mode;
(2.2) when the command line is called, the uuid of the volume, the dimension of the specification, the available domain availability-zone and the uuid of the network are required to be specified, or when the API mode is called, the virtual machine is started in a volume starting mode by adopting a POST request mode.
3. The method for starting a virtual machine by using ISO for OpenStack platform according to claim 1, wherein step (3) is performed, and after the virtual machine is closed, the virtual machine can be unloaded by calling a command line.
4. The method for starting a virtual machine by using ISO for OpenStack platform according to claim 1, wherein in the process of automatically generating the image file template by calling a command line or API manner,
when the command line is called, uuid of volume, dimension or, available domain, and uuid of network need to be specified, or, when the API mode is called, a POST request mode is adopted to generate a mirror image file template.
5. The method for starting a virtual machine by utilizing ISO for OpenStack platform according to claim 1, wherein the volume with the image file template is generated separately by calling command line or API manner, and another virtual machine is started by the volume, in the process,
(5.1) when calling the API mode, adopting a DELETE request mode to separately generate a volume with the mirror image file template;
(5.2) when the command line is called, the uuid of the volume, the dimension of the specification, the available domain availability-zone and the uuid of the network are required to be specified, or when the API mode is called, a POST request mode is adopted, and another virtual machine is started in a volume starting mode.
6. The method for starting a virtual machine by using ISO for OpenStack platform according to any one of claims 1 to 5, wherein for Linux system, the ISO optical disk file is Linux ISO optical disk file, and the user transmits Linux ISO optical disk file to the host through an xftp file transmission tool.
7. Method for starting a virtual machine using ISO for OpenStack platform according to any of claims 1-5, wherein for Windows system, the ISO optical disk file is a Windows ISO optical disk file, and when,
the user transmits the Windows ISO optical disc file and virtio driver file to the host computer through the xftp file transfer tool,
and prompting to load the PCI equipment and the network equipment in the virtio drive file in the process of starting the virtual machine in a volume starting mode.
8. The method for starting a virtual machine by using ISO for an OpenStack platform according to any one of claims 1 to 5, wherein in a process that a user transmits an ISO/ISO disc file and a driver file to a host through a file transfer tool, an image type disk-format, a container type container-format, a public image-public, and a path file for uploading an image are required to be specified.
9. Method for starting a virtual machine by using ISO for OpenStack platform according to any of claims 1-5, wherein the size of the blank volume must be larger than the size of the ISO/ISO CD file and driver file.
CN202010770604.XA 2020-08-04 2020-08-04 Method for starting virtual machine by utilizing ISO (International organization for standardization) aiming at OpenStack platform Pending CN111880907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010770604.XA CN111880907A (en) 2020-08-04 2020-08-04 Method for starting virtual machine by utilizing ISO (International organization for standardization) aiming at OpenStack platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010770604.XA CN111880907A (en) 2020-08-04 2020-08-04 Method for starting virtual machine by utilizing ISO (International organization for standardization) aiming at OpenStack platform

Publications (1)

Publication Number Publication Date
CN111880907A true CN111880907A (en) 2020-11-03

Family

ID=73210152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010770604.XA Pending CN111880907A (en) 2020-08-04 2020-08-04 Method for starting virtual machine by utilizing ISO (International organization for standardization) aiming at OpenStack platform

Country Status (1)

Country Link
CN (1) CN111880907A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130007726A1 (en) * 2011-06-30 2013-01-03 Indrajit Poddar Virtual machine disk image installation
CN109033430A (en) * 2018-08-13 2018-12-18 郑州云海信息技术有限公司 A kind of virtual machine image file storage method and device
CN110413378A (en) * 2019-07-30 2019-11-05 上海金融期货信息技术有限公司 Computing resource creation method and system under a kind of cloud computing
CN111240807A (en) * 2020-01-21 2020-06-05 山东汇贸电子口岸有限公司 Volume-started virtual machine reconstruction method, terminal and readable storage medium
CN111324418A (en) * 2020-02-09 2020-06-23 苏州浪潮智能科技有限公司 OpenStack-based virtual machine template generation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130007726A1 (en) * 2011-06-30 2013-01-03 Indrajit Poddar Virtual machine disk image installation
CN109033430A (en) * 2018-08-13 2018-12-18 郑州云海信息技术有限公司 A kind of virtual machine image file storage method and device
CN110413378A (en) * 2019-07-30 2019-11-05 上海金融期货信息技术有限公司 Computing resource creation method and system under a kind of cloud computing
CN111240807A (en) * 2020-01-21 2020-06-05 山东汇贸电子口岸有限公司 Volume-started virtual machine reconstruction method, terminal and readable storage medium
CN111324418A (en) * 2020-02-09 2020-06-23 苏州浪潮智能科技有限公司 OpenStack-based virtual machine template generation method and device

Similar Documents

Publication Publication Date Title
CN110198334B (en) Access method and device based on object storage service and storage medium
US20020174206A1 (en) Web-based file manipulating system
US10949271B2 (en) Enhanced copy-and-paste
US10754699B2 (en) Remote provisioning of virtual appliances for access to virtualized storage
EP3016354A1 (en) Cloud-service-based data backup and operation method
CN107580011B (en) Data sharing method and desktop cloud server
WO2018107719A1 (en) Data sharing method, apparatus, terminal device and server
JP2020500359A (en) Computer program, computer system, and method for storing and retrieving a restricted data set with an unrestricted data set from a cloud network
CN105589722A (en) Method for initializing user name and password of virtual machine based on virtual machine template
US9591079B2 (en) Method and apparatus for managing sessions of different websites
CN114385091A (en) Method and device for realizing network disk drive character, network disk and storage medium
US11838296B1 (en) Providing secure software project development environments
WO2023093197A1 (en) Application management method and related system
CN114816707A (en) Method and device for creating sandbox environment for plug-in operation and computing equipment
US9535723B2 (en) Methods and apparatuses for generating desktop cloud instances based upon mobile device user file selections
CN104539665A (en) Remote file control system based on routers
US20050177577A1 (en) Accessing data on remote storage servers
CN111880907A (en) Method for starting virtual machine by utilizing ISO (International organization for standardization) aiming at OpenStack platform
CN115150392B (en) Remote file copying method, system, computing equipment and storage medium
CN107861761B (en) Starting method and system of physical host
CN114489674A (en) Data verification method and device of dynamic data model
CN109739615B (en) Mapping method and device of virtual hard disk and cloud computing platform
US20210200891A1 (en) Geography Aware File Dissemination
CN107608768B (en) Resource access method based on command line mode, electronic device and storage medium
CN112181930A (en) File management method and device of virtual switching matrix

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201103

RJ01 Rejection of invention patent application after publication