CN110196721B - Internet data center management method, system and medium - Google Patents

Internet data center management method, system and medium Download PDF

Info

Publication number
CN110196721B
CN110196721B CN201910343442.9A CN201910343442A CN110196721B CN 110196721 B CN110196721 B CN 110196721B CN 201910343442 A CN201910343442 A CN 201910343442A CN 110196721 B CN110196721 B CN 110196721B
Authority
CN
China
Prior art keywords
data center
internet data
internet
target
adapter
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
CN201910343442.9A
Other languages
Chinese (zh)
Other versions
CN110196721A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910343442.9A priority Critical patent/CN110196721B/en
Publication of CN110196721A publication Critical patent/CN110196721A/en
Application granted granted Critical
Publication of CN110196721B publication Critical patent/CN110196721B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method, a system and a medium for managing an internet data center, wherein the method comprises the steps of constructing an internet data center management system, wherein the internet data center management system comprises at least one region data center management object, each region data center management object comprises at least one region center and an adapter, and each region center comprises at least one internet data center object; generating an internet data center access instruction, and obtaining a target adapter based on the instruction; routing the instruction to the target adapter; selecting, by the target adapter, at least one target internet data center object according to the instruction, and routing the instruction to the target internet data center object; executing, by the target internet datacenter object, the internet datacenter access instruction. The invention divides the management system of the internet data center into a Region level and an IDC level, abstracts out an adapter layer, and thereby decouples the business requirement and the bottom layer service.

Description

Internet data center management method, system and medium
Technical Field
The invention relates to the field of internet data center management, in particular to a method, a system and a medium for internet data center management.
Background
An Internet Data Center (IDC) may be managed based on a Data Center Operating System (DCOS), and the DCOS supports the IDC to automatically manage a life cycle of physical resources of the IDC. In the prior art, the DCOS service deployed according to the IDC can only control various resources of the IDC alone, and cannot provide a uniform entry to control all resources of the service environment in a centralized manner.
In order to serve different geographic areas, a service environment often relates to a plurality of regions, each region may have a finer-grained region, and IDCs may need to be deployed in different regions of different regions, so that the IDC layout in the service environment is complex, and a scheme for comprehensively controlling the IDCs in the service environment cannot be provided in the prior art; further, the current DCOS service underlying interface cannot meet complex service function requirements, and a request that needs to be sent to a specific IDC may be directly forwarded to the underlying DCOS service, but the availability of the DCOS service cannot be guaranteed.
In addition, when the IDC needs to be expanded in the prior art, various configuration items depending on the DCOS service running in the IDC need to be manually arranged according to the current architecture of the IDC, and then the DCOS service is started, so that the IDC cannot be expanded flexibly.
Disclosure of Invention
The invention provides a management method, a system and a medium for an internet data center, aiming at solving the technical problems that a uniform entrance cannot be provided to intensively manage and control resources of a service environment, the success rate of accessing DCOS (data communications operating system) services is low and IDC (Internet data center) cannot be flexibly expanded in the prior art.
In one aspect, the present invention provides a method for managing an internet data center, where the method includes:
the method comprises the steps that an internet data center management system is built, wherein the internet data center management system comprises at least one region data center management object, each region data center management object comprises at least one region center, each region center comprises at least one internet data center object, and each region data center management object comprises at least one adapter;
generating an internet data center access instruction, and obtaining a target adapter based on the internet data center access instruction;
routing the internet data center access instructions to the target adapter;
the target adapter obtains at least one target internet data center object selected according to the internet data center access instruction, and the internet data center access instruction is routed to the target internet data center object; the target internet data center object has the capability of accessing other internet data center objects which are in the same regional center as the target internet data center object or accessing a regional data center management object;
executing, by the target internet datacenter object, the internet datacenter access instruction.
In another aspect, the present invention provides an internet data center management system, where the system includes at least one regional data center management object, each regional data center management object includes at least one regional center, each regional center includes at least one internet data center object, and each regional data center management object includes at least one adapter;
the system further comprises:
the internet data center access instruction generating module is used for generating an internet data center access instruction;
the target adapter acquisition module is used for acquiring a target adapter based on the Internet data center access instruction;
the first routing module is used for routing the Internet data center access instruction to the target adapter;
the target adapter is used for selecting at least one target internet data center object according to the internet data center access instruction and routing the internet data center access instruction to the target internet data center object; the target internet data center object has the capability of accessing other internet data center objects which are in the same regional center as the target internet data center object or accessing a regional data center management object; the target internet data center object is used for executing the internet data center access instruction.
In another aspect, the present invention provides an apparatus, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement an internet data center management method.
In another aspect, the present invention provides a computer storage medium, wherein at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the storage medium, and the at least one instruction, at least one program, set of codes, or set of instructions is loaded by a processor and executes an internet data center management method.
According to the Internet data center management method, the Internet data center management system is divided into a Region level and an IDC (Internet data center) level, and an adapter layer called by a console is abstracted in the IDC, so that business requirements and bottom services are decoupled. The invention not only can flexibly control the resources of the service environment, but also can ensure the availability, high concurrency and low error rate of the access service and the flexible expansion of the IDC by utilizing the load balancer through a multi-level routing architecture.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions and advantages of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart of a method for managing an Internet data center according to the present invention;
fig. 2 is a schematic structural diagram of an internet data center management system described by taking two regional data center management objects as an example according to the present invention;
FIG. 3 is a schematic diagram of a DCOS deployment provided by the present invention;
FIG. 4 is a DCOS entity relationship diagram provided by the present invention;
FIG. 5 is a flow chart of a method of routing the Internet data center access instructions to the target adapter provided by the present invention;
FIG. 6 is a flow chart illustrating a method for obtaining a target adapter based on the geographic data center management object according to the present invention;
FIG. 7 is a diagram of the implementation logic architecture for the load balancing strategy provided by the present invention;
FIG. 8 is a flow chart of a method provided by the present invention for a target adapter to obtain a selection of at least one target Internet data center object based on the Internet data center access command;
FIG. 9 is a flow chart of the dynamic operation provided by the present invention;
FIG. 10 is a diagram illustrating a part of the configuration content of the regional data center management object and the Internet data center object according to the present invention;
FIG. 11 is a block diagram of an Internet data center management system provided by the present invention;
fig. 12 is a hardware structural diagram of an apparatus for implementing the method provided by the embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In order to make the objects, technical solutions and advantages disclosed in the embodiments of the present invention more clearly apparent, the embodiments of the present invention are described in further detail below with reference to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the embodiments of the invention and are not intended to limit the embodiments of the invention.
As shown in fig. 1, an internet data center management method provided in an embodiment of the present invention includes:
s101, an internet data center management system is constructed, wherein the internet data center management system comprises at least one region data center management object, each region data center management object comprises at least one region center, each region center comprises at least one internet data center object, and each region data center management object comprises at least one adapter.
An Internet Data Center (IDC) is an internet service provider such as telecommunications, which uses existing internet communication lines and bandwidth resources to establish a standardized telecommunications professional computer room environment and provides an enterprise and government with all-round services in terms of server hosting, renting, related value adding and the like, and those skilled in the art can also understand the service as a computer room.
The regional center management object (Region) is used for managing a set formed by data centers divided by regions, and networks between different regions are completely isolated. The user can select a nearby region for storage according to the service scene of the user and the geographical position of the target user, so that the access time delay of log data is reduced, and the access speed is increased.
The Zone center (Zone) includes a set of data centers divided by zones. The power and the network of different areas in the same region are independent. There will be at least one zone within a zone. The establishment of the single-region multi-region hierarchical structure in the embodiment of the invention can ensure mutual isolation of faults between different regions, avoid fault diffusion and ensure continuous online of user services.
In the embodiment of the present invention, a regional data center management object (Region) and/or an internet data center object may be constructed based on a Data Center Operating System (DCOS). The DCOS may also be referred to as infrastructure management, and is used for supporting automatic management of the lifecycle of physical resources (such as physical servers and network devices) in a data center, such as Configuration Management Database (CMDB) data import, bare machine resource discovery, server Operating System (OS) deployment, configuration initialization, remote power on/off and restart, monitoring and alarming of servers and network devices, and the like. The deployment of the DCOS underlying service in the embodiment of the present invention is not particularly limited.
Referring to fig. 2, a schematic diagram of an architecture of an internet data center management system according to an embodiment of the present invention is shown, where two regional data center management objects are taken as an example. In the architecture of the internet data center management system shown in fig. 2, the IDC belongs to the minimum deployment unit of DCOS underlying services, and therefore, the DCOS in the regional center can be represented by the IDC in fig. 2. The internet data center management system comprises two Region data center management objects, namely, Region A and Region B, wherein the Region data center management object, namely, Region A, Region B, Region C, Region F, Region C, Region B, Region C, Region of. Specifically, each IDC is provided with a set of DCOS-NGINX to control various resources of the IDC, including physical machines, network equipment, monitoring alarms and the like. Of course, the embodiments of the present invention are not limited to the specific DCOS product, and the DCOS-NGINX may be replaced by other DCOS products.
A Database (DCOS) on which DCOS bottom layer services depend can be deployed on a specific IDC to manage internal alarm information, control information, Simple Network Management Protocol (SNMP), system logs and the like of the IDC, so that each module of the IDC controls various resources of the IDC;
the database (DCOS _ cmdb) on which the DCOS bottom layer services depend can be deployed in a regional data center management object, can store information such as servers, network equipment, IP, rack positions, private lines, disks, operation logs and the like of all IDCs under the Region, and provides an interface for the upper layer to add, delete, modify and check.
Referring to FIG. 3, a DCOS deployment diagram is shown. The DCOS may be deployed in a regional data center management object for Region level management, or may be deployed in an internet data center object for IDC level management. It includes dcos _ cmdb in the Region level, and at the IDC level, it manages various items of information within the present IDC. And each IDC in a specific Region is provided with a set of DCOS bottom-layer services for managing and controlling static cmdb resources of the IDC and supervising and controlling a physical machine and network equipment.
In a feasible embodiment, the IDC may send a Dynamic Host Configuration Protocol (DHCP) request to a local area network where the IDC is located, start a DHCP relay agent (DHCPRelay) on a switch in the IDC, proxy the DHCP request of the IDC by a DCOS corresponding to the IDC, and apply and renew and manage an in-band internet protocol address (IP) and an out-band IP by the DCOS, where the out-band IP and deployment operation depend on the out-band IP and the in-band IP. The IDC can also collect various monitoring data and report the monitoring data to the DCOS service. In a feasible implementation manner, each IDC physical machine reports monitoring data to the DCOS service every minute, and the load of the DCOS service deployment node can be reduced by performing monitoring data acquisition processing in the IDC. The DCOS service continuously receives the reported session traffic information, and the network device log may also be reported to the DCOS service periodically.
In order to set an alarm strategy for physical machines and network devices in IDCs (Internet data centers), manage the physical machines and the network devices in specific IDCs in a finer granularity and converge a fault alarm influence range, thereby reducing the load of the DCOS (distributed control System) bottom-layer service and reducing the influence range caused by the unavailability of the bottom-layer service, in an optimal implementation mode, functions of physical machine out-of-band in-band management, physical machine monitoring index acquisition and reporting, physical machine ping detection, network device monitoring control and log acquisition, network quality detection, xflow session flow acquisition, alarm summary reporting and the like can be defined as IDC-level services.
In a preferred embodiment, the DCOS underlying services deployed for each IDC in a specific Region share the same cmdb, so that all resources of all IDCs in the Region can be subjected to addition, deletion, and modification by the DCOS underlying services in any IDC.
Referring to FIG. 4, a DCOS entity relationship diagram is shown. The deployment entity of the DCOS is placed on a specific rack position, the specific rack position is associated with a specific port of specific network equipment, the network port of the specific network equipment corresponds to a specific IP section, and the deployment entity of the DCOS takes the IP from the corresponding IP section as the own service IP. The DCOS bottom layer provides various extensible and universal atomic interfaces, such as cmdb, DCOS _ oob _ dep _ api, alarm _ api and the like, and the atomic interfaces realize basic addition and deletion change and check, such as addition and deletion change and check of each entity of the cmdb. In addition, basic task issuing such as out-of-band operation, deployment operation and task execution condition query is realized.
In most cases, the DCOS underlying service only concerns the start-stop state of its corresponding IDC, such as powered on, in operation, powered off, off shelf, and to be deployed, and needs to know in business whether the physical machine is in an intermediate state such as powered on, powered off, in deployment, rapid deployment failure, and out-of-band initialization, so that the flow and management of the intermediate state can be encapsulated in the adapter, the adapter maintains the flow of the intermediate state, only the upper layer business is allowed to operate the IDC in a non-intermediate state, and the atomicity of the upper layer task is ensured.
In fact, the adapter provided by the embodiment of the invention can encapsulate and combine various services based on DCOS, thereby decoupling the service requirement from the bottom layer service. The bottom layer service is concentrated on the atom operation interface for realizing various services, and the adapter flexibly integrates the bottom layer atom capability according to the service scene and the requirement to realize complex service requirement, so that the universal stability of the bottom layer service can be ensured, and the variable service scene can be also met.
And S103, generating an internet data center access instruction, and obtaining a target adapter based on the internet data center access instruction.
In order to achieve the purpose of comprehensively managing and controlling the internet data center, the embodiment of the invention can generate the internet data center access instruction based on a browser and server architecture mode (BS architecture).
Referring to fig. 2, the operation and maintenance web console, as a browser console, may be used to generate internet data center access instructions, which serve as a web management portal for internet data center management, and business personnel may view and operate all resources accessible to the internet data center management system through the web management console.
Referring to fig. 2, a cloud interface layer may be further disposed between the operation and maintenance webpage console and the regional data center management object and the internet data center object included in the regional data center management object, where the cloud interface layer is configured to capture the internet data center access instruction and route the internet data center access instruction to the target adapter.
Specifically, as shown in fig. 5, the obtaining a target adapter based on the internet data center access instruction includes:
and S1031, each cloud interface in the cloud interface layer captures an internet data center access instruction according to a nearby principle.
The internet data center access command issued by the console is received by an Application Programming Interface (API) in a nearby cloud interface layer.
S1033, analyzing the Internet data center access instruction according to a region to obtain a region data center management object pointed by the Internet data center access instruction.
According to the embodiment of the invention, the access instruction of the internet data center can be obtained, the region field in the access instruction is extracted, and the address of the corresponding region data center management object is returned. For example, if the access instruction includes a "chognqing" field, the address http:// chongqing. If the access instruction contains the 'shanghai' field, the address http:// shanghai.
And S1035, obtaining a target adapter according to the region data center management object.
In the embodiment of the present invention, one regional data center management object may include one or more adapters, and the number and density of the adapters are not limited in the embodiment of the present invention. In fact, any adapter in a different regional data center management object can have the same function and the same data, and can access data in any internet data center object. In an internet data object, an adapter may be deployed per regional center, see fig. 2, which shows an example of a regional center deploying an adapter (the adapter is represented using DCOS-CGW). One adapter may be shared by a plurality of area centers, or a plurality of adapters may be arranged in each area center.
In order to improve the access success rate of the internet data center access instruction and avoid the internet data center object in a final unavailable state from processing the internet data center access instruction as much as possible, a step of selecting a target adapter is added in a preferred embodiment of the invention. Referring to fig. 6, the obtaining a target adapter according to the regional data center management object includes:
and S10351, acquiring all virtual adapters of the region data center management object, wherein the virtual adapters point to adapter centers in the region data center management object, and one adapter center manages at least one adapter.
S10353, the states of all the virtual adapters are inquired, and the target virtual adapter in the healthy state is selected.
The state of a virtual adapter can be related to the state of an adapter in the corresponding adapter center, and the state of the adapter can be related to the state of the internet data center in the area where the virtual adapter is located, so that the selection of the target virtual adapter in a healthy state can avoid the internet data center access instruction from being finally processed by the internet data center object in a non-available state, and the risk of access failure is reduced.
And S10355, acquiring an adapter center corresponding to the target virtual adapter.
S10357, selecting a target adapter from the adapters managed by the adapter center based on the load balancing strategy.
In particular, the load balancing policy may be implemented by a load balancer, which may be deployed between a cloud interface layer and an adapter. Referring to fig. 7, a diagram of the implementation logic architecture of a load balancing strategy is shown. In the figure, the virtual adapters are in communication connection with the load balancer, and the load balancer interactively selects one adapter as a target adapter through the adapter center corresponding to the virtual adapter. The load balancer in the embodiment of the invention can be a four-layer load balancer and a seven-layer load balancer.
And S105, routing the Internet data center access instruction to the target adapter.
S107, a target adapter obtains at least one target internet data center object selected according to the internet data center access instruction, and the internet data center access instruction is routed to the target internet data center object; the target internet data center object has the capability of accessing other internet data center objects which are in the same regional center as the target internet data center object or accessing a regional data center management object.
In one scenario, a console can see a physical machine of multiple IDCs under a certain Region, the physical machine of the multiple IDCs is selected at a certain time to initiate an access request, and at this time, because the access request relates to the multiple IDCs, that is, to multiple internet data center objects, no internet data center object has the ability to process the access requests of all the selected IDCs, at this time, a target adapter obtains multiple target internet data center objects according to the distribution of the IDCs, and routes at least one internet data center access instruction for each of the target internet data center objects, so that the target adapter responds to the access instruction.
In another scenario, if the access request response is successful or failed, each target internet data object may also feed the response back to the target adapter, so that the target adapter feeds the response to the console through the cloud interface layer.
In a possible embodiment, the obtaining, by the target adapter, at least one target internet data center object selected according to the internet data center access instruction includes, as shown in fig. 8:
s1071, obtaining the access type of the internet data center access instruction.
S1073, if the access type is the query type, selecting the target internet data center object according to a first preset rule.
Specifically, the first preset rule may be a load balancing rule, a proximity rule, or a random rule, and a specific internet data center object is not specified as a target internet data center object under the first preset rule. In fact, each internet data center object has the capability of accessing other internet data center objects in the same regional center as the target internet data center object or accessing a regional data center management object, so that each internet data center object can objectively inquire various information of the internet data center management system, and can objectively respond to the inquiry type access request as the target internet data center object.
S1075, if the access type is the operation type, analyzing the internet data center access instruction to obtain a target internet data center object identification, and selecting a target internet data center object according to the target internet data center object identification.
And S109, executing the Internet data center access instruction by the target Internet data center object.
According to the internet data center management method disclosed by the embodiment of the invention, an internet data center management system is divided into a Region level and an IDC (internet data center) level, and an adapter layer for a console to call is abstracted in the IDC, so that business requirements and bottom services are decoupled. The access request sent by the console firstly reaches the cloud interface layer, is routed to the corresponding target adapter, and is routed to the internet data center object by the target adapter. Access service availability, high concurrency and low failure rate are guaranteed through a multi-level routing architecture and by using a load balancer.
The embodiment of the invention also discloses an implementation scene of the internet data center management method, and the data of the management objects of each region data center divided by regions, physical machines, network equipment, IP, rack machine positions, special lines and the like of all IDCs in each region center and all the region centers in a certain region can be seen by logging in the console. And selecting a specific IDC physical machine, initiating operations such as out-of-band startup and shutdown, OS deployment and the like, wherein a specific request firstly reaches a cloud interface layer, then is routed to a target adapter, the target adapter encapsulates and integrates service logic, finally the request is routed to a certain DCOS service for processing, and a processing result is transmitted to a control console along a call chain in a reverse direction so that a user can know the operation result in time.
The DCOS deployed by each IDC finishes the management of the IDC network equipment, a network equipment list page can be used for checking the network equipment of all IDCs in the same region, a network detail page is opened to check the log of the corresponding IDC network equipment and download the configuration of the network equipment, a monitoring page is opened to see the whole performance and each port index of the specific IDC network equipment, and a private line page can see the session flow information of the specific port of the corresponding IDC network equipment.
In fact, the DCOS deployed in the IDC of the embodiments of the present invention includes, but is not limited to, providing the following services:
DCOS services provide IP allocation and renewal for all physical machines of the IDC. The method includes the steps that operations such as startup and shutdown, out-of-band account reset and the like are carried out on an IDC physical machine through a standard out-of-band Intelligent Platform Management Interface (IPMI) tool, and PXE deployment OS, rapid deployment OS and RAID manufacturing are carried out on the physical machine based on a PXE (preboot execution environment), a TFTP (Trivial File transfer protocol) deployment script and a RAID (redundant array of independent Drives) tool. The physical machine collects and reports various monitoring data to the DCOS service of the IDC, in addition, an alarm strategy can be added to the physical machine of the IDC, and various faults can be accurately judged by combining the monitoring data and alarm can be carried out according to the alarm strategy.
2. All network equipment of the IDC can configure equipment log level and log reporting address as DCOS service of the IDC, the DCOS service receives and analyzes the reported log through a log module, and network equipment log alarm is generated according to preset log keywords. The DCOS service acquires various performance indexes of the network device, such as cpu and memory, and port indexes, such as port state, port rate, packet amount, flow, packet error amount, and flow usage rate, through a Simple Network Management Protocol (SNMP) module. Periodically backing up DCOS services that the network device configures to the present IDC. The module utilizes the network monitoring technology of the network equipment to count the data packet characteristics of the specific port and collect the flow, and counts the specific flow of each IP, and the network equipment reports the carried port information and maps the session to the private line to form the flow monitoring of the private line.
In a preferred embodiment, the internet data center management method, as shown in fig. 9, further includes:
s201, obtaining configuration items corresponding to the region data center management object and the Internet data center object through combing.
In fact, the configuration contents in the regional data center management object and the internet data center object are various and have mutual influence, which is also the reason that the prior art can only be implemented manually and cannot realize dynamic expansion of the internet data center. Referring to FIG. 10, a portion of the combing results in an embodiment of the present invention is shown.
And S203, recording each configuration item into a template in a global variable form.
In particular, the template may be stored in each IDC, i.e. may be shared by various entities in the internet data center management system.
S205, a management object starting instruction is obtained, and the management object points to at least one region data center management object or at least one internet data object.
S207, responding to the management object starting instruction, and starting the service corresponding to the management object according to the configuration item.
In actual service, dynamic operation including expansion and deletion can be performed on each management object in the internet data center management system according to actual requirements, the expansion and deletion only need to change a template, so that the content in the template points to the configuration content of the management object after the dynamic operation is executed, and the purpose of dynamic expansion or dynamic deletion can be achieved by starting service according to the configuration item content. Compared with the prior art that dynamic expansion cannot be realized because manual configuration is needed, the embodiment of the invention provides a full-automatic dynamic operation scheme for managing objects, so that each object in an internet data center management system can be elastically expanded, and the deployment is more flexible.
As shown in fig. 11, the internet data center management system in the embodiment of the present invention includes at least one regional data center management object 301, where each regional data center management object 301 includes at least one area center 302, each area center 302 includes at least one internet data center object 303, and each regional data center management object 301 includes at least one adapter 304;
the system further comprises:
an internet data center access instruction generating module 305, configured to generate an internet data center access instruction;
a target adapter obtaining module 306, configured to obtain a target adapter based on the internet data center access instruction;
a first routing module 307, configured to route the internet data center access instruction to the target adapter;
the target adapter is used for selecting at least one target internet data center object according to the internet data center access instruction and routing the internet data center access instruction to the target internet data center object; the target internet data center object has the capability of accessing other internet data center objects which are in the same regional center as the target internet data center object or accessing a regional data center management object; the target internet data center object is used for executing the internet data center access instruction.
Specifically, the target adapter acquiring module includes:
the proximity capturing unit is used for capturing an internet data center access instruction according to a proximity principle;
the analysis unit is used for analyzing the Internet data center access instruction according to regions to obtain a region data center management object pointed by the Internet data center access instruction;
and the target adapter obtaining unit is used for obtaining a target adapter according to the region data center management object.
Specifically, embodiments of the internet data center management system and the internet data center management method according to the embodiments of the present invention are based on the same inventive concept, and details are repeated herein.
The embodiment of the present invention further provides a computer storage medium, where at least one instruction, at least one section of program, a code set, or an instruction set is stored in the storage medium, where the at least one instruction, the at least one section of program, the code set, or the instruction set is loaded by a processor and executes an internet data center management method, and a specific execution process may refer to a specific description of the method embodiment and is not described herein again.
Further, fig. 12 is a schematic diagram illustrating a hardware structure of a device for implementing the method provided by the embodiment of the present invention, where the device may be a computer terminal, a mobile terminal, or other devices, and the device may also participate in forming or including all or part of the functional modules in the system provided by the embodiment of the present invention. As shown in fig. 12, the computer terminal 10 may include one or more (shown as 102a, 102b, … …, 102 n) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 12 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 12, or have a different configuration than shown in FIG. 12.
It should be noted that the one or more processors 102 and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuit may be a single stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computer terminal 10 (or mobile device). As referred to in the embodiments of the application, the data processing circuit acts as a processor control (e.g. selection of a variable resistance termination path connected to the interface).
The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the methods described in the embodiments of the present invention, and the processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, so as to implement the above-mentioned internet data center management method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (NIC) that can be connected to other network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computer terminal 10 (or mobile device).
It should be noted that: the precedence order of the above embodiments of the present invention is only for description, and does not represent the merits of the embodiments. And specific embodiments thereof have been described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the device and server embodiments, since they are substantially similar to the method embodiments, the description is simple, and the relevant points can be referred to the partial description of the method embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (7)

1. An internet data center management method, the method comprising:
the method comprises the steps that an internet data center management system is built, the internet data center management system comprises at least one region data center management object, each region data center management object forms a single region and multi-region hierarchical structure, network isolation exists among different region data center management objects, each region data center management object comprises at least one region center, each region center comprises at least one internet data center object, and each region data center management object comprises at least one adapter; the adapter manages the circulation of the intermediate state of the Internet data center object, the Internet data center object manages the start-stop state of the Internet data center object, and the intermediate state comprises startup, shutdown, deployment, rapid deployment failure or out-of-band initialization;
generating an internet data center access instruction;
analyzing the Internet data center access instruction according to regions to obtain a region data center management object pointed by the Internet data center access instruction;
acquiring all virtual adapters of the region data center management object, wherein the virtual adapters point to adapter centers in the region data center management object, and one adapter center manages at least one adapter;
querying the states of all virtual adapters, and selecting a target virtual adapter in a healthy state, wherein the target virtual adapter is in communication connection with a load balancer, and the load balancer interactively selects one adapter as a target adapter through an adapter center corresponding to the target virtual adapter;
routing the internet data center access instructions to the target adapter;
obtaining the access type of the internet data center access instruction;
if the access type is the query type, the target adapter selects a target internet data center object in a non-intermediate state according to a first preset rule, wherein the first preset rule is a load balancing rule, a nearby rule or a random rule; if the access type is the operation type, the target adapter analyzes the internet data center access instruction to obtain a target internet data center object identifier, and selects a target internet data center object in a non-intermediate state according to the target internet data center object identifier; the target internet data center object has the capability of accessing other internet data center objects which are in the same regional center as the target internet data center object or accessing a regional data center management object;
for each target internet data center object, routing the internet data center access instruction to the target internet data center object;
executing, by the target internet datacenter object, the internet datacenter access instruction;
the Internet data center object is used for sending a dynamic host setting protocol request to a local area network where the Internet data center object is located, starting a relay agent on a switch in the Internet data center object, and carrying out application and lease renewal management of an in-band Internet protocol address and an out-of-band Internet protocol address by a data center operating system service, wherein the out-of-band Internet protocol address and deployment operation depend on the out-of-band Internet protocol address and the in-band Internet protocol address, and the Internet data center object is also used for collecting various monitoring data and reporting the monitoring data to the data center operating system service; the internet data center object service defined in the internet data center object at least comprises physical machine out-of-band in-band management, monitoring index acquisition and reporting of the physical machine, communication detection of the physical machine, network equipment monitoring and control and log acquisition, network quality detection, xflow session flow acquisition and alarm summary reporting;
the data center operating system service is used for performing startup and shutdown restart and out-of-band account reset operation on a physical machine of a corresponding Internet data center object through a standard out-of-band intelligent platform management interface tool, and performing deployment operating system and disk array tool manufacturing on the physical machine based on a pre-startup execution environment, a simple file transfer protocol deployment script and a disk array tool;
the data center operating system service is used for receiving and analyzing the reported logs through the log module and generating network equipment log alarms according to preset log keywords, and the data center operating system service is also used for carrying out flow summarization and mapping sessions to the private line to form flow monitoring of the private line.
2. The method of claim 1, further comprising:
generating an internet data center access instruction based on the operation and maintenance webpage console;
and arranging a cloud interface layer between the operation and maintenance webpage console and a regional data center management object, wherein the cloud interface layer is used for capturing the internet data center access instruction nearby and routing the internet data center access instruction to the target adapter.
3. The method of claim 1, further comprising:
obtaining configuration items corresponding to a region data center management object and an internet data center object through combing;
recording each configuration item into a template in a global variable form;
acquiring a management object starting instruction, wherein the management object points to at least one region data center management object or at least one internet data object;
responding to the management object starting instruction, and starting the service corresponding to the management object according to the configuration item.
4. The internet data center management system is characterized by comprising at least one region data center management object, wherein each region data center management object comprises at least one region center, each region center comprises at least one internet data center object, each region data center management object forms a single region and multi-region hierarchical structure, network isolation exists among different region data center management objects, and each region data center management object comprises at least one adapter; the adapter manages the circulation of the intermediate state of the Internet data center object, the Internet data center object manages the start-stop state of the Internet data center object, and the intermediate state comprises startup, shutdown, deployment, rapid deployment failure or out-of-band initialization;
the system further comprises:
the internet data center access instruction generating module is used for generating an internet data center access instruction;
the target adapter acquisition module is used for analyzing the Internet data center access instruction according to regions so as to obtain a region data center management object pointed by the Internet data center access instruction; acquiring all virtual adapters of the region data center management object, wherein the virtual adapters point to adapter centers in the region data center management object, and one adapter center manages at least one adapter; querying the states of all virtual adapters, and selecting a target virtual adapter in a healthy state, wherein the target virtual adapter is in communication connection with a load balancer, and the load balancer interactively selects one adapter as a target adapter through an adapter center corresponding to the target virtual adapter;
the first routing module is used for routing the Internet data center access instruction to the target adapter;
the target adapter is used for acquiring the access type of the internet data center access instruction; if the access type is the query type, selecting a target internet data center object in a non-intermediate state according to a first preset rule, wherein the first preset rule is a load balancing rule, a nearby rule or a random rule; if the access type is the operation type, analyzing the internet data center access instruction to obtain a target internet data center object identification, and selecting a target internet data center object in a non-intermediate state according to the target internet data center object identification; the target internet data center object has the capability of accessing other internet data center objects which are in the same regional center as the target internet data center object or accessing a regional data center management object; for each target internet data center object, routing the internet data center access instruction to the target internet data center object;
the target internet data center object is used for executing the internet data center access instruction;
the Internet data center object is used for sending a dynamic host setting protocol request to a local area network where the Internet data center object is located, starting a relay agent on a switch in the Internet data center object, and carrying out application and lease renewal management of an in-band Internet protocol address and an out-of-band Internet protocol address by a data center operating system service, wherein the out-of-band Internet protocol address and deployment operation depend on the out-of-band Internet protocol address and the in-band Internet protocol address, and the Internet data center object is also used for collecting various monitoring data and reporting the monitoring data to the data center operating system service; the internet data center object service defined in the internet data center object at least comprises physical machine out-of-band in-band management, monitoring index acquisition and reporting of the physical machine, communication detection of the physical machine, network equipment monitoring and control and log acquisition, network quality detection, xflow session flow acquisition and alarm summary reporting;
the data center operating system service is used for performing startup and shutdown restart and out-of-band account reset operation on a physical machine of a corresponding Internet data center object through a standard out-of-band intelligent platform management interface tool, and performing deployment operating system and disk array tool manufacturing on the physical machine based on a pre-startup execution environment, a simple file transfer protocol deployment script and a disk array tool;
the data center operating system service is used for receiving and analyzing the reported logs through the log module and generating network equipment log alarms according to preset log keywords, and the data center operating system service is also used for carrying out flow summarization and mapping sessions to the private line to form flow monitoring of the private line.
5. The system of claim 4, wherein the target adapter acquisition module comprises:
and the proximity capturing unit is used for capturing the Internet data center access instruction according to a proximity principle.
6. A computer storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded by a processor and which performs an internet data center management method according to any one of claims 1-3.
7. A computer device comprising a processor and a memory, said memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, said at least one instruction, said at least one program, said set of codes, or said set of instructions being loaded and executed by said processor to implement an internet data center management method according to any one of claims 1-3.
CN201910343442.9A 2019-04-26 2019-04-26 Internet data center management method, system and medium Active CN110196721B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910343442.9A CN110196721B (en) 2019-04-26 2019-04-26 Internet data center management method, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910343442.9A CN110196721B (en) 2019-04-26 2019-04-26 Internet data center management method, system and medium

Publications (2)

Publication Number Publication Date
CN110196721A CN110196721A (en) 2019-09-03
CN110196721B true CN110196721B (en) 2022-02-18

Family

ID=67752208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910343442.9A Active CN110196721B (en) 2019-04-26 2019-04-26 Internet data center management method, system and medium

Country Status (1)

Country Link
CN (1) CN110196721B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855473B (en) * 2019-10-16 2022-11-18 平安科技(深圳)有限公司 Monitoring method, device, server and storage medium
CN113392350B (en) * 2021-06-11 2023-07-04 中国联合网络通信集团有限公司 Page routing processing method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158879A (en) * 2014-08-18 2014-11-19 浪潮(北京)电子信息产业有限公司 Cloud management platform architecture system and method for distributed data center
US20170005880A1 (en) * 2015-06-30 2017-01-05 International Business Machines Corporation Dynamic highlight

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158879A (en) * 2014-08-18 2014-11-19 浪潮(北京)电子信息产业有限公司 Cloud management platform architecture system and method for distributed data center
US20170005880A1 (en) * 2015-06-30 2017-01-05 International Business Machines Corporation Dynamic highlight

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《多地多中心DCOS架构与部署方案》;frankifu;《https://cloud.tencent.com/developer/article/1389957》;20190201;第1-5页 *

Also Published As

Publication number Publication date
CN110196721A (en) 2019-09-03

Similar Documents

Publication Publication Date Title
US10728135B2 (en) Location based test agent deployment in virtual processing environments
US10917294B2 (en) Network function instance management method and related device
US20200162345A1 (en) Method, system and options for multi-operator service life cycle management
US9246765B2 (en) Apparatus and methods for auto-discovery and migration of virtual cloud infrastructure
US8909758B2 (en) Physical server discovery and correlation
Kvalbein et al. The Nornet Edge platform for mobile broadband measurements
CN111858054B (en) Resource scheduling system and method based on edge computing in heterogeneous environment
CN112506670B (en) Multi-node automatic operation and maintenance task processing method, system and storage medium
TW201543243A (en) Capability monitoring in a service oriented architecture
CN109120444B (en) Cloud resource management method, processor and storage medium
US20150081878A1 (en) Describing datacenter rack information in management system
CN108628716B (en) Information receiving and managing system, method and device
CN103475722A (en) Implement system for business collaboration platform
CN113660316B (en) Network resource adaptive configuration method, system and medium based on container cloud platform
CN110196721B (en) Internet data center management method, system and medium
US8543680B2 (en) Migrating device management between object managers
CN113037891B (en) Access method and device for stateful application in edge computing system and electronic equipment
WO2017124834A1 (en) Resource management method, apparatus, and system
CN115357198B (en) Mounting method and device of storage volume, storage medium and electronic equipment
US7415507B1 (en) Logical routers
CN112532758B (en) Method, device and medium for establishing network edge computing system
CN117389830A (en) Cluster log acquisition method and device, computer equipment and storage medium
Graupner et al. Resource-sharing and service deployment in virtual data centers
CN113760447A (en) Service management method, device, equipment, storage medium and program product
EP1654653B1 (en) Active storage area network discovery system and method

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