WO2020000760A1 - 服务器的管理方法、装置、计算机设备及存储介质 - Google Patents
服务器的管理方法、装置、计算机设备及存储介质 Download PDFInfo
- Publication number
- WO2020000760A1 WO2020000760A1 PCT/CN2018/109298 CN2018109298W WO2020000760A1 WO 2020000760 A1 WO2020000760 A1 WO 2020000760A1 CN 2018109298 W CN2018109298 W CN 2018109298W WO 2020000760 A1 WO2020000760 A1 WO 2020000760A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- host
- raid
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
- G06F3/0689—Disk arrays, e.g. RAID, JBOD
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
Definitions
- the present application relates to the field of computer technology, and in particular, to a server management method, device, computer device, and storage medium.
- the first is based on the operating system (Operating System (OS)) agent software method, that is, the host must deploy the operating system and compatible with the Agent software.
- OS Operating System
- the Agent Software Once the Agent Software is incompatible, or performance availability requirements are sensitive to the Agent software, or even without an operating system, the server cannot be managed;
- server vendors can provide a more comprehensive hardware management platform for their own brands, although there is no operating system Requirements, but this method is limited to servers of this brand and basically does not support servers of other brands, which is not conducive to the centralized management of servers of multiple brands. Therefore, it is necessary to provide a server management method to solve the above problems.
- This application provides a server management method, device, computer equipment, and storage medium in order to implement centralized management of the server.
- This application provides a server management method, which includes:
- This application provides a server management device, which includes:
- a communication establishing unit configured to establish a communication connection with a server through a centralized management platform, where an out-of-band device is installed in the server, and the centralized management platform is platform software developed based on a preset communication protocol and the out-of-band device;
- a data acquisition unit configured to acquire host data corresponding to the server, and generate a host management task according to the host data
- a task issuing unit is configured to publish the host management task in the centralized management platform to manage the host management task through the centralized management platform, thereby realizing management of the server.
- the present application also provides a computer device including a memory, a processor, and a computer program stored on the memory and executable on the processor.
- a computer device including a memory, a processor, and a computer program stored on the memory and executable on the processor.
- the processor executes the program, the program provided by the application is implemented. Steps of the management method according to any one.
- the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor causes the processor to execute any one of the items provided in the application. Steps of a management approach.
- the server management method, device, computer equipment, and storage medium provided by the foregoing embodiments can support mainstream brand servers by jumping out of the operating system-based management mode, achieving decoupling from the operating system and eliminating the need for operating system installation. , Can realize the centralized management of the server, and improve the operation and maintenance management efficiency of the server.
- FIG. 1 is a schematic flowchart of a data monitoring method according to an embodiment of the present application
- FIG. 2 is a schematic flowchart of sub-steps of the data monitoring method in FIG. 1;
- FIG. 3 is a schematic flowchart of a data monitoring method according to another embodiment of the present application.
- FIG. 4 is a schematic flowchart of a data monitoring method according to another embodiment of the present application.
- FIG. 5 is a schematic block diagram of a data monitoring device 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 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.
- Embodiments of the present application provide a method, an apparatus, a computer device, and a storage medium for managing a server. This management method is applied to a centralized management platform.
- the centralized management platform is a platform software system developed based on out-of-band devices.
- the platform software system includes a client and a server.
- the client is configured in the terminal
- the server is configured in the management server
- the management server and the terminal are implemented in cooperation.
- the out-of-band device may be, for example, a baseboard management controller (BMC).
- BMC baseboard management controller
- a PC Personal Computer, personal computer
- REDFISH can also support data center power supply / cooling fields and network switches.
- FIG. 1 is a schematic flowchart of a server management method according to an embodiment of the present application.
- the management method includes steps S101 to S103.
- 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 device, and is used to manage a server cluster. You only need to install out-of-band devices in the servers in the server cluster to establish a communication connection between the management server and the servers in the server cluster.
- the KVM IP is assigned to the server through the centralized management platform, and the centralized management platform The server is managed, so there is no need to install an operating system in the server, which reduces the work of server operation and maintenance management.
- the host data includes host information and component data
- the host information includes host SN (host number), host KVM IP (for example: 172.17.41.97), and host hard disk information (for example: 4 * 900G, SAS2.5, 12Gb, 10k) and RAID (Redundant Arrays of Independent Disks) information
- the component data includes status data corresponding to hardware components such as hard disks, memory, and power supplies.
- a host management task is generated according to the host data.
- step S102 includes: sub-steps S1021 to S1024. its
- This component is a hardware component, including hard disks, power supplies, and fans. Detect whether there is fault data 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 less than the set value of the fault detection rule, that is, fault data is detected in the component data of the server in the server cluster, and then the host identifier and host type corresponding to the fault data are obtained.
- the host identifier may be a host SN number, of course, a host name may also be used.
- the server type refers to the brand and model of the faulty server, such as HP, Dell, Huawei, or Lenovo, and the model such as HP DL380EGEN8 or DL380GEN9.
- the hardware parameters, API (Application Programming Interface), or acquisition method of servers of different brands are different, it is necessary to establish the mapping relationship between the server type and the preset download script, and the mapping relationship. For example, the following table 1. Therefore, the corresponding preset download script can be determined according to the server type corresponding to the fault data.
- Table 1 is the mapping relationship table
- S1023 Download a fault log corresponding to the fault data from a server corresponding to the host identifier according to the determined preset download script.
- the predetermined download script may be determined as the predetermined download script 12.
- the fault log includes log information, and the log information includes level information, alarm time, alarm components, detailed description, and the like.
- the preset database is a database corresponding to a server running a centralized management platform, and the centralized management platform is used to manage a server cluster.
- the method further includes: S102a: generating a fault event according to the fault data and the host identifier; S102b, according to the The failure event counts the failure occurrence rate corresponding to the host type within a preset time, and displays the failure occurrence rate in the centralized management platform.
- the server failure event rate provided by each manufacturer and the server hardware downtime event rate of each manufacturer are counted, and the failure event rate is displayed graphically in order to feedback to each manufacturer and thereby improve the quality of the server.
- the host management task can be specifically sent to the client corresponding to the centralized management platform for display through the server of the centralized management platform, so as to facilitate the administrator to manage these host management tasks, thereby realizing Centralized management of server clusters. Because generating the host management task according to the host data includes generating a log download link. Accordingly, the log download link is posted on the centralized management platform to manage the fault log.
- a communication connection is established with a server through a centralized management platform, where out-of-band devices are installed in the server, and the centralized management platform is platform software developed based on a preset communication protocol and the out-of-band devices; Generating host management tasks based on the host data; publishing the host management tasks in the centralized management platform to manage the host management tasks through the centralized management platform, thereby realizing the server's management.
- This management method breaks away from operating system-based management and supports servers of mainstream brands, achieving decoupling from the operating system, eliminating the need for operating system installation, enabling centralized management of the server, and improving server operation and maintenance Management efficiency.
- FIG. 4 is a schematic flowchart of a server management method according to an embodiment of the present application.
- the management method includes steps S201 to S207.
- S201 Establish a communication connection with a server through a centralized management platform, wherein an out-of-band device is installed in the server, and the centralized management platform is platform software developed based on a preset communication protocol and the out-of-band device.
- 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 device, and is used to manage a server cluster. You only need to install out-of-band devices in the servers in the server cluster to establish a communication connection between the management server and the servers in the server cluster.
- the KVM IP is assigned to the servers through the centralized management platform, and the centralized management platform The server is managed, so there is no need to install an operating system in the server, which reduces the work of server operation and maintenance management.
- the server's RAID (Redundant Arrays of Independent Disks) configuration that is, the disk array configuration.
- the host information corresponding to the server that needs to be configured with the disk array includes the host SN (host number) and host KVM IP (such as : 172.17.41.97) and host hard disk information (such as: 4 * 900G SAS2.5 12Gb 10k), etc. Of course, the host information can also include other information.
- the target disk array information is the final disk array configuration of the server, that is, the server performs disk array configuration with reference to the target disk array information.
- a disk array configuration task is generated according to the target disk array information and the host information. Specifically, the disk array configuration task is generated according to the host SN, the host KVM IP, the host hard disk information, and the target disk array information.
- the disk array configuration The task is a to-be-executed task of configuring a disk array on a server corresponding to the host SN. If the host information includes multiple servers, that is, corresponding to multiple host SNs and multiple target disk array information, multiple disk array configuration tasks are generated.
- the disk array configuration task is specifically displayed in a preset toolbar in the centralized management platform.
- the preset toolbar is, for example, a tool set, and can also be arranged according to a preset in the interface of the tool set.
- the method displays the disk array configuration task.
- the preset arrangement may be the host SN arrangement order, or the generation time of the disk array configuration task.
- the disk array configuration task includes a disk array editing control, and the disk array editing control is used to trigger display of a disk array editing interface.
- the disk configuration parameters include: a RAID level, a boot disk type, and a RAID hard disk. Specifically, when the user clicks the disk array editing control, an operation that triggers the disk array editing control is detected, and a disk array editing interface is displayed, and the disk array editing interface is displayed in a popup manner.
- the disk array type information is specifically generated according to the disk configuration parameters selected on the disk array editing interface by the user referring to the target disk array information.
- step S206 includes: sub-steps S2061 to S2064.
- S2061. Obtain a preset RAID information parsing rule.
- S2062. Parse the target RAID information according to the RAID information parsing rule to obtain target configuration information.
- S2063. Obtain a user according to the target configuration information in the RAID editing interface.
- S2064. Generate RAID type information according to the selected disk configuration parameter.
- the preset disk array information parsing rule is a parsing rule set according to an arrangement format of the target disk array information, and is used to split the target disk array information to obtain target configuration information.
- the target disk array information is : 2 * 900G HDD SAS RAID1 Boot + 2 * 900G HDD SAS RAID1; 2 * 900G HDD SAS RAID10 + 2 * 900G HDD SAS RAID5.
- the target disk array information can be parsed into four target configuration information, which are 2 * 900G HDD SAS RAID1 Boot, 2 * 900G HDD SAS RAID1, 2 * 900G HDD SAS RAID 10 and 2 * 900G HDD SAS RAID5.
- the hard disk information includes a hard disk identification; and display the target configuration information and the hard disk information in the disk array editing interface, thereby being convenient for a user to Select the disk array type and hard disk identification on the editing interface; and generate disk array type information based on the obtained disk array type and hard disk identification.
- 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 according to the disk array type information in the disk array configuration instruction. Disk array configuration.
- a submit control can be set on the disk array editing interface. If it is detected that the user clicks the submit control, a disk array configuration instruction is generated according to the disk array type information, and the disk array configuration instruction carries the disk array type information, and Sending the disk array configuration instruction to the server causes the server to complete the disk array configuration according to the disk array type information. This achieves centralized management of the server's disk array and improves the server's disk array configuration efficiency.
- the target disk array information and the host information of the server that needs to be configured for the disk array are obtained; the disk array configuration task is generated and displayed, and the disk array configuration task includes a disk array editing control; if it is detected that the disk is triggered The operation of the array editing control displays a disk array editing interface including disk configuration parameters; based on the target disk array information, a disk array type information is generated according to a user selecting a disk configuration parameter on the disk array editing interface 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 the disk array configuration according to the disk array configuration instruction. It can be seen that this method can realize the centralized management of the disk array configuration of the server and improve the efficiency of the disk array configuration, thereby facilitating the centralized management of the server.
- FIG. 6 is a schematic block diagram of a server management apparatus according to an embodiment of the present application.
- the present application further provides a server management device.
- the management device of the server includes a unit for executing the management method of the server, and the management device of the server may be configured in the server.
- the management device 400 includes a communication establishment unit 401, a data acquisition unit 402, and a task issuing unit 403.
- the communication establishing unit 401 is configured to establish a communication connection with a server.
- the data acquiring unit 402 is configured to acquire host data corresponding to the server, and generate a host management task according to the host data.
- the data acquisition unit 402 includes a detection acquisition subunit 4021, a script determination subunit 4022, a log download subunit 4023, and a link generation subunit 4024.
- the detection and acquisition subunit 4021 is configured to acquire the host identifier and host type corresponding to the fault data if fault data is detected in the host data
- the script determination subunit 4022 is configured to download based on the host type and the preset The preset correspondence between the scripts determines the preset download script corresponding to the host type corresponding to the fault data
- the log download subunit 4023 is configured to download from the server corresponding to the host identifier according to the determined preset download script. Download a fault log corresponding to the fault data
- a link generation subunit 4024 is configured to save the fault log in a preset database, and generate a log download link according to the fault log.
- the data acquisition unit 402 further includes: an event generation subunit 4025 and a statistics display subunit 4026.
- the event generation subunit 4025 is configured to generate a fault event according to the fault data and the host identifier; and the statistics display subunit 4026 is configured to count a fault occurrence rate corresponding to the host type within a preset time according to the fault event. And display the failure rate in the centralized management platform.
- a task issuing unit 403 is configured to release the host management task in the centralized management platform to manage the host management task through the centralized management platform, thereby implementing management of the server. Specifically used to: publish the log download link on the centralized management platform to manage the fault log.
- FIG. 7 is a schematic block diagram of a server management apparatus according to an embodiment of the present application.
- the present application also provides a server management device.
- the management device of the server includes a unit for executing the management method of the server, and the management device of the server may be configured in the server.
- the management device 500 includes a communication establishment unit 501, a data acquisition unit 502, a task generation unit 503, a task display unit 504, an interface display unit 505, an information generation unit 506, and an instruction sending unit 507.
- the communication establishing unit 501 is configured to establish a communication connection with a server.
- a data obtaining unit 502 is 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 be configured for RAID.
- a task generating unit 503 is configured to generate a RAID configuration task according to the host information and the target RAID information.
- a task display unit 504 is configured to display the RAID configuration task in the centralized management platform, where the RAID configuration task includes a RAID editing control.
- the interface display unit 505 is configured to display a RAID editing interface if an operation that triggers the RAID editing control is detected, and the RAID editing interface includes a disk configuration parameter.
- An information generating unit 506 is 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.
- the information generation unit 506 includes a rule acquisition subunit 5061, an information analysis subunit 5062, a parameter acquisition subunit 5063, and an information generation subunit 5064.
- a rule acquisition subunit 5061 is configured to acquire a preset RAID information analysis rule; an information analysis subunit 5062 is configured to parse the target RAID information to obtain target configuration information according to the RAID information analysis rule; a parameter acquisition subunit 5063, And configured to obtain a disk configuration parameter selected by the user on the RAID editing interface according to the target configuration information, wherein the disk configuration parameter includes: a RAID level, a boot disk type, and a RAID hard disk; and an information generating subunit 5064, configured to The selected disk configuration parameter generates RAID type information.
- the instruction sending unit 507 is 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 the RAID configuration according to the RAID type information in the RAID configuration instruction.
- the above apparatus may be implemented in the form of a computer program, and the computer program may be run on a computer device as shown in 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 device may be a server.
- the computer device 700 includes a processor 720, a memory, and a network interface 750 connected through a system bus 710.
- the memory may include a non-volatile storage medium 730 and an internal memory 740.
- the non-volatile storage medium 730 can store an operating system 731 and a computer program 732.
- the computer program 732 When executed, it can cause the processor 720 to execute any management method of the server.
- the processor 720 is used to provide computing and control capabilities to support the operation of the entire computer device 700.
- the internal memory 740 provides an environment for running the computer program 732 in the non-volatile storage medium 730.
- the processor 720 can cause the processor 720 to execute any management method of the server.
- the network interface 750 is used for network communication, such as sending assigned tasks.
- Those skilled in the art can understand that the structure shown in FIG. 8 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment 700 to which the solution of the present application is applied. 700 may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
- the processor 720 is configured to run program code stored in a memory to implement the process steps of the foregoing method embodiments.
- the processor 720 may be a central processing unit (CPU), and the processor 720 may also be another general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- the general-purpose processor may be a microprocessor, or the processor may be any conventional processor.
- FIG. 8 does not constitute a limitation on the computer device 700, and may include more or fewer components than shown in the figure, or combine some components or different components. Layout.
- the computer program can be stored in a storage medium, which is a computer-readable medium. Read storage media.
- 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, so as to implement process steps including the embodiments of the methods described above.
- the computer-readable storage medium may be any medium that can store program code, such as a magnetic disk, an optical disk, a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a magnetic disk, or an optical disk.
- program code such as a magnetic disk, an optical disk, a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a magnetic disk, or an optical disk.
- the disclosed apparatus and method for managing a server may be implemented in other ways.
- the embodiments of the management device of the server described above are merely exemplary.
- the division of each unit is only a logical function division, and there may be another division manner in actual implementation.
- multiple units or components may be combined or integrated into another system, or some features may be ignored or not implemented.
- the units in the apparatus of the embodiment of the present application may be combined, divided, and deleted according to actual needs.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
- the above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
- the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
- the technical solution of this application is essentially a part that contributes to the existing technology, or all or part of the technical solution may be embodied in the form of a software product, which is stored in a storage medium. Included are instructions for causing a computer device (which may be a personal computer, a terminal, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Debugging And Monitoring (AREA)
Abstract
本申请实施例公开了一种服务器的管理方法、装置、计算机设备及存储介质。其中方法包括:与服务器建立通讯连接;获取所述服务器对应的主机数据,并根据所述主机数据生成主机管理任务;将所述主机管理任务发布在所述集中管理平台中以通过所述集中管理平台管理所述主机管理任务,从而实现对所述服务器的管理。
Description
本申请要求于2018年6月29日提交中国专利局、申请号为201810695323.5、发明名称为“服务器的管理方法、装置、计算机设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及计算机技术领域,尤其涉及一种服务器的管理方法、装置、计算机设备及存储介质。
目前,在互联网技术领域,对于服务器管理基本采用两种方式,一是基于操作系统(Operating System,简称OS)的代理(Agent)软件方式,即主机必须部署操作系统且与Agent软件兼容,一旦Agent软件不兼容,或性能可用性要求对Agent软件比较敏感,或者甚至无操作系统时,就无法实现对服务器进行管理;二是服务器供应商针对自己品牌可提供较全面的硬件管理平台,虽无操作系统的要求,但这种方式仅局限于本品牌的服务器,对其他品牌的服务器基本上不支持,因此不利于多种品牌的服务器的集中管理。因此,有必要提供一种服务器的管理方法以解决上述问题。
发明内容
本申请提供了一种服务器的管理方法、装置、计算机设备及存储介质,以便实现服务器的集中管理。
本申请提供了一种服务器的管理方法,其包括:
通过集中管理平台与服务器建立通讯连接,所述服务器中安装有带外设备,所述集中管理平台为基于预设通讯协议和所述带外设备开发的平台软件;
获取所述服务器对应的主机数据,并根据所述主机数据生成主机管理任务;
将所述主机管理任务发布在所述集中管理平台中以通过所述集中管理平台管理所述主机管理任务,从而实现对所述服务器的管理。
本申请提供了一种服务器的管理装置,其包括:
通信建立单元,用于通过集中管理平台与服务器建立通讯连接,所述服务器中安装有带外设备,所述集中管理平台为基于预设通讯协议和所述带外设备开发的平台软件;
数据获取单元,用于获取所述服务器对应的主机数据,并根据所述主机数据生成主机管理任务;
任务发布单元,用于将所述主机管理任务发布在所述集中管理平台中以通过所述集中管理平台管理所述主机管理任务,从而实现对所述服务器的管理。
本申请还提供了一种计算机设备,其包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现本申请提供的任意一项所述的管理方法的步骤。
本申请还提供了一种计算机可读存储介质,其中所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器执行本申请提供的任意一项所述的管理方法的步骤。
上述实施例提供的一种服务器的管理方法、装置、计算机设备及存储介质通过跳出基于操作系统管理方式,可以支持主流品牌的服务器,实现了与操作系统的解耦,省去了操作系统的安装,即可实现服务器的集中管理,提高了服务器的运维管理工作效率。
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请一实施例提供的一种数据监控方法的示意流程图;
图2是图1中数据监控方法的子步骤示意流程图;
图3是本申请另一实施例提供的一种数据监控方法的示意流程图;
图4是本申请又一实施例提供的一种数据监控方法的示意流程图;
图5是本申请一实施例提供的一种数据监控装置的示意性框图;
图6是本申请另一实施例提供的一种数据监控装置的示意性框图;
图7是本申请又一实施例提供的一种数据监控装置的示意性框图;
图8是本申请一实施例提供的一种计算机设备的示意性框图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请实施例提供了一种服务器的管理方法、装置、计算机设备和存储介质。该管理方法应用于集中管理平台。
其中,该集中管理平台为基于带外设备而开发的平台软件系统,该平台软件系统括客户端和服务端,其中客户端配置终端中,服务端配置在管理服务器中,管理服务器和终端配合实现对服务器集群中的服务器进行集中管理。该带外设备可例如为BMC(Baseboard Management Controller,基板管理控制器)。在服务器安装该带外设备的情况下,基于IPMI/REDFISH协议即可开发出PC(Personal Computer,个人计算机)硬件运维自动化平台,也称为带外管理平台。REDFISH除了支持服务器,还可支持数据中心供电/冷却领域以及网络交换机。其采用基础架构的RESTful API行业标准,使用HTTPS协议和JSON数据格式,更容易与DevOps工具对接,基于IPMI和REDFISH这套业界标准,为开发一套工具以获取PC硬件的物理状态数据,同时也可以对其远程管理提供了可能。若再将此数据及管理功能集中,就可以搭建一套PC硬件运维管理平台,即所述集中管理平台。
请参阅图1,图1是本申请一实施例提供的一种服务器的管理方法的示意流程图。该管理方法应用管理服务器中,如图1所示,该管理方法包括步骤S101~S103。
S101、与服务器建立通讯连接。
在本实施例中,服务器为服务器集群中的服务器。所述集中管理平台为基于预设通讯协议和所述带外设备开发的平台软件,用于管理服务器集群。只需在服务器集群中的服务器中安装带外设备,即可实现管理服务器与服务器集群中的服务器建立通讯连接,具体是通过该集中管理平台为服务器分配KVM IP, 进而通过所述集中管理平台对该服务器进行管理,因此无需服务器中安装操作系统等,减少了服务器运维管理的工作。
S102、获取所述服务器对应的主机数据,并根据所述主机数据生成主机管理任务。
在本实施例中,所述主机数据包括:主机信息和组件数据等,所述主机信息包括主机SN(主机编号)、主机KVM IP(比如:172.17.41.97)和主机硬盘信息(比如:4*900G SAS2.5 12Gb 10k)和RAID(Redundant Arrays of Independent Disks,磁盘阵列)信息等;所述组件数据包括硬盘、内存、电源等硬件组件对应的状态数据。由此根据所述主机数据生成主机管理任务。
在一实施例中,如图2所示,步骤S102包括:子步骤S1021至S1024。其
S1021、若检测出所述主机数据中存在故障数据,获取所述故障数据对应的主机标识以及主机类型。
具体地,判断所述主机数据中组件数据是否存在故障数据。该组件为硬件组件,包括硬盘、电源和风扇等。根据预设故障检测规则检测服务器集群中服务器的组件数据是否存在故障数据。比如,该服务器的风扇的转速小于故障检测规则的设定值,即检测出服务器集群中服务器的组件数据中存在故障数据,进而获取所述故障数据对应的主机标识以及主机类型。其中,主机标识可为主机SN号,当然也可以使用主机名。服务器类型是指出现故障的服务器的品牌和型号等,比如为惠普、戴尔、华为或联想等,型号比如惠普DL380EGEN8或DL380GEN9等。
S1022、基于主机类型与预设下载脚本之间预设的对应关系,确定所述故障数据对应的主机类型所对应的预设下载脚本。
具体地,由于不同品牌的服务器对应硬件参数、API(Application Programming Interface,应用程序编程接口)或采集方式等均不相同,因此需要事先建立服务器类型与预设下载脚本之间的映射关系,映射关系比如为下表1。由此可以根据所述故障数据对应的服务器类型确定其对应的预设下载脚本。
表1为映射关系表
| 服务器类型 | 预设下载脚本 |
| HP DL380EGEN8 | 预设下载脚本11 |
| HP DL380GEN9 | 预设下载脚本12 |
| HUAWEI RH2288HV2 | 预设下载脚本21 |
| HUAWEI RH2288HV3 | 预设下载脚本22 |
S1023、根据确定的预设下载脚本从所述主机标识对应的服务器中下载所述故障数据对应的故障日志。
具体地,是运行确定的预设下载脚本,比如服务器类型为HP DL380GEN9,则可以确定预设下载脚本为预设下载脚本12。通过预设下载脚本12从所述主机标识对应的服务器中预下载所述故障数据对应的故障日志。所述故障日志包括日志信息,所述日志信息包括级别信息、报警时间、报警部件和详细描述等。
S1024、将所述故障日志保存在预设数据库中,并根据所述故障日志生成日志下载链接。
具体地,所述预设数据库为运行集中管理平台的服务器对应的数据库,该集中管理平台用于管理服务器集群。在将所述故障日志保存在预设数据库中之后,获取所述故障日志保存在所述数据库的保存地址,并根据所述故障日志的保存地址生成日志下载链接,以便使得用户根据该日志下载链接即可快速下载故障日志。
在一实施例中,如图3所示,所述获取所述故障数据对应的主机标识以及主机类型之后,还包括:S102a、根据所述故障数据和主机标识生成故障事件;S102b、根据所述故障事件在预设时间内统计所述主机类型对应的故障发生率,并在所述集中管理平台中显示所述故障发生率。
具体地,统计各个厂家的提供的服务器故障事件发生率以及各个厂家的服务器硬件宕机事件的发生率,并通过图形显示该故障事件发生率,以便反馈各个厂家进而提高了服务器的质量。
S103、将所述主机管理任务发布在所述集中管理平台中以通过所述集中管理平台管理所述主机管理任务,从而实现对所述服务器的管理。
在本实施例中,具体是可以通过所述集中管理平台的服务端将所述主机管理任务发送至所述集中管理平台对应的客户端进行显示,以方便管理人管理这些主机管理任务,进而实现服务器集群的集中管理。由于所述根据所述主机数据生成主机管理任务,包括:生成日志下载链接。相应地,将所述日志下载链接发布在所述集中管理平台上以便对所述故障日志进行管理。
上述实施例通过集中管理平台与服务器建立通讯连接,所述服务器中安装 有带外设备,所述集中管理平台为基于预设通讯协议和所述带外设备开发的平台软件;获取所述服务器对应的主机数据,并根据所述主机数据生成主机管理任务;将所述主机管理任务发布在所述集中管理平台中以通过所述集中管理平台管理所述主机管理任务,从而实现对所述服务器的管理。该管理方法跳出了基于操作系统管理方式,并且可以支持主流品牌的服务器,实现了与操作系统的解耦,省去了操作系统的安装,即可实现服务器的集中管理,提高了服务器的运维管理工作效率。
请参阅图4,图4是本申请一实施例提供的一种服务器的管理方法的示意流程图。该管理方法应用管理服务器中,如图4所示,该管理方法包括步骤S201~S207。
S201、通过集中管理平台与服务器建立通讯连接,其中所述服务器中安装有带外设备,所述集中管理平台为基于预设通讯协议和所述带外设备开发的平台软件。
在本实施例中,服务器为服务器集群中的服务器。集中管理平台为基于预设通讯协议和所述带外设备开发的平台软件,用于管理服务器集群。只需在服务器集群中的服务器中安装带外设备,即可实现管理服务器与服务器集群中的服务器建立通讯连接,具体是通过该集中管理平台为服务器分配KVM IP,进而通过所述集中管理平台对该服务器进行管理,因此无需服务器中安装操作系统等,减少了服务器运维管理的工作。
S202、获取所述服务器对应的主机数据,所述主机数据包括目标RAID信息和需要进行RAID配置的服务器对应的主机信息。
在本实施例中,服务器的RAID(Redundant Arrays of Independent Disks,磁盘阵列)配置,即磁盘阵列配置,需要进行磁盘阵列配置的服务器对应的主机信息包括主机SN(主机编号)、主机KVM IP(比如:172.17.41.97)和主机硬盘信息(比如:4*900G SAS2.5 12Gb 10k)等,当然主机信息还可包括其他信息。目标磁盘阵列信息为服务器的最终磁盘阵列配置,即参照该目标磁盘阵列信息对服务器进行磁盘阵列配置。
S203、根据所述主机信息和目标RAID信息生成RAID配置任务。
在本实施例中,根据所述目标磁盘阵列信息和主机信息生成磁盘阵列配置 任务,具体是根据主机SN、主机KVM IP、主机硬盘信息和目标磁盘阵列信息生成磁盘阵列配置任务,该磁盘阵列配置任务为对所述主机SN对应的服务器进行磁盘阵列配置的待执行任务。如果主机信息包括多台服务器,即对应多个主机SN以及多个目标磁盘阵列信息,则生成多个磁盘阵列配置任务。
S204、在所述集中管理平台中显示所述RAID配置任务,所述RAID配置任务包括RAID编辑控件。
在本实施例中,具体是在所述集中管理平台中的预设工具栏中显示所述磁盘阵列配置任务,预设工具栏比如为工具集合,还可在工具集合的界面中按照预设排列方式显示所述磁盘阵列配置任务,该预设排列方式可以主机SN排列顺序,也可以是磁盘阵列配置任务的生成时间。其中所述磁盘阵列配置任务中包括磁盘阵列编辑控件,该磁盘阵列编辑控件用于触发显示磁盘阵列编辑界面。
S205、若检测到触发所述RAID编辑控件的操作,显示RAID编辑界面,所述RAID编辑界面包括磁盘配置参数。
在本实施例中,所述磁盘配置参数包括:RAID级别、启动盘类别和RAID硬盘。具体地,当用户点击该磁盘阵列编辑控件时,即检测到触发所述磁盘阵列编辑控件的操作,显示磁盘阵列编辑界面,具体通过弹框方式显示该磁盘阵列编辑界面。
S206、基于所述目标RAID信息,根据用户在所述RAID编辑界面上选择的磁盘配置参数生成RAID类型信息。
在本实施例中,具体是根据用户参照所述目标磁盘阵列信息,在在所述磁盘阵列编辑界面上选择的磁盘配置参数生成磁盘阵列类型信息。
基于此,如图5所示,步骤S206包括:子步骤S2061至S2064。其中,S2061、获取预设的RAID信息解析规则;S2062、根据所述RAID信息解析规则解析所述目标RAID信息以得到目标配置信息;S2063、获取用户根据所述目标配置信息在所述RAID编辑界面上选择的磁盘配置参数;S2064、根据选择的所述磁盘配置参数生成RAID类型信息。
具体地,预设的磁盘阵列信息解析规则为根据目标磁盘阵列信息的编排格式而设置的解析规则,用于对所述目标磁盘阵列信息进行拆分以得到目标配置信息,比如目标磁盘阵列信息为:2*900G HDD SAS RAID1 Boot+2*900G HDD SAS RAID1;2*900G HDD SAS RAID10+2*900G HDD SAS RAID5。则可以根 据预设的磁盘阵列信息解析规则将所述目标磁盘阵列信息解析出四条目标配置信息,分别为2*900G HDD SAS RAID1 Boot、2*900G HDD SAS RAID1、2*900G HDD SAS RAID10和2*900G HDD SAS RAID5。具体是按照特殊符号进行解析,比如“+”和“;”等符号。收集需要进行磁盘阵列配置的服务器的硬盘信息,硬盘信息包括硬盘标识;在所述磁盘阵列编辑界面中显示所述目标配置信息和所述硬盘信息,由此方便用于用户根据目标配置信息在所述编辑界面上选择磁盘阵列类别和硬盘标识;并根据获取到的磁盘阵列类别和硬盘标识生成磁盘阵列类型信息。
S207、根据所述RAID类型信息生成RAID配置指令,将所述RAID配置指令发送至所述服务器使得所述服务器根据所述RAID配置指令中的RAID类型信息完成RAID配置。
在本实施例中,根据所述磁盘阵列类型信息生成磁盘阵列配置指令,将所述磁盘阵列配置指令发送至所述服务器,使得所述服务器根据所述磁盘阵列配置指令中的磁盘阵列类型信息完成磁盘阵列配置。
具体可以在磁盘阵列编辑界面上设置一个提交控件,若检测到用户点击所述提交控件,则根据所述磁盘阵列类型信息生成磁盘阵列配置指令,所述磁盘阵列配置指令携带磁盘阵列类型信息,并将所述磁盘阵列配置指令发送至所述服务器使得所述服务器根据所述磁盘阵列类型信息完成磁盘阵列配置。由此实现了服务器的磁盘阵列的集中管理,提高了服务器的磁盘阵列配置效率。
上述实施例通过获取目标磁盘阵列信息以及需要进行磁盘阵列配置的服务器的主机信息;生成并显示所述磁盘阵列配置任务,所述磁盘阵列配置任务包括磁盘阵列编辑控件;若检测到触发所述磁盘阵列编辑控件的操作,显示磁盘阵列编辑界面,所述磁盘阵列编辑界面包括磁盘配置参数;基于所述目标磁盘阵列信息,根据用户在所述磁盘阵列编辑界面上选择磁盘配置参数生成磁盘阵列类型信息;根据所述磁盘阵列类型信息生成磁盘阵列配置指令,将所述磁盘阵列配置指令发送至所述服务器使得所述服务器根据所述磁盘阵列配置指令中完成磁盘阵列配置。由此可见,该方法可实现服务器的磁盘阵列配置的集中管理,提高了磁盘阵列配置的效率,由此便于服务器的集中管理。
图6是本申请实施例提供的一种服务器的管理装置的示意性框图。如图6所示,对应于以上服务器的管理方法,本申请还提供一种服务器的管理装置。 该服务器的管理装置包括用于执行上述服务器的管理方法的单元,该服务器的管理装置可以被配置于服务器中。如图6所示,该管理装置400包括:通信建立单元401、数据获取单元402和任务发布单元403。
通信建立单元401,用于与服务器建立通讯连接。
数据获取单元402,用于获取所述服务器对应的主机数据,并根据所述主机数据生成主机管理任务。
具体地,数据获取单元402,包括:检测获取子单元4021、脚本确定子单元4022、日志下载子单元4023和链接生成子单元4024。其中,检测获取子单元4021,用于若检测出所述主机数据中存在故障数据,获取所述故障数据对应的主机标识以及主机类型;脚本确定子单元4022,用于基于主机类型与预设下载脚本之间预设的对应关系,确定所述故障数据对应的主机类型所对应的预设下载脚本;日志下载子单元4023,用于根据确定的预设下载脚本从所述主机标识对应的服务器中下载所述故障数据对应的故障日志;链接生成子单元4024,用于将所述故障日志保存在预设数据库中,并根据所述故障日志生成日志下载链接。
具体地,数据获取单元402,还包括:事件生成子单元4025和统计显示子单元4026。其中,事件生成子单元4025,用于根据所述故障数据和主机标识生成故障事件;统计显示子单元4026,用于根据所述故障事件在预设时间内统计所述主机类型对应的故障发生率,并在所述集中管理平台中显示所述故障发生率。
任务发布单元403,用于将所述主机管理任务发布在所述集中管理平台中以通过所述集中管理平台管理所述主机管理任务,从而实现对所述服务器的管理。具体用于:将所述日志下载链接发布在所述集中管理平台上以便对所述故障日志进行管理。
图7是本申请实施例提供的一种服务器的管理装置的示意性框图。如图7所示,对应于以上服务器的管理方法,本申请还提供一种服务器的管理装置。该服务器的管理装置包括用于执行上述服务器的管理方法的单元,该服务器的管理装置可以被配置于服务器中。如图7所示,该管理装置500包括:通信建立单元501、数据获取单元502、任务生成单元503、任务显示单元504、界面显示单元505、信息生成单元506和指令发送单元507。
通信建立单元501,用于与服务器建立通讯连接。
数据获取单元502,用于获取所述服务器对应的主机数据,所述主机数据包括目标RAID信息和需要进行RAID配置的服务器对应的主机信息。
任务生成单元503,用于根据所述主机信息和目标RAID信息生成RAID配置任务。
任务显示单元504,用于在所述集中管理平台中显示所述RAID配置任务,所述RAID配置任务包括RAID编辑控件。
界面显示单元505,用于若检测到触发所述RAID编辑控件的操作,显示RAID编辑界面,所述RAID编辑界面包括磁盘配置参数。
信息生成单元506,用于基于所述目标RAID信息,根据用户在所述RAID编辑界面上选择的磁盘配置参数生成RAID类型信息。
具体地,信息生成单元506,包括:规则获取子单元5061、信息解析子单元5062、参数获取子单元5063和信息生成子单元5064。规则获取子单元5061,用于获取预设的RAID信息解析规则;信息解析子单元5062,用于根据所述RAID信息解析规则解析所述目标RAID信息以得到目标配置信息;参数获取子单元5063,用于获取用户根据所述目标配置信息在所述RAID编辑界面上选择的磁盘配置参数,其中所述磁盘配置参数包括:RAID级别、启动盘类别和RAID硬盘;信息生成子单元5064,用于根据选择的所述磁盘配置参数生成RAID类型信息。
指令发送单元507,用于根据所述RAID类型信息生成RAID配置指令,将所述RAID配置指令发送至所述服务器使得所述服务器根据所述RAID配置指令中的RAID类型信息完成RAID配置。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的服务器的管理装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
上述装置可以实现为一种计算机程序的形式,计算机程序可以在如图8所示的计算机设备上运行。
请参阅图8,图8是本申请实施例提供的一种计算机设备的示意性框图。该计算机设备700设备可以是服务器。
参照图8,该计算机设备700包括通过系统总线710连接的处理器720、存 储器和网络接口750,其中,存储器可以包括非易失性存储介质730和内存储器740。
该非易失性存储介质730可存储操作系统731和计算机程序732。该计算机程序732被执行时,可使得处理器720执行任意一种服务器的管理方法。
该处理器720用于提供计算和控制能力,支撑整个计算机设备700的运行。
该内存储器740为非易失性存储介质730中的计算机程序732的运行提供环境,该计算机程序732被处理器720执行时,可使得处理器720执行任意一种服务器的管理方法。
该网络接口750用于进行网络通信,如发送分配的任务等。本领域技术人员可以理解,图8中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备700的限定,具体的计算机设备700可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。其中,所述处理器720用于运行存储在存储器中的程序代码,以实现上述各方法的实施例的流程步骤。
应当理解,在本申请实施例中,处理器720可以是中央处理单元(Central Processing Unit,CPU),该处理器720还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其中,通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
本领域技术人员可以理解,图8中示出的计算机设备700结构并不构成对计算机设备700的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
本领域普通技术人员可以理解的是实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,计算机程序可存储于一存储介质中,该存储介质为计算机可读存储介质。如本申请实施例中,该计算机程序可存储于计算机系统的存储介质中,并被该计算机系统中的至少一个处理器执行,以实现包括如上述各方法的实施例的流程步骤。
该计算机可读存储介质可以是磁碟、光盘、U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的几个实施例中,应该理解到,所揭露的服务器的管理装置和方法,可以通过其它的方式实现。例如,以上所描述的服务器的管理装置实施例仅仅是示意性的。例如,各个单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。
本申请实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。
本申请实施例装置中的单元可以根据实际需要进行合并、划分和删减。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
该集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,终端,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。
Claims (20)
- 一种服务器的管理方法,应用于管理服务器,其中,所述管理服务器配置有用于管理所述服务器的集中管理平台,所述集中管理平台为基于所述服务器中安装的带外设备开发的平台软件,所述方法包括:与所述服务器建立通讯连接;获取所述服务器对应的主机数据,并根据所述主机数据生成主机管理任务;将所述主机管理任务发布在所述集中管理平台中以通过所述集中管理平台管理所述主机管理任务,从而实现对所述服务器的管理。
- 根据权利要求1所述的管理方法,其中,所述根据所述主机数据生成主机管理任务,包括:若检测出所述主机数据中存在故障数据,获取所述故障数据对应的主机标识以及主机类型;基于主机类型与预设下载脚本之间预设的对应关系,确定所述故障数据对应的主机类型所对应的预设下载脚本;根据确定的预设下载脚本从所述主机标识对应的服务器中下载所述故障数据对应的故障日志;将所述故障日志保存在预设数据库中,并根据所述故障日志生成日志下载链接;所述将所述主机管理任务发布在所述集中管理平台中,包括:将所述日志下载链接发布在所述集中管理平台上以便对所述故障日志进行管理。
- 根据权利要求2所述的管理方法,其中,所述获取所述故障数据对应的主机标识以及主机类型之后,还包括:根据所述故障数据和主机标识生成故障事件;根据所述故障事件在预设时间内统计所述主机类型对应的故障发生率,并在所述集中管理平台中显示所述故障发生率。
- 根据权利要求1所述的管理方法,其中,所述主机数据包括目标RAID信息和需要进行RAID配置的服务器对应的主机信息;所述根据所述主机数据生成主机管理任务,包括:根据所述主机信息和目标RAID信息生成RAID配置任务;所述将所述主机管理任务发布在所述集中管理平台中以通过所述集中管理平台管理所述主机管理任务,包括:在所述集中管理平台中显示所述RAID配置任务,所述RAID配置任务包括RAID编辑控件;若检测到触发所述RAID编辑控件的操作,显示RAID编辑界面,所述RAID编辑界面包括磁盘配置参数;基于所述目标RAID信息,根据用户在所述RAID编辑界面上选择的磁盘配置参数生成RAID类型信息;根据所述RAID类型信息生成RAID配置指令,将所述RAID配置指令发送至所述服务器使得所述服务器根据所述RAID配置指令中的RAID类型信息完成RAID配置。
- 根据权利要求4所述的管理方法,其中,所述基于所述目标RAID信息,根据用户在所述RAID编辑界面上选择的磁盘配置参数生成RAID类型信息,包括:获取预设的RAID信息解析规则;根据所述RAID信息解析规则解析所述目标RAID信息以得到目标配置信息;获取用户根据所述目标配置信息在所述RAID编辑界面上选择的磁盘配置参数;以及根据选择的所述磁盘配置参数生成RAID类型信息。
- 根据权利要求5所述的管理方法,其中,所述磁盘配置参数包括:RAID级别、启动盘类别和RAID硬盘。
- 根据权利要求1所述的管理方法,其中,所述主机数据包括主机标识;所述将所述主机管理任务发布在所述集中管理平台中之后,还包括:获取所述主机数据中服务器的硬件组件的状态数据;将所述状态数据按照所述主机标识的维度进行分类并采用预设显示方式在所述集中管理平台中显示分类后的状态数据。
- 一种服务器的管理装置,其包括:通信建立单元,用于通过集中管理平台与服务器建立通讯连接,所述服务器中安装有带外设备,所述集中管理平台为基于预设通讯协议和所述带外设备 开发的平台软件;数据获取单元,用于获取所述服务器对应的主机数据,并根据所述主机数据生成主机管理任务;任务发布单元,用于将所述主机管理任务发布在所述集中管理平台中以通过所述集中管理平台管理所述主机管理任务,从而实现对所述服务器的管理。
- 一种计算机设备,其包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:与所述服务器建立通讯连接;获取所述服务器对应的主机数据,并根据所述主机数据生成主机管理任务;将所述主机管理任务发布在所述集中管理平台中以通过所述集中管理平台管理所述主机管理任务,从而实现对所述服务器的管理,所述集中管理平台为基于所述服务器中安装的带外设备开发的平台软件。
- 根据权利要求9所述的计算机设备,其中,所述处理器执行所述计算机程序时实现所述根据所述主机数据生成主机管理任务,所述将所述主机管理任务发布在所述集中管理平台中时,具体实现以下步骤:若检测出所述主机数据中存在故障数据,获取所述故障数据对应的主机标识以及主机类型;基于主机类型与预设下载脚本之间预设的对应关系,确定所述故障数据对应的主机类型所对应的预设下载脚本;根据确定的预设下载脚本从所述主机标识对应的服务器中下载所述故障数据对应的故障日志;将所述故障日志保存在预设数据库中,并根据所述故障日志生成日志下载链接;将所述日志下载链接发布在所述集中管理平台上以便对所述故障日志进行管理。
- 根据权利要求10所述的计算机设备,其中,所述处理器执行所述计算机程序时实现所述获取所述故障数据对应的主机标识以及主机类型之后,还实现以下步骤:根据所述故障数据和主机标识生成故障事件;根据所述故障事件在预设时间内统计所述主机类型对应的故障发生率,并在所述集中管理平台中显示所述故障发生率。
- 根据权利要求9所述的计算机设备,其中,所述主机数据包括目标RAID 信息和需要进行RAID配置的服务器对应的主机信息;所述处理器执行所述计算机程序时实现所述根据所述主机数据生成主机管理任务,所述将所述主机管理任务发布在所述集中管理平台中以通过所述集中管理平台管理所述主机管理任务时,具体实现以下步骤:根据所述主机信息和目标RAID信息生成RAID配置任务;在所述集中管理平台中显示所述RAID配置任务,所述RAID配置任务包括RAID编辑控件;若检测到触发所述RAID编辑控件的操作,显示RAID编辑界面,所述RAID编辑界面包括磁盘配置参数;基于所述目标RAID信息,根据用户在所述RAID编辑界面上选择的磁盘配置参数生成RAID类型信息;根据所述RAID类型信息生成RAID配置指令,将所述RAID配置指令发送至所述服务器使得所述服务器根据所述RAID配置指令中的RAID类型信息完成RAID配置。
- 根据权利要求12所述的计算机设备,其中,所述处理器执行所述计算机程序时实现所述基于所述目标RAID信息,根据用户在所述RAID编辑界面上选择的磁盘配置参数生成RAID类型信息时,还实现以下步骤:获取预设的RAID信息解析规则;根据所述RAID信息解析规则解析所述目标RAID信息以得到目标配置信息;获取用户根据所述目标配置信息在所述RAID编辑界面上选择的磁盘配置参数;以及根据选择的所述磁盘配置参数生成RAID类型信息。
- 根据权利要求9所述的计算机设备,其中,所述主机数据包括主机标识;所述处理器执行所述计算机程序时实现所述将所述主机管理任务发布在所述集中管理平台中之后,还实现以下步骤:获取所述主机数据中服务器的硬件组件的状态数据;将所述状态数据按照所述主机标识的维度进行分类并采用预设显示方式在所述集中管理平台中显示分类后的状态数据。
- 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器执行以下步骤:与所述服务器建立通讯连接;获取所述服务器对应的主机数据,并根据所述主机数据生成主机管理任务;将所述主机管理任务发布在所述集中管理平台中以通过所述集中管理平台管理所述主机管理任务,从而实现对所述服务器的管理,所述集中管理平台为 基于所述服务器中安装的带外设备开发的平台软件。
- 根据权利要求15所述的计算机可读存储介质,其中,所述计算机程序被处理器执行时使所述处理器执行所述根据所述主机数据生成主机管理任务,所述将所述主机管理任务发布在所述集中管理平台中时,具体执行以下步骤:若检测出所述主机数据中存在故障数据,获取所述故障数据对应的主机标识以及主机类型;基于主机类型与预设下载脚本之间预设的对应关系,确定所述故障数据对应的主机类型所对应的预设下载脚本;根据确定的预设下载脚本从所述主机标识对应的服务器中下载所述故障数据对应的故障日志;将所述故障日志保存在预设数据库中,并根据所述故障日志生成日志下载链接;将所述日志下载链接发布在所述集中管理平台上以便对所述故障日志进行管理。
- 根据权利要求16所述的计算机可读存储介质,其中,所述计算机程序被处理器执行时使所述处理器执行所述获取所述故障数据对应的主机标识以及主机类型之后,还执行以下步骤:根据所述故障数据和主机标识生成故障事件;根据所述故障事件在预设时间内统计所述主机类型对应的故障发生率,并在所述集中管理平台中显示所述故障发生率。
- 根据权利要求15所述的计算机可读存储介质,其中,所述主机数据包括目标RAID信息和需要进行RAID配置的服务器对应的主机信息;所述计算机程序被处理器执行时使所述处理器执行所述根据所述主机数据生成主机管理任务,所述将所述主机管理任务发布在所述集中管理平台中以通过所述集中管理平台管理所述主机管理任务时,具体执行以下步骤:根据所述主机信息和目标RAID信息生成RAID配置任务;在所述集中管理平台中显示所述RAID配置任务,所述RAID配置任务包括RAID编辑控件;若检测到触发所述RAID编辑控件的操作,显示RAID编辑界面,所述RAID编辑界面包括磁盘配置参数;基于所述目标RAID信息,根据用户在所述RAID编辑界面上选择的磁盘配置参数生成RAID类型信息;根据所述RAID类型信息生成RAID配置指令,将所述RAID配置指令发送至所述服务器使得所述服务器根据所述RAID配置指令中的RAID类型信息完成RAID配置。
- 根据权利要求18所述的计算机可读存储介质,其中,所述计算机程序 被处理器执行时使所述处理器执行所述基于所述目标RAID信息,根据用户在所述RAID编辑界面上选择的磁盘配置参数生成RAID类型信息时,还执行以下步骤:获取预设的RAID信息解析规则;根据所述RAID信息解析规则解析所述目标RAID信息以得到目标配置信息;获取用户根据所述目标配置信息在所述RAID编辑界面上选择的磁盘配置参数;以及根据选择的所述磁盘配置参数生成RAID类型信息。
- 根据权利要求15所述的计算机可读存储介质,其中,所述主机数据包括主机标识;所述计算机程序被处理器执行时使所述处理器执行所述将所述主机管理任务发布在所述集中管理平台中之后,还执行以下步骤:获取所述主机数据中服务器的硬件组件的状态数据;将所述状态数据按照所述主机标识的维度进行分类并采用预设显示方式在所述集中管理平台中显示分类后的状态数据。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810695323.5 | 2018-06-29 | ||
| CN201810695323.5A CN108920103B (zh) | 2018-06-29 | 2018-06-29 | 服务器的管理方法、装置、计算机设备及存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020000760A1 true WO2020000760A1 (zh) | 2020-01-02 |
Family
ID=64423080
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/109298 Ceased WO2020000760A1 (zh) | 2018-06-29 | 2018-10-08 | 服务器的管理方法、装置、计算机设备及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN108920103B (zh) |
| WO (1) | WO2020000760A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114816945A (zh) * | 2021-01-29 | 2022-07-29 | 腾讯科技(深圳)有限公司 | 一种监控服务器运行的方法及装置 |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110572365A (zh) * | 2019-08-08 | 2019-12-13 | 深圳中电长城信息安全系统有限公司 | 多协议服务器管理方法、系统、终端设备及存储介质 |
| CN112804072B (zh) * | 2019-11-14 | 2023-05-16 | 深信服科技股份有限公司 | 一种故障信息收集方法、装置、目标电子设备及存储介质 |
| CN112199197B (zh) * | 2020-10-23 | 2023-07-18 | 网易(杭州)网络有限公司 | 一种服务器管理方法及系统 |
| CN112748995B (zh) * | 2021-01-07 | 2024-07-23 | 卓望数码技术(深圳)有限公司 | 服务器自动化运维方法、系统、装置及可读存储介质 |
| CN116170600B (zh) * | 2023-03-30 | 2024-01-12 | 苏州浪潮智能科技有限公司 | 一种数据处理方法、装置、电子设备及存储介质 |
| CN118796646B (zh) * | 2024-09-12 | 2024-12-20 | 苏州元脑智能科技有限公司 | 一种服务器磁盘性能测试方法、装置、设备及存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040220973A1 (en) * | 2003-04-30 | 2004-11-04 | International Business Machines Corporation | Nested recovery scope management for stateless recovery agents |
| CN103944973A (zh) * | 2014-04-02 | 2014-07-23 | 北京中交兴路车联网科技有限公司 | 一种日志采集方法及装置 |
| CN105791028A (zh) * | 2016-04-26 | 2016-07-20 | 浪潮(北京)电子信息产业有限公司 | 一种服务器集群的监控方法、服务器及系统 |
| CN106330567A (zh) * | 2016-09-14 | 2017-01-11 | 郑州云海信息技术有限公司 | 一种服务器集群的服务器管理控制方法及系统 |
| CN106528143A (zh) * | 2016-10-27 | 2017-03-22 | 杭州昆海信息技术有限公司 | 一种配置管理方法及装置 |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| 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 |
| JP2012203442A (ja) * | 2011-03-23 | 2012-10-22 | Nec Corp | エンクロージャマネージャ、ファームウェア管理システム、ファームウェア管理方法およびプログラム |
| CN102495785A (zh) * | 2011-12-23 | 2012-06-13 | 创新科存储技术(深圳)有限公司 | 整机柜服务器集中管理方法和装置 |
| CN105446657B (zh) * | 2015-11-11 | 2018-06-19 | 浪潮电子信息产业股份有限公司 | 一种监控raid卡的方法 |
| CN106227636A (zh) * | 2016-07-20 | 2016-12-14 | 国网安徽省电力公司信息通信分公司 | 一种基于ipmi的数据中心带外管理系统 |
| CN106354430B (zh) * | 2016-08-27 | 2019-06-18 | 浪潮(北京)电子信息产业有限公司 | 一种基于bmc配置raid卡的方法及装置 |
| EP3367206B1 (en) * | 2016-12-30 | 2019-09-25 | Huawei Technologies Co., Ltd. | Server management method and server |
-
2018
- 2018-06-29 CN CN201810695323.5A patent/CN108920103B/zh active Active
- 2018-10-08 WO PCT/CN2018/109298 patent/WO2020000760A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040220973A1 (en) * | 2003-04-30 | 2004-11-04 | International Business Machines Corporation | Nested recovery scope management for stateless recovery agents |
| CN103944973A (zh) * | 2014-04-02 | 2014-07-23 | 北京中交兴路车联网科技有限公司 | 一种日志采集方法及装置 |
| CN105791028A (zh) * | 2016-04-26 | 2016-07-20 | 浪潮(北京)电子信息产业有限公司 | 一种服务器集群的监控方法、服务器及系统 |
| CN106330567A (zh) * | 2016-09-14 | 2017-01-11 | 郑州云海信息技术有限公司 | 一种服务器集群的服务器管理控制方法及系统 |
| CN106528143A (zh) * | 2016-10-27 | 2017-03-22 | 杭州昆海信息技术有限公司 | 一种配置管理方法及装置 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114816945A (zh) * | 2021-01-29 | 2022-07-29 | 腾讯科技(深圳)有限公司 | 一种监控服务器运行的方法及装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108920103A (zh) | 2018-11-30 |
| CN108920103B (zh) | 2020-12-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2020000760A1 (zh) | 服务器的管理方法、装置、计算机设备及存储介质 | |
| US9354961B2 (en) | Method and system for supporting event root cause analysis | |
| CN106603265B (zh) | 管理方法、网络装置以及非暂态计算机可读介质 | |
| WO2020029407A1 (zh) | 告警数据的管理方法、装置、计算机设备及存储介质 | |
| WO2020000745A1 (zh) | 日志管理方法、装置、计算机设备及存储介质 | |
| US20140122930A1 (en) | Performing diagnostic tests in a data center | |
| JP5222876B2 (ja) | 計算機システムにおけるシステム管理方法、及び管理システム | |
| TW201732622A (zh) | 可擴充集中式非揮發性記憶體儲存盒、電腦實施方法以及非暫態電腦可讀取儲存裝置 | |
| CN108897496B (zh) | 磁盘阵列配置管理方法、装置、计算机设备及存储介质 | |
| WO2022134352A1 (zh) | 服务器硬件状态监控方法、装置、电子设备及介质 | |
| US10204004B1 (en) | Custom host errors definition service | |
| US11474904B2 (en) | Software-defined suspected storage drive failure identification | |
| US20150370619A1 (en) | Management system for managing computer system and management method thereof | |
| WO2020000758A1 (zh) | 服务器的验收方法、装置、计算机设备及存储介质 | |
| US20210334153A1 (en) | Remote error detection method adapted for a remote computer device to detect errors that occur in a service computer device | |
| US20180351790A1 (en) | Assisted configuration of data center infrastructure | |
| CN106961361A (zh) | 自检处理方法、装置及系统 | |
| US20140189103A1 (en) | System for monitoring servers and method thereof | |
| US8769088B2 (en) | Managing stability of a link coupling an adapter of a computing system to a port of a networking device for in-band data communications | |
| US10129184B1 (en) | Detecting the source of link errors in a cut-through forwarding network fabric | |
| US11374811B2 (en) | Automatically determining supported capabilities in server hardware devices | |
| US9430306B2 (en) | Anticipatory protection of critical jobs in a computing system | |
| TW201705015A (zh) | 遠端系統配置管理方法、遠端系統配置管理系統及非暫態電腦可讀式儲存多媒體 | |
| CN114968626A (zh) | 服务器故障的确定方法、装置、设备及存储介质 | |
| US20120124195A1 (en) | Reducing Redundant Error Messages In A Computing System |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18924200 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18924200 Country of ref document: EP Kind code of ref document: A1 |