CN107332926A - A kind of application server cluster starts method and device - Google Patents

A kind of application server cluster starts method and device Download PDF

Info

Publication number
CN107332926A
CN107332926A CN201710630752.XA CN201710630752A CN107332926A CN 107332926 A CN107332926 A CN 107332926A CN 201710630752 A CN201710630752 A CN 201710630752A CN 107332926 A CN107332926 A CN 107332926A
Authority
CN
China
Prior art keywords
node
application server
server cluster
starting
managed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710630752.XA
Other languages
Chinese (zh)
Inventor
王立斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710630752.XA priority Critical patent/CN107332926A/en
Publication of CN107332926A publication Critical patent/CN107332926A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
    • 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]
    • 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/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multi Processors (AREA)

Abstract

Start method and device the invention discloses a kind of application server cluster, method includes:Read the configuration of territory information of each node in application server cluster;Monitor in the application server cluster whether each node is in starting state, if there is the node in starting state, for the node in starting state, already present process and closed node in closed node;Start the management node in the application server cluster and be managed node.Application server cluster of the present invention starts method and device, each node in application server cluster is realized automatically to unify to start, compared with needing start individually operated to each node in the prior art, reduce the complicated processes started to each nodal operation of cluster, it is simple to operate, workload has greatly been simplified, operating efficiency is improved.

Description

A kind of application server cluster starts method and device
Technical field
The present invention relates to server technology field, more particularly to a kind of application server cluster starts method and device.
Background technology
Weblogic is the application server that Oracle companies of the U.S. produce, and is Specifically one and is based on JAVAEE framves The middleware of structure, Weblogic be used to developing, it is integrated, dispose and manage large-scale distributed Web application, network application and data The Java application servers of storehouse application.
In practical application scene, there is a management node and multiple be managed section in constructed Weblogic clusters Point, in the prior art the control to each node operation in Weblogic clusters, it is necessary to each node is individually started or Close, process is cumbersome, and efficiency is low.
The content of the invention
Start method and device it is an object of the invention to provide a kind of application server cluster, compared with the conventional method, subtract Lack the complicated processes started to each node of cluster, it is simple to operate, improve efficiency.
To achieve the above object, the present invention provides following technical scheme:
A kind of application server cluster starts method, including:
Read the configuration of territory information of each node in application server cluster;
Monitor whether each node in the application server cluster is in starting state, if there is the section in starting state Point, for the node in starting state, already present process and closed node in closed node;
Start the management node in the application server cluster and be managed node.
Alternatively, in the management node in starting the application server cluster and after being managed node, in addition to: Each port status of the application server cluster interior joint is checked, confirms whether node starts success.
Alternatively, in addition to:When monitoring that node does not start successfully, the mistake letter of the node starting log is obtained Breath.
Alternatively, the management node started in the application server cluster and it is managed node and includes:
According to preset order, start the management node in the application server cluster and be managed node.
A kind of application server cluster starter, including:
Read module, the configuration of territory information for reading each node in application server cluster;
Monitoring modular, for monitoring whether each node in the application server cluster is in starting state, if at existing In the node of starting state, for the node in starting state, already present process and closed node in closed node;
Starting module, for starting the management node in the application server cluster and being managed node.
Alternatively, in addition to:
Module is checked, for the management node in the application server cluster is started and is managed after node, Each port status of the application server cluster interior joint is checked, confirms whether node starts success.
Alternatively, in addition to:
Acquisition module, for when monitoring that node does not start successfully, obtaining the error message of starting log.
Alternatively, the starting module is specifically for according to preset order, starting the pipe in the application server cluster Manage node and be managed node.
As shown from the above technical solution, application server cluster provided by the present invention starts method and device, reads first The configuration of territory information of each node in application server cluster is taken, whether each node is then monitored in application server cluster in opening Dynamic state, if there is the node in starting state, for the node in starting state, already present process in closed node And closed node, further restart the management node in application server cluster and be managed node.
Application server cluster of the present invention starts method and device, realizes each node in application server cluster automatic Unified startup, compared with needing start individually operated to each node in the prior art, reduce to each nodal operation of cluster The complicated processes of startup, it is simple to operate, workload has greatly been simplified, efficiency is improved.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 starts the flow chart of method for a kind of application server cluster provided in an embodiment of the present invention;
Fig. 2 starts the flow chart of method for a kind of application server cluster that further embodiment of this invention is provided;
Fig. 3 is a kind of schematic diagram of application server cluster starter provided in an embodiment of the present invention;
A kind of schematic diagram for application server cluster starter that Fig. 4 provides for further embodiment of this invention.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the present invention, below in conjunction with of the invention real The accompanying drawing in example is applied, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described implementation Example only a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, this area is common The every other embodiment that technical staff is obtained under the premise of creative work is not made, should all belong to protection of the present invention Scope.
Fig. 1 is refer to, the embodiment of the present invention provides a kind of application server cluster and starts method, including step:
S10:Read the configuration of territory information of each node in application server cluster.
When receiving the instruction for indicating each node startup in application server cluster, the domain of each node in cluster is read Configuration information.
Specifically, from application server domain configuration file reading field configuration information.
S11:Monitor whether each node in the application server cluster is in starting state.
In current application server cluster, some possible nodes are in starting state, and some nodes, which are in, closes shape State.In this step, whether each node is in starting state in monitoring application server cluster.Especially by monitoring node whether Operation process comes whether decision node is in starting state.
If in the absence of the node in starting state, being directly entered step S13.
If there is the node in starting state, into step S12.
S12:For the node in starting state, already present process and closed node in closed node.
Wherein, for the node in starting state, already present process in closed node, and closed node.So just Each node implements unified start in realizing to cluster, it is to avoid unified to start failure.
S13:Start the management node in the application server cluster and be managed node.
In the specific implementation, according to preset order, start the management node in application server cluster and be managed section Point.Specifically, first starting management node, restart and be managed node.
The present embodiment application server cluster starts method, realizes each node in application server cluster and automatically unites One starts, and compared with needing start individually operated to each node in the prior art, reduces and each nodal operation of cluster is started Complicated processes, it is simple to operate, greatly simplified workload, improved efficiency.
In a kind of preferred embodiment that the present embodiment application server cluster starts method, Fig. 2 is refer to, above-mentioned On the basis of embodiment content, in step S13:Start the management node in the application server cluster and be managed node Afterwards, in addition to step:
S14:Each port status of the application server cluster interior joint is checked, confirms whether node starts success.
Start management node in application server cluster and after being managed node performing, check each end of each node Mouth state, confirms whether node starts success according to each port status of node.
Further, in addition to step:
S15:When monitoring that node does not start successfully, the error message of the node starting log is obtained.
According to the port status of node, if monitoring, node does not start success, obtains the mistake of the node starting log False information, and export each and do not start error information in successful node starting log, so it is easy to opening according to acquisition The error message recorded in dynamic daily record, is safeguarded to clustered node.
The present embodiment application server cluster starts method, realizes each node in application server cluster and automatically unites One starts, and automatic detection node starting state simultaneously obtains startup error information.Compared with the conventional method, it is whole without manually doing In advance, reduce manual-lock, the complicated processes of each node of cluster are activated individually, simple to operate, durability is strong, it is maintainable high, Workload has greatly been simplified, operating efficiency is improved.
Fig. 3 is refer to, the embodiment of the present invention also provides a kind of application server cluster starter, including:
Read module 20, the configuration of territory information for reading each node in application server cluster;
Monitoring modular 21, for monitoring whether each node in the application server cluster is in starting state, if in the presence of Node in starting state, for the node in starting state, already present process and closed node in closed node;
Starting module 22, for starting the management node in the application server cluster and being managed node.
The present embodiment application server cluster starter, first read module read each node in application server cluster Configuration of territory information, then in monitoring module monitors application server cluster each node whether be in starting state, if being not present Node in starting state, then starting module start application server cluster in management node and be managed node;If In the presence of the node in starting state, already present process and section is closed for the node in starting state, in closed node Point, further starting module starts the management node in application server cluster and is managed node.
The present embodiment application server cluster starter, realizes each node in application server cluster and automatically unites One starts, and compared with needing start individually operated to each node in the prior art, reduces and each nodal operation of cluster is started Complicated processes, it is simple to operate, greatly simplified workload, improved efficiency.
In the present embodiment application server cluster starter, the starting module 22 specifically for according to preset order, Start the management node in the application server cluster and be managed node.
Fig. 4 is refer to, in a kind of preferred embodiment of the present embodiment application server cluster starter, above-mentioned On the basis of content, in addition to:Check module 23, for the management node in the application server cluster is started and by After management node, each port status of the application server cluster interior joint is checked, confirms whether node starts success.
Performed in starting module 22 and start management node in application server cluster and after being managed node, check mould Block 23 checks each port status of each node, confirms whether node starts success according to each port status of node.
Further comprise acquisition module 24, for when monitoring that node does not start successfully, obtaining starting log Error message.
Module 23 is checked according to the port status of node, node does not start success if monitoring, acquisition module 24 is obtained The error message of the node starting log is taken, and exports each and does not start error information in successful node starting log, So it is easy to the error message recorded in the starting log according to acquisition, clustered node is safeguarded.
It is further to note that application server cluster of the present invention starts method and device, it can apply to Weblogic application server clusters, can also be applied to the application server cluster of other species, the application server can To be (SuSE) Linux OS.
Start method and device to a kind of application server cluster provided by the present invention above to be described in detail.This Apply specific case in text to be set forth the principle and embodiment of the present invention, the explanation of above example is only intended to Help to understand method and its core concept of the invention.It should be pointed out that for those skilled in the art, Without departing from the principles of the invention, some improvement and modification can also be carried out to the present invention, these are improved and modification also falls Enter in the protection domain of the claims in the present invention.

Claims (8)

1. a kind of application server cluster starts method, it is characterised in that including:
Read the configuration of territory information of each node in application server cluster;
Monitor whether each node in the application server cluster is in starting state, if there is the node in starting state, For the node in starting state, already present process and closed node in closed node;
Start the management node in the application server cluster and be managed node.
2. application server cluster according to claim 1 starts method, it is characterised in that starting the application service Management node in device cluster and it is managed after node, in addition to:Check each of the application server cluster interior joint Port status, confirms whether node starts success.
3. application server cluster according to claim 2 starts method, it is characterised in that also include:When monitor section Point obtains the error message of the node starting log without when starting successfully.
4. the application server cluster according to claim any one of 1-3 starts method, it is characterised in that the startup institute Stating the management node in application server cluster and being managed node includes:
According to preset order, start the management node in the application server cluster and be managed node.
5. a kind of application server cluster starter, it is characterised in that including:
Read module, the configuration of territory information for reading each node in application server cluster;
Monitoring modular, for monitoring whether each node in the application server cluster is in starting state, is opened if existing and being in The node of dynamic state, for the node in starting state, already present process and closed node in closed node;
Starting module, for starting the management node in the application server cluster and being managed node.
6. application server cluster starter according to claim 5, it is characterised in that also include:
Module is checked, for the management node in the application server cluster is started and is managed after node, is checked Each port status of the application server cluster interior joint, confirms whether node starts success.
7. application server cluster starter according to claim 6, it is characterised in that also include:
Acquisition module, for when monitoring that node does not start successfully, obtaining the error message of starting log.
8. the application server cluster starter according to claim any one of 5-7, it is characterised in that the startup mould Block is specifically for according to preset order, starting the management node in the application server cluster and being managed node.
CN201710630752.XA 2017-07-28 2017-07-28 A kind of application server cluster starts method and device Pending CN107332926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710630752.XA CN107332926A (en) 2017-07-28 2017-07-28 A kind of application server cluster starts method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710630752.XA CN107332926A (en) 2017-07-28 2017-07-28 A kind of application server cluster starts method and device

Publications (1)

Publication Number Publication Date
CN107332926A true CN107332926A (en) 2017-11-07

Family

ID=60227764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710630752.XA Pending CN107332926A (en) 2017-07-28 2017-07-28 A kind of application server cluster starts method and device

Country Status (1)

Country Link
CN (1) CN107332926A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101063941A (en) * 2006-04-25 2007-10-31 英业达股份有限公司 Automatic total remote controlling method
CN102591765A (en) * 2011-12-31 2012-07-18 珠海市君天电子科技有限公司 Progress automatic management system
CN104050003A (en) * 2014-06-27 2014-09-17 浪潮集团有限公司 Method for starting Nutch collecting system with shell script
CN104391989A (en) * 2014-12-16 2015-03-04 浪潮电子信息产业股份有限公司 Distributed ETL (extract transform load) all-in-one machine system
CN105933433A (en) * 2016-06-07 2016-09-07 中国建设银行股份有限公司 Configuration method and device for bank application
CN106487600A (en) * 2016-12-30 2017-03-08 广东浪潮大数据研究有限公司 A kind of automatic Deployment Solution for Services of WebLogic cluster
US20170083477A1 (en) * 2015-01-29 2017-03-23 Knuedge Incorporated Memory controller for a network on a chip device
CN106960060A (en) * 2017-04-10 2017-07-18 聚好看科技股份有限公司 The management method and device of a kind of data-base cluster

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101063941A (en) * 2006-04-25 2007-10-31 英业达股份有限公司 Automatic total remote controlling method
CN102591765A (en) * 2011-12-31 2012-07-18 珠海市君天电子科技有限公司 Progress automatic management system
CN104050003A (en) * 2014-06-27 2014-09-17 浪潮集团有限公司 Method for starting Nutch collecting system with shell script
CN104391989A (en) * 2014-12-16 2015-03-04 浪潮电子信息产业股份有限公司 Distributed ETL (extract transform load) all-in-one machine system
US20170083477A1 (en) * 2015-01-29 2017-03-23 Knuedge Incorporated Memory controller for a network on a chip device
CN105933433A (en) * 2016-06-07 2016-09-07 中国建设银行股份有限公司 Configuration method and device for bank application
CN106487600A (en) * 2016-12-30 2017-03-08 广东浪潮大数据研究有限公司 A kind of automatic Deployment Solution for Services of WebLogic cluster
CN106960060A (en) * 2017-04-10 2017-07-18 聚好看科技股份有限公司 The management method and device of a kind of data-base cluster

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张守磊,ITEYE博客,LOVE398146779: "weblogic重启", 《HTTPS://WWW.ITEYE.COM/BLOG/LOVE398146779-935388》 *

Similar Documents

Publication Publication Date Title
CN109495308B (en) Automatic operation and maintenance system based on management information system
US10084681B2 (en) Method and system for monitoring server cluster
CN106227636A (en) A kind of data center based on IPMI outband management system
US10545807B2 (en) Method and system for acquiring parameter sets at a preset time interval and matching parameters to obtain a fault scenario type
CN105224436A (en) A kind of operation condition of server method for supervising and device
CN104486107A (en) Log collection device and method
US20190379576A1 (en) Providing dynamic serviceability for software-defined data centers
CN105138398B (en) SOCKET communication and management of process general-purpose platform and method under synchronous communication mode
WO2017220008A1 (en) Automatic export method for log file and set-top box
CN103942063A (en) Centralized configuration and remote deployment method for Java Web application
CN108768758A (en) Distributed memory system online upgrading method, apparatus, equipment and storage medium
CN104601366B (en) It is a kind of control, service node configuration service method and device
CN110063042B (en) Database fault response method and terminal thereof
CN108710684A (en) ETL task datas source switch method, system, computer equipment and storage medium
WO2022095844A1 (en) Elastic block service mounting method and apparatus thereof
CN111966465A (en) Method, system, equipment and medium for modifying configuration parameters of host machine in real time
CN115102877B (en) Virtual network card network detection method, device, equipment and medium
EP4320517A1 (en) Distributed packet capture
CN106911510B (en) Usability monitoring system and method for network access system
CN106557395B (en) Application performance monitoring management method, system and application method of system
CN101056210B (en) An event processing system and method of network central management platform
CN107332926A (en) A kind of application server cluster starts method and device
CN108228417A (en) Car networking log processing method and processing unit
CN111177239B (en) Unified log processing method and system based on HDP big data cluster
CN108011906A (en) Digital signage management system and monitoring method with intelligent monitoring function

Legal Events

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

Application publication date: 20171107

RJ01 Rejection of invention patent application after publication