CN108920103B - Server management method and device, computer equipment and storage medium - Google Patents

Server management method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN108920103B
CN108920103B CN201810695323.5A CN201810695323A CN108920103B CN 108920103 B CN108920103 B CN 108920103B CN 201810695323 A CN201810695323 A CN 201810695323A CN 108920103 B CN108920103 B CN 108920103B
Authority
CN
China
Prior art keywords
raid
host
server
information
data
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
CN201810695323.5A
Other languages
Chinese (zh)
Other versions
CN108920103A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810695323.5A priority Critical patent/CN108920103B/en
Priority to PCT/CN2018/109298 priority patent/WO2020000760A1/en
Publication of CN108920103A publication Critical patent/CN108920103A/en
Application granted granted Critical
Publication of CN108920103B publication Critical patent/CN108920103B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0689Disk arrays, e.g. RAID, JBOD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Abstract

The embodiment of the application discloses a management method and device of a server, computer equipment and a storage medium. The method comprises the following steps: establishing communication connection with a server; acquiring host data corresponding to the server, and generating a host management task according to the host data; and issuing the host management task in the centralized management platform to manage the host management task through the centralized management platform, so that the management of the server is realized. The management method breaks out of the management mode based on the operating system, can support the server of the mainstream brand, realizes the decoupling with the operating system, saves the installation of the operating system, can realize the centralized management of the server, and improves the operation and maintenance management work efficiency of the server.

Description

Server management method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for managing a server, a computer device, and a storage medium.
Background
At present, in the field of internet technology, two modes are basically adopted for server management, namely, an Agent software mode based on an Operating System (OS), namely, a host must deploy the Operating System and is compatible with Agent software, and once the Agent software is incompatible, or performance availability requirements are sensitive to the Agent software, or even no Operating System exists, the server cannot be managed; secondly, a server supplier can provide a comprehensive hardware management platform for own brand, although the requirement of an operating system is not met, the mode is only limited to the server of the brand, and the server of other brands is basically not supported, so that the centralized management of the servers of various brands is not facilitated. Therefore, it is necessary to provide a management method of a server to solve the above problems.
Disclosure of Invention
The application provides a management method and device of a server, computer equipment and a storage medium, so as to realize centralized management of the server.
The application provides a management method of a server, which comprises the following steps:
establishing communication connection with a server through a centralized management platform, wherein the server is provided with out-of-band equipment, and the centralized management platform is platform software developed based on a preset communication protocol and the out-of-band equipment;
acquiring host data corresponding to the server, and generating a host management task according to the host data;
and issuing the host management task in the centralized management platform to manage the host management task through the centralized management platform, so that the management of the server is realized.
The application provides a management device of server, it includes:
the communication establishing unit is used for establishing communication connection with a server through a centralized management platform, the server is internally provided with out-of-band equipment, and the centralized management platform is platform software developed based on a preset communication protocol and the out-of-band equipment;
the data acquisition unit is used for acquiring host data corresponding to the server and generating a host management task according to the host data;
and the task issuing unit is used for issuing the host management task in the centralized management platform so as to manage the host management task through the centralized management platform, thereby realizing the management of the server.
The present application further provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the management method provided in any one of the above embodiments when executing the program.
The present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, which, when executed by a processor, causes the processor to perform the steps of the management method according to any one of the aspects provided herein.
The management method, the management device, the computer equipment and the storage medium of the server provided by the embodiment establish communication connection with the server through a centralized management platform, the server is provided with out-of-band equipment, and the centralized management platform is platform software developed based on a preset communication protocol and the out-of-band equipment; acquiring host data corresponding to the server, and generating a host management task according to the host data; and issuing the host management task in the centralized management platform to manage the host management task through the centralized management platform, so that the management of the server is realized. The management method breaks out of the management mode based on the operating system, can support the server of the mainstream brand, realizes the decoupling with the operating system, saves the installation of the operating system, can realize the centralized management of the server, and improves the operation and maintenance management work efficiency of the server.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a data monitoring method according to an embodiment of the present application;
FIG. 2 is a flow diagram illustrating sub-steps of the data monitoring method of FIG. 1;
FIG. 3 is a schematic flow chart diagram of a data monitoring method according to another embodiment of the present application;
FIG. 4 is a schematic flow chart diagram of a data monitoring method according to another embodiment of the present application;
FIG. 5 is a schematic block diagram of a data monitoring apparatus according to an embodiment of the present application;
FIG. 6 is a schematic block diagram of a data monitoring apparatus according to another embodiment of the present application;
FIG. 7 is a schematic block diagram of a data monitoring apparatus according to yet another embodiment of the present application;
fig. 8 is a schematic block diagram of a computer device according to an embodiment of the present application.
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 some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
The embodiment of the application provides a management method and device of a server, computer equipment and a storage medium. The management method is applied to a centralized management platform.
The centralized management platform is a platform software system developed based on out-of-band equipment, and the platform software system comprises a client and a server, wherein the client is configured in a terminal, the server is configured in a management server, and the management server and the terminal are matched to realize centralized management of the servers in a server cluster. The out-of-band device may be, for example, a BMC (baseboard management Controller). In the case that the server installs the out-of-band device, a PC (Personal Computer) hardware operation and maintenance automation platform, also called as an out-of-band management platform, can be developed based on the IPMI/REDFISH protocol. The redfly may support data center power/cooling domains and network switches in addition to servers. The system adopts RESTful API industry standard of infrastructure, uses HTTPS protocol and JSON data format, is easier to interface with DevOps tools, and provides possibility for developing a set of tools to obtain physical state data of PC hardware and remotely manage the PC hardware based on IPMI and REDDISH industry standard. If the data and the management function are integrated, a set of PC hardware operation and maintenance management platform, namely the integrated management platform, can be set up.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a server management method according to an embodiment of the present application. As shown in fig. 1, the management method applied to the management server includes steps S101 to S103.
S101, communication connection is established with a server.
In this embodiment, the server is a server in a server cluster. The centralized management platform is platform software developed based on a preset communication protocol and the out-of-band equipment and is used for managing the server cluster. The management server can establish communication connection with the servers in the server cluster only by installing the out-of-band equipment in the servers in the server cluster, particularly, KVM IP is distributed to the servers through the centralized management platform, and then the servers are managed through the centralized management platform, so that an operating system and the like do not need to be installed in the servers, and the operation and maintenance management work of the servers is reduced.
And S102, acquiring host data corresponding to the server, and generating a host management task according to the host data.
In this embodiment, the host data includes: host information and component data, and the like, wherein the host information comprises host SN (host number), host KVM IP (such as 172.17.41.97) and host hard disk information (such as 4 × 900G SAS2.512Gb 10k) and RAID (Redundant Arrays of Independent Disks) information, and the like; the component data includes state data corresponding to hardware components such as a hard disk, a memory, a power supply and the like. Thereby generating host management tasks from the host data.
In one embodiment, as shown in fig. 2, step S102 includes: substeps 1021 to S1024. It is composed of
And S1021, if the host data is detected to have fault data, acquiring a host identifier and a host type corresponding to the fault data.
Specifically, whether the component data in the host data has fault data is judged. The component is a hardware component, and comprises a hard disk, a power supply, a fan and the like. And detecting whether fault data exist in the component data of the servers in the server cluster according to a preset fault detection rule. For example, the rotation speed of the fan of the server is smaller than the set value of the fault detection rule, that is, fault data is detected in component data of the servers in the server cluster, and then a host identifier and a host type corresponding to the fault data are obtained. The host id may be a host SN number, but a host name may also be used. The server type refers to the brand and model of the failed server, such as Hewlett packard, Del, Huawei or Lenovo, etc., and the model is Hewlett packard DL380EGEN8 or DL380GEN9, etc.
And S1022, determining a preset download script corresponding to the host type corresponding to the fault data based on a preset corresponding relationship between the host type and the preset download script.
Specifically, since the hardware parameters, the API (Application Programming Interface), the acquisition mode, and the like corresponding to the servers of different brands are different, a mapping relationship between the server type and the preset download script needs to be established in advance, and the mapping relationship is, for example, as shown in table 1 below. Therefore, the corresponding preset download script can be determined according to the server type corresponding to the fault data.
Table 1 is a mapping table
Server type Preset download script
HPDL380EGEN8 Presetting download script 11
HPDL380GEN9 Preset download script 12
HUAWEIRH2288HV2 Preset download script 21
HUAWEIRH2288HV3 Preset download script 22
And S1023, downloading the fault log corresponding to the fault data from the server corresponding to the host identity according to the determined preset downloading script.
Specifically, if the determined preset download script is executed, for example, the server type is HP DL380GEN9, the preset download script may be determined as the preset download script 12. And pre-downloading a fault log corresponding to the fault data from a server corresponding to the host identity through a preset downloading script 12. The fault log includes log information including level information, alarm time, alarm components, detailed description, and the like.
And S1024, storing the fault log in a preset database, and generating a log downloading link according to the fault log.
Specifically, the preset database is a database corresponding to a server running a centralized management platform, and the centralized management platform is used for managing a server cluster. After the fault log is stored in a preset database, the storage address of the fault log stored in the database is obtained, and a log downloading link is generated according to the storage address of the fault log, so that a user can quickly download the fault log according to the log downloading link.
In an embodiment, as shown in fig. 3, after obtaining the host identifier and the host type corresponding to the failure data, the method further includes: s102a, generating a fault event according to the fault data and the host computer identification; s102b, counting the fault occurrence rate corresponding to the host type within a preset time according to the fault event, and displaying the fault occurrence rate in the centralized management platform.
Specifically, the occurrence rate of the server fault events provided by each manufacturer and the occurrence rate of the server hardware downtime events of each manufacturer are counted, and the occurrence rate of the fault events is displayed through a graph, so that each manufacturer can be fed back, and the quality of the server is improved.
S103, the host management task is issued in the centralized management platform so as to be managed through the centralized management platform, and therefore management of the server is achieved.
In this embodiment, the host management tasks may be sent to the client corresponding to the centralized management platform through the server of the centralized management platform for display, so that a manager can manage the host management tasks conveniently, and further, centralized management of a server cluster is achieved. Since the generating of the host management task according to the host data includes: a log download link is generated. Accordingly, the log download link is published on the centralized management platform to manage the fault log.
In the embodiment, the communication connection is established with the server through the centralized management platform, the server is provided with the out-of-band device, and the centralized management platform is platform software developed based on a preset communication protocol and the out-of-band device; acquiring host data corresponding to the server, and generating a host management task according to the host data; and issuing the host management task in the centralized management platform to manage the host management task through the centralized management platform, so that the management of the server is realized. The management method breaks out of the management mode based on the operating system, can support the server of the mainstream brand, realizes the decoupling with the operating system, saves the installation of the operating system, can realize the centralized management of the server, and improves the operation and maintenance management work efficiency of the server.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a server management method according to an embodiment of the present application. In the management method application management server, as shown in fig. 4, the management method includes steps S201 to S207.
S201, communication connection is established with a server.
In this embodiment, the server is a server in a server cluster. The centralized management platform is platform software developed based on a preset communication protocol and the out-of-band equipment and is used for managing the server cluster. The management server can establish communication connection with the servers in the server cluster only by installing the out-of-band equipment in the servers in the server cluster, particularly, KVM IP is distributed to the servers through the centralized management platform, and then the servers are managed through the centralized management platform, so that an operating system and the like do not need to be installed in the servers, and the operation and maintenance management work of the servers is reduced.
S202, obtaining host data corresponding to the server, wherein the host data comprise target RAID information and host information corresponding to the server needing RAID configuration.
In this embodiment, the RAID (redundant arrays of independent Disks) configuration of the server, that is, the disk array configuration, the host information corresponding to the server that needs to perform the disk array configuration includes a host SN (host number), a host KVM IP (for example, 172.17.41.97), host hard disk information (for example, 4 × 900G sas2.512gb 10k), and the like, and of course, the host information may also include other information. And the target disk array information is the final disk array configuration of the server, namely, the target disk array information is referred to perform disk array configuration on the server.
And S203, generating a RAID configuration task according to the host information and the target RAID information.
In this embodiment, a disk array configuration task is generated according to the target disk array information and the host information, specifically, a disk array configuration task is generated according to a host SN, a host KVM IP, host hard disk information, and target disk array information, where the disk array configuration task is a task to be executed for performing disk array configuration on a server corresponding to the host SN. And if the host information comprises a plurality of servers, namely a plurality of hosts SN and a plurality of target disk array information, generating a plurality of disk array configuration tasks.
And S204, displaying the RAID configuration task in the centralized management platform, wherein the RAID configuration task comprises a RAID editing control.
In this embodiment, the disk array configuration task is specifically displayed in a preset toolbar in the centralized management platform, where the preset toolbar is, for example, a tool set, and the disk array configuration task may also be displayed in a preset arrangement manner in an interface of the tool set, where the preset arrangement manner may be an arrangement order of the hosts SN or a generation time of the disk array configuration task. The disk array configuration task comprises a disk array editing control, and the disk array editing control is used for triggering and displaying a disk array editing interface.
S205, if the operation of triggering the RAID editing control is detected, displaying a RAID editing interface, wherein the RAID editing interface comprises disk configuration parameters.
In this embodiment, the disk configuration parameters include: RAID level, boot disk class, and RAID hard disk. Specifically, when the user clicks the disk array editing control, the operation of triggering the disk array editing control is detected, a disk array editing interface is displayed, and the disk array editing interface is displayed specifically in a pop-up frame mode.
And S206, generating RAID type information according to the disk configuration parameters selected by the user on the RAID editing interface based on the target RAID information.
In this embodiment, the disk array type information is specifically generated according to the disk configuration parameters selected on the disk array editing interface by the user with reference to the target disk array information.
Based on this, as shown in fig. 5, step S206 includes: substeps 2061 to S2064. S2061, acquiring a preset RAID information analysis rule; s2062, analyzing the target RAID information according to the RAID information analysis rule to obtain target configuration information; s2063, acquiring disk configuration parameters selected by a user on the RAID editing interface according to the target configuration information; s2064, generating RAID type information according to the selected disk configuration parameters.
Specifically, the preset analysis rule of the disk array information is an analysis rule set according to the formatting of the target disk array information, and is used to split the target disk array information to obtain target configuration information, where for example, the target disk array information is: 2 x 900G HDD SAS RAID1Boot +2 x 900G HDD SAS RAID 1; 2 x 900G HDD SAS RAID10+2 x 900G HDD SAS RAID 5. Then four pieces of target configuration information, namely 2 × 900G HDD SAS RAID1Boot 1, 2 × 900G HDD SAS RAID1, 2 × 900G HDD SAS RAID10 and 2 × 900G HDD SAS RAID5, can be parsed from the target disk array information according to preset disk array information parsing rules. Specifically, parsing is performed according to special symbols, such as "+" and "; "and the like. Collecting hard disk information of a server needing disk array configuration, wherein the hard disk information comprises a hard disk identifier; displaying the target configuration information and the hard disk information in the disk array editing interface, so that a user can conveniently select the disk array type and the hard disk identification on the editing interface according to the target configuration information; and generating disk array type information according to the obtained disk array type and the hard disk identification.
S207, generating a RAID configuration instruction according to the RAID type information, and sending the RAID configuration instruction to the server to enable the server to complete RAID configuration according to the RAID type information in the RAID configuration instruction.
In this embodiment, a disk array configuration instruction is generated according to the disk array type information, and the disk array configuration instruction is sent to the server, so that the server completes disk array configuration according to the disk array type information in the disk array configuration instruction.
Specifically, a submission control may be set on a disk array editing interface, and if it is detected that a user clicks the submission control, a disk array configuration instruction is generated according to the disk array type information, where the disk array configuration instruction carries the disk array type information, and the disk array configuration instruction is sent to the server, so that the server completes disk array configuration according to the disk array type information. Therefore, the centralized management of the disk array of the server is realized, and the disk array configuration efficiency of the server is improved.
In the embodiment, the target disk array information and the host information of the server needing disk array configuration are obtained; generating and displaying the disk array configuration task, wherein the disk array configuration task comprises a disk array editing control; if the operation of triggering the disk array editing control is detected, displaying a disk array editing interface, wherein the disk array editing interface comprises disk configuration parameters; based on the target disk array information, generating disk array type information according to the disk configuration parameters selected by a user on the disk array editing interface; and generating a disk array configuration instruction according to the disk array type information, and sending the disk array configuration instruction to the server so that the server completes disk array configuration according to the disk array configuration instruction. Therefore, the method can realize the centralized management of the disk array configuration of the server, improve the efficiency of the disk array configuration and facilitate the centralized management of the server.
Fig. 6 is a schematic block diagram of a management apparatus of a server according to an embodiment of the present application. As shown in fig. 6, the present application also provides a management apparatus for a server corresponding to the above management method for a server. The management apparatus of the server includes a unit for executing the management method of the server described above, and the management apparatus of the server may be configured in the server. As shown in fig. 6, the management apparatus 400 includes: a communication establishing unit 401, a data acquiring unit 402, and a task issuing unit 403.
A communication establishing unit 401, configured to establish a communication connection with a server.
A data obtaining unit 402, configured to obtain host data corresponding to the server, and generate a host management task according to the host data.
Specifically, the data acquisition unit 402 includes: a detection acquisition sub-unit 4021, a scenario determination sub-unit 4022, a log download sub-unit 4023, and a link generation sub-unit 4024. The detection obtaining subunit 4021 is configured to, if it is detected that there is fault data in the host data, obtain a host identifier and a host type corresponding to the fault data; the script determining subunit 4022 is configured to determine a preset download script corresponding to the host type corresponding to the fault data based on a preset correspondence between the host type and the preset download script; the log downloading subunit 4023 is configured to download the fault log corresponding to the fault data from the server corresponding to the host identifier according to the determined preset download script; the link generation subunit 4024 is configured to store the fault log in a preset database, and generate a log download link according to the fault log.
Specifically, the data acquiring unit 402 further includes: an event generation subunit 4025 and a statistics display subunit 4026. The event generating subunit 4025 is configured to generate a fault event according to the fault data and the host identifier; the statistics display subunit 4026 is configured to count a failure occurrence rate corresponding to the host type within a preset time according to the failure event, and display the failure occurrence rate in the centralized management platform.
A task issuing unit 403, configured to issue the host management task in the centralized management platform to manage the host management task through the centralized management platform, so as to implement management of the server. The method is specifically used for: and issuing the log download link on the centralized management platform so as to manage the fault log.
Fig. 7 is a schematic block diagram of a management apparatus of a server according to an embodiment of the present application. As shown in fig. 7, the present application also provides a management apparatus for a server corresponding to the above management method for a server. The management apparatus of the server includes a unit for executing the management method of the server described above, and the management apparatus of the server may be configured in the server. As shown in fig. 7, the management apparatus 500 includes: a communication establishing unit 501, a data acquiring unit 502, a task generating unit 503, a task displaying unit 504, an interface displaying unit 505, an information generating unit 506, and an instruction transmitting unit 507.
A communication establishing unit 501, configured to establish a communication connection with a server.
A data obtaining unit 502, configured to obtain host data corresponding to the server, where the host data includes target RAID information and host information corresponding to a server that needs to perform RAID configuration.
A task generating unit 503, configured to generate a RAID configuration task according to the host information and the target RAID information.
A task display unit 504, configured to display the RAID configuration task in the centralized management platform, where the RAID configuration task includes a RAID editing control.
And an interface display unit 505, configured to display a RAID editing interface if an operation that triggers the RAID editing control is detected, where the RAID editing interface includes disk configuration parameters.
An information generating unit 506, configured to generate RAID type information according to the disk configuration parameters selected by the user on the RAID editing interface based on the target RAID information.
Specifically, the information generating unit 506 includes: rule acquisition sub-unit 5061, information parsing sub-unit 5062, parameter acquisition sub-unit 5063, and information generation sub-unit 5064. A rule obtaining subunit 5061, configured to obtain a preset RAID information parsing rule; an information parsing subunit 5062, configured to parse the target RAID information according to the RAID information parsing rule to obtain target configuration information; a parameter obtaining subunit 5063, configured to obtain a disk configuration parameter selected by a user on the RAID editing interface according to the target configuration information, where the disk configuration parameter includes: RAID level, boot disk type and RAID hard disk; an information generating subunit 5064, configured to generate RAID type information according to the selected disk configuration parameter.
An instruction sending unit 507, configured to generate a RAID configuration instruction according to the RAID type information, and send the RAID configuration instruction to the server, so that the server completes RAID configuration according to the RAID type information in the RAID configuration instruction.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the management apparatus and the unit of the server described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above-described apparatus may be implemented in the form of a computer program which is executable on a computer device as shown in fig. 8.
Referring to fig. 8, fig. 8 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 700 may be a server.
Referring to fig. 8, the computer device 700 includes a processor 720, a memory, which may include a non-volatile storage medium 730 and an internal memory 740, and a network interface 750, which are connected by a system bus 710.
The non-volatile storage medium 730 may store an operating system 731 and computer programs 732. The computer programs 732, when executed, enable the processor 720 to perform any of a variety of server management methods.
The processor 720 is used to provide computing and control capabilities, supporting the operation of the overall computer device 700.
The internal memory 740 provides an environment for the execution of the computer program 732 in the non-volatile storage medium 730, and when the computer program 732 is executed by the processor 720, the processor 720 can be caused to execute any management method of the server.
The network interface 750 is used for network communication such as sending assigned tasks and the like. Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing device 700 to which the disclosed aspects apply, as a particular computing device 700 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components. Wherein the processor 720 is configured to execute the program code stored in the memory to perform the following steps:
establishing communication connection with a server; acquiring host data corresponding to the server, and generating a host management task according to the host data; and issuing the host management task in the centralized management platform to manage the host management task through the centralized management platform, so that the management of the server is realized.
In an embodiment, the processor 720 is configured to run a program code stored in a memory to implement the generating of the host management task according to the host data, and when the host management task is issued in the centralized management platform, the following steps are specifically implemented:
if the host data is detected to have fault data, acquiring a host identifier and a host type corresponding to the fault data; determining a preset download script corresponding to the host type corresponding to the fault data based on a preset corresponding relationship between the host type and the preset download script; downloading a fault log corresponding to the fault data from a server corresponding to the host identity according to the determined preset downloading script; storing the fault log in a preset database, and generating a log downloading link according to the fault log; and publishing the log download link on the centralized management platform so as to manage the fault log.
In an embodiment, after the processor 720 is configured to execute the program code stored in the memory to implement the obtaining of the host identity and the host type corresponding to the failure data, the following steps are further implemented:
generating a fault event according to the fault data and the host identity; and counting the fault occurrence rate corresponding to the host type within a preset time according to the fault event, and displaying the fault occurrence rate in the centralized management platform.
In an embodiment, the host data includes target RAID information and host information corresponding to a server that needs to perform RAID configuration; the processor 720 is configured to run a program code stored in a memory to implement the generation of the host management task according to the host data, and when the host management task is issued in the centralized management platform, implement the following specifically:
generating a RAID configuration task according to the host information and the target RAID information; displaying the RAID configuration task in the centralized management platform, wherein the RAID configuration task comprises a RAID editing control; if the operation of triggering the RAID editing control is detected, displaying an RAID editing interface, wherein the RAID editing interface comprises disk configuration parameters; generating RAID type information according to disk configuration parameters selected by a user on the RAID editing interface based on the target RAID information; and generating a RAID configuration instruction according to the RAID type information, and sending the RAID configuration instruction to the server to enable the server to complete RAID configuration according to the RAID type information in the RAID configuration instruction.
In an embodiment, the processor 720 is configured to run a program code stored in a memory to implement the following steps when generating RAID type information according to a disk configuration parameter selected by a user on the RAID editing interface based on the target RAID information:
acquiring a preset RAID information analysis rule; analyzing the target RAID information according to the RAID information analysis rule to obtain target configuration information; acquiring disk configuration parameters selected by a user on the RAID editing interface according to the target configuration information; and generating RAID type information according to the selected disk configuration parameters.
In an embodiment, the host data includes a host identifier, and the processor 720 is configured to execute the program code stored in the memory to implement the following steps after the host management task is issued in the centralized management platform:
acquiring state data of a hardware component of a server in the host data; and classifying the state data according to the dimensionality of the host identity and displaying the classified state data in the centralized management platform by adopting a preset display mode.
It should be understood that, in the embodiment of the present Application, the Processor 720 may be a Central Processing Unit (CPU), and the Processor 720 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that the configuration of computer device 700 depicted in FIG. 8 is not intended to be limiting of computer device 700 and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, and the computer program may be stored in a storage medium, which is a computer-readable storage medium. In the embodiment of the present invention, the computer program may be stored in a storage medium of a computer system and executed by at least one processor in the computer system to implement the flow steps of the embodiments including the methods as described above.
The computer readable storage medium may be a magnetic disk, an optical disk, a usb disk, a removable hard disk, a Read-only memory (ROM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided in the present application, it should be understood that the management apparatus and method of the disclosed server may be implemented in other ways. For example, the above-described management device embodiments of the server are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device of the embodiment of the application can be combined, divided and deleted according to actual needs.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially or partially implemented in the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application.
While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. A management method of a server is applied to a management server, and is characterized in that the management server is provided with a centralized management platform for managing the server, the centralized management platform is platform software developed based on out-of-band equipment installed in the server, and the method comprises the following steps:
establishing communication connection with the server;
acquiring host data corresponding to the server, and generating a host management task according to the host data, wherein the host data comprises target RAID information and host information corresponding to the server needing RAID configuration;
issuing the host management task in the centralized management platform to manage the host management task through the centralized management platform, so as to realize the management of the server;
the generating of the host management task according to the host data includes:
generating a RAID configuration task according to the host information and the target RAID information;
the issuing of the host management task in the centralized management platform to manage the host management task through the centralized management platform includes:
displaying the RAID configuration tasks in a preset arrangement mode in an interface of a tool set of the centralized management platform, wherein the RAID configuration tasks comprise RAID editing controls;
if the operation of triggering the RAID editing control is detected, displaying an RAID editing interface, wherein the RAID editing interface comprises disk configuration parameters;
generating RAID type information according to disk configuration parameters selected by a user on the RAID editing interface based on the target RAID information;
and generating a RAID configuration instruction according to the RAID type information, and sending the RAID configuration instruction to the server to enable the server to complete RAID configuration according to the RAID type information in the RAID configuration instruction.
2. The method of managing according to claim 1, wherein the generating host management tasks according to the host data comprises:
if the host data is detected to have fault data, acquiring a host identifier and a host type corresponding to the fault data;
determining a preset download script corresponding to the host type corresponding to the fault data based on a preset corresponding relationship between the host type and the preset download script;
downloading a fault log corresponding to the fault data from a server corresponding to the host identity according to the determined preset downloading script;
storing the fault log in a preset database, and generating a log downloading link according to the fault log;
the issuing of the host management task in the centralized management platform includes: and issuing the log download link on the centralized management platform so as to manage the fault log.
3. The management method according to claim 2, wherein after obtaining the host identifier and the host type corresponding to the failure data, the method further comprises:
generating a fault event according to the fault data and the host identity;
and counting the fault occurrence rate corresponding to the host type within a preset time according to the fault event, and displaying the fault occurrence rate in the centralized management platform.
4. The method for managing according to claim 1, wherein the generating RAID type information according to the disk configuration parameters selected by the user on the RAID editing interface based on the target RAID information includes:
acquiring a preset RAID information analysis rule;
analyzing the target RAID information according to the RAID information analysis rule to obtain target configuration information;
acquiring disk configuration parameters selected by a user on the RAID editing interface according to the target configuration information; and
and generating RAID type information according to the selected disk configuration parameters.
5. The method of claim 4, wherein the disk configuration parameters comprise: RAID level, boot disk class, and RAID hard disk.
6. The method of managing of claim 1, wherein the host data comprises a host identity;
after the host management task is issued in the centralized management platform, the method further includes:
acquiring state data of a hardware component of a server in the host data;
and classifying the state data according to the dimensionality of the host identity and displaying the classified state data in the centralized management platform by adopting a preset display mode.
7. An apparatus for managing a server, comprising:
the communication establishing unit is used for establishing communication connection with a server through a centralized management platform, the server is internally provided with out-of-band equipment, and the centralized management platform is platform software developed based on a preset communication protocol and the out-of-band equipment;
the data acquisition unit is used for acquiring host data corresponding to the server and generating a host management task according to the host data, wherein the host data comprises target RAID information and host information corresponding to the server needing RAID configuration;
the task issuing unit is used for issuing the host management task in the centralized management platform so as to manage the host management task through the centralized management platform, thereby realizing the management of the server;
the data acquisition unit includes:
the task generating unit is used for generating an RAID configuration task according to the host information and the target RAID information;
the task issuing unit comprises:
the task display unit is used for displaying the RAID configuration tasks in a preset arrangement mode in an interface of a tool set of the centralized management platform, and the RAID configuration tasks comprise RAID editing controls;
the interface display unit is used for displaying an RAID editing interface if the operation of triggering the RAID editing control is detected, wherein the RAID editing interface comprises disk configuration parameters;
the information generating unit is used for generating RAID type information according to the disk configuration parameters selected by the user on the RAID editing interface based on the target RAID information;
and the instruction sending unit is used for generating a RAID configuration instruction according to the RAID type information and sending the RAID configuration instruction to the server so that the server completes RAID configuration according to the RAID type information in the RAID configuration instruction.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 6.
CN201810695323.5A 2018-06-29 2018-06-29 Server management method and device, computer equipment and storage medium Active CN108920103B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810695323.5A CN108920103B (en) 2018-06-29 2018-06-29 Server management method and device, computer equipment and storage medium
PCT/CN2018/109298 WO2020000760A1 (en) 2018-06-29 2018-10-08 Server management method and device, computer apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810695323.5A CN108920103B (en) 2018-06-29 2018-06-29 Server management method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108920103A CN108920103A (en) 2018-11-30
CN108920103B true CN108920103B (en) 2020-12-01

Family

ID=64423080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810695323.5A Active CN108920103B (en) 2018-06-29 2018-06-29 Server management method and device, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN108920103B (en)
WO (1) WO2020000760A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572365A (en) * 2019-08-08 2019-12-13 深圳中电长城信息安全系统有限公司 multi-protocol server management method, system, terminal device and storage medium
CN112804072B (en) * 2019-11-14 2023-05-16 深信服科技股份有限公司 Fault information collection method and device, target electronic equipment and storage medium
CN112199197B (en) * 2020-10-23 2023-07-18 网易(杭州)网络有限公司 Server management method and system
CN116170600B (en) * 2023-03-30 2024-01-12 苏州浪潮智能科技有限公司 Data processing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495785A (en) * 2011-12-23 2012-06-13 创新科存储技术(深圳)有限公司 Centralized management method and device for servers of whole equipment cabinet
JP2012203442A (en) * 2011-03-23 2012-10-22 Nec Corp Enclosure manager, firmware management system, firmware management method and program
CN105446657A (en) * 2015-11-11 2016-03-30 浪潮电子信息产业股份有限公司 Method for monitoring RAID card
CN105791028A (en) * 2016-04-26 2016-07-20 浪潮(北京)电子信息产业有限公司 Monitoring method, server and system of server cluster
CN106227636A (en) * 2016-07-20 2016-12-14 国网安徽省电力公司信息通信分公司 A kind of data center based on IPMI outband management system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7107293B2 (en) * 2003-04-30 2006-09-12 International Business Machines Corporation Nested recovery scope management for stateless recovery agents
US7350090B2 (en) * 2005-10-11 2008-03-25 Dell Products L.P. Ensuring power availability to a blade server when blade management controller is corrupted
CN103944973A (en) * 2014-04-02 2014-07-23 北京中交兴路车联网科技有限公司 Method and device for collecting logs
CN106354430B (en) * 2016-08-27 2019-06-18 浪潮(北京)电子信息产业有限公司 A kind of method and device based on BMC configuration RAID card
CN106330567A (en) * 2016-09-14 2017-01-11 郑州云海信息技术有限公司 Server management control method and server management control system for server cluster
CN106528143A (en) * 2016-10-27 2017-03-22 杭州昆海信息技术有限公司 Configuration management method and device
EP3367206B1 (en) * 2016-12-30 2019-09-25 Huawei Technologies Co., Ltd. Server management method and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012203442A (en) * 2011-03-23 2012-10-22 Nec Corp Enclosure manager, firmware management system, firmware management method and program
CN102495785A (en) * 2011-12-23 2012-06-13 创新科存储技术(深圳)有限公司 Centralized management method and device for servers of whole equipment cabinet
CN105446657A (en) * 2015-11-11 2016-03-30 浪潮电子信息产业股份有限公司 Method for monitoring RAID card
CN105791028A (en) * 2016-04-26 2016-07-20 浪潮(北京)电子信息产业有限公司 Monitoring method, server and system of server cluster
CN106227636A (en) * 2016-07-20 2016-12-14 国网安徽省电力公司信息通信分公司 A kind of data center based on IPMI outband management system

Also Published As

Publication number Publication date
WO2020000760A1 (en) 2020-01-02
CN108920103A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108763038B (en) Alarm data management method and device, computer equipment and storage medium
CN108920103B (en) Server management method and device, computer equipment and storage medium
WO2020000745A1 (en) Log management method and apparatus, computer device, and storage medium
US10462027B2 (en) Cloud network stability
US9354961B2 (en) Method and system for supporting event root cause analysis
US20140122931A1 (en) Performing diagnostic tests in a data center
US9384114B2 (en) Group server performance correction via actions to server subset
CN108897496B (en) Disk array configuration management method and device, computer equipment and storage medium
US8990372B2 (en) Operation managing device and operation management method
US9712382B2 (en) Retrieving console messages after device failure
WO2020000758A1 (en) Server acceptance method and apparatus, computer device, and storage medium
US20210382798A1 (en) Optimizing configuration of cloud instances
US20150370619A1 (en) Management system for managing computer system and management method thereof
US9021078B2 (en) Management method and management system
JP5419819B2 (en) Computer system management method and management system
US20230359514A1 (en) Operation-based event suppression
US11677637B2 (en) Contextual update compliance management
TW201705015A (en) Method and system for remote system configuration management and non-transitory computer-readable storage medium
US20210334153A1 (en) Remote error detection method adapted for a remote computer device to detect errors that occur in a service computer device
US20210303286A1 (en) Framework for hardware-specific analytic plugins
CN109144765B (en) Report generation method, report generation device, computer equipment and storage medium
CN116955093B (en) CPU state monitoring method, device, system, equipment and storage medium
US11374811B2 (en) Automatically determining supported capabilities in server hardware devices
US11144487B1 (en) Method to overload hardware pin for improved system management
CN109151022B (en) Calling method and device of webpage console, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant