Background
With the rapid development of enterprise business, the construction of Internet Technology (IT) systems applied to enterprises is more and more complex, in the daily operation and maintenance of a data center, a system administrator is difficult to master the IT equipment depended on by each business system and the association relationship between the equipment, when a certain IT equipment or component has a fault, the system administrator needs to look up a large number of records or log in a plurality of systems, so as to judge the root cause of the fault, and the mode is not favorable for the continuous and stable operation of the business systems, and also increases huge workload for the system administrator.
In the prior art, a data center records Configuration information of IT resources and an association relationship thereof by using a Configuration Management DataBase (CMDB), and the Configuration Management DataBase is used as a tool, which can help a system administrator to quickly know the current Configuration and relationship of IT equipment and to troubleshoot faults as soon as possible, and can also realize sharing of IT information, so that even if a person in charge of a current fault system is not in the data center, other people can perform fault diagnosis according to the record of the CMDB.
However, in the current configuration management database system, the configuration information and the network topology of the network device can be automatically discovered and generated, but the software configuration and the association relationship of the IT devices related to the business system need to be manually maintained due to a plurality of brands and great technical differences, and once the business system is subjected to daily maintenance or system change, the recorded information of the configuration management database is not updated timely, which can have very serious consequences.
Disclosure of Invention
The invention aims to provide a service system management system, which realizes the automatic acquisition of configuration information of IT equipment related to a service system and the topology updating, and avoids the need of manual maintenance.
In order to achieve the purpose, the invention provides the following technical scheme:
a business system management system comprising:
a proxy device deployed on a server associated with a service system, acquiring configuration information of components associated with the service system and transmitting the acquired configuration information to a terminal device;
and the terminal device is connected with the agent device and generates the topology of the related components of the business system by analyzing the obtained configuration information.
Preferably, the associated component comprises middleware and a database connected with the middleware, and an application device for acquiring and recording the configuration information of the database connected with the middleware is deployed on the middleware;
the terminal device comprises a first data processing device for establishing the incidence relation between the middleware and the database by comparing the database configuration information acquired from the middleware with the database configuration information directly acquired from the database.
Preferably, the database includes a database that returns database configuration information according to a scan command executed by an operating system, and the database is a database of a cluster deployment mode.
Preferably, the database comprises a database which reads the database configuration information from the preset file and returns the database configuration information, and the database is in a single-instance deployment mode.
Preferably, the association component includes a physical server for running the operating system, and the terminal device includes a second data processing device for establishing an association relationship between the operating system and the physical server according to a serial number of the physical server acquired from the physical server.
Preferably, the associated components include storage devices, fabric switches, and physical servers for running operating systems,
the terminal device comprises a third data processing device for establishing the association among the physical server, the optical fiber switch and the storage equipment by matching the global name of the optical fiber channel card used by the physical server, the global name of each port of the optical fiber switch and the global name of the end card used by the storage equipment for connecting with the optical fiber switch.
Preferably, the terminal device includes a presentation interface for presenting the topology of the business system associated component in a visual form.
Preferably, the terminal device further comprises an interactive interface for setting the relevant parameters by the user.
Preferably, the system further comprises a monitoring device connected to the terminal device, for monitoring whether the associated component of the service system fails, and transmitting alarm information about the failure of the associated component of the service system to the terminal device.
Preferably, it is applied to one business system, or to a plurality of business systems.
According to the technical scheme, the business system management system comprises the agent device and the terminal device, the agent device is arranged on a server associated with a business system and can acquire configuration information of components associated with the business system and transmit the acquired configuration information to the terminal device, and the terminal device analyzes the acquired configuration information to generate topology of the components associated with the business system. Therefore, the business system management system can automatically acquire the configuration information of the IT equipment related to the business system and update the topology, and avoids the need of manual maintenance.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a service system management system according to an embodiment of the present invention, and it can be seen that the service system management system includes:
aproxy device 11 disposed on a server associated with a service system, acquiring configuration information of components associated with the service system and transmitting the acquired configuration information to aterminal device 10;
and theterminal device 10 is connected with theagent device 11 and generates the topology of the service system related components by analyzing the obtained configuration information.
The configuration information of the component refers to information reflecting the internet property of the component. Theterminal device 10 can generate the topology of the relevant components of the business system from the configuration information by analyzing the configuration information of each relevant component. Therefore, the service system management system of the embodiment can automatically acquire the configuration information of the IT equipment related to the service system and update the topology, thereby avoiding the need of manual maintenance.
The following describes the business system management system in detail with reference to specific embodiments.
Theagent device 11 is deployed on a server for running an operating system associated with the business system, and theagent device 11 acquires configuration information of components associated with the business system and transmits the acquired configuration information to theterminal device 10. In practical applications, resources such as an operating system, middleware or a database can be directly collected by theagent apparatus 11 deployed on the operating system, and for a physical server, a fiber switch or a storage device, resources can be remotely collected by theagent apparatus 11 according to a relevant protocol.
Optionally, the associated component of the service system includes a middleware and a database connected to the middleware, please refer to fig. 2, fig. 2 is a schematic view of an application scenario of the service system management system of this embodiment, and as can be seen from the figure, the associated component of the service system includes amiddleware 13 and adatabase 14 connected to themiddleware 13, wherein an application device that acquires and records configuration information of thedatabase 14 connected to themiddleware 13 is deployed on themiddleware 13, the application device records the database configuration information in a corresponding file, and theagent device 11 can acquire the configuration information of thedatabase 14 connected to themiddleware 13 from a file of the application device on themiddleware 13, and specifically can acquire an IP address and an instance name of thedatabase 14.
Theproxy device 11 is also able to obtain configuration information of thedatabase 14 directly from thedatabase 14. In a specific embodiment, thedatabase 14 may be a cluster deployment mode or a single-instance deployment mode, and in this embodiment, theagent device 11 first needs to check which deployment mode thedatabase 14 is, optionally, theagent device 11 may execute a check command in thedatabase 14 to check whether thedatabase 14 is the cluster deployment mode, if the return result is yes, it is determined that thedatabase 14 is the cluster deployment mode, and if the return result is no, it is determined that thedatabase 14 is the single-instance deployment mode.
For the database in the cluster deployment mode, the database can return the configuration information of the database according to the scan command executed by the operating system, and if thedatabase 14 is in the cluster deployment mode, theagent device 11 may execute the scan command through the operating system to obtain the configuration information from thedatabase 14.
For the database in the single-instance deployment mode, the database can read the database configuration information from the preset file and return the database configuration information, and if thedatabase 14 is in the single-instance deployment mode, theagent device 11 may directly read the configuration information of the database from the preset file in the corresponding path in the database, so as to obtain the configuration information of the database.
Accordingly, theterminal apparatus 10 includes a first data processing apparatus that establishes an association relationship between themiddleware 13 and thedatabase 14 by comparing the database configuration information acquired from themiddleware 13 with the database configuration information directly acquired from thedatabase 14. Thereby enabling the topology of the business system to be generated.
In another embodiment, the business system association component includes a physical server for running the operating system, and the terminal device includes a second data processing device, and the second data processing device establishes an association relationship between the operating system and the physical server according to a serial number of the physical server obtained from the physical server. Referring to fig. 2, theagent device 11 may obtain a serial number of thephysical server 12 where the operating system is located by executing a corresponding command in the operating system, and establish an association relationship between the operating system and thephysical server 12 through the serial number, thereby being capable of generating a topology of the service system. Illustratively, the serial number name-a may be used in the AIX operating system, the serial number dmidrecode-t 1 may be used in the Linux operating system, and the wmic bios get serial number may be used in the Windows operating system.
In another specific embodiment, the associated components of the service system include a storage device, a fabric switch, and a physical server for running an operating system, please refer to fig. 3, fig. 3 is a schematic diagram of another application scenario of the service system management system of this embodiment, and it can be seen from the diagram that the associated components of the service system include aphysical server 12, afabric switch 15, and astorage device 16.
Theproxy apparatus 11 may obtain a fibre channel card used by thephysical server 12 by executing a corresponding command in the operating system, and obtain a World Wide Name (WWN) of the used fibre channel card by executing the corresponding command. Theproxy device 11 may obtain the global names of the ports of thefabric switch 15 by executing the corresponding commands in the operating system. In addition, theagent apparatus 11 can view the global name of the end card used by thestorage device 16 for connection with thefabric switch 15 by remotely logging in thestorage device 16 by executing a corresponding command.
Correspondingly, theterminal device 10 includes a third data processing device, and the third data processing device establishes an association relationship among thephysical server 12, theoptical fiber switch 15, and thestorage device 16 by matching the global name of the optical fiber channel card used by thephysical server 12, the global name of each port of theoptical fiber switch 15, and the global name of the end card used by thestorage device 16 to connect to the optical fiber switch, so as to generate a topology of the service system.
Alternatively, theterminal device 10 may be deployed on a user server, and theterminal device 10 includes a presentation interface for presenting the topology of the associated components of the business system in a visual form, and a user may view the IP resource topology of the business system through the presentation interface. Theterminal device 10 may further include an interactive interface for setting relevant parameters by a user, and for example, the user may set the period for acquiring configuration information according to actual service requirements, for different IT devices, or for different operating software of a service system. The interaction between the business system management system and the user is realized through the display interface or the interactive interface.
Specifically, theagent device 11 periodically obtains the configuration information of the service system related components according to a period set by a user. Theconcrete proxy apparatus 11 may include a trigger that is triggered according to a preset period to acquire configuration information of an associated component.
Theterminal device 10 analyzes the obtained configuration information of each associated component, compares the configuration information obtained this time with the configuration information obtained last time, judges whether the configuration information and the configuration information are different, and only records the configuration information acquisition result if the configuration information and the configuration information are not different; if the configuration information is found to be changed, the configuration information is stored, the topology of the service system is automatically adjusted based on the configuration information, and the topology of the service system is updated and generated.
Preferably, referring to fig. 4, fig. 4 is a schematic diagram of a service system management system according to yet another embodiment, and it can be seen that the service system management system may further include amonitoring device 17 connected to theterminal device 10, where themonitoring device 17 monitors whether an associated component of the service system fails, and transmits alarm information about the failure of the associated component of the service system to theterminal device 10.
In practical application, themonitoring device 17 may be various monitoring devices arranged on site by a user for monitoring whether a fault occurs in related equipment, and the management system is deeply integrated with thevarious monitoring devices 17. Themonitoring device 17 may actively transmit the alarm information to theterminal device 10, or theterminal device 10 may actively obtain the alarm information from themonitoring device 17, where the alarm information at least includes the device name, the device IP address, and the alarm detailed description. Theterminal device 10 can display the alarm information on the automatically generated service system topology in real time, remind the operation and maintenance personnel in a highlight or flashing manner, enable the operation and maintenance personnel to find the fault at the first time, and judge the influence range of the fault through the intuitive topology, for example, the fault relates to one service system or a plurality of service systems, if a plurality of alarm information are generated at the same time, the terminal device can also assist the user in judging which fault is the root cause of other faults, thereby improving the efficiency of solving the fault.
The service system management system of the embodiment may be applied to one service system, or may be applied to a plurality of service systems, and may generate the topology of the associated component of each service system respectively for each service system.
The service system management system of the embodiment can automatically acquire the configuration information of the IT equipment related to the service system and update the topology, so that the need of manual maintenance is avoided, and the configuration information related to the service system and the topology can be updated in real time by setting the acquisition period. Moreover, the topology of the service system can be visually displayed in a visual form, and the alarm information of the service system can be displayed on the system topology, so that operation and maintenance personnel can be assisted to quickly diagnose system faults, and problems can be solved.
In addition, in most of the existing data centers, the service systems are mastered by different administrators, information is not shared, when a fault occurs but the system administrators are not on site, the problem is difficult to be solved quickly, the service system management system provides an information sharing platform, the logic topologies of all the service systems can be displayed intuitively, and when the fault occurs, all the administrators can make a group effort to strive to realize quick solution of the fault.
The service system management system provided by the invention is described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.