CN111030875A - System deployment method and device of data center and computer storage medium - Google Patents

System deployment method and device of data center and computer storage medium Download PDF

Info

Publication number
CN111030875A
CN111030875A CN201911358294.4A CN201911358294A CN111030875A CN 111030875 A CN111030875 A CN 111030875A CN 201911358294 A CN201911358294 A CN 201911358294A CN 111030875 A CN111030875 A CN 111030875A
Authority
CN
China
Prior art keywords
machine
target
deployment
code
attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911358294.4A
Other languages
Chinese (zh)
Inventor
王建红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Power Commercial Systems Co Ltd
Original Assignee
Inspur Power Commercial Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Power Commercial Systems Co Ltd filed Critical Inspur Power Commercial Systems Co Ltd
Priority to CN201911358294.4A priority Critical patent/CN111030875A/en
Publication of CN111030875A publication Critical patent/CN111030875A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • 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/0889Techniques to speed-up the configuration process

Abstract

The application discloses a system deployment method, a system deployment device and a computer storage medium of a data center, wherein the method stores the corresponding relation between the physical position and the code of each machine in advance, and establishes the machine attribute of each machine according to the corresponding code. After a deployment command of a target machine is obtained, firstly, the attribute of the target machine and a target resource packet corresponding to the target machine in a resource pool are searched according to a target code; and sending the target machine attribute to the target machine to write in the corresponding equipment, and carrying out system deployment on the target machine according to the deployment package in the target resource package. When the system is deployed, only the code of the machine needs to be determined, and the code corresponds to the physical position one by one, so that when the machine at the same physical position fails, only the operation and maintenance personnel need to input the code on the new machine, and complicated data such as a unique identification code of the new machine does not need to be input, the working intensity and complexity of the operation and maintenance personnel are reduced, and the deployment efficiency is improved.

Description

System deployment method and device of data center and computer storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for deploying a system in a data center, and a computer storage medium.
Background
With the rapid development of computer technology, the size of data centers is also getting larger and larger. Due to the development of software technology, fault tolerance and backup capability are greatly improved, when a single machine or a small part of machines in the data center break down, the operation of the service is not greatly influenced, and only the broken-down machine needs to be replaced in time. The data center comprises a deployment host, which is used for performing system deployment on each machine in the data center, such as an operating system.
During operation, if a single machine fails, the failed machine needs to be replaced and the system redeployed to the newly added machine. When a system is deployed by a deployment host, a corresponding system package is deployed according to a Media Access Control (MAC) address, a Universal Unique Identifier (UUID) and a physical global port name (WWPN) of a machine, so that after a certain machine fails, the MAC address, the UUID and the WWPN of a newly added machine are different from those of an original machine, and the deployment host needs to identify the new MAC address, the UUID and the WWPN.
The input of the above information is a very tedious work, which undoubtedly increases the workload and complexity of deployment.
Disclosure of Invention
The invention aims to provide a system deployment method, a system deployment device and a computer storage medium of a data center, which are used for reducing the workload and complexity of deployment when a system is deployed.
In order to solve the above technical problem, the present application provides a system deployment method for a data center, which is applied to deploy a host, and the method includes:
pre-storing the corresponding relation between the physical position of each machine and the code;
establishing machine attributes of the machines according to the corresponding codes; wherein each machine attribute corresponds to each machine one to one;
after a deployment command of a target machine is obtained, searching target machine attributes and a target resource packet corresponding to the target machine attributes and the resource pool according to a target code; wherein, the deployment command comprises the target code;
and sending the target machine attribute to the target machine to write in corresponding equipment, and carrying out system deployment on the target machine according to the deployment package in the target resource package.
Preferably, the machine attribute comprises a unique identification code of the machine and the code.
Preferably, the unique identification code comprises a MAC address, a UUID and a WWPN.
Preferably, after the deployment command of the target machine is obtained, the target machine attribute and the target resource package corresponding to the target machine attribute and the target resource package in the resource pool are searched according to the target code, and the target machine attribute and the target resource package are searched in a traversal searching manner.
Preferably, the method further comprises the following steps:
judging whether the target code is acquired for the first time;
and if not, determining that the machine at the target physical position corresponding to the target code is in fault, and recording.
Preferably, the method further comprises the following steps:
and after receiving an updating signal, updating the corresponding relation.
In order to solve the above technical problem, the present application further provides a system deployment method of a data center, which is applied to a deployed machine, and the method includes:
receiving input target codes, wherein each code has a corresponding relation with the physical position of each machine;
sending the deployment command containing the target code to a deployment host so that the deployment host searches the target machine attribute and the target resource packet corresponding to the target machine attribute in the resource pool according to the target code after acquiring the deployment command; the deployment host stores the corresponding relation between the physical position and the code of each machine in advance, and establishes the machine attribute of each machine according to the corresponding code;
and receiving the target machine attribute sent by the deployment host, and writing the target machine attribute into corresponding equipment so that the deployment host performs system deployment according to the deployment package in the target resource package.
In order to solve the above technical problem, the present application further provides a system deployment apparatus for a data center, which is applied to deploy a host, and the apparatus includes:
the storage module is used for pre-storing the corresponding relation between the physical position and the code of each machine;
the establishing module is used for establishing the machine attribute of each machine according to the corresponding code; wherein each machine attribute corresponds to each machine one to one;
the searching module is used for searching the target machine attribute and the corresponding target resource packet in the resource pool according to the target code after the deployment command of the target machine is obtained; wherein, the deployment command comprises the target code;
and the deployment module is used for sending the target machine attribute to the target machine to write in the corresponding equipment, and carrying out system deployment on the target machine according to the deployment package in the target resource package.
In order to solve the above technical problem, the present application further provides a system deployment apparatus of a data center, including a memory for storing a computer program;
a processor for implementing the steps of the system deployment method of the data center when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the system deployment method of the data center.
The system deployment method of the data center provided by the application stores the corresponding relation between the physical position and the code of each machine in advance, and establishes the machine attribute of each machine according to the corresponding code; wherein, each machine attribute corresponds to each machine one to one. After a deployment command of a target machine is obtained, firstly, the attribute of the target machine and a target resource packet corresponding to the target machine in a resource pool are searched according to a target code; and sending the target machine attribute to the target machine to write in the corresponding equipment, and carrying out system deployment on the target machine according to the deployment package in the target resource package. Therefore, by adopting the technical scheme, when the system is deployed, only the code of the machine needs to be determined, and the code and the physical position correspond to each other one by one, so that when the machine at the same physical position fails, only the operation and maintenance personnel need to input the code corresponding to the physical position on the new machine, and do not need to input the only identification code and other complex data of the new machine, the working intensity and complexity of the operation and maintenance personnel are reduced, and the deployment efficiency is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a method for deploying a system in a data center according to an embodiment of the present application;
fig. 2 is a structural diagram of a resource pool provided in the application example;
FIG. 3 is a block diagram of a connection between a deployment host and various machines provided by the application;
fig. 4 is a flowchart of another method for deploying a system in a data center according to an embodiment of the present application;
fig. 5 is a flowchart of another method for deploying a system in a data center according to an embodiment of the present application;
fig. 6 is a structural diagram of a system deployment apparatus of a data center according to an embodiment of the present disclosure;
fig. 7 is a block diagram of another system deployment apparatus of a data center according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a system deployment method and device of a data center and a computer storage medium.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for deploying a system in a data center according to an embodiment of the present application. The method is applied to the deployment of the host, and as shown in fig. 1, the method includes:
s10: the correspondence between the physical position of each machine and the code is stored in advance.
In a specific implementation, the physical location of the machine is not usually changed, and table 1 is a corresponding table of the physical location and the code.
TABLE 1
Physical location Encoding
X computer lab Y frame L layer 00001
M layers of Y machine frame of X machine room 00002
X computer lab N frame L layer 00003
As shown in table 1, each physical location has a unique corresponding relationship with a code, one physical location is used for placing one machine, and each machine is connected with the deployment host and used for finishing tasks such as system deployment and the like by interacting with the deployment host.
In the specific implementation, in order to input the corresponding physical position to each machine, a positioning module needs to be added to a management module of each machine, and the module has the function of providing an input interface for an operation and maintenance person to input codes when the machine is started and put on shelf.
S11: and establishing the machine attribute of each machine according to the corresponding code.
The machine attributes are in one-to-one correspondence with the machines, and because the machine attributes are unique, the machine attributes may include codes and other identifiers of the machines. Because the machine attribute is established according to the code, the machine attribute and the code also have a unique corresponding relationship, namely the machine attribute can be determined through the code, and the code can also be determined through the machine attribute.
S12: after the deployment command of the target machine is obtained, the target machine attribute and the target resource packet corresponding to the target machine attribute in the resource pool are searched according to the target code.
In general, when a machine is on shelf, an operation and maintenance person inputs a corresponding target code according to a physical position of the machine to generate a deployment command, that is, the deployment command includes the target code, and the machine communicates with a deployment host, so that the target code is sent to the deployment host.
The target code is one of the above codes, and is only to distinguish from other codes, when any machine performs system deployment, the code is the target code, and the machine attribute is the target machine attribute.
In a specific implementation, the resource pool includes a plurality of resource packages for performing resource deployment on each machine connected to the deployment host. And each resource packet in the resource pool is in one-to-one correspondence with the machine attribute, so that the corresponding resource packet can be found through the machine attribute. As a preferred embodiment, the machine attributes include a unique identifier and a code of the machine, the unique identifier including a MAC address, a UUID and a WWPN.
Fig. 2 is a structural diagram of a resource pool provided in the application embodiment, and as shown in fig. 2, the resource pool includes a plurality of sub-resource pools, which are respectively a resource pool a, a resource pool b, and the like, where each sub-resource pool corresponds to one deployment package, but corresponding deployment parameters are different according to different machine attributes. For example, in fig. 2, resource pool a may only provide a deployment package for deploying a operating system + B software, and resource pool B may only provide a deployment package for deploying C operating system + D software. In resource pool a, there are deployment packages for machine attribute 1, deployment packages for machine attribute 2, and deployment packages for machine attribute 3. In the machine attribute 1, the corresponding code is 0001, MAC is 123, UUID is 456, and WWPN is 789, so that the physical location of the machine corresponding to the deployment package is X machine room Y rack L layer. In the machine attribute 2, the corresponding code is 0002, MAC is 123, UUID is 456, and WWPN is 789, so that the physical location of the machine corresponding to the deployment package is X machine room, Y rack, and M layer. In the machine attribute 3, the corresponding code is 0003, MAC is 123, UUID is 456, and WWPN is 789, so that the physical location of the machine corresponding to the deployment package is X machine room, N rack, and L layer. Resource pool b is similar and will not be described in detail. By dividing the resource pool into a plurality of sub-resource pools, when the system is deployed, the corresponding sub-resource pool can be directly found according to the deployment package, so that the whole resource pool is prevented from being searched, and the time is saved.
S13: and sending the target machine attribute to the target machine to write in the corresponding equipment, and carrying out system deployment on the target machine according to the deployment package in the target resource package.
After the deployment host obtains the attribute of the target machine, the deployment host sends the attribute to the target machine, and the target machine writes the attribute into the corresponding device, for example, if the unique identifier includes the MAC address, the UUID, and the WWPN, the target machine writes the unique identifier into the device such as the network card and the HBA card. After the target machine is written, the deployment host performs system deployment on the target machine according to the deployment package, the specific process is the same as that in the prior art, and details are not repeated in this embodiment.
In order to make the technical effects of the method for deploying a system in a data center provided in the present application more clear to those skilled in the art, the following description is made in conjunction with the case of machine failure. Fig. 3 is a block diagram of a connection between a deployment host and various machines provided by the application. Wherein the thinner lines represent the management network and the thicker lines represent the deployment network. The management network is mainly used for transmitting the codes, the machine attributes and the like of the machines, and the deployment network is mainly used for transmitting data in the deployment process. Machine a is taken as an example for illustration.
Before a fault:
when the machine A is put on shelf for the first time, the operation and maintenance personnel input the codes corresponding to the physical positions of the machine A, the codes are transmitted to the deployment host through the management network, after the deployment host obtains the codes, the machine attributes and the resource packages corresponding to the codes in the resource pool are searched according to the relation between the codes and the machine attributes, the machine attributes are sent to the machine A to be written into corresponding equipment, and the system deployment is carried out on the machine A according to the deployment package in the resource packages.
After the fault:
the operation and maintenance personnel remove the machine A and mount the machine A + at the original physical position, still input the codes corresponding to the physical position at the moment, transmit the codes to the deployment host through the management network, search the machine attributes and the resource packages corresponding to the codes in the resource pool according to the relationship between the codes and the machine attributes after the deployment host obtains the codes, send the machine attributes to the machine A + to write in the corresponding equipment, and perform system deployment on the machine A + according to the deployment package in the resource packages.
Therefore, after the machine fails, the machine attributes of the new machine, such as the MAC address, the UUID, the WWPN and the like, do not need to be determined, and only the codes corresponding to the physical positions of the new machine need to be input, so that the workload and the complexity of operation and maintenance personnel are greatly reduced, and the probability of errors is further reduced.
In order to facilitate the operation and maintenance personnel to obtain the codes corresponding to the physical positions, the corresponding relationship between the physical positions and the codes can be stored in each machine, or the corresponding codes are pasted on the physical positions to prevent errors.
The system deployment method of the data center provided by the embodiment of the application stores the corresponding relation between the physical position of each machine and the code in advance, and establishes the machine attribute of each machine according to the corresponding code; wherein, each machine attribute corresponds to each machine one to one. After a deployment command of a target machine is obtained, firstly, the attribute of the target machine and a target resource packet corresponding to the target machine in a resource pool are searched according to a target code; and sending the target machine attribute to the target machine to write in the corresponding equipment, and carrying out system deployment on the target machine according to the deployment package in the target resource package. Therefore, by adopting the technical scheme, when the system is deployed, only the code of the machine needs to be determined, and the code and the physical position correspond to each other one by one, so that when the machine at the same physical position fails, only the operation and maintenance personnel need to input the code corresponding to the physical position on the new machine, and do not need to input the only identification code and other complex data of the new machine, the working intensity and complexity of the operation and maintenance personnel are reduced, and the deployment efficiency is further improved.
On the basis of the above embodiment, after the deployment command of the target machine is obtained, the target machine attribute and the target resource package corresponding to the target machine attribute and the target resource package in the resource pool are searched according to the target code, and specifically, the target machine attribute and the target resource package are searched in a traversal searching manner.
In the embodiment, searching is performed in a traversal mode, so that the missing problem is avoided on one hand, and the repeated searching problem is also avoided on the other hand.
Fig. 4 is a flowchart of another method for deploying a system in a data center according to an embodiment of the present application. As shown in fig. 4, on the basis of the above embodiment, the method further includes:
s20: and judging whether the target code is acquired for the first time, and if not, entering S21.
S21: and determining the machine failure of the target physical position corresponding to the target code and recording.
It can be understood that, when a machine is first mounted in a physical location, the corresponding target code is necessarily obtained for the first time, and when the machine is mounted again after the machine in the physical location fails, the input target code is the same as the target code of the machine mounted for the first time, so that whether the machine in the target physical location fails can be determined by whether the target code is obtained for the first time. Through the record, the operation and maintenance personnel can conveniently check the condition of each machine of the whole data center. It will be appreciated that there are many ways to record the object code, the physical location of the object, the time when the object code was first acquired and the time when the object code was again acquired, etc.
As shown in fig. 4, on the basis of the above embodiment, the method further includes:
s22: and updating the corresponding relation after receiving the updating signal.
Due to the increase or deletion of the physical position, the corresponding increase or decrease of the codes may be needed, so that the corresponding relationship needs to be updated in time in order to avoid errors during system deployment.
In the above embodiments, the embodiments of the system deployment method applied to the data center for deploying the host are described in detail, and the present application also provides an embodiment of the system deployment method applied to the data center for deployed machines. Fig. 5 is a flowchart of another method for deploying a system in a data center according to an embodiment of the present application. As shown in fig. 5, the method includes:
s30: and receiving input target codes, wherein each code has a corresponding relation with the physical position of each machine.
S31: and sending the deployment command containing the target code to a deployment host so that the deployment host searches the target machine attribute and the target resource packet corresponding to the target machine attribute and the target resource packet in the resource pool according to the target code after acquiring the deployment command.
The deployment host stores the corresponding relation between the physical position and the code of each machine in advance, and establishes the machine attribute of each machine according to the corresponding code.
S32: and receiving the target machine attribute sent by the deployment host, and writing the target machine attribute into corresponding equipment so that the deployment host performs system deployment according to the deployment package in the target resource package.
Since the embodiment of the system deployment method applied to the data center of the deployed host corresponds to the embodiment of the system deployment method applied to the data center of the deployed machine, the description of the embodiment is omitted.
According to the system deployment method of the data center, when system deployment is carried out, only the codes of the machines need to be determined, and the codes and the physical positions correspond to each other one by one, so that when the machines on the same physical position fail, only the operation and maintenance personnel need to input the codes corresponding to the physical positions on the new machines, and complicated data such as unique identification codes of the new machines do not need to be input, the working intensity and complexity of the operation and maintenance personnel are reduced, and the deployment efficiency is further improved.
In the foregoing embodiments, the method for deploying a system in a data center is described in detail, and the present application also provides embodiments corresponding to the system deployment apparatus in the data center. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one from the perspective of the function module and the other from the perspective of the hardware.
Fig. 6 is a structural diagram of a system deployment apparatus of a data center according to an embodiment of the present application. The device is applied to the deployment host computer, includes:
the storage module 10 is used for pre-storing the corresponding relation between the physical position and the code of each machine;
an establishing module 11, configured to establish a machine attribute of each machine according to the corresponding code; wherein each machine attribute corresponds to each machine one to one;
the searching module 12 is configured to search, after the deployment command of the target machine is obtained, the target machine attribute and the target resource package corresponding to the target machine attribute in the resource pool according to the target code; wherein, the deployment command comprises the target code;
and the deployment module 13 is configured to send the target machine attribute to the target machine to write in the corresponding device, and perform system deployment on the target machine according to the deployment package in the target resource package.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
As a preferred embodiment, the method further comprises the following steps:
the judging module is used for judging whether the target code is acquired for the first time;
and the recording module is used for determining that the machine at the target physical position corresponding to the target code has a fault and recording the fault when the result of the judging module is negative.
As a preferred embodiment, the method further comprises the following steps:
and the updating module is used for updating the corresponding relation after receiving the updating signal.
Fig. 7 is a block diagram of another system deployment apparatus of a data center according to an embodiment of the present disclosure. As shown in fig. 7, from a hardware perspective, a system deployment apparatus of a data center includes a memory 20 for storing a computer program;
the processor 21 is configured to implement the steps of the system deployment method of the data center provided in the above embodiments when executing the computer program.
The system deployment device of the data center provided in this embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, or a desktop computer.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 21 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 21 may further include an AI (Artificial Intelligence) processor for processing a calculation operation related to machine learning.
The memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing the following computer program 201, wherein after being loaded and executed by the processor 21, the computer program can realize the relevant steps of the system deployment method of the data center disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among others, Windows, Unix, Linux, and the like.
In some embodiments, the diagnostic device 20 may further include a display 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the architecture shown in fig. 7 does not constitute a limitation of a system deployment apparatus of a data center and may include more or fewer components than those shown.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The method, apparatus, and computer storage medium for deploying a system in a data center provided by the present application are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A system deployment method of a data center is applied to deployment of hosts, and comprises the following steps:
pre-storing the corresponding relation between the physical position of each machine and the code;
establishing machine attributes of the machines according to the corresponding codes; wherein each machine attribute corresponds to each machine one to one;
after a deployment command of a target machine is obtained, searching target machine attributes and a target resource packet corresponding to the target machine attributes and the resource pool according to a target code; wherein, the deployment command comprises the target code;
and sending the target machine attribute to the target machine to write in corresponding equipment, and carrying out system deployment on the target machine according to the deployment package in the target resource package.
2. The method of system deployment in a data center of claim 1, wherein the machine attributes include a unique identification code of the machine and the code.
3. The method of system deployment in a data center of claim 2, wherein the unique identification code comprises a MAC address, a UUID, and a WWPN.
4. The method for deploying a system in a data center according to claim 1, wherein after the deployment command of the target machine is obtained, the target machine attribute and the target resource package corresponding to the target machine attribute and the target resource package in the resource pool are searched according to the target code, specifically, the target machine attribute and the target resource package are searched in a traversal search manner.
5. The method for system deployment in a data center according to claim 1, further comprising:
judging whether the target code is acquired for the first time;
and if not, determining that the machine at the target physical position corresponding to the target code is in fault, and recording.
6. The method for system deployment in a data center according to claim 1, further comprising:
and after receiving an updating signal, updating the corresponding relation.
7. A system deployment method of a data center is applied to deployed machines, and comprises the following steps:
receiving input target codes, wherein each code has a corresponding relation with the physical position of each machine;
sending the deployment command containing the target code to a deployment host so that the deployment host searches the target machine attribute and the target resource packet corresponding to the target machine attribute in the resource pool according to the target code after acquiring the deployment command; the deployment host stores the corresponding relation between the physical position and the code of each machine in advance, and establishes the machine attribute of each machine according to the corresponding code;
and receiving the target machine attribute sent by the deployment host, and writing the target machine attribute into corresponding equipment so that the deployment host performs system deployment according to the deployment package in the target resource package.
8. A system deployment device of a data center is applied to a deployment host, and comprises:
the storage module is used for pre-storing the corresponding relation between the physical position and the code of each machine;
the establishing module is used for establishing the machine attribute of each machine according to the corresponding code; wherein each machine attribute corresponds to each machine one to one;
the searching module is used for searching the target machine attribute and the corresponding target resource packet in the resource pool according to the target code after the deployment command of the target machine is obtained; wherein, the deployment command comprises the target code;
and the deployment module is used for sending the target machine attribute to the target machine to write in the corresponding equipment, and carrying out system deployment on the target machine according to the deployment package in the target resource package.
9. A system deployment apparatus for a data center, comprising a memory for storing a computer program;
processor for implementing the steps of the system deployment method of a data center according to any one of claims 1 to 7 when executing said computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the system deployment method of a data center according to any one of claims 1 to 7.
CN201911358294.4A 2019-12-25 2019-12-25 System deployment method and device of data center and computer storage medium Pending CN111030875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911358294.4A CN111030875A (en) 2019-12-25 2019-12-25 System deployment method and device of data center and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911358294.4A CN111030875A (en) 2019-12-25 2019-12-25 System deployment method and device of data center and computer storage medium

Publications (1)

Publication Number Publication Date
CN111030875A true CN111030875A (en) 2020-04-17

Family

ID=70214334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911358294.4A Pending CN111030875A (en) 2019-12-25 2019-12-25 System deployment method and device of data center and computer storage medium

Country Status (1)

Country Link
CN (1) CN111030875A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848787A (en) * 2006-04-30 2006-10-18 西安交通大学 Automatic fast dispositioning method for aggregated server system node
US20120102164A1 (en) * 2010-10-21 2012-04-26 International Business Machines Corporation Deployment of location based applications with crowdsourced structured points of input for data entry
CN103516547A (en) * 2013-09-18 2014-01-15 深圳市华为技术软件有限公司 Network parameter distribution method and device
CN106850262A (en) * 2016-12-27 2017-06-13 郑州云海信息技术有限公司 A kind of server network management using proxy servers method
CN110098947A (en) * 2018-01-31 2019-08-06 华为技术有限公司 A kind of dispositions method of application, equipment and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848787A (en) * 2006-04-30 2006-10-18 西安交通大学 Automatic fast dispositioning method for aggregated server system node
US20120102164A1 (en) * 2010-10-21 2012-04-26 International Business Machines Corporation Deployment of location based applications with crowdsourced structured points of input for data entry
CN103516547A (en) * 2013-09-18 2014-01-15 深圳市华为技术软件有限公司 Network parameter distribution method and device
CN106850262A (en) * 2016-12-27 2017-06-13 郑州云海信息技术有限公司 A kind of server network management using proxy servers method
CN110098947A (en) * 2018-01-31 2019-08-06 华为技术有限公司 A kind of dispositions method of application, equipment and system

Similar Documents

Publication Publication Date Title
US10999139B2 (en) Online upgrade method, apparatus, and system
US11210132B2 (en) Virtual machine migration in virtualization environment having different virtualization systems
CN107666493B (en) Database configuration method and equipment thereof
CN109981493B (en) Method and device for configuring virtual machine network
CN105450759A (en) System mirror image management method and device
US11036535B2 (en) Data storage method and apparatus
CN106959927B (en) Method and device for acquiring position information of logical partitions in virtual machine
US10972361B2 (en) System and method for remote hardware support using augmented reality and available sensor data
US10341253B2 (en) Automatic consolidation of network resources
CN110520844A (en) Cloud management platform, virtual machine management method and its system
CN105095103A (en) Storage device management method and device used for cloud environment
CN106873970B (en) Installation method and device of operating system
CN108073423A (en) A kind of accelerator loading method, system and accelerator loading device
CN107665141B (en) Database configuration method and equipment thereof
CN103019847A (en) Method and system for migrating data of virtual machine
CN105144073A (en) Removable storage device identity and configuration information
CN112433812A (en) Method, system, equipment and computer medium for virtual machine cross-cluster migration
CN111399999A (en) Computer resource processing method and device, readable storage medium and computer equipment
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product
CN111030875A (en) System deployment method and device of data center and computer storage medium
CN112463228A (en) Storage pool hybrid deployment method and device
CN113296878A (en) Container processing method and device, electronic equipment and system
CN113014409B (en) Networking equipment configuration method, device, equipment and storage medium
CN117692322B (en) Network card configuration method and device, electronic equipment and storage medium
US8799616B2 (en) Method and system for preferred CPU binding on virtual partitions

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200417

RJ01 Rejection of invention patent application after publication