发明名称 Message-recovery file log locating and monitoring
摘要 A method, system, and medium are provided for monitoring the data volume in a file log associated with a program (e.g., a queue manager) in a failover computing environment. A failover computing environment includes pairs of programs capable of performing the same functions. One program in the pair is the primary program and the other is the backup program. Only one of the two programs is active at any given time. Embodiments of the present invention may identify the file directory for each program installed on a computing device. The location of each file log may be determined by accessing a core-configuration file in the file directory associated with the program. The program only has access to the core-configuration file when the program is active. Once the file log is located, the file usage may be ascertained and compared with a threshold usage.
申请公布号 US8977595(B1) 申请公布日期 2015.03.10
申请号 US200912349558 申请日期 2009.01.07
申请人 Sprint Communications Company L.P 发明人 Leonard Mark D.
分类号 G06F7/00 主分类号 G06F7/00
代理机构 代理人
主权项 1. One or more non-transitory computer-readable media having computer-executable instructions embodied thereon for performing a method of discovering a directory location for a file log associated with a queue manager, the method comprising: identifying a primary queue manager and a backup queue manager, which are installed on a first computing device and a second computing device, respectively, as a failover cluster, wherein the primary queue manager and the backup queue manager are part of a messaging-middleware application configured to transfer information between two or more applications; identifying a first file directory associated with the primary queue manager and a second file directory associated with the backup queue manager; mounting a core-configuration file to the first file directory to grant the primary queue manager access to the core-configuration file such that the backup queue manager lacks access to the core-configuration file, wherein the core-configuration file comprises information to configure the primary queue manager and the backup queue manager for operation when the core-configuration file is associated with the primary queue manager or the backup queue manager; determining a directory location for a file log by parsing the core-configuration file, wherein the file log is used by one of the queue managers to store backup copies of persistent messages, thereby allowing the persistent messages to be recovered; determining a file usage for the file log by accessing the file log through the directory location determined from the core-configuration file; communicating an alarm when the file usage is greater than a threshold file usage; and dismounting the core-configuration file from the first file directory and mounting the core-configuration file to the second file directory when the primary queue manager experiences a failure such that the backup queue manager has access to the core-configuration file and the primary queue manager lacks access to the core-configuration file.
地址 Overland Park KS US