CN112804352B - Cloud server initialization method and device and storage medium - Google Patents

Cloud server initialization method and device and storage medium Download PDF

Info

Publication number
CN112804352B
CN112804352B CN202110278069.0A CN202110278069A CN112804352B CN 112804352 B CN112804352 B CN 112804352B CN 202110278069 A CN202110278069 A CN 202110278069A CN 112804352 B CN112804352 B CN 112804352B
Authority
CN
China
Prior art keywords
cloud server
service
initialization
hardware configuration
configuration information
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
CN202110278069.0A
Other languages
Chinese (zh)
Other versions
CN112804352A (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.)
Beijing Horizon Yuntian Technology Co ltd
Original Assignee
Beijing Horizon Yuntian 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 Beijing Horizon Yuntian Technology Co ltd filed Critical Beijing Horizon Yuntian Technology Co ltd
Priority to CN202110278069.0A priority Critical patent/CN112804352B/en
Publication of CN112804352A publication Critical patent/CN112804352A/en
Application granted granted Critical
Publication of CN112804352B publication Critical patent/CN112804352B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • 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/44505Configuring for program initiating, e.g. using registry, configuration files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (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 disclosure relates to a cloud server initialization method, a cloud server initialization device and a storage medium. The cloud server initialization method comprises the following steps: acquiring asset information of a cloud server to be initialized, wherein the asset information at least comprises a service type and an operating environment of the cloud server; determining a first template group matched with the service type from pre-stored template group information according to the service type, wherein the first template group comprises a first service set which corresponds to the service type and needs to be initialized; and initializing the cloud server according to the running environment and the first service set. By the method and the device, manual intervention and maintenance on initialization operation of the cloud server can be reduced, the initialization operation of the cloud server can be intelligently performed, and the cloud server can be initialized more flexibly.

Description

Cloud server initialization method and device and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a cloud server initialization method, an apparatus, and a storage medium.
Background
The cloud server allocates corresponding computing resources on a plurality of physical servers by using a virtualization technology according to user requirements, and can be used as an independent server.
The cloud server initialization is a process of deploying basic supporting software for the cloud server and configuring the supporting software after the operating system of the cloud server is installed.
At present, when a cloud server is initialized, a service to be initialized needs to be manually written in a script, a script file is uploaded to the cloud server, and the initialization script is manually executed or a remote execution manager is sent to the cloud server for execution. After the initialization script is executed, the execution result needs to be manually checked and accepted manually, or the remote execution manager is used for executing the check and acceptance script, so that the cloud server initialization efficiency is low.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a cloud server initialization method, apparatus, and storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a cloud server initialization method, including:
acquiring asset information of a cloud server to be initialized, wherein the asset information at least comprises a service type and an operating environment of the cloud server;
determining a first template group matched with the service type from pre-stored template group information according to the service type, wherein the first template group comprises a first service set which corresponds to the service type and needs to be initialized;
And initializing the cloud server according to the running environment and the first service set.
Optionally, the asset information further includes hardware configuration information of the cloud server;
before determining the first template set matched with the service type from the pre-stored template set information according to the service type, the method further comprises:
detecting the hardware configuration information, and determining whether a service adaptive to the hardware configuration information exists;
and if the service adaptive to the hardware configuration information exists, initializing the cloud server according to the service adaptive to the hardware configuration information.
Optionally, the initializing the cloud server according to the operating environment and the first service set includes:
respectively determining a first initialization version of each service based on the running environment based on the corresponding relation between the preset service version and the running environment according to the running environment;
determining a first initialization sequence of each service according to a preset initialization dependency relationship between services corresponding to the running environment;
Initializing the services into the cloud server one by one according to the first initialization version and the first initialization sequence of the services.
Optionally, after the services are initialized into the cloud server one by one, the method further includes:
responding to the received prompt message of the asset information change, and acquiring the changed asset information included in the prompt message;
and updating the initialization operation of the cloud server according to the changed asset information.
Optionally, the information that changes in the asset information includes: a combination of one or more of a type of service, a runtime environment, and hardware configuration information.
Optionally, the updating the initialization operation of the cloud server according to the changed asset information includes:
when the changed asset information comprises the service type, determining a second template group matched with the changed service type according to the changed service type, wherein the second template group comprises a second service set which corresponds to the service type and needs to be initialized, and updating the initialization operation of the cloud server according to the operating environment and the second service set;
When the changed asset information comprises an operating environment, determining a second initialization version of each service in the first service set, which is matched with the changed operating environment, according to the changed operating environment, determining a second initialization sequence of each service, and updating the initialization operation on the cloud server according to the second initialization version of each service and the second initialization sequence;
and when the changed asset information comprises hardware configuration information, determining whether a service adaptive to the changed hardware configuration information exists, and if the service adaptive to the changed hardware configuration information exists, performing initialization operation on the cloud server according to the service adaptive to the changed hardware configuration information.
Optionally, the method further comprises:
and recording operation results of the initialization operation of the cloud services one by one according to the sequence of the initialization of the services, and storing the operation results and the asset information in an associated manner.
According to a second aspect of the embodiments of the present disclosure, there is provided a cloud server initialization apparatus, including:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring asset information of a cloud server to be initialized, and the asset information at least comprises a service type and an operating environment of the cloud server;
A determining module, configured to determine, according to the service type, a first template group matched with the service type from pre-stored template group information, where the first template group includes a first service set that needs to be initialized and corresponds to the service type;
and the processing module is used for carrying out initialization operation on the cloud server according to the running environment and the first service set.
Optionally, the asset information further includes hardware configuration information of the cloud server;
the determining module is further configured to detect the hardware configuration information and determine whether a service adapted to the hardware configuration information exists before determining a first template group matched with the service type from pre-stored template group information according to the service type;
and if the service adaptive to the hardware configuration information exists, initializing the cloud server according to the service adaptive to the hardware configuration information.
Optionally, the processing module performs an initialization operation on the cloud server according to the operating environment and the first service set in the following manner:
respectively determining a first initialization version of each service based on the running environment based on the corresponding relation between the preset service version and the running environment according to the running environment;
Determining a first initialization sequence of each service according to a preset initialization dependency relationship between services corresponding to the running environment;
initializing the services into the cloud server one by one according to the first initialization version and the first initialization sequence of the services.
Optionally, the determining module is further configured to:
after the services are initialized into the cloud server one by one, responding to the received prompt message of the asset information change, and acquiring the changed asset information in the prompt message;
and updating the initialization operation of the cloud server according to the changed asset information.
Optionally, the information that changes in the asset information includes: a combination of one or more of a type of service, a runtime environment, and hardware configuration information.
Optionally, the processing module updates the initialization operation on the cloud server according to the changed asset information in the following manner:
when the changed asset information comprises the service type, determining a second template group matched with the changed service type according to the changed service type, wherein the second template group comprises a second service set which corresponds to the service type and needs to be initialized, and updating the initialization operation of the cloud server according to the operating environment and the second service set;
When the changed asset information comprises an operating environment, determining a second initialization version of each service in the first service set, which is matched with the changed operating environment, according to the changed operating environment, determining a second initialization sequence of each service, and updating the initialization operation on the cloud server according to the second initialization version of each service and the second initialization sequence;
and when the changed asset information comprises hardware configuration information, determining whether a service adaptive to the changed hardware configuration information exists, and if the service adaptive to the changed hardware configuration information exists, performing initialization operation on the cloud server according to the service adaptive to the changed hardware configuration information.
Optionally, the determining means is further configured to:
and recording operation results of the initialization operation of the cloud services one by one according to the sequence of the initialization of the services, and storing the operation results and the asset information in an associated manner.
According to a third aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the cloud server initialization method provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: by acquiring the asset information of the cloud server to be initialized, the service set required by the initialization operation of the cloud server and the initialization sequence of each service in the service set can be automatically configured without manual intervention according to the service type and the operation environment included in the asset information, so that the manual intervention and maintenance on the initialization operation of the cloud server are reduced, the initialization operation of the cloud server is intelligently realized, and the cloud server is more flexibly initialized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a cloud server initialization method according to an example embodiment.
Fig. 2 is a flowchart illustrating a cloud server initialization method according to an example embodiment.
Fig. 3 is a flowchart illustrating a cloud server initialization method according to an example embodiment.
Fig. 4 is a block diagram illustrating a cloud server initialization apparatus according to an example embodiment.
FIG. 5 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a cloud server initialization method according to an exemplary embodiment, where the cloud server initialization method, as shown in fig. 1, includes the following steps.
In step S11, asset information of the cloud server to be initialized is obtained, where the asset information at least includes a service type and an operating environment of the cloud server.
In the present disclosure, the asset information of the cloud server may include, for example, machine room information of the cloud server, device information of the cloud server, and IP resource information of the cloud server.
The machine room information of the cloud server may include a name of the machine room to which the cloud server belongs, an english name of the machine room to which the cloud server belongs, an operator to which the cloud server belongs, and the like.
The device information of the cloud server may include a service type, an operating environment, and hardware configuration information of the cloud server, where the service type may include, for example, an on-demand service, a live service, and the like. The operating environment may be, for example, an operating system corresponding to the cloud server and a version of the corresponding operating system, and the operating system may include, for example, a windows operating system, a Linux operating system, an iOS operating system, an android operating system, and the like. The hardware configuration information may include, for example, hard disk configuration information, network card configuration information, and memory configuration information.
In step S12, according to the service type, a first template set matching the service type is determined from the pre-stored template set information, where the first template set includes a first service set corresponding to the service type and needing to be initialized.
In one embodiment, after asset information of a cloud server to be initialized is acquired, a first template group matched with a business type is determined from pre-stored template group information, and the first template group comprises a first service set which needs to be initialized and is used for services corresponding to the business type.
For convenience of description, the template group corresponding to the service type of the cloud server is formed into a first template group.
The template group comprises a service set which corresponds to the service type and needs to be initialized.
In step S13, the cloud server is initialized according to the operating environment and the first service set.
In this disclosure, according to the operating environment of the cloud server and the first service set, for example, the following manner may be adopted to perform initialization operation on the cloud server:
the method comprises the steps of respectively determining a first initialization version of each service based on an operation environment according to the operation environment, namely the operation system type and the operation system version of the cloud server, according to the operation environment and based on the corresponding relation between a preset service version and the operation environment, determining a first initialization sequence of each service according to a preset initialization dependency relation between the services corresponding to the operation environment, and initializing the cloud server according to the first initialization version and the first initialization sequence of each service.
In the exemplary embodiment of the disclosure, by acquiring the asset information of the cloud server to be initialized, according to the service type and the operating environment included in the asset information, a service set required during the initialization operation of the cloud server and an initialization sequence of each service in the service set can be automatically configured without manual intervention, so that the intervention and maintenance of the initialization operation of the cloud server manually are reduced, the initialization operation of the cloud server is intelligently performed, and the initialization of the cloud server is more flexible.
Fig. 2 is a flowchart illustrating a cloud server initialization method according to an exemplary embodiment, and as shown in fig. 2, the cloud server initialization method includes the following steps.
In step S21, asset information of the cloud server to be initialized is obtained, where the asset information includes a service type and an operating environment of the cloud server, and also includes hardware configuration information of the cloud server.
In step S22, the hardware configuration information is detected, it is determined whether a service adapted to the hardware configuration information exists, and if the service adapted to the hardware configuration information exists, an initialization operation is performed on the cloud server according to the service adapted to the hardware configuration information.
Wherein the service adapted to the hardware may for example comprise that a specific service or driver has to be adapted to a specific hardware.
The hardware configuration information may include, for example, hard disk configuration information, network card configuration information, and memory configuration information. The hard disk configuration information may include information such as a hard disk type, the network card configuration information may include information such as a network card configuration type, and the memory configuration information may include information such as a memory size.
In step S23, a first template set matching the service type is determined according to the service type, where the first template set includes a first service set of services corresponding to the service type and needing to be initialized.
In step S24, the cloud server is initialized according to the operating environment and the first service set.
In the exemplary embodiment of the disclosure, by acquiring the asset information of the cloud server to be initialized, according to the hardware configuration information, the service type and the operating environment included in the asset information, manual intervention is not required, the service set required during the initialization operation of the cloud server can be automatically configured and the initialization sequence of each service in the service set can be obtained, the intervention and maintenance of the initialization operation of the cloud server by manual work are reduced, the initialization operation of the cloud server is intelligently performed, and the cloud server is initialized more flexibly.
Fig. 3 is a flowchart illustrating a cloud server initialization method according to an exemplary embodiment, and as shown in fig. 3, the cloud server initialization method includes the following steps.
In step S31, asset information of the cloud server to be initialized is obtained, where the asset information includes a service type and an operating environment of the cloud server, and also includes hardware configuration information of the cloud server.
In step S32, the hardware configuration information is detected, it is determined whether a service adapted to the hardware configuration information exists, and if the service adapted to the hardware configuration information exists, an initialization operation is performed on the cloud server according to the service adapted to the hardware configuration information.
In step S33, a first template set matching the service type is determined according to the service type, where the first template set includes a first service set of services corresponding to the service type and needing to be initialized.
In step S34, the cloud server is initialized according to the operating environment and the first service set.
In step S35, in response to receiving the prompt message indicating that the asset information has changed, the changed asset information included in the prompt message is acquired, and the initialization operation for the cloud server is updated according to the changed asset information.
In the related art, after the service related to the initialization of the cloud server is written in one script, and the service related to the initialization of the cloud server is executed on the cloud server, because the service related to the initialization of the cloud server has a high dependence on the hardware configuration of the operating system of the cloud server or the cloud server, when the operating system of the cloud server is upgraded in a large version or the hardware configuration of the cloud server is replaced, the initialization script of the cloud server is often required to be manually re-manufactured, the initialization operation is inflexible, and the initialization efficiency is low.
Therefore, in order to intelligently initialize a server and flexibly configure a service to be initialized, in one embodiment, when asset information of the cloud server changes, the method and the system can acquire the changed asset information included in a prompt message based on the prompt message which is sent by a user and indicates that the asset information of the cloud server changes, and update the initialization operation on the cloud server according to the changed asset information.
And when the changed asset information comprises the service type, determining a second template group matched with the changed service type according to the changed service type, and updating the initialization operation of the cloud server according to the operating environment and the second service set.
And when the changed asset information comprises the running environment, determining a second initialization version of each service in the first service set, which is matched with the changed running environment, according to the changed running environment, determining a second initialization sequence of each service, and updating the initialization operation of the cloud server according to the second initialization version of each service and the second initialization sequence.
And when the changed asset information comprises hardware configuration information, determining whether a service adaptive to the changed hardware configuration information exists, and if the service adaptive to the changed hardware configuration information exists, performing initialization operation on the cloud server according to the service adaptive to the changed hardware configuration information.
In addition, in order to facilitate a user to check detailed information of the initialization operation performed on the cloud service in a later stage, in one embodiment, the method and the device for initializing the cloud service can record operation results of the initialization operation performed on the cloud service one by one according to the sequence of the initialization of the service, and store the operation results and the asset information in an associated manner.
In the exemplary embodiment of the disclosure, when the asset information of the cloud server changes, the changed asset information included in the prompt message may be acquired based on the prompt message sent by the user and indicating that the asset information of the cloud server changes, the service matched with the cloud server may be automatically adapted according to the changed asset information, the initialization operation on the cloud server may be updated, the initialization script of the cloud server does not need to be re-made, the flexible configuration on the initialized service is realized, and the intellectualization and the initialization efficiency on the initialization operation of the cloud server are improved.
Fig. 4 is a block diagram illustrating a cloud server initialization apparatus 400 according to an example embodiment. Referring to fig. 4, the apparatus includes an acquisition module 401, a determination module 402, and a processing module 403.
The obtaining module 401 is configured to obtain asset information of a cloud server to be initialized, where the asset information at least includes a service type and an operating environment of the cloud server;
the determining module 402 is configured to determine, according to the service type, a first template group matched with the service type from pre-stored template group information, where the first template group includes a first service set that corresponds to the service type and needs to be initialized;
The processing module 403 is configured to perform an initialization operation on the cloud server according to the operating environment and the first service set.
Optionally, the asset information further includes hardware configuration information of the cloud server;
the determining module 402 is further configured to detect the hardware configuration information and determine whether a service adapted to the hardware configuration information exists before determining, according to the service type, a first template group matched with the service type from pre-stored template group information;
and if the service adaptive to the hardware configuration information exists, initializing the cloud server according to the service adaptive to the hardware configuration information.
Optionally, the processing module 403 initializes the cloud server according to the operating environment and the first service set in the following manner:
respectively determining a first initialization version of each service based on the running environment based on the corresponding relation between the preset service version and the running environment according to the running environment;
determining a first initialization sequence of each service according to a preset initialization dependency relationship between services corresponding to the running environment;
Initializing the services into the cloud server one by one according to the first initialization version and the first initialization sequence of the services.
Optionally, the determining module 402 is further configured to:
after the services are initialized into the cloud server one by one, responding to the received prompt message of the asset information change, and acquiring the changed asset information in the prompt message;
and updating the initialization operation of the cloud server according to the changed asset information.
Optionally, the information that changes in the asset information includes: a combination of one or more of a type of service, a runtime environment, and hardware configuration information.
Optionally, the processing module 403 updates the initialization operation on the cloud server according to the changed asset information in the following manner:
when the changed asset information comprises the service type, determining a second template group matched with the changed service type according to the changed service type, wherein the second template group comprises a second service set which corresponds to the service type and needs to be initialized, and updating the initialization operation of the cloud server according to the operating environment and the second service set;
When the changed asset information comprises an operating environment, determining a second initialization version of each service in the first service set, which is matched with the changed operating environment, according to the changed operating environment, determining a second initialization sequence of each service, and updating the initialization operation on the cloud server according to the second initialization version of each service and the second initialization sequence;
and when the changed asset information comprises hardware configuration information, determining whether a service adaptive to the changed hardware configuration information exists, and if the service adaptive to the changed hardware configuration information exists, performing initialization operation on the cloud server according to the service adaptive to the changed hardware configuration information.
Optionally, the determining device 402 is further configured to:
and recording operation results of the initialization operation of the cloud services one by one according to the sequence of the initialization of the services, and storing the operation results and the asset information in an associated manner.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the cloud server initialization method provided by the present disclosure.
Fig. 5 is a block diagram illustrating an apparatus 500 for cloud server initialization, according to an example embodiment. For example, the apparatus 500 may be provided as a server. Referring to fig. 5, the apparatus 500 includes a processing component 522 that further includes one or more processors and memory resources, represented by memory 532, for storing instructions, such as applications, that are executable by the processing component 522. The application programs stored in memory 532 may include one or more modules that each correspond to a set of instructions. Further, the processing component 522 is configured to execute instructions to perform the cloud server initialization methods described above.
The apparatus 500 may also include a power component 526 configured to perform power management of the apparatus 500, a wired or wireless network interface 550 configured to connect the apparatus 500 to a network, and an input/output (I/O) interface 558. The apparatus 500 may operate based on an operating system, such as Windows Server, stored in the memory 532 TM,Mac OS XTM,UnixTM, LinuxTM,FreeBSDTMOr the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. A cloud server initialization method is characterized by comprising the following steps:
acquiring asset information of a cloud server to be initialized, wherein the asset information at least comprises service type, operating environment and hardware configuration information of the cloud server;
detecting the hardware configuration information, and determining whether a service adaptive to the hardware configuration information exists;
if the service adaptive to the hardware configuration information exists, initializing the cloud server according to the service adaptive to the hardware configuration information, wherein the service adaptive to the hardware configuration information is a service or a drive which needs to be specific to specific hardware adaptation;
Determining a first template group matched with the service type from pre-stored template group information according to the service type, wherein the first template group comprises a first service set which corresponds to the service type and needs to be initialized;
and initializing the cloud server according to the running environment and the first service set.
2. The cloud server initialization method according to claim 1, wherein the initializing the cloud server according to the operating environment and the first set of services includes:
respectively determining a first initialization version of each service based on the running environment based on the corresponding relation between the preset service version and the running environment according to the running environment;
determining a first initialization sequence of each service according to a preset initialization dependency relationship between services corresponding to the running environment;
initializing the services into the cloud server one by one according to the first initialization version and the first initialization sequence of the services.
3. The cloud server initialization method according to claim 2, wherein after the services are initialized into the cloud server one by one, the method further comprises:
Responding to the received prompt message of the asset information change, and acquiring the changed asset information included in the prompt message;
and updating the initialization operation of the cloud server according to the changed asset information.
4. The cloud server initialization method according to claim 3, wherein the information in which the change occurs in the asset information includes: a combination of one or more of a type of service, a runtime environment, and hardware configuration information.
5. The cloud server initialization method according to claim 4, wherein the updating the initialization operation of the cloud server according to the changed asset information includes:
when the changed asset information comprises the service type, determining a second template group matched with the changed service type according to the changed service type, wherein the second template group comprises a second service set which corresponds to the service type and needs to be initialized, and updating the initialization operation of the cloud server according to the operating environment and the second service set;
when the changed asset information comprises an operating environment, determining a second initialization version of each service in the first service set, which is matched with the changed operating environment, according to the changed operating environment, determining a second initialization sequence of each service, and updating the initialization operation on the cloud server according to the second initialization version of each service and the second initialization sequence;
And when the changed asset information comprises hardware configuration information, determining whether a service adaptive to the changed hardware configuration information exists, and if the service adaptive to the changed hardware configuration information exists, performing initialization operation on the cloud server according to the service adaptive to the changed hardware configuration information.
6. The cloud server initialization method of claim 2, wherein the method further comprises:
and recording operation results of the initialization operation of the cloud services one by one according to the sequence of the initialization of the services, and storing the operation results and the asset information in an associated manner.
7. A cloud server initialization apparatus, comprising:
the system comprises an acquisition module, a storage module and a management module, wherein the acquisition module is used for acquiring asset information of a cloud server to be initialized, and the asset information at least comprises service type, operating environment and hardware configuration information of the cloud server;
a determining module, configured to detect the hardware configuration information, determine whether a service adapted to the hardware configuration information exists, perform an initialization operation on the cloud server according to the service adapted to the hardware configuration information if the service adapted to the hardware configuration information exists, where the service adapted to the hardware configuration information is a service or a drive that needs to be specific to a specific hardware adaptation, and determine, according to the service type, a first template group that is matched with the service type from pre-stored template group information, where the first template group includes a first service set that corresponds to the service type and needs to be initialized;
And the processing module is used for carrying out initialization operation on the cloud server according to the running environment and the first service set.
8. A cloud server initialization apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: performing the steps of the method of any one of claims 1-6.
9. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 6.
CN202110278069.0A 2021-03-15 2021-03-15 Cloud server initialization method and device and storage medium Active CN112804352B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110278069.0A CN112804352B (en) 2021-03-15 2021-03-15 Cloud server initialization method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110278069.0A CN112804352B (en) 2021-03-15 2021-03-15 Cloud server initialization method and device and storage medium

Publications (2)

Publication Number Publication Date
CN112804352A CN112804352A (en) 2021-05-14
CN112804352B true CN112804352B (en) 2021-07-02

Family

ID=75817069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110278069.0A Active CN112804352B (en) 2021-03-15 2021-03-15 Cloud server initialization method and device and storage medium

Country Status (1)

Country Link
CN (1) CN112804352B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117035292A (en) * 2023-07-28 2023-11-10 广州盈风网络科技有限公司 Cloud product distribution method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436912B (en) * 2007-11-16 2010-08-04 华为技术有限公司 Method, equipment and system for transmitting notification of service initializtion information
WO2016011826A1 (en) * 2014-07-24 2016-01-28 深圳天珑无线科技有限公司 Cloud virtual server scheduling method and device
CN107463411A (en) * 2017-08-16 2017-12-12 北京新网数码信息技术有限公司 A kind of cloud main frame initial method and device
CN111552483A (en) * 2020-04-29 2020-08-18 深信服科技股份有限公司 Cloud service deployment method, device, equipment and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100410880C (en) * 2005-08-17 2008-08-13 联想(北京)有限公司 Method for automatic deploying operate system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436912B (en) * 2007-11-16 2010-08-04 华为技术有限公司 Method, equipment and system for transmitting notification of service initializtion information
WO2016011826A1 (en) * 2014-07-24 2016-01-28 深圳天珑无线科技有限公司 Cloud virtual server scheduling method and device
CN107463411A (en) * 2017-08-16 2017-12-12 北京新网数码信息技术有限公司 A kind of cloud main frame initial method and device
CN111552483A (en) * 2020-04-29 2020-08-18 深信服科技股份有限公司 Cloud service deployment method, device, equipment and medium

Also Published As

Publication number Publication date
CN112804352A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN109117169B (en) Method and device for repairing kernel vulnerability
US10592403B2 (en) Method for automated integration testing with mock microservices
US8756595B2 (en) Method and system for distributed application stack deployment
US9465625B2 (en) Provisioning of operating environments on a server in a networked environment
US8468328B2 (en) System and method for verifying compatibility of computer equipment with a software product
US20220276854A1 (en) Application Deployment Method, Apparatus, and System
EP2385464A1 (en) Method and system for automatic generation of operating system boot images
US10372463B1 (en) Provisioning a computerized device with an operating system
US8332490B2 (en) Method, apparatus and program product for provisioning a computer system
CN110908753B (en) Intelligent fusion cloud desktop server, client and system
CN103744695A (en) Method and system for operating system remote installation on basis of PXE
US20150242200A1 (en) Re-configuration in cloud computing environments
CN105072398B (en) A kind of device updating method and device
CN113330419A (en) Equipment application installation method and device
CN112804352B (en) Cloud server initialization method and device and storage medium
CN112968929A (en) Server management method and system
CN106897061B (en) Operating system processing method and device based on pre-boot execution environment PXE
CN112685071A (en) Application program repairing method, device, equipment and storage medium
CN112256289A (en) Automatic deployment method, device and equipment
CN116737513B (en) Computer hardware information acquisition method, system and computer equipment
US20240005268A1 (en) Network architecture provisioning using build sheets
CN111506320B (en) Installation method, installation configuration device and installation configuration equipment
CN111240752B (en) Operating system self-adaption method and system
CN116737187A (en) Processing method and device of operating system, storage medium and electronic equipment
WO2020111931A1 (en) A system and method to download and convert a virtual appliance in a cloud computing system

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