Host active-active system operation and maintenance method, device, equipment and storage medium

By receiving the call instructions of the operation and maintenance operation interface in the host dual active system, and automatically generating and submitting JCL jobs, the problems of low operation and maintenance timeliness and automation rates in the existing technology are solved, and a more efficient operation and maintenance process is achieved.

CN113590290BActive Publication Date: 2025-02-14INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110869969.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-30
Publication Date
2025-02-14
Estimated Expiration
2041-07-30

AI Technical Summary

Technical Problem

The operation and maintenance timeliness and automation rate of the existing host dual-active system are low, and operation and maintenance personnel need to manually enter specific control commands, resulting in cumbersome operations and inefficient efficiency.

Method used

By receiving the calling instructions for the target operation and maintenance operation interface, calling the JCL job generation script automatically generates the JCL job and automatically submits it to the host operating system for processing, thereby obtaining the processing results of the JCL job.

Benefits of technology

It improves the operation and maintenance timeliness of the host dual active system, reduces the operation and maintenance threshold, and reduces complicated command input and result interpretation steps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113590290B_ABST
    Figure CN113590290B_ABST
Patent Text Reader

Abstract

The present specification relates to the technical field of host active-active system, and provides an operation and maintenance method, device, equipment and storage medium of the host active-active system, the method comprising: receiving a call instruction for a target operation and maintenance operation interface; calling a job control language JCL job generation script according to the call instruction to generate a JCL job; submitting the JCL job to the host operating system for processing; and obtaining the processing result of the JCL job from the host operating system. The embodiments of the present specification can improve the operation and maintenance timeliness of the host active-active system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of host active-active systems in the financial field or other fields, and in particular to an operation and maintenance method, device, equipment and storage medium of a host active-active system. Background Art

[0002] At present, mainframe systems are still an important part of the production business of large banks, and the mainframe active-active system has always been the last line of defense to ensure the security and stability of mainframe systems. Figure 1 As shown, in the existing host active-active system, operation and maintenance can only be achieved on the user side by manually inputting specific control commands (such as query status commands, switching commands, etc.) to the SDSF (System Display and Search Facility) subsystem of the host operating system, and the operation and maintenance timeliness and automation rate are low. Summary of the invention

[0003] The purpose of the embodiments of this specification is to provide an operation and maintenance method, device, equipment and storage medium of a host active-active system to improve the operation and maintenance timeliness of the host active-active system.

[0004] To achieve the above objectives, on the one hand, an embodiment of this specification provides an operation and maintenance method of a host active-active system, including:

[0005] Receive call instructions for the target operation and maintenance operation interface;

[0006] Calling the JCL job generation script according to the calling instruction to generate a JCL job;

[0007] Submitting the JCL job to the host operating system for processing;

[0008] The processing result of the JCL job is obtained from the host operating system.

[0009] In the embodiment of this specification, the receiving of a call instruction for a target operation and maintenance operation interface includes:

[0010] After providing a user interface including an operation and maintenance operation interface option to a user terminal, a selection operation of the user terminal for the operation and maintenance operation interface option is received.

[0011] In the embodiment of this specification, the receiving of a call instruction for a target operation and maintenance operation interface includes:

[0012] Receive the call instruction for the target operation and maintenance operation interface sent by the job caller.

[0013] In the embodiment of this specification, the JCL job generation script generates a JCL job in the following manner:

[0014] Querying a JCL job template matching the calling instruction from a preset JCL job template set;

[0015] The JCL job template is modified according to the specified parameters in the calling instruction to obtain a corresponding JCL job.

[0016] In the embodiment of this specification, before submitting the JCL job to the host operating system for processing, the method further includes:

[0017] Providing the JCL job to a scheduling tool for processing;

[0018] receiving a JCL job stream returned by the scheduling tool; the JCL job stream including the JCL job;

[0019] Correspondingly, submitting the JCL job to the host operating system for processing includes:

[0020] Submit the JCL job stream to the host operating system for processing.

[0021] In the embodiment of this specification, the operation and maintenance operation interface options include:

[0022] Status query interface represented by a single character;

[0023] A single character switch interface.

[0024] In the embodiment of this specification, the step of obtaining the processing result of the JCL job from the host operating system includes:

[0025] Capture the return value of the JCL job from the SDSF subsystem of the host operating system;

[0026] comparing the return value to an expected return value;

[0027] Determine whether the return value meets a preset condition according to the comparison result.

[0028] In the embodiment of this specification, after obtaining the processing result of the JCL job from the host operating system, the method further includes:

[0029] The processing result of the JCL job is returned to the user end so that the user end displays the processing result of the JCL job.

[0030] In the embodiment of this specification, after obtaining the processing result of the JCL job from the host operating system, the method further includes:

[0031] The processing result of the JCL job is returned to the job calling program so that the job calling program adds the processing result of the JCL job to a job processing result queue.

[0032] On the other hand, the embodiment of this specification also provides an operation and maintenance device of a host active-active system, including:

[0033] A receiving module, used to receive a call instruction for a target operation and maintenance operation interface;

[0034] A generation module, used for calling a JCL job generation script according to the calling instruction to generate a JCL job;

[0035] A submission module, used for submitting the JCL job to the host operating system for processing;

[0036] The acquisition module is used to acquire the processing result of the JCL job from the host operating system.

[0037] On the other hand, an embodiment of the present specification further provides a computer device, including a memory, a processor, and a computer program stored in the memory, wherein when the computer program is executed by the processor, the instructions of the above method are executed.

[0038] On the other hand, an embodiment of the present specification further provides a computer storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer device, the instructions of the above method are executed.

[0039] It can be seen from the technical solutions provided in the above embodiments of this specification that, in the embodiments of this specification, when the operation and maintenance device receives a call instruction for the target operation and maintenance operation interface, it can call the JCL job generation script to automatically generate a JCL job, automatically submit it to the host operating system for processing, and automatically obtain the processing results of the JCL job from the host operating system, thereby eliminating or greatly reducing the complicated steps of command input, result interpretation, etc. for the operation and maintenance personnel, thereby greatly improving the operation and maintenance timeliness of the host active-active system and lowering the operation and maintenance threshold. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art description. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:

[0041] Figure 1 The flowchart of the operation and maintenance method under the host active-active system in the traditional technology is shown;

[0042] Figure 2 A system structure block diagram of a host active-active system in some embodiments of this specification is shown;

[0043] Figure 3 A flowchart showing an operation and maintenance method of a host active-active system in some embodiments of this specification is shown;

[0044] Figure 4a to Figure 4b A schematic diagram showing a method of selecting an operation and maintenance interface option in some embodiments of this specification is shown;

[0045] Figure 5 A schematic diagram of the operation and maintenance process of a host active-active system initiated by a user terminal in an embodiment of this specification is shown;

[0046] Figure 6 A schematic diagram of the operation and maintenance process of a host active-active system initiated by a job calling program in an embodiment of this specification is shown;

[0047] Figure 7 A structural block diagram of the device in some embodiments of this specification is shown;

[0048] Figure 8 The structure block diagram of the computer device in some embodiments of the present specification is shown.

[0049] [Description of Reference Numerals]

[0050] 10. Operation and maintenance equipment;

[0051] 20a, First Center;

[0052] 20b, Second Center;

[0053] 71. Receiving module;

[0054] 72. Generate module;

[0055] 73. Submission module;

[0056] 74. Get module;

[0057] 802. Computer equipment;

[0058] 804, processor;

[0059] 806. Memory;

[0060] 808, driving mechanism;

[0061] 810, input / output interface;

[0062] 812. Input device;

[0063] 814. Output device;

[0064] 816. Presentation equipment;

[0065] 818. Graphical user interface;

[0066] 820, network interface;

[0067] 822, communication link;

[0068] 824. Communication bus. DETAILED DESCRIPTION

[0069] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.

[0070] This specification relates to the operation and maintenance control technology of a dual-active system based on a mainframe (hereinafter referred to as the mainframe dual-active system), which can be applied in the financial field (such as the dual-active system of a bank data center, etc.) or other fields. Since the operation and maintenance under a multi-active system is similar to that under a dual-active system, for those skilled in the art, the operation and maintenance control technology of this specification can also be adapted to a multi-active system based on a mainframe (such as two locations and three centers, etc.).

[0071] Take data centers as an example. The so-called "active-active" or "multi-active" data centers are different from the traditional active-active mode. In the former, two or more data centers are in operation, can run the same applications, have the same data, and can provide cross-center business load balancing operation capabilities to achieve continuous application availability and disaster backup capabilities; the latter (i.e. active-active mode) is that the production center is put into operation and the disaster recovery center is not working. Only when a disaster occurs and the production center is paralyzed, the disaster recovery center is started. The biggest features of the "active-active" data center are: 1. Fully utilize resources to avoid a data center being idle for a long time and causing waste. Through resource integration, the service capacity of the "active-active" data center can be doubled; 2. If one of the data centers in the "active-active" data center fails, the business of the failed data center can be quickly switched to another running data center, and the switching process is imperceptible to users.

[0072] refer to Figure 2As shown, the host active-active system of some embodiments of the present specification may include an operation and maintenance device 10, a first center 20a and a second center 20b; the operation and maintenance device 10 can be used to perform operation and maintenance control (such as information display, active-active switching, system update, etc.) on the first center 20a and the second center 20b. The first center 20a and the second center 20b serve as both production centers and disaster recovery centers. As production centers, the first center 20a and the second center 20b can both provide services to the outside world and generate data; of course, according to actual needs, the tasks of the first center 20a and the second center 20b can be the same or different; as disaster recovery centers, the first center 20a and the second center 20b can back up each other and ensure data consistency through real-time synchronization.

[0073] The present specification provides an operation and maintenance method for a host active-active system that can be applied to an operation and maintenance device. Figure 3 As shown, in some embodiments, the operation and maintenance method of the host active-active system may include the following steps:

[0074] S301: Receive a call instruction for a target operation and maintenance interface.

[0075] S302: Call a JCL (Job Control Language) job generation script according to the calling instruction to generate a JCL job.

[0076] S303: Submit the JCL job to the host operating system for processing.

[0077] S304: Obtain the processing result of the JCL job from the host operating system.

[0078] In the embodiments of the present specification, when the operation and maintenance device receives a call instruction for the target operation and maintenance operation interface, it can call the JCL job generation script to automatically generate a JCL job, automatically submit it to the host operating system for processing, and automatically obtain the processing result of the JCL job from the host operating system, thereby eliminating or greatly reducing the complicated steps of command input, result interpretation, etc. for the operation and maintenance personnel, thereby greatly improving the operation and maintenance timeliness of the host active-active system and lowering the operation and maintenance threshold.

[0079] The operation and maintenance device side may be configured with a main program written in a mainframe-based programming language, and when the main program is executed, the operation and maintenance method of the mainframe active-active system of the embodiment of this specification may be implemented. For example, in some embodiments, the mainframe-based programming language may be, for example, REXX (Restructured Extended Executor) language, COBOL (Common Business-Oriented Language) language, etc.

[0080] In some embodiments, some operation and maintenance operation interfaces may be preset and exposed to the user end. Each operation and maintenance operation interface may be used to implement the issuance of corresponding operation and maintenance commands. Accordingly, the call instruction may be a selection operation for the operation and maintenance operation interface. In this way, the operation and maintenance personnel do not need to manually input specific operation and maintenance commands, but can implement the issuance of corresponding operation and maintenance commands by selecting the operation and maintenance operation interface, thereby greatly reducing the complexity of user operations.

[0081] In some embodiments, the operation and maintenance operation interface may include operation interface options such as information display, active-active switching, and system update. The operation and maintenance device may display these operation interface options on a user interface to facilitate user selection as needed. Among them, the timing for the operation and maintenance device to display the operation interface may be an active display after the operation and maintenance device is initialized, or it may be a passive display of the operation and maintenance device in response to user instructions. Each operation and maintenance operation interface may have a single-layer or multi-layer structure. When the operation interface adopts a multi-layer structure, modifying the code of any layer will basically not affect the changes in the code of other layers in the operation interface, which facilitates subsequent expansion, updating, and maintenance.

[0082] In some embodiments, receiving a call instruction for a target operation and maintenance operation interface may include: after providing a user interface including operation and maintenance operation interface options to a user terminal, receiving a selection operation of the user terminal for the operation and maintenance operation interface options. Wherein, the selected operation and maintenance operation interface is the target operation and maintenance operation interface. In some embodiments, the operation and maintenance operation interface options can be represented by a single character, such as a status query interface represented by a single character, a switching interface represented by a single character, etc. When a user enters a target operation and maintenance operation interface represented by a single character at a designated location in the user interface, it is equivalent to the user issuing a call instruction for the operation and maintenance operation interface corresponding to the single character.

[0083] For example, in Figure 4a In the exemplary embodiment shown, a user interface is displayed through the user terminal, in which: "LIFELINE CHECK&SWITCH TOOL" represents the lifeline check and switch tool, "PLS CHOOSE THE FUNCTION" represents please select the operation and maintenance interface class (each operation and maintenance interface class may include one or more options), "FUNCTION: D ”, indicating that the user has selected the display category “D”, “D=DISPLAY” indicates the display category, and “S=SWITCH” indicates the display switch category. When the user selects the display category “D”, the user interface can jump to the following Figure 4b The user interface shown.

[0084] exist Figure 4bIn the user interface shown, “LIFELINE DISPLAY&CHECK” means lifeline display and check, “PLS CHOOSE THE DETAIL FUNCTION” means please select a specific display item, and “FUNCTION SELECTION: 5 ", indicating that the user has selected display item "5", "1=WORKLOAD(DISPLAY&CHECK)" indicates that display item "1" is transaction routing (display and check), "2=WKL STATUS CHECK FOR SWITCH" indicates that display item "2" is checking transaction routing status for the purpose of switching, "3=ADVISOR(INCLUDING AGENT&LB CONNECTION STATUS)" indicates that display item "3" is address space status (including connection status between agent and LB), "4=LB" indicates that display item "4" is load balancer (Load Balancer, LB), and "5=WKL STATUS ON BOTH SITE" indicates that display item "5" is transaction routing status of both parties (for example, the first center and the second center).

[0085] Transaction routing (WORKLOAD) is used to control which site (for example, the first center or the second center) the transaction is sent to. That is, in the host active-active system, active-active switching can be performed by switching the transaction routing direction. The transaction routing status can include three types: stop status (deactivate), working status (activate), and quiet status (quiesce). Among them, the stop status means that the transaction routing destination site stops the execution of the current connection (that is, the current task) and does not receive new connections (that is, new tasks); the working status means that the transaction routing destination site executes the current connection normally and can receive new connections during the execution process (or after execution); the quiet status means that the transaction routing destination site does not receive new connections, but the current connection will be completed. When switching the transaction route, it can be done in the order of activate→quiesce→deactivate→activate. For example, in one embodiment, if a failure occurs in the first center 20a, the activate state of the transaction route of the first center 20a can be switched to the quiesce state so that the first center 20a can complete the currently processed connection; then the quiesce state is switched to the deactivate state; and finally, the second center 20b switches the transaction route with the same name from the deactivate state to the activate state.

[0086] In other embodiments, receiving a call instruction for a target operation and maintenance operation interface may also include: receiving a call instruction for a target operation and maintenance operation interface sent by a job calling program. In some embodiments, the job calling program may also be written based on the REXX language. The job calling program is mainly used to automatically issue call instructions to the main program of the operation and maintenance device in a timely manner, without the need for the user to select the operation and maintenance operation interface option, which can help to further improve the operation and maintenance timeliness of the host active-active system. Therefore, the job calling program is particularly suitable for batch job task scenarios. In some embodiments, the above-mentioned timeliness can be pre-specified as needed during programming. For example, in some embodiments, the above-mentioned timeliness can be scheduled (for example, at the end of each day, etc.).

[0087] In some embodiments, JCL job templates corresponding to various scheduling instructions can be pre-configured to form a JCL job template set accordingly; and a JCL job generation script can also be written in advance based on REXX language or COBOL language, etc.; when a call instruction is received, the JCL job generation script can be called according to the call instruction, so that the JCL job can be automatically generated.

[0088] It should be understood that the JCL jobs mentioned in the embodiments of this specification are only exemplary; the adapted computer languages ​​may be different for host active-active systems of different equipment manufacturers and / or different host models; therefore, in some other embodiments, any other computer language suitable for the host active-active system may be selected to write job tasks as needed.

[0089] In some embodiments, the JCL job generation script generates a JCL job in the following manner:

[0090] 1) From the JCL job template set, search for a JCL job template that matches the call instruction. Each JCL job template in the JCL job template set may correspond to a specific job item, and each specific job item has a unique command identifier (e.g. Figure 4b In the specific display items shown in , “1” to “5” correspond to five call instructions respectively); thus, the corresponding JCL job template can be matched from the JCL job template set through this correspondence.

[0091] 2) Modify the JCL job template according to the specified parameters in the calling instruction to obtain the corresponding JCL job.

[0092] Each JCL job template can provide the basic structure and content of the corresponding job task. Some values ​​that need to be replaced or changed can be left blank or given a default value of 0. When a JCL job template corresponding to a call instruction is matched, the specified parameters carried by the call instruction are filled in with the blank items in the template or directly replaced with the default values ​​in the template, thereby completing the steps of automatically generating a JCL job from a JCL job template.

[0093] In the embodiment of this specification, each JCL job template should contain three JCL basic statements:

[0094] (1) Job statement (JOB): identifies the start of a job and provides necessary operating parameters. That is, the JOB statement marks the start of a job, assigns a job name, and sets related positional parameters and keyword parameters. The first statement of each JCL job must be a JOB statement. In an exemplary embodiment, the format of the JOB statement can be as follows:

[0095] / / Job name JOB position parameters [, keyword parameters] [, keyword parameters] ... [comments]

[0096] (2) Execute statement (EXEC): Identifies the start of a job step and defines the program or process to be executed in this job step. That is, the EXEC statement marks the start of each job step in the JCL job and tells the system how to execute the job step. In an exemplary embodiment, the EXEC statement format can be as follows:

[0097] / / [Job step name] EXEC positional parameters [, keyword parameters] ... [symbol parameter = value] ... [comment]

[0098] (3) Data definition statement (DD): used to describe the data files required by the application. That is, the data definition statement is used to define a data set and the input and output resources required by the data set. In an exemplary embodiment, the format of the DD statement can be as follows:

[0099] / / [DD name]DD[positional parameters][, keyword parameters]…[comments]

[0100] In some embodiments, in the above JCL statements, positional parameters are parameters that maintain relative positions with other parameters. When calling a function, parameters can be passed according to the parameter positions defined in the function. Keyword parameters consist of a keyword and variable data after the equal sign. For some functions with multiple parameters, if you want to specify only one or some of the parameters, you can assign parameters to them through keyword parameters. If there are both positional parameters and keyword parameters in a statement, all keyword parameters must be located after the positional parameters.

[0101] In addition to the above JCL basic statements, the JCL job can also add other statements as needed. For example, in some embodiments, the JCL job can also add any one or more of the following six additional statements as needed:

[0102] 1) / * statement: indicates the end of the data in the stream or calls the JES control statement;

[0103] 2) / / * Statement: comment statement, write the comment content from the 4th to the 80th column;

[0104] 3) / / Statement: empty statement, used to mark the end of a job;

[0105] 4) PROC statement: the start marker of an in-stream procedure (IN-STREAM PROCEDURE) or a cataloged procedure (CATALOGED PROCEDURE).

[0106] 5) PEND statement: marks the end of a process within a stream.

[0107] 6) Command statement: The operator uses this statement to write the operation command in the input stream.

[0108] When a user needs to use the host operating system to complete a relatively complex job task (such as system upgrade, etc.), a job flow can be prepared, which includes one or more jobs and their dependencies, and can also include the expected return value of each job, etc. Therefore, in some embodiments, before submitting the JCL job to the host operating system for processing, the host active-active system operation and maintenance method also includes the following:

[0109] 1) Provide the JCL job to the scheduling tool for processing.

[0110] The scheduling tool is an automated scheduling tool that can integrate multiple JCL jobs into a JCL job stream (JobStream). The JCL job stream can be executed on a scheduled basis. When the JCL job stream runs, the jobs will be executed in a pre-set order. When a job returns an exception, the execution of the JCL job stream can be interrupted and the user can confirm. For example, in some embodiments, the TWS (Tivoli Workload Scheduler) scheduling tool provided by IBM can be used to integrate multiple JCL jobs into a JCL job stream. In this way, by using the scheduling tool, the JCL job stream can be automatically generated without the need for manual generation through input instructions.

[0111] 2) Receive the JCL job stream returned by the scheduling tool; the JCL job stream includes the JCL job.

[0112] Correspondingly, submitting the JCL job to the host operating system for processing may include: submitting the JCL job flow to the host operating system for processing.

[0113] In some embodiments, when the host operating system adopts the Z / OS operating system, submitting the JCL job to the host operating system for processing may refer to: submitting the JCL job to the JES2 (Job Entry Subsystem 2) subsystem and the SDSF (System Display and Search Facility) subsystem of the Z / OS operating system for processing. Among them, the JES2 subsystem is a bottom-level and most basic subsystem of the Z / OS operating system. It is mainly responsible for receiving jobs, parsing job content, controlling job execution, controlling job output, etc. The SDSF subsystem is also a relatively basic subsystem of the Z / OS operating system, which is mainly used to provide users with system information to help users monitor, manage and control the Z / OS operating system.

[0114] Combination Figure 5 As shown, in some embodiments, taking the case where the call instruction is initiated by the user end as an example, after the JCL job is submitted to the host operating system for processing, it can be processed by the JES2 / SDSF subsystem of the Z / OS operating system. It should be pointed out that since the SDSF subsystem can monitor, manage and control the JES2 subsystem, the two can be regarded as one subsystem for the operation and maintenance device; for the sake of ease of description, in the embodiments of this specification, the two are collectively referred to as the JES2 / SDSF subsystem. The JES2 / SDSF subsystem can parse the received JCL job into a JCL job command, and then send the JCL job command to the address space (such as the ADVISOR address space, etc.) for execution. After the JCL job command is processed in the address space, the return value will be automatically returned to the JES2 / SDSF subsystem. Among them, the return value can be used to describe the execution result of the JCL job.

[0115] Please continue to combine Figure 5 As shown, in some embodiments, obtaining the processing result of the JCL job from the host operating system may include: grabbing the return value of the JCL job from the SDSF subsystem of the JES2 / SDSF subsystem, and comparing the return value with the expected return value; and determining whether the return value meets the preset conditions based on the comparison result, so as to identify whether the execution is successful.

[0116] For example, in one embodiment, meeting the preset conditions may mean that: the return value is lower than the expected return value, that is, when the return value is lower than the expected return value, the JCL job can be considered to have been successfully executed. Correspondingly, when the return value does not meet the preset conditions, the JCL job can be considered to have failed to execute. Based on the identification of whether the return value meets the preset conditions, the processing result of the JCL job can be generated and returned to the corresponding user end for the output display of the user end. When the JCL job fails to execute, the JCL job automatically stops, waiting for confirmation by the operation and maintenance personnel. When the JCL job fails to execute, the returned processing result may also include failure cause information (such as xxx component abnormality and other information) to prompt the operation and maintenance personnel to deal with it.

[0117] Those skilled in the art can understand that for a JCL job flow, when each job in the JCL job flow is successfully executed, the entire JCL job flow is considered to be successfully executed. For example, in an exemplary embodiment, a JCL job flow includes JCL job 1, JCL job 2 and JCL job 3, a total of three JCL jobs, and the execution order is JCL job 1 → JCL job 2 → JCL job 3. If JCL job 1 is successfully executed, JCL job 2 is executed; if JCL job 2 is successfully executed, JCL job 3 is executed. When JCL job 3 is also successfully executed, it indicates that the JCL job flow is successfully executed.

[0118] Combination Figure 6 As shown, in other embodiments, in the scenario where the calling command is initiated by the job calling program, the processing logic of the JES2 / SDSF subsystem and the operation and maintenance device are basically the same. One of the main differences is that the operation and maintenance device main program returns the processing result of the JCL job to the job calling program so that the job calling program adds the processing result of the JCL job to the job processing result queue.

[0119] In some other embodiments, in the scenario where the call command is initiated by the job call program, the execution judgment of "comparing the return value with the expected return value and determining whether the return value meets the preset condition according to the comparison result" can also be implemented by the job call program. For example, in some embodiments, the job call program can call the scheduling tool to implement it. Therefore, this manual does not limit this, and the specific selection can be made according to needs.

[0120] Although the process flows described above include multiple operations that occur in a particular order, it should be clearly understood that the processes may include more or fewer operations, which may be performed sequentially or in parallel (eg, using parallel processors or a multi-threaded environment).

[0121] Corresponding to the above-mentioned host active-active system operation and maintenance method, this specification also provides a host active-active system operation and maintenance device, which can be configured on any suitable computer device. Figure 7 As shown, in some embodiments, the operation and maintenance device may include:

[0122] The receiving module 71 may be used to receive a call instruction for a target operation and maintenance operation interface;

[0123] A generating module 72, which can be used to call a JCL job generating script according to the calling instruction to generate a JCL job;

[0124] A submission module 73 may be used to submit the JCL job to a host operating system for processing;

[0125] The acquisition module 74 may be used to acquire the processing result of the JCL job from the host operating system.

[0126] In some device embodiments, the receiving module 71 receives a call instruction for a target operation and maintenance interface, which may include:

[0127] After providing a user interface including an operation and maintenance operation interface option to a user terminal, a selection operation of the user terminal for the operation and maintenance operation interface option is received.

[0128] In some other device embodiments, the receiving module 71 receives a call instruction for a target operation and maintenance interface, which may include:

[0129] Receive the call instruction for the target operation and maintenance operation interface sent by the job caller.

[0130] In some device embodiments, the JCL job generation script generates a JCL job in the following manner:

[0131] Querying a JCL job template matching the calling instruction from a preset JCL job template set;

[0132] The JCL job template is modified according to the specified parameters in the calling instruction to obtain a corresponding JCL job.

[0133] In some device embodiments, the operation and maintenance device may further include a job stream receiving module, which may be used to: provide the JCL job generated by the generation module to the scheduling tool for processing before the submission module submits the JCL job to the host operating system for processing; receive the JCL job stream returned by the scheduling tool; the JCL job stream includes the JCL job. Correspondingly, the submission module submitting the JCL job to the host operating system for processing may include: submitting the JCL job stream to the host operating system for processing.

[0134] In some device embodiments, the operation and maintenance interface options may include:

[0135] Status query interface represented by a single character;

[0136] A single character switch interface.

[0137] In some device embodiments, the obtaining module 74 obtains the processing result of the JCL job from the host operating system, which may include:

[0138] Capture the return value of the JCL job from the SDSF subsystem of the host operating system;

[0139] comparing the return value to an expected return value;

[0140] Determine whether the return value meets a preset condition according to the comparison result.

[0141] In some device embodiments, the operation and maintenance device may further include a return module, which may be used to: after the acquisition module obtains the processing result of the JCL job from the host operating system, return the processing result of the JCL job to the user terminal, so that the user terminal displays the processing result of the JCL job; or, after the acquisition module obtains the processing result of the JCL job from the host operating system, return the processing result of the JCL job to the job calling program, so that the job calling program adds the processing result of the JCL job to the job processing result queue.

[0142] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0143] The embodiments of this specification also provide a computer device. Figure 8As shown, in some embodiments of the present specification, the computer device 802 may include one or more processors 804, such as one or more central processing units (CPUs) or graphics processing units (GPUs), and each processing unit may implement one or more hardware threads. The computer device 802 may also include any memory 806, which is used to store any kind of information such as code, settings, data, etc. In a specific embodiment, the computer program on the memory 806 and can be run on the processor 804, when the computer program is run by the processor 804, can execute the instructions of the operation and maintenance method of the host dual-active system described in any of the above embodiments. Non-limiting, for example, the memory 806 may include any one or more combinations of the following: any type of RAM, any type of ROM, flash memory device, hard disk, optical disk, etc. More generally, any memory can use any technology to store information. Further, any memory can provide volatile or non-volatile retention of information. Further, any memory can represent a fixed or removable component of the computer device 802. In one case, when the processor 804 executes an associated instruction stored in any memory or a combination of memories, the computer device 802 can perform any operation of the associated instruction. The computer device 802 also includes one or more drive mechanisms 808 for interacting with any storage, such as a hard disk drive mechanism, an optical disk drive mechanism, etc.

[0144] The computer device 802 may also include an input / output interface 810 (I / O) for receiving various inputs (via input devices 812) and for providing various outputs (via output devices 814). A specific output mechanism may include a presentation device 816 and an associated graphical user interface 818 (GUI). In other embodiments, the input / output interface 810 (I / O), input device 812, and output device 814 may not be included, and the computer device 802 may be used as a computer device in a network. The computer device 802 may also include one or more network interfaces 820 for exchanging data with other devices via one or more communication links 822. One or more communication buses 824 couple the components described above together.

[0145] The communication link 822 may be implemented in any manner, for example, through a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. The communication link 822 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc. governed by any protocol or combination of protocols.

[0146] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products of some embodiments of the present specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processor to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processor generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0147] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processor to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0148] These computer program instructions can also be loaded onto a computer or other programmable data processor so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.

[0149] In a typical configuration, a computer device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0150] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0151] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computer device. As defined in this specification, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0152] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, the embodiments of this specification may take the form of complete hardware embodiments, complete software embodiments or embodiments combining software and hardware. Moreover, the embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0153] The present specification embodiments may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present specification embodiments may also be practiced in distributed computing environments where tasks are performed by remote processors connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0154] It should also be understood that in the embodiments of this specification, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0155] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. In the description of this specification, the description of the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of this specification. In this specification, the schematic representation of the above terms does not necessarily target the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, in the absence of contradiction, a person skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0156] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A host active-active system operation and maintenance method, characterized in that: The host active-active system includes a first center, a second center and an operation and maintenance device, wherein the first center and the second center are both used to provide services and generate data, and the first center and the second center are backed up for each other; the operation and maintenance device is used to perform operation and maintenance control on the first center and the second operation and maintenance center, and the method is applied to the operation and maintenance device, including: Receiving a call instruction for a target operation and maintenance operation interface, including receiving a selection operation of the user terminal for the operation and maintenance operation interface option after providing a user terminal with a user interface including operation and maintenance operation interface options, wherein the operation and maintenance operation interface includes information display, active-active switching, and system update, and the display items of the information display include display and inspection of transaction routes, inspection of transaction route status for the purpose of switching, address space status, load balancer, and transaction route status of the first center and the second center; Calling a job control language JCL job generation script according to the calling instruction to generate a JCL job; Submitting the JCL job to the host operating system for processing; The processing result of the JCL job is obtained from the host operating system.

2. The operation and maintenance method of the host active-active system according to claim 1, characterized in that: The receiving a call instruction for a target operation and maintenance operation interface includes: Receive the call instruction for the target operation and maintenance operation interface sent by the job caller.

3. The operation and maintenance method of the host active-active system according to claim 1, characterized in that: The JCL job generation script generates a JCL job in the following way: Querying a JCL job template matching the calling instruction from a preset JCL job template set; The JCL job template is modified according to the specified parameters in the calling instruction to obtain a corresponding JCL job.

4. The operation and maintenance method of the host active-active system according to claim 1, characterized in that: Before submitting the JCL job to the host operating system for processing, the following steps are also included: Providing the JCL job to a scheduling tool for processing; receiving a JCL job stream returned by the scheduling tool; the JCL job stream including the JCL job; Correspondingly, submitting the JCL job to the host operating system for processing includes: Submit the JCL job stream to the host operating system for processing.

5. The operation and maintenance method of the host active-active system according to claim 1, characterized in that: The operation and maintenance interface options include: Status query interface represented by a single character; A single character switch interface.

6. The operation and maintenance method of the host active-active system according to claim 1, characterized in that: The obtaining the processing result of the JCL job from the host operating system includes: Capture the return value of the JCL job from the SDSF subsystem of the host operating system; comparing the return value to an expected return value; Determine whether the return value meets a preset condition according to the comparison result.

7. The operation and maintenance method of the host active-active system according to claim 1, characterized in that: After obtaining the processing result of the JCL job from the host operating system, the method further includes: The processing result of the JCL job is returned to the user end so that the user end displays the processing result of the JCL job.

8. The operation and maintenance method of the host active-active system according to claim 2, characterized in that: After obtaining the processing result of the JCL job from the host operating system, the method further includes: The processing result of the JCL job is returned to the job calling program so that the job calling program adds the processing result of the JCL job to a job processing result queue.

9. An operation and maintenance device for a host active-active system, characterized in that: The host active-active system includes a first center, a second center and an operation and maintenance device, wherein the first center and the second center are used to provide services and generate data, and the first center and the second center back up each other; The operation and maintenance device is used to perform operation and maintenance control on the first center and the second operation and maintenance center. The method is applied to the operation and maintenance device, including: A receiving module, configured to receive a call instruction for a target operation and maintenance operation interface, including receiving a selection operation of the user terminal for the operation and maintenance operation interface option after providing a user terminal with a user interface including operation and maintenance operation interface options, wherein the operation and maintenance operation interface includes information display, active-active switching, and system update, and the display items of the information display include display and inspection of transaction routes, inspection of transaction route status for the purpose of switching, address space status, load balancer, and transaction route status of the first center and the second center; A generation module, used for calling a JCL job generation script according to the calling instruction to generate a JCL job; A submission module, used for submitting the JCL job to the host operating system for processing; The acquisition module is used to acquire the processing result of the JCL job from the host operating system.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory, characterized in that: When the computer program is executed by the processor, the computer program executes the instructions of the method according to any one of claims 1 to 8.

11. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor of a computer device, the computer program executes the instructions of the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Operation and maintenance operation control method, device and equipment and computer readable storage medium

    CN109740934A

  • Automatic operation and maintenance management method, device and equipment and readable storage medium

    CN110221949A