CN113238835B - Virtual machine configuration method, device, server and system - Google Patents

Virtual machine configuration method, device, server and system Download PDF

Info

Publication number
CN113238835B
CN113238835B CN202110616754.XA CN202110616754A CN113238835B CN 113238835 B CN113238835 B CN 113238835B CN 202110616754 A CN202110616754 A CN 202110616754A CN 113238835 B CN113238835 B CN 113238835B
Authority
CN
China
Prior art keywords
configuration
virtual machine
information
server
request
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.)
Active
Application number
CN202110616754.XA
Other languages
Chinese (zh)
Other versions
CN113238835A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110616754.XA priority Critical patent/CN113238835B/en
Publication of CN113238835A publication Critical patent/CN113238835A/en
Application granted granted Critical
Publication of CN113238835B publication Critical patent/CN113238835B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a virtual machine configuration method, a device, a server and a system, wherein the method comprises the following steps: the method comprises the steps that a first server receives a configuration request sent by a terminal, configuration information corresponding to the configuration request is obtained from a configuration database in response to the configuration request, the configuration information is sent to a second server, so that the second server determines a virtual machine to be configured according to a network address carried in the configuration information, a configuration instruction is generated according to a pre-stored virtual machine management table, the configuration instruction and the configuration information are sent to the virtual machine to be configured, and the virtual machine to be configured responds to the configuration instruction to perform system configuration according to a pre-stored configuration script and the configuration information. According to the method and the system, the virtual machine to be configured is remotely controlled by the second server to perform system configuration according to the pre-stored configuration script and the pre-stored configuration information, so that the efficiency of configuring the virtual machine is improved, and the configuration time of the virtual machine is shortened.

Description

Virtual machine configuration method, device, server and system
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a virtual machine configuration method, device, server, and system.
Background
With the continuous development of cloud computing technology, more and more projects use cloud computing resources by creating start-up and stop virtual machines. In view of the large number of virtual machine creation requirements and the many different virtual machine basic configuration requirements, it is highly desirable to implement automated virtual machine creation and configuration to enable rapid and standardized delivery of virtual machines.
In the prior art, the automatic creation of the virtual machine comprises the automatic creation of a mirror image template, the automatic configuration of the automatic drawing and drawing files of the mirror image of the virtual machine, the automatic drawing of software in the virtual machine and the initial configuration of the software, and basic resource information of the virtual machine, such as user information, user authority, a file system and the like, is manually configured by an operation and maintenance person, and a work order is filled in to deliver the virtual machine after the basic resource information is successfully configured.
However, the efficiency of manually configuring the virtual machine basic resource information is low, which results in a longer configuration time of the virtual machine and affects the delivery schedule of the virtual machine.
Disclosure of Invention
The invention aims to provide a virtual machine configuration method, device, server and system, so as to improve the configuration efficiency of a virtual machine.
In a first aspect, the present invention provides a virtual machine configuration method, applied to a first server, including:
receiving a configuration request sent by a terminal, and responding to the configuration request to acquire configuration information corresponding to the configuration request from a configuration database, wherein the configuration database stores a virtual machine table, an initialization user table and an initialization file system information table;
the configuration information is sent to a second server, so that the second server determines a virtual machine to be configured according to a network address carried in the configuration information, generates a configuration instruction according to a pre-stored virtual machine management table, and sends the configuration instruction and the configuration information to the virtual machine to be configured, so that the virtual machine to be configured responds to the configuration instruction and carries out system configuration according to a pre-stored configuration script and the configuration information, and the configuration instruction contains management user information of the virtual machine to be configured.
In one possible design, before the configuration information is sent to the second server, the method further includes:
determining a second server to be connected according to a load balancing algorithm, and sending a connection establishment request to the second server to be connected;
If the connection establishment response returned by the second server to be connected is not received within the preset time period, the connection establishment request is sent to any other second server, and after the connection establishment response returned by the second server is received, the step of sending the configuration information to the second server is executed.
In one possible design, the configuration database is a MySQL database that is a master-slave synchronous database system provided by the first server cluster;
correspondingly, after the configuration information corresponding to the configuration request is obtained from the configuration database, the method further comprises the following steps:
and storing the configuration request and the configuration information into the master-slave synchronous database system.
In one possible design, before the configuration request sent by the receiving terminal, the method further includes:
and receiving application information sent by a terminal, determining configuration requirement parameters according to the application information, and sending the configuration requirement parameters to the terminal so that the terminal generates a configuration request according to the configuration requirement parameters.
In one possible design, the configuration script is used to configure at least one of an account password for connecting to a virtual machine, adding virtual machine users and passwords, adding a set of virtual machine user permissions, loading virtual machine hard disk information, creating a logical volume, distributing a file system, and saving an operation log.
In a second aspect, an embodiment of the present invention provides a virtual machine configuration method, which is applied to a second server, including:
receiving configuration information sent by a first server, wherein the configuration information is obtained from a configuration database by the first server according to a configuration request sent by a terminal, and the configuration database stores a virtual machine table, an initialization user table and an initialization file system information table;
determining a virtual machine to be configured according to a network address carried in the configuration information, and generating a configuration instruction according to a pre-stored virtual machine management table;
and sending the configuration instruction and the configuration information to the virtual machine to be configured so that the virtual machine to be configured responds to the configuration instruction to perform system configuration according to a pre-stored configuration script and the configuration information, wherein the configuration instruction comprises management user information of the virtual machine to be configured.
In one possible design, the virtual machine configuration method further includes:
receiving a configuration log sent by the virtual machine to be configured, wherein the configuration log is generated when the virtual machine to be configured carries out system configuration according to a pre-stored configuration script and the configuration information, and comprises configuration process information and a configuration result;
And receiving a query request sent by the first server, and responding to the query request to send the configuration log to the first server so that an administrator can retrieve the configuration log stored in the first server to confirm the configuration details of the virtual machine.
In a third aspect, an embodiment of the present invention provides a virtual machine configuration apparatus, including:
the system comprises an acquisition module, a configuration database and a file system initialization module, wherein the acquisition module is used for receiving a configuration request sent by a terminal, responding to the configuration request and acquiring configuration information corresponding to the configuration request from the configuration database, and the configuration database is stored with a virtual machine table, an initialization user table and an initialization file system information table;
the sending module is used for sending the configuration information to a second server so that the second server determines a virtual machine to be configured according to a network address carried in the configuration information, generates a configuration instruction according to a pre-stored virtual machine management table, and sends the configuration instruction and the configuration information to the virtual machine to be configured, so that the virtual machine to be configured responds to the configuration instruction to perform system configuration according to a pre-stored configuration script and the configuration information, and the configuration instruction comprises management user information of the virtual machine to be configured.
In a fourth aspect, an embodiment of the present invention provides a virtual machine configuration apparatus, including:
the system comprises a receiving module, a first server and a second server, wherein the receiving module is used for receiving configuration information sent by the first server, the configuration information is obtained from a configuration database according to a configuration request sent by the terminal by the first server, and a virtual machine table, an initialization user table and an initialization file system information table are stored in the configuration database;
the determining module is used for determining the virtual machine to be configured according to the network address carried in the configuration information and generating a configuration instruction according to a pre-stored virtual machine management table;
the sending module is used for sending the configuration instruction and the configuration information to the virtual machine to be configured so that the virtual machine to be configured responds to the configuration instruction to carry out system configuration according to a pre-stored configuration script and the configuration information, and the configuration instruction contains management user information of the virtual machine to be configured.
In a fifth aspect, an embodiment of the present invention provides a virtual machine configuration system, including at least one terminal, at least two first servers, at least two second servers, and N virtual machines, where N is a positive integer:
the terminal is used for receiving a configuration request of a user according to the client;
The first server is used for receiving a configuration request sent by a terminal, responding to the configuration request, acquiring configuration information corresponding to the configuration request from a configuration database, and sending the configuration information to the second server, wherein a virtual machine table, an initialization user table and an initialization file system information table are stored in the configuration database;
the second server is configured to determine a virtual machine to be configured according to a network address carried in the configuration information, generate a configuration instruction according to a pre-stored virtual machine management table, and send the configuration instruction and the configuration information to the virtual machine to be configured, wherein the configuration instruction contains management user information of the virtual machine to be configured;
the virtual machine to be configured is used for responding to the configuration instruction and carrying out system configuration according to a pre-stored configuration script and the configuration information.
In a sixth aspect, an embodiment of the present invention provides a server including a memory and at least one processor; the memory is used for storing computer execution instructions; at least one processor configured to execute computer-executable instructions stored by the memory, such that the at least one processor performs the virtual machine configuration methods implementing the various possible designs of the first aspect as well as the first aspect.
In a seventh aspect, embodiments of the present invention provide a server comprising a memory and at least one processor; the memory is used for storing computer execution instructions; at least one processor configured to execute computer-executable instructions stored by the memory, such that the at least one processor performs the various possible designs of the virtual machine configuration method as described in the second aspect and the second aspect.
In an eighth aspect, embodiments of the present invention provide a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, implement the virtual machine configuration method as in the first aspect and the various possible designs of the first aspect, or the virtual machine configuration method as in the second aspect and the various possible designs of the second aspect.
In a ninth aspect, embodiments of the present invention provide a computer program product comprising a computer program which, when executed by a processor, implements the virtual machine configuration method as in the first aspect and the various possible designs of the first aspect, or the virtual machine configuration method as in the second aspect and the various possible designs of the second aspect.
According to the virtual machine configuration method, device, server and system, the first server is set to obtain configuration information corresponding to the configuration request from the configuration database, the configuration information is sent to the second server, the second server generates the configuration instruction according to the pre-stored virtual machine management table, and the pre-stored configuration script in the virtual machine to be configured is called according to the configuration instruction, so that the virtual machine to be configured performs system configuration according to the configuration information and the configuration script, the purpose of automatically configuring user permission and a file system is achieved, the efficiency of configuring the virtual machine is improved, and the configuration time of the virtual machine is shortened.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic diagram of a virtual machine configuration system according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for configuring a virtual machine according to an embodiment of the present invention;
FIG. 3 is a flowchart II of a virtual machine configuration method according to an embodiment of the present invention;
FIG. 4 is a flowchart III of a virtual machine configuration method according to an embodiment of the present invention;
FIG. 5 is a flowchart of a virtual machine configuration method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a virtual machine configuration apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram II of a virtual machine configuration apparatus according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of a server according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of a server according to an embodiment of the present invention.
Detailed Description
Specific embodiments of the present invention have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Virtual machines refer to complete computer systems that run in a completely isolated environment with complete hardware system functionality through software emulation. Work that can be done in a physical computer can be done in a virtual machine. When creating a virtual machine in a computer, a part of hard disk and memory capacity of the physical machine are required to be used as the hard disk and memory capacity of the virtual machine. Each virtual machine has an independent chip, hard disk and operating system, and can operate as if it were a physical machine.
Currently, starting and stopping virtual machines is an indispensable step in using cloud computing resources. Customers may copy a pre-configured virtual machine image or they may assemble a custom virtual machine image as needed to complete deployment of the virtual machine in the cloud. Specifically, the automatic creation of the virtual machine comprises automatic creation of a mirror image template, automatic configuration of automatic drawing and drawing files of a mirror image of the virtual machine, automatic drawing of software in the virtual machine and initialization configuration of the software, and basic resource information of the virtual machine, such as user information, user authority, a file system and the like, is manually configured by operation and maintenance personnel, and a work order is filled in to deliver the virtual machine after the basic resource information is successfully configured. However, in the prior art, the efficiency of manually configuring the basic resource information of the virtual machine is low, which results in longer delivery time of the virtual machine and affects the delivery schedule of the virtual machine.
In order to solve the technical problems, the embodiment of the invention uses the jump machine to call the pre-stored configuration script in the virtual machine to be configured, so that the virtual machine to be configured performs system configuration according to the configuration information and the configuration script, thereby realizing the purpose of automatically configuring user permission and file systems, improving the efficiency of configuring the virtual machine and shortening the configuration time of the virtual machine.
Fig. 1 is a schematic structural diagram of a virtual machine configuration system according to an embodiment of the present invention. As shown in fig. 1, in the embodiment of the present invention, the rice quality inspection system includes a plurality of terminals 10, a first server 20, a second server 30, and a plurality of virtual machines 40. Each terminal 10 establishes a connection with each first server 20, each first server 20 establishes a connection with each second server 30, and each second server 30 establishes a connection with each virtual machine 40. The virtual machine configuration system at least comprises two first servers 20 and at least two second servers 30. The terminal 10 is configured to receive a configuration request from a user through a client configured by a virtual machine, and implement automatic configuration of the virtual machine to be configured according to the first server 20 and the second server 30. The first server 20 is configured to receive a configuration request sent by a terminal, obtain configuration information corresponding to the configuration request from a configuration database in response to the configuration request, and send the configuration information to the second server, where the configuration database stores a virtual machine table, an initialization user table, and an initialization file system information table; the second server 30 is configured to determine a virtual machine to be configured according to a network address carried in the configuration information, generate a configuration instruction according to a pre-stored virtual machine management table, and send the configuration instruction and the configuration information to the virtual machine to be configured, where the configuration instruction includes management user information of the virtual machine to be configured. Wherein, each virtual machine 40 is in a cloud database, and the first server 20 assembles a plurality of customized virtual machine images through the second server 30 according to the requirement of creating the virtual machine, so as to achieve the purpose of deploying a plurality of virtual machines in the cloud. In the process of creating virtual machines, the first server 20 configures a network address and virtual machine information for each virtual machine 40, and stores a virtual machine management table in each second server 30, where the virtual machine management table includes network addresses and virtual machine information of all virtual machines 40, and the virtual machine information includes account information of a super administrator creating the virtual machine, specifically including a super administrator identifier and a password. After the creation of the virtual machine is completed, the virtual machine 40 to be configured performs system configuration according to a pre-stored configuration script and the configuration information in response to the configuration instruction.
Fig. 2 is a flowchart of a virtual machine configuration method according to an embodiment of the present invention. The execution body of the embodiment may be the first server. As shown in fig. 2, the virtual machine configuration method includes the steps of:
s201: and receiving a configuration request sent by the terminal, and responding to the configuration request to acquire configuration information corresponding to the configuration request from a configuration database, wherein the configuration database stores a virtual machine table, an initialization user table and an initialization file system information table.
In the embodiment of the invention, a user can submit an application for configuring the virtual machine at a client side for configuring the virtual machine on the terminal. Specifically, an OA system for configuring a virtual machine is provided on a terminal, a user submits a requirement for configuring the virtual machine by logging in the OA system, and an administrator logs in the OA system to confirm a configuration work order submitted by the user. The terminal generates a configuration request according to the configuration work order confirmed by the administrator, and sends the configuration request to the first server, wherein the configuration request comprises file system configuration parameters, user information and user authority information of the virtual machine.
In the embodiment of the invention, a configuration database is pre-stored in the first server, wherein a virtual machine table, an initialization user table and an initialization file system information table are stored in the configuration database. The first server obtains configuration information corresponding to the configuration request from the configuration database, namely, according to file system configuration parameters, user information and user authority information of the virtual machine contained in the configuration request, corresponding configuration information is searched from a virtual machine table, an initialization user table and an initialization file system information table, the first server distributes the virtual machine to be configured for the user according to network addresses of all created virtual machines, and the configuration information further contains the network address of the virtual machine to be configured.
S202: the configuration information is sent to the second server, so that the second server determines the virtual machine to be configured according to the network address carried in the configuration information, generates a configuration instruction according to a pre-stored virtual machine management table, and sends the configuration instruction and the configuration information to the virtual machine to be configured, and the virtual machine to be configured responds to the configuration instruction to perform system configuration according to the pre-stored configuration script and the configuration information, wherein the configuration instruction comprises management user information of the virtual machine to be configured.
In the embodiment of the invention, the first server sends the configuration information to the second server, and the second server establishes connection with the virtual machine to be configured according to the network address carried in the configuration information. The second server generates a configuration instruction according to a pre-stored virtual machine management table, and sends the configuration instruction and configuration information to the virtual machine to be configured, so that the virtual machine to be configured responds to the configuration instruction and carries out system configuration according to the pre-stored configuration script and the configuration information. Specifically, the second server sends the configuration information to the virtual machine to be configured. And installing expect software for realizing remote execution script in the second server and the virtual machine to be configured. The second server determines account information of a super administrator of the virtual machine to be configured according to a pre-stored virtual machine management table, logs in the virtual machine through aspect software according to the identity of the administrator, and carries out system configuration on the virtual machine to be configured through remote connection according to a pre-stored configuration script and configuration information. The configuration script can be modified and adjusted according to different virtual machine systems to match the configuration requirements of the different virtual machine systems.
The pre-stored configuration script is a pre-packaged shell script for realizing system resource configuration of the virtual machine. Specifically, the configuration script is used for configuring at least one of account passwords for connecting the virtual machines, adding virtual machine users and passwords, adding virtual machine user permission groups, loading virtual machine hard disk information, creating a logical volume, distributing a file system and storing operation logs. Specifically, the specific operation of the virtual machine for configuration according to the configuration script includes: and the virtual machine judges whether to create a file system according to the configuration information, and if the requirement of creating the file system is not met, only the requirement of creating the initial user is met, the configuration script is directly generated. If the configuration information contains the configuration requirement of the hard disk, the system hard disk information is scanned, the newly added hard disk is loaded, the idle hard disk is screened out through a regular rule, and then the physical volume, the user volume group is created or expanded, the logical volume is created, and the volume is formatted in sequence. Creating users and groups according to user information in the configuration information, initializing user passwords, creating directories, mounting file systems, configuring directory rights and the like.
In an exemplary embodiment of the present invention, in order to ensure that the connected second server can provide a function of remotely configuring the virtual machine, before sending configuration information to the second server, the first server determines the second server to be connected according to a load balancing algorithm, and sends a connection establishment request to the second server to be connected; if the connection establishment response returned by the second server to be connected is not received within the preset time period, the connection establishment request is sent to any other second server, and after the connection establishment response returned by the second server is received, the step of sending the configuration information to the second server is executed.
In the embodiment of the invention, a multi-hop mechanism is adopted, namely a plurality of second servers are arranged, so that the safety of the configuration system is improved. The first server determines a second server to be connected according to a load balancing algorithm, and when the second server to be connected fails, the first server can be connected with other second servers without affecting the remote configuration process of the virtual machine. And by arranging a plurality of plate hopping machine servers, different users are controlled to have different access rights, only a few administrators can access the newly created virtual machine, other users can not operate, and the problems of authentication and authorization processes and security leakage are reduced.
According to the embodiment, the first server is set to acquire the configuration information corresponding to the configuration request from the configuration database, and the configuration information is sent to the second server, so that the second server generates the configuration instruction according to the pre-stored virtual machine management table, and calls the pre-stored configuration script in the virtual machine to be configured according to the configuration instruction, so that the virtual machine to be configured performs system configuration according to the configuration information and the configuration script, the purposes of automatically configuring the user permission and the file system are achieved, the efficiency of configuring the virtual machine is improved, and the configuration time of the virtual machine is shortened.
In one possible implementation manner, before receiving a configuration request sent by a terminal, a first server receives application information sent by the terminal, determines a configuration requirement parameter according to the application information, and sends the configuration requirement parameter to the terminal, so that the terminal generates the configuration request according to the configuration requirement parameter.
In the embodiment of the invention, the user may possibly fill in the application information including the wrong virtual machine basic configuration information, the first server determines whether the application information is configured, and if so, the configuration requirement parameters corresponding to the application information submitted by the user are recommended according to the two dimensions of the configuration of the previous service system and the parameter information when the user applies. If the configuration is not carried out before, determining the matched configuration requirement parameters according to the application information of the user. And auditing the validity of the configuration requirement parameters according to preset configuration rules, wherein the preset configuration rules comprise rules for checking the validity of data, judging whether the allocated space exceeds the maximum value, judging whether the user name is standard, judging whether the password accords with the strong password, and the like. And sending the configuration requirement parameters meeting the requirements to the terminal so that the terminal generates a configuration request according to the configuration requirement parameters.
In one possible implementation, the configuration database is a MySQL database, which is a master-slave synchronous database system provided by the first server cluster. By configuring the configuration database as a master-slave synchronous database system, when the configuration database has problems, the first server is ensured to be capable of successfully acquiring configuration information corresponding to the configuration request from the configuration database, and the success rate of automatically configuring the virtual machine is improved. Illustratively, after the configuration information corresponding to the configuration request is obtained from the configuration database, the first server stores the configuration request and the configuration information in the master-slave synchronous database system.
Fig. 3 is a flowchart of a virtual machine configuration method according to an embodiment of the present invention. The execution body of the embodiment may be the second server. As shown in fig. 3, the virtual machine configuration method includes the steps of:
s301: and receiving configuration information sent by the first server, wherein the configuration information is obtained from a configuration database by the first server according to a configuration request sent by the terminal, and the virtual machine table, the initialization user table and the initialization file system information table are stored in the configuration database.
S302: and determining the virtual machine to be configured according to the network address carried in the configuration information, and generating a configuration instruction according to a pre-stored virtual machine management table.
S303: and sending the configuration instruction and the configuration information to the virtual machine to be configured so that the virtual machine to be configured responds to the configuration instruction to carry out system configuration according to the pre-stored configuration script and the pre-stored configuration information, wherein the configuration instruction contains management user information of the virtual machine to be configured.
In the embodiment of the present invention, the implementation method of S301 to S303 is the same as the implementation method and implementation effect of S201 to S202 in the embodiment of fig. 2, and will not be described here again.
Fig. 4 is a flowchart of a virtual machine configuration method according to an embodiment of the present invention. As shown in fig. 4, on the basis of the embodiment shown in fig. 3, the virtual machine configuration method provided by the embodiment of the present invention further includes the following steps:
s401: receiving a configuration log sent by a virtual machine to be configured, wherein the configuration log is generated when the virtual machine to be configured performs system configuration according to a pre-stored configuration script and configuration information, and comprises configuration process information and configuration results.
In the embodiment of the invention, in the process of executing the configuration script to perform basic resource configuration, the virtual machine to be configured can record the script executing process in detail and generate the configuration log for recording the configuration process information and the configuration result of the virtual machine. Specifically, a feedback mechanism is set in the configuration script shell script, if an error occurs in the configuration process, the configuration process is interrupted, error configuration information is output and recorded, the error information not only contains feedback errors of the execution command, but also contains custom error information, and the subsequent retrieval and positioning problems are facilitated. After the configuration is finished, the virtual machine to be configured sends the configuration log to the second server. Illustratively, in the process of executing the script, account information of the super administrator is substituted in a parameter form and is not recorded in the configuration log, so that the safety of user information is ensured.
S402: and receiving a query request sent by the first server, and sending a configuration log to the first server in response to the query request so that an administrator can retrieve the configuration log stored in the first server to confirm configuration details of the virtual machine.
In the embodiment of the invention, when an administrator checks configuration details of the virtual machine, a query request is sent to a first server through a terminal, and the first server forwards the query request to a second server. The second server returns the configuration log to the first server, an administrator invokes the configuration log display log information stored in the first server, and the administrator confirms the configuration details of the virtual machine by checking the configuration process information and the configuration result.
As can be seen from the above embodiments, in the process of configuring the basic resources of the virtual machine by setting the configuration script, a configuration log is generated by recording configuration process information and configuration results, and the configuration log is uploaded to the second server. The configuration operation records are stored in the springboard server, and when configuration faults occur, fault reasons can be quickly determined through the configuration logs, so that an administrator can conveniently confirm configuration details of the virtual machine, and the remote configuration process of the virtual machine has traceability.
Fig. 5 is a flowchart of a virtual machine configuration method according to an embodiment of the present invention. As shown in fig. 5, the virtual machine configuration method provided by the embodiment of the invention includes the following steps:
s501: and the terminal receives the configuration request of the user according to the client and sends the configuration request to the first server.
S502: the first server responds to the configuration request to acquire configuration information corresponding to the configuration request from a configuration database, and sends the configuration information to the second server, wherein a virtual machine table, an initialization user table and an initialization file system information table are stored in the configuration database.
S503: the second server determines the virtual machine to be configured according to the network address carried in the configuration information, generates a configuration instruction according to a pre-stored virtual machine management table, and sends the configuration instruction and the configuration information to the virtual machine to be configured, wherein the configuration instruction comprises management user information of the virtual machine to be configured.
S504: and the virtual machine to be configured responds to the configuration instruction and carries out system configuration according to the pre-stored configuration script and configuration information.
In the embodiment of the present invention, the implementation method of S501 to S504 is the same as the implementation method and implementation effect of S201 to S202 in the embodiment of fig. 2, and will not be described here again.
Fig. 6 is a schematic structural diagram of a virtual machine configuration apparatus according to an embodiment of the present invention. As shown in fig. 6, the virtual machine configuration apparatus 60 includes: the obtaining module 601 is configured to receive a configuration request sent by a terminal, and obtain configuration information corresponding to the configuration request from a configuration database in response to the configuration request, where a virtual machine table, an initialization user table, and an initialization file system information table are stored in the configuration database; the sending module 602 is configured to send the configuration information to a second server, so that the second server determines a virtual machine to be configured according to a network address carried in the configuration information, generates a configuration instruction according to a pre-stored virtual machine management table, and sends the configuration instruction and the configuration information to the virtual machine to be configured, so that the virtual machine to be configured performs system configuration according to the pre-stored configuration script and the configuration information in response to the configuration instruction, where the configuration instruction includes management user information of the virtual machine to be configured.
In this embodiment, the method described in the foregoing embodiments may be adopted by the virtual machine configuration apparatus 60, and the technical scheme and the technical effects thereof are similar, and are not described herein.
In one possible implementation, the virtual machine configuration apparatus 60 further includes: the determining module is used for determining a second server to be connected according to a load balancing algorithm and sending a connection establishment request to the second server to be connected; if the connection establishment response returned by the second server to be connected is not received within the preset time period, the connection establishment request is sent to any other second server, and after the connection establishment response returned by the second server is received, the step of sending the configuration information to the second server is executed. The determining module may adopt the method described in the foregoing embodiments, and the technical solution and the technical effects thereof are similar, which are not described herein.
In one possible implementation, the virtual machine configuration apparatus 60 further includes: the receiving module is used for receiving application information sent by the terminal, determining configuration requirement parameters according to the application information, and sending the configuration requirement parameters to the terminal so that the terminal can generate a configuration request according to the configuration requirement parameters. The receiving module may adopt the method described in the above embodiment, and its technical scheme and its technical effect are similar, and are not described herein.
Fig. 7 is a schematic structural diagram of a virtual machine configuration apparatus according to an embodiment of the present invention. As shown in fig. 7, the virtual machine configuration apparatus 70 includes: the receiving module 701 is configured to receive configuration information sent by a first server, where the configuration information is obtained by the first server from a configuration database according to a configuration request sent by a terminal, and the configuration database stores a virtual machine table, an initialization user table, and an initialization file system information table; the determining module 702 is configured to determine a virtual machine to be configured according to a network address carried in the configuration information, and generate a configuration instruction according to a pre-stored virtual machine management table; the sending module 703 is configured to send the configuration instruction and the configuration information to a virtual machine to be configured, so that the virtual machine to be configured responds to the configuration instruction to perform system configuration according to a pre-stored configuration script and the configuration information, where the configuration instruction includes management user information of the virtual machine to be configured.
In this embodiment, the method described in the foregoing embodiments may be adopted by the virtual machine configuration apparatus 70, and the technical scheme and the technical effects thereof are similar, and are not described herein.
In one possible implementation, the virtual machine configuration apparatus 70 further includes: the generating module is used for receiving a configuration log sent by the virtual machine to be configured, wherein the configuration log is generated when the virtual machine to be configured carries out system configuration according to a pre-stored configuration script and the configuration information, and the configuration log comprises configuration process information and configuration results; and receiving a query request sent by the first server, and responding to the query request to send the configuration log to the first server so that an administrator can retrieve the configuration log stored in the first server to confirm the configuration details of the virtual machine. The generating module may adopt the method described in the foregoing embodiments, and the technical solution and the technical effects thereof are similar, which are not described herein.
Fig. 8 is a schematic diagram of a hardware structure of a server according to an embodiment of the present invention. As shown in fig. 8, the server of the present embodiment includes: a processor 801 and a memory 802; wherein the method comprises the steps of
A memory 802 for storing computer-executable instructions;
the processor 801 is configured to execute computer-executable instructions stored in the memory to implement the steps performed by the first server in the above embodiment. Reference may be made in particular to the relevant description of the embodiments of the method described above.
Alternatively, the memory 802 may be separate or integrated with the processor 801.
When the memory 802 is provided separately, the server further comprises a bus 803 for connecting said memory 802 and the processor 801.
Fig. 9 is a schematic diagram of a hardware structure of a server according to an embodiment of the present invention. As shown in fig. 9, the server of the present embodiment includes: a processor 901 and a memory 902; wherein the method comprises the steps of
A memory 902 for storing computer-executable instructions;
a processor 901 for executing computer-executable instructions stored in a memory to implement the steps executed by the second server in the above embodiments. Reference may be made in particular to the relevant description of the embodiments of the method described above.
Alternatively, the memory 902 may be separate or integrated with the processor 901.
When the memory 902 is provided separately, the server further comprises a bus 903 for connecting the memory 902 and the processor 901.
The embodiment of the invention also provides a computer readable storage medium, wherein computer execution instructions are stored in the computer readable storage medium, and when a processor executes the computer execution instructions, the virtual machine configuration method described in the embodiment is realized.
The embodiment of the invention also provides a computer readable storage medium, wherein computer execution instructions are stored in the computer readable storage medium, and when a processor executes the computer execution instructions, the virtual machine configuration method as described in the above fig. 3 and 4 is realized.
The embodiment of the invention also provides a computer program product, which comprises a computer program, wherein the computer program is executed by a processor to realize the virtual machine configuration method according to the embodiment.
Embodiments of the present invention also provide a computer program product comprising a computer program which, when executed by a processor, implements the virtual machine configuration method as described above with reference to fig. 3 and 4.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.
In addition, each functional module in the embodiments of the present application may be integrated in one processing unit, or each module may exist alone physically, or two or more modules may be integrated in one unit. The units formed by the modules can be realized in a form of hardware or a form of hardware and software functional units.
The integrated modules, which are implemented in the form of software functional modules, may be stored in a computer readable storage medium. The software functional modules described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or processor to perform some of the steps of the methods described in the various embodiments of the application.
It should be understood that the above processor may be a central processing unit (Central Processing Unit, abbreviated as CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, abbreviated as DSP), application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, and may also be a U-disk, a removable hard disk, a read-only memory, a magnetic disk or optical disk, etc.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
The storage medium may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). It is also possible that the processor and the storage medium reside as discrete components in an electronic device or a master device.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (13)

1. A virtual machine configuration method, applied to a first server, comprising:
receiving a configuration request sent by a terminal, wherein the configuration request comprises file system configuration parameters, user information and user authority information of a virtual machine;
responding to the configuration request, acquiring configuration information corresponding to the configuration request from a configuration database, wherein the configuration database stores a virtual machine table, an initialization user table and an initialization file system information table; the method for obtaining the configuration information corresponding to the configuration request from the configuration database in response to the configuration request comprises the following steps: searching corresponding configuration information from a virtual machine table, an initialized user table and an initialized file system information table according to file system configuration parameters, user information and user authority information of the virtual machines contained in the configuration request, and distributing the virtual machines to be configured for the users according to network addresses of all created virtual machines, wherein the configuration information contains the network addresses of the virtual machines to be configured;
The configuration information is sent to a second server, so that the second server determines a virtual machine to be configured according to a network address carried in the configuration information, generates a configuration instruction according to a pre-stored virtual machine management table, and sends the configuration instruction and the configuration information to the virtual machine to be configured, so that the virtual machine to be configured responds to the configuration instruction and carries out system configuration according to a pre-stored configuration script and the configuration information, and the configuration instruction contains management user information of the virtual machine to be configured.
2. The method of claim 1, further comprising, prior to sending the configuration information to a second server:
determining a second server to be connected according to a load balancing algorithm, and sending a connection establishment request to the second server to be connected;
if the connection establishment response returned by the second server to be connected is not received within the preset time period, the connection establishment request is sent to any other second server, and after the connection establishment response returned by the second server is received, the step of sending the configuration information to the second server is executed.
3. The method of claim 1, wherein the configuration database is a MySQL database that is a master-slave synchronous database system provided by a first server cluster;
correspondingly, after the configuration information corresponding to the configuration request is obtained from the configuration database, the method further comprises the following steps:
and storing the configuration request and the configuration information into the master-slave synchronous database system.
4. The method of claim 1, further comprising, prior to the receiving the configuration request sent by the terminal:
and receiving application information sent by a terminal, determining configuration requirement parameters according to the application information, and sending the configuration requirement parameters to the terminal so that the terminal generates a configuration request according to the configuration requirement parameters.
5. The method of any of claims 1 to 4, wherein the configuration script is used to configure at least one of an account password for a connected virtual machine, add virtual machine users and passwords, add a set of virtual machine user permissions, load virtual machine hard disk information, create a logical volume, allocate a file system, and save an operation log.
6. The virtual machine configuration method is characterized by being applied to a second server and comprising the following steps of:
Receiving configuration information sent by a first server, wherein the configuration information is obtained from a configuration database by the first server according to a configuration request sent by a terminal, and the configuration database stores a virtual machine table, an initialization user table and an initialization file system information table; the configuration request comprises file system configuration parameters, user information and user authority information of the virtual machine; the first server obtains configuration information from a configuration database according to a configuration request sent by a terminal, and the method comprises the following steps: searching corresponding configuration information from a virtual machine table, an initialized user table and an initialized file system information table according to file system configuration parameters, user information and user authority information of the virtual machines contained in the configuration request, and distributing the virtual machines to be configured for the users according to network addresses of all created virtual machines, wherein the configuration information contains the network addresses of the virtual machines to be configured;
determining a virtual machine to be configured according to a network address carried in the configuration information, and generating a configuration instruction according to a pre-stored virtual machine management table;
and sending the configuration instruction and the configuration information to the virtual machine to be configured so that the virtual machine to be configured responds to the configuration instruction to perform system configuration according to a pre-stored configuration script and the configuration information, wherein the configuration instruction comprises management user information of the virtual machine to be configured.
7. The method as recited in claim 6, further comprising:
receiving a configuration log sent by the virtual machine to be configured, wherein the configuration log is generated when the virtual machine to be configured carries out system configuration according to a pre-stored configuration script and the configuration information, and comprises configuration process information and a configuration result;
and receiving a query request sent by the first server, and responding to the query request to send the configuration log to the first server so that an administrator can retrieve the configuration log stored in the first server to confirm the configuration details of the virtual machine.
8. A virtual machine configuration apparatus, comprising:
the system comprises an acquisition module, a configuration module and a control module, wherein the acquisition module is used for receiving a configuration request sent by a terminal, and the configuration request comprises file system configuration parameters, user information and user permission information of a virtual machine; responding to the configuration request, acquiring configuration information corresponding to the configuration request from a configuration database, wherein the configuration database stores a virtual machine table, an initialization user table and an initialization file system information table; the method for obtaining the configuration information corresponding to the configuration request from the configuration database in response to the configuration request comprises the following steps: searching corresponding configuration information from a virtual machine table, an initialized user table and an initialized file system information table according to file system configuration parameters, user information and user authority information of the virtual machines contained in the configuration request, and distributing the virtual machines to be configured for the users according to network addresses of all created virtual machines, wherein the configuration information contains the network addresses of the virtual machines to be configured;
The sending module is used for sending the configuration information to a second server so that the second server determines a virtual machine to be configured according to a network address carried in the configuration information, generates a configuration instruction according to a pre-stored virtual machine management table, and sends the configuration instruction and the configuration information to the virtual machine to be configured, so that the virtual machine to be configured responds to the configuration instruction to perform system configuration according to a pre-stored configuration script and the configuration information, and the configuration instruction comprises management user information of the virtual machine to be configured.
9. A virtual machine configuration apparatus, comprising:
the system comprises a receiving module, a first server and a second server, wherein the receiving module is used for receiving configuration information sent by the first server, the configuration information is obtained from a configuration database according to a configuration request sent by the terminal by the first server, and a virtual machine table, an initialization user table and an initialization file system information table are stored in the configuration database; the configuration request comprises file system configuration parameters, user information and user authority information of the virtual machine; the first server obtains configuration information from a configuration database according to a configuration request sent by a terminal, and the method comprises the following steps: searching corresponding configuration information from a virtual machine table, an initialized user table and an initialized file system information table according to file system configuration parameters, user information and user authority information of the virtual machines contained in the configuration request, and distributing the virtual machines to be configured for the users according to network addresses of all created virtual machines, wherein the configuration information contains the network addresses of the virtual machines to be configured;
The determining module is used for determining the virtual machine to be configured according to the network address carried in the configuration information and generating a configuration instruction according to a pre-stored virtual machine management table;
the sending module is used for sending the configuration instruction and the configuration information to the virtual machine to be configured so that the virtual machine to be configured responds to the configuration instruction to carry out system configuration according to a pre-stored configuration script and the configuration information, and the configuration instruction contains management user information of the virtual machine to be configured.
10. The virtual machine configuration system is characterized by comprising at least one terminal, at least two first servers, at least two second servers and N virtual machines, wherein N is a positive integer:
the terminal is used for receiving a configuration request of a user according to the client;
the first server is used for receiving a configuration request sent by a terminal, responding to the configuration request, acquiring configuration information corresponding to the configuration request from a configuration database, and sending the configuration information to the second server, wherein a virtual machine table, an initialization user table and an initialization file system information table are stored in the configuration database;
the second server is configured to determine a virtual machine to be configured according to a network address carried in the configuration information, generate a configuration instruction according to a pre-stored virtual machine management table, and send the configuration instruction and the configuration information to the virtual machine to be configured, wherein the configuration instruction contains management user information of the virtual machine to be configured;
The virtual machine to be configured is used for responding to the configuration instruction and carrying out system configuration according to a pre-stored configuration script and the configuration information.
11. A server comprising a memory and at least one processor;
the memory is used for storing computer execution instructions;
at least one processor configured to execute computer-executable instructions stored in the memory, such that the at least one processor performs the virtual machine configuration method of any one of claims 1 to 5.
12. A server comprising a memory and at least one processor;
the memory is used for storing computer execution instructions;
at least one processor configured to execute computer-executable instructions stored in the memory, such that the at least one processor performs the virtual machine configuration method of claim 6 or 7.
13. A computer readable storage medium having stored therein computer executable instructions which, when executed by a processor, implement the virtual machine configuration method of any one of claims 1 to 5, or any one of claims 6 to 7.
CN202110616754.XA 2021-06-02 2021-06-02 Virtual machine configuration method, device, server and system Active CN113238835B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110616754.XA CN113238835B (en) 2021-06-02 2021-06-02 Virtual machine configuration method, device, server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110616754.XA CN113238835B (en) 2021-06-02 2021-06-02 Virtual machine configuration method, device, server and system

Publications (2)

Publication Number Publication Date
CN113238835A CN113238835A (en) 2021-08-10
CN113238835B true CN113238835B (en) 2023-10-31

Family

ID=77136448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110616754.XA Active CN113238835B (en) 2021-06-02 2021-06-02 Virtual machine configuration method, device, server and system

Country Status (1)

Country Link
CN (1) CN113238835B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114301771B (en) * 2021-12-23 2024-03-12 中国农业银行股份有限公司 Virtual machine configuration method and device and electronic equipment
CN117215730B (en) * 2023-11-08 2024-02-23 北京火山引擎科技有限公司 Data transmission method, device, equipment and storage medium
CN117591248B (en) * 2024-01-18 2024-05-03 杭州筋斗腾云科技有限公司 Terminal system processing method based on containerized virtual machine and electronic equipment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110009A (en) * 2009-12-28 2011-06-29 中国移动通信集团公司 Method for deploying application in virtual platform and virtual platform manager
CN102932408A (en) * 2012-09-21 2013-02-13 中国电信股份有限公司云计算分公司 Management method and platform of server cluster
CN103297514A (en) * 2013-05-06 2013-09-11 北京启创卓越科技有限公司 Virtual machine management platform and virtual machine management method based on cloud infrastructure
CN104579887A (en) * 2013-10-16 2015-04-29 宇宙互联有限公司 Cloud gateway as well as cloud gateway creation and configuration system and method
CN104636189A (en) * 2015-02-25 2015-05-20 哈尔滨工业大学 Xen-based virtual machine deployment system and Xen-based virtual machine deployment method
CN106095526A (en) * 2016-06-06 2016-11-09 腾讯科技(深圳)有限公司 Virtual Server Cluster and the dispositions method of server, device and system
CN108089910A (en) * 2016-11-23 2018-05-29 北京国双科技有限公司 The method and apparatus for configuring virtual machine IP address
CN108287750A (en) * 2012-09-12 2018-07-17 格林伊登美国控股有限责任公司 System and method for the dynamic elasticity for providing liaison centre's resource
US10365935B1 (en) * 2008-09-23 2019-07-30 Open Invention Network Llc Automated system and method to customize and install virtual machine configurations for hosting in a hosting environment
CN110995705A (en) * 2019-12-03 2020-04-10 广州西麦科技股份有限公司 Method for remotely and safely accessing virtual machine
CN111104200A (en) * 2019-12-11 2020-05-05 秒针信息技术有限公司 Virtual machine management method, device, storage medium and server
CN112162825A (en) * 2020-10-12 2021-01-01 北京首都在线科技股份有限公司 Equipment configuration method, device, equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10365935B1 (en) * 2008-09-23 2019-07-30 Open Invention Network Llc Automated system and method to customize and install virtual machine configurations for hosting in a hosting environment
CN102110009A (en) * 2009-12-28 2011-06-29 中国移动通信集团公司 Method for deploying application in virtual platform and virtual platform manager
CN108287750A (en) * 2012-09-12 2018-07-17 格林伊登美国控股有限责任公司 System and method for the dynamic elasticity for providing liaison centre's resource
CN102932408A (en) * 2012-09-21 2013-02-13 中国电信股份有限公司云计算分公司 Management method and platform of server cluster
CN103297514A (en) * 2013-05-06 2013-09-11 北京启创卓越科技有限公司 Virtual machine management platform and virtual machine management method based on cloud infrastructure
CN104579887A (en) * 2013-10-16 2015-04-29 宇宙互联有限公司 Cloud gateway as well as cloud gateway creation and configuration system and method
CN104636189A (en) * 2015-02-25 2015-05-20 哈尔滨工业大学 Xen-based virtual machine deployment system and Xen-based virtual machine deployment method
CN106095526A (en) * 2016-06-06 2016-11-09 腾讯科技(深圳)有限公司 Virtual Server Cluster and the dispositions method of server, device and system
CN108089910A (en) * 2016-11-23 2018-05-29 北京国双科技有限公司 The method and apparatus for configuring virtual machine IP address
CN110995705A (en) * 2019-12-03 2020-04-10 广州西麦科技股份有限公司 Method for remotely and safely accessing virtual machine
CN111104200A (en) * 2019-12-11 2020-05-05 秒针信息技术有限公司 Virtual machine management method, device, storage medium and server
CN112162825A (en) * 2020-10-12 2021-01-01 北京首都在线科技股份有限公司 Equipment configuration method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于软件路由器的网络环境自动构建技术研究;张云;张云;I139-76 *

Also Published As

Publication number Publication date
CN113238835A (en) 2021-08-10

Similar Documents

Publication Publication Date Title
CN113238835B (en) Virtual machine configuration method, device, server and system
EP3975503A1 (en) Esim card replacement method and related device
US11294735B2 (en) Method and apparatus for accessing desktop cloud virtual machine, and desktop cloud controller
CN111934918A (en) Network isolation method and device for container instances in same container cluster
CN111935110B (en) Method and device for controlling permission of tenant to access container instance
CN113626286A (en) Multi-cluster instance processing method and device, electronic equipment and storage medium
CN113572862A (en) Cluster deployment method and device, electronic equipment and storage medium
CN105373417A (en) Method and system for virtual machine management in cloud computing
CN113961520A (en) Dynamic file mounting method, system, computer equipment and readable storage medium
CN110928554A (en) Deployment method, device, equipment and storage medium
CN110968823A (en) Application client starting method, service server and client equipment
CN113051026B (en) Virtual machine creating method and device and storage medium
CN112559352A (en) Interface test method, device, equipment and storage medium
US10572166B1 (en) Firmware download for a solid state storage card
CN115774742A (en) Data storage newly-increased method, device, equipment, medium and product of private cloud
CN111026452B (en) Method and system for remote 32-bit process injection of 64-bit process
CN109120588B (en) Method for acquiring verification information and data center
CN110286956B (en) Plug-in operation method and device and electronic equipment
WO2022134918A1 (en) Virtual machine attribute changing method and apparatus, storage medium, and electronic device
CN117591248B (en) Terminal system processing method based on containerized virtual machine and electronic equipment
CN111857758B (en) Application deployment method, device and medium
CN116302174A (en) Plug-in management method and device based on cloud application
CN114185602B (en) Starting method, device and terminal of operating system
CN114499946B (en) Login management method, device, equipment and machine-readable storage medium
CN113949712B (en) Cloud host cluster high-availability processing method, system, electronic equipment and storage medium

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