CN102904754A - Server management method and system - Google Patents
Server management method and system Download PDFInfo
- Publication number
- CN102904754A CN102904754A CN2012103709612A CN201210370961A CN102904754A CN 102904754 A CN102904754 A CN 102904754A CN 2012103709612 A CN2012103709612 A CN 2012103709612A CN 201210370961 A CN201210370961 A CN 201210370961A CN 102904754 A CN102904754 A CN 102904754A
- Authority
- CN
- China
- Prior art keywords
- server
- mobile terminal
- information
- execution script
- management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
本发明提供了一种服务器管理方法和系统。涉及计算机应用领域;解决了服务器管理效率低的问题。该方法包括:通过移动终端向接受该移动终端管理的服务器发送指令或信息,指示所述服务器进行操作;解析所述指令或信息得到执行脚本;执行所述执行脚本。本发明提供的技术方案适用于服务器运维管理,实现了移动终端对服务器的控制。
The invention provides a server management method and system. It relates to the computer application field; it solves the problem of low server management efficiency. The method includes: sending an instruction or information to a server managed by the mobile terminal through the mobile terminal, instructing the server to operate; analyzing the instruction or information to obtain an execution script; and executing the execution script. The technical solution provided by the invention is suitable for server operation and maintenance management, and realizes the control of the server by the mobile terminal.
Description
技术领域technical field
本发明涉及计算机应用领域,尤其涉及一种服务器管理方法和系统。The invention relates to the field of computer applications, in particular to a server management method and system.
背景技术Background technique
当前,移动终端设备应用越来越广泛,由于传统的服务器管理软件只能通过移动终端查看故障告警信息,无法对被管理服务器进行管理操作,如服务器重启、停止进程、增加风扇转速等。但在实际应用中,特别是对一些运行着关键业务的服务器节点进行运维管理时,传统的方式太浪费人力、物力资源,已经无法达到使用需求,管理效率也太低,无法保证服务器的7*24小时运行。At present, mobile terminal devices are more and more widely used, because traditional server management software can only view fault alarm information through mobile terminals, and cannot perform management operations on managed servers, such as restarting servers, stopping processes, increasing fan speed, etc. However, in practical applications, especially for the operation and maintenance management of some server nodes running key businesses, the traditional method is too wasteful of manpower and material resources to meet the usage requirements, and the management efficiency is too low to guarantee the 77 *24 hours operation.
发明内容Contents of the invention
本发明提供了一种服务器管理方法和系统,解决了服务器管理效率低的问题。The invention provides a server management method and system, which solves the problem of low server management efficiency.
一种服务器管理方法,包括:A server management method, comprising:
通过移动终端向接受该移动终端管理的服务器发送指令或信息,指示所述服务器进行操作;sending an instruction or information to a server managed by the mobile terminal through the mobile terminal, instructing the server to operate;
解析所述指令或信息得到执行脚本;Analyzing the instructions or information to obtain an execution script;
执行所述执行脚本。Execute the execution script.
优选的,所述通过移动终端向接受该移动终端管理的服务器发送指令或信息具体为:Preferably, the sending of instructions or information through the mobile terminal to the server managed by the mobile terminal is specifically:
通过带内指令向所述服务器发送指令或信息。Instructions or information are sent to the server through in-band instructions.
优选的,所述解析所述指令或信息得到执行脚本具体为:Preferably, the execution script obtained by parsing the instruction or information is specifically:
根据带内协议解析所述指令或信息得到执行脚本。Analyzing the instruction or information according to the in-band protocol to obtain an execution script.
优选的,所述通过移动终端向接受该移动终端管理的服务器发送指令或信息具体为:Preferably, the sending of instructions or information through the mobile terminal to the server managed by the mobile terminal is specifically:
通过带外指令向所述服务器发送指令或信息。Send instructions or information to the server through an out-of-band instruction.
优选的,所述解析所述指令或信息得到执行脚本具体为:Preferably, the execution script obtained by parsing the instruction or information is specifically:
根据带外协议解析所述指令或信息得到执行脚本。Analyzing the instruction or information according to the out-of-band protocol to obtain an execution script.
优选的,所述通过移动终端向接受该移动终端管理的服务器发送指令或信息,指示所述服务器进行操作的步骤之前,还包括:Preferably, before the step of sending instructions or information through the mobile terminal to the server that accepts the management of the mobile terminal, instructing the server to perform operations, further includes:
所述服务器收集并向所述移动终端发送故障告警信息。The server collects and sends fault warning information to the mobile terminal.
优选的,所述执行所述执行脚本的步骤之后,还包括:Preferably, after the step of executing the script, further comprising:
向所述移动终端反馈执行所述执行脚本的结果。A result of executing the execution script is fed back to the mobile terminal.
本发明还提供了一种服务器管理系统,包括移动终端和该移动终端管理的服务器;The present invention also provides a server management system, including a mobile terminal and a server managed by the mobile terminal;
所述移动终端,用于向所述服务器发送指令或信息,指示所述服务器进行操作;The mobile terminal is configured to send instructions or information to the server, instructing the server to perform operations;
所述服务器,用于解析所述指令或信息得到执行脚本,并执行所述执行脚本。The server is configured to parse the instruction or information to obtain an execution script, and execute the execution script.
优选的,所述服务器,还用于收集并向所述移动终端发送故障告警信息。Preferably, the server is further configured to collect and send fault warning information to the mobile terminal.
优选的,所述服务器,还用于向所述移动终端反馈执行所述执行脚本的结果。Preferably, the server is further configured to feed back the result of executing the script to the mobile terminal.
本发明提供了一种服务器管理方法和系统,通过移动终端向接受该移动终端管理的服务器发送指令或信息,指示所述服务器进行操作,解析所述指令或信息得到执行脚本,再执行所述执行脚本,实现了移动终端对服务器的控制,解决了服务器管理效率低的问题。The present invention provides a server management method and system. A mobile terminal sends instructions or information to a server managed by the mobile terminal, instructs the server to operate, parses the instructions or information to obtain an execution script, and then executes the execution script. The script realizes the control of the server by the mobile terminal and solves the problem of low server management efficiency.
附图说明Description of drawings
图1为本发明的实施例一提供的一种服务器管理装置的结构示意图;FIG. 1 is a schematic structural diagram of a server management device provided by Embodiment 1 of the present invention;
图2为本发明的实施例二提供的一种服务器管理方法的流程图;FIG. 2 is a flowchart of a server management method provided by Embodiment 2 of the present invention;
图3为本发明的实施例三提供的一种服务器管理系统的结构示意图。FIG. 3 is a schematic structural diagram of a server management system provided by Embodiment 3 of the present invention.
具体实施方式Detailed ways
在实际应用中,特别是对一些运行着关键业务的服务器节点进行运维管理时,传统的服务器管理方式太浪费人力、物力资源,已经无法达到使用需求,管理效率也太低,无法保证服务器的7*24小时运行。In practical applications, especially for the operation and maintenance management of some server nodes running key businesses, the traditional server management method is too wasteful of manpower and material resources, which can no longer meet the usage requirements, and the management efficiency is too low to ensure server security. 7*24 hours operation.
为了解决人力、物力资源有限时的服务器管理,使管理员能够随时随地进行服务器的操作管理,保证服务器的不间断运行,本发明的实施例提供了一种服务器管理方法和系统。In order to solve the server management when manpower and material resources are limited, enable administrators to perform server operation and management anytime and anywhere, and ensure uninterrupted operation of the server, the embodiment of the present invention provides a server management method and system.
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.
首先结合附图,对本发明的实施例一进行说明。First, Embodiment 1 of the present invention will be described with reference to the accompanying drawings.
本发明实施例提供了一种服务器管理装置,该装置的结构如图1所示,包括:An embodiment of the present invention provides a server management device, the structure of which is shown in Figure 1, including:
管理指令组织发送单元101,带内管理指令解析与执行单元102,带外管理指令解析与执行单元103。A management instruction organization and sending
其中,管理指令组织发送单元101主要负责将管理员根据故障信息做出的将要对服务器进行的管理操作,按照自定义的协议和规则组织成为管理指令,并根据自定义的操作类型判断是带内管理指令还是带外管理指令。最后,将组织好的带内/带外管理指令发送至指令接收端带内管理指令解析与执行单元102或带外管理指令解析与执行单元103;带内管理指令解析与执行单元102和带外管理指令解析与执行单元103负责将接收到的管理员通过移动终端下达的操作指令进行解析,带内管理指令解析与执行单元102和带外管理指令解析与执行单元103两个单元解析的协议不同(带内管理指令解析与执行单元102用snmp协议解析;带外管理指令解析与执行单元103用IPMI协议),但具体解析执行的方式类似。通过对接收到的指令进行解析,得出执行该操作的具体执行脚本或命令,并执行,完成此次管理操作。其中带内管理指令解析并组织完成后,由安装在操作系统下的代理Agent执行相关操作,如停止某进程(process-H10.7.11.12-U root-P root stop进程名),并将执行结果反馈给移动终端处的管理员;带外管理指令经过解析后,直接对bmc下达相关命令进行管理操作,如服务器重启命令(server-H10.7.11.11-Uroot-P superuser power reset),最后也将执行结果反馈给移动终端处的管理员。Among them, the management instruction organizing and sending
下面结合附图,对本发明的实施例二进行说明。Embodiment 2 of the present invention will be described below with reference to the accompanying drawings.
本发明实施例提供了一种服务器管理方法,使用该方法完成通过移动终端控制服务器的流程如图2所示,包括:The embodiment of the present invention provides a server management method, using this method to complete the process of controlling the server through the mobile terminal as shown in Figure 2, including:
步骤201、服务器收集并向移动终端发送故障告警信息;
本步骤,被管理的服务器节点收集和发送故障告警信息至移动终端,通过移动终端设备让管理员知道服务器上的故障告警情况。In this step, the managed server node collects and sends fault alarm information to the mobile terminal, and lets the administrator know the fault alarm situation on the server through the mobile terminal device.
步骤202、通过移动终端向接受该移动终端管理的服务器发送指令或信息,指示所述服务器进行操作;
本步骤中,可由管理员判断分析此故障的原因,并用移动终端下达处理故障的管理操作描述(可通过移动终端的键盘或者触摸屏幕输入),移动终端分析此操作描述信息并组织向服务器下发指令或信息。In this step, the administrator can judge and analyze the cause of the failure, and use the mobile terminal to issue a management operation description for handling the failure (which can be input through the keyboard or touch screen of the mobile terminal), and the mobile terminal analyzes the operation description information and organizes it to be issued to the server. instructions or information.
步骤203、解析所述指令或信息得到执行脚本;
本步骤中,服务器对自移动终端接收到的指令或信息进行解析,得到执行脚本或命令。In this step, the server parses the instructions or information received from the mobile terminal to obtain execution scripts or commands.
具体的,由于下发的指令或信息可为带内或带外,故本步骤中,需要根据具体的下发形式选择相应的协议进行解析。Specifically, since the issued instruction or information can be in-band or out-of-band, in this step, it is necessary to select a corresponding protocol for analysis according to the specific delivery form.
步骤204、执行所述执行脚本;
具体的,当移动终端通过带内的形式发送指令或信息时,解析后的执行脚本将由操作系统(OS)下的代理(Agent)执行;带外形式发送的指令或信息则由BMC执行。Specifically, when the mobile terminal sends instructions or information in the in-band form, the parsed execution script will be executed by an agent (Agent) under the operating system (OS); the instructions or information sent in the out-of-band form will be executed by the BMC.
步骤205、向所述移动终端反馈执行所述执行脚本的结果;
本步骤中,服务器将执行移动终端发送的指令或信息的结果反馈给移动终端,通过移动终端设备通知管理员。In this step, the server feeds back the result of executing the instruction or information sent by the mobile terminal to the mobile terminal, and notifies the administrator through the mobile terminal device.
下面结合附图,对本发明的实施例三进行说明。Embodiment 3 of the present invention will be described below with reference to the accompanying drawings.
本发明实施例提供了一种基于移动终端的服务器管理系统,该系统的结构如图3所示,包括移动终端301和该移动终端管理的服务器302;The embodiment of the present invention provides a server management system based on a mobile terminal. The structure of the system is shown in FIG. 3 , including a
所述移动终端301,用于向所述服务器302发送指令或信息,指示所述服务器302进行操作;The
所述服务器302,用于解析所述指令或信息得到执行脚本,并执行所述执行脚本。The
优选的,所述服务器302,还用于收集并向所述移动终端301发送故障告警信息。Preferably, the
优选的,所述服务器302,还用于向所述移动终端301反馈执行所述执行脚本的结果。Preferably, the
本发明的实施例提供了一种服务器管理方法和系统,通过移动终端向接受该移动终端管理的服务器发送指令或信息,指示所述服务器进行操作,解析所述指令或信息得到执行脚本,再执行所述执行脚本,实现了移动终端对服务器的控制,解决了服务器管理效率低的问题。使管理员能够随时随地进行服务器的操作管理,保证服务器的不间断运行。Embodiments of the present invention provide a server management method and system, in which a mobile terminal sends instructions or information to a server managed by the mobile terminal, instructs the server to operate, parses the instructions or information to obtain an execution script, and then executes the The execution script realizes the control of the server by the mobile terminal and solves the problem of low management efficiency of the server. It enables administrators to perform server operation and management anytime and anywhere to ensure uninterrupted operation of the server.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps of the above-mentioned embodiments can be implemented using a computer program flow, the computer program can be stored in a computer-readable storage medium, and the computer program can be run on a corresponding hardware platform (such as system, device, device, device, etc.), and when executed, includes one or a combination of the steps of the method embodiment.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Optionally, all or part of the steps in the above embodiments can also be implemented using integrated circuits, and these steps can be fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module accomplish. As such, the present invention is not limited to any specific combination of hardware and software.
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/functional modules/functional units in the above embodiments can be realized by general-purpose computing devices, and they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices.
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When each device/functional module/functional unit in the above-mentioned embodiments is realized in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like.
任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求所述的保护范围为准。Any person familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present invention, and all should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope described in the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103709612A CN102904754A (en) | 2012-09-28 | 2012-09-28 | Server management method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103709612A CN102904754A (en) | 2012-09-28 | 2012-09-28 | Server management method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102904754A true CN102904754A (en) | 2013-01-30 |
Family
ID=47576803
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012103709612A Pending CN102904754A (en) | 2012-09-28 | 2012-09-28 | Server management method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102904754A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104618461A (en) * | 2015-01-15 | 2015-05-13 | 上海动联信息技术股份有限公司 | Mobile code cloud mobile phone-based server monitoring method |
CN106412070A (en) * | 2016-09-30 | 2017-02-15 | 郑州云海信息技术有限公司 | Cloud data center control method and system |
CN106452951A (en) * | 2016-09-28 | 2017-02-22 | 北京网御星云信息技术有限公司 | Information processing method, device and system |
CN109615959A (en) * | 2018-12-25 | 2019-04-12 | 福建启迪教育科技有限公司 | The Teaching System of collection recorded broadcast, live streaming and interaction one based on cloud |
CN111063344A (en) * | 2018-10-17 | 2020-04-24 | 青岛海信移动通信技术股份有限公司 | Voice recognition method, mobile terminal and server |
CN112256300A (en) * | 2020-10-19 | 2021-01-22 | 曙光信息产业(北京)有限公司 | Server in-band management method and device, electronic equipment and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030008243A (en) * | 2001-07-16 | 2003-01-25 | 엘지전자 주식회사 | Remote control method by internet for mobile phone |
CN101018145A (en) * | 2006-02-07 | 2007-08-15 | 腾讯科技(深圳)有限公司 | A device and method for remote management |
CN101179437A (en) * | 2007-11-29 | 2008-05-14 | 上海华为技术有限公司 | A method and device for realizing batch configuration pre-activation |
CN101814227A (en) * | 2010-03-18 | 2010-08-25 | 北京创毅视讯科技有限公司 | System and method for remote control of equipment based on Internet of things |
CN102075358A (en) * | 2010-12-31 | 2011-05-25 | 网宿科技股份有限公司 | System and method for distributing and deploying content of large-scale server cluster |
CN102130945A (en) * | 2011-01-13 | 2011-07-20 | 汉王科技股份有限公司 | Mobile communication device real-time remote control system and control method thereof |
-
2012
- 2012-09-28 CN CN2012103709612A patent/CN102904754A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030008243A (en) * | 2001-07-16 | 2003-01-25 | 엘지전자 주식회사 | Remote control method by internet for mobile phone |
CN101018145A (en) * | 2006-02-07 | 2007-08-15 | 腾讯科技(深圳)有限公司 | A device and method for remote management |
CN101179437A (en) * | 2007-11-29 | 2008-05-14 | 上海华为技术有限公司 | A method and device for realizing batch configuration pre-activation |
CN101814227A (en) * | 2010-03-18 | 2010-08-25 | 北京创毅视讯科技有限公司 | System and method for remote control of equipment based on Internet of things |
CN102075358A (en) * | 2010-12-31 | 2011-05-25 | 网宿科技股份有限公司 | System and method for distributing and deploying content of large-scale server cluster |
CN102130945A (en) * | 2011-01-13 | 2011-07-20 | 汉王科技股份有限公司 | Mobile communication device real-time remote control system and control method thereof |
Non-Patent Citations (1)
Title |
---|
王史峰: "企业服务器远程监控和管理", 《电力信息化》, vol. 4, no. 09, 20 September 2006 (2006-09-20) * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104618461A (en) * | 2015-01-15 | 2015-05-13 | 上海动联信息技术股份有限公司 | Mobile code cloud mobile phone-based server monitoring method |
CN106452951A (en) * | 2016-09-28 | 2017-02-22 | 北京网御星云信息技术有限公司 | Information processing method, device and system |
CN106452951B (en) * | 2016-09-28 | 2019-08-06 | 北京网御星云信息技术有限公司 | A kind of information processing method, apparatus and system |
CN106412070A (en) * | 2016-09-30 | 2017-02-15 | 郑州云海信息技术有限公司 | Cloud data center control method and system |
CN111063344A (en) * | 2018-10-17 | 2020-04-24 | 青岛海信移动通信技术股份有限公司 | Voice recognition method, mobile terminal and server |
CN111063344B (en) * | 2018-10-17 | 2022-06-28 | 青岛海信移动通信技术股份有限公司 | Voice recognition method, mobile terminal and server |
CN109615959A (en) * | 2018-12-25 | 2019-04-12 | 福建启迪教育科技有限公司 | The Teaching System of collection recorded broadcast, live streaming and interaction one based on cloud |
CN112256300A (en) * | 2020-10-19 | 2021-01-22 | 曙光信息产业(北京)有限公司 | Server in-band management method and device, electronic equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108600029B (en) | Configuration file updating method and device, terminal equipment and storage medium | |
CN106610836B (en) | A microservice operation management tool | |
CN102571396B (en) | Communication network system and routing inspection subsystem and routing inspection method of communication equipment | |
CN105808394B (en) | Server self-healing method and device | |
CN102904754A (en) | Server management method and system | |
US20120017074A1 (en) | Dynamic system mode switching | |
CN102495785A (en) | Centralized management method and device for servers of whole equipment cabinet | |
CN103905253A (en) | Server monitoring and management method based on Nagios and BMC | |
CN111142878B (en) | SDN operation and maintenance method, device, equipment and readable storage medium | |
CN105528273A (en) | A server host hardware monitoring method and device and an electronic apparatus | |
US10721154B2 (en) | Virtual probes | |
WO2017008578A1 (en) | Data check method and device in network function virtualization framework | |
WO2022134352A1 (en) | Server hardware state monitoring method and apparatus, electronic device, and medium | |
US10833914B2 (en) | Device or vendor independent network switch management via embedded management controller stack | |
CN108616428A (en) | A kind of mobile APP implementations of remote management RACK computer rooms | |
CN105553731A (en) | Automatic inspection method and device | |
CN103428033A (en) | Active detection method for blade server management network | |
CN104598346A (en) | Monitoring management device and method for rapid fault location in server system | |
CN104683171A (en) | Real-time monitoring method and device for application software | |
CN107423620B (en) | Storage server service process management method and device | |
CN111769979A (en) | A cloud resource orchestration method, system, terminal and storage medium | |
US11467945B1 (en) | Resilience testing engine | |
CN102981942B (en) | A kind of task processing method and system | |
CN105849699B (en) | Method for controlling data center architecture equipment | |
CN104850791A (en) | Method and system for processing tasks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130130 |