Si está seleccionada la opción Recuperación automática de operadores (opción predeterminada), no es necesario que el usuario inicie la recuperación. Cada orquestador del entorno detecta que el agente o el orquestador están activos y se lleva a cabo la recuperación. Cada orquestador ejecuta la recuperación en los puntos de contacto, grupos de host u orquestadores activados que estén asignados al agente o al orquestador en el entorno.
Si el agente está asignado a muchos puntos de contacto, los orquestadores ejecutan la recuperación en todos los puntos de contacto activados asignados al agente. Cuando se activa un agente o un orquestador, el orquestador del dominio transmite los cambios a los otros orquestadores. En una configuración agrupada en clúster, solamente el nodo máster ejecuta la recuperación.
Ejemplo: recuperación automática
Considere el siguiente escenario donde se asigna un agente a los siguientes puntos de contacto y grupos de host en un entorno:
Supongamos que todos los puntos de contacto y grupos de host están activados, pero solo se han configurado para la Recuperación automática de operadores los siguientes puntos de contacto y grupos de host:
Cuando el agente se activa, cada orquestador del entorno intenta ejecutar la recuperación automática en los tres puntos de contacto.
Supongamos que hay dos orquestadores en el entorno:
2010-06-28 19:22:59,984 DEBUG [com.optinuity.c2o.c2oserver.ServerManager] [aListenerThread] Checking whether to initiate Touchpoint/Orchestrator Recovery of 'System_Error' operators in 'Waiting' or 'Running' or 'Blocked' Processes (with auto recovery flag set), that ran against Agent/Server ID: f3492322-5517-4a21-8a19-92838ccb3f65
2011-03-28 19:22:59,984 INFO [com.optinuity.c2o.c2oserver.ServerManager] [aListenerThread] Initiating Touchpoint/Orchestrator: HG_user01-w500 Recovery... Recovering 'System_Error' Operators that ran against: HG_user01-w500 and belong to 'Waiting' or 'Running' or 'Blocked' Processes (with auto recovery flag set). 2011-03-28 19:22:59,984 DEBUG [com.optinuity.c2o.workflowengine.C2oWorkFlowEngine] [aListenerThread] recoverSystemErrorProcesses: Retrieve the processes (with enabled auto recovery flag) that are in 'Waiting' or ‘Running’ or 'Blocked' states and contain operators in 'System Error' when ran against: HG_user01-w500
2011-03-28 19:23:00,000 WARN [com.optinuity.c2o.workflowengine.C2oWorkFlowEngine] [aListenerThread] recoverSystemErrorProcesses: Retrieved - 0 processes to recover for HG_user01-w500 recovery. 2011-03-28 19:23:00,000 INFO [com.optinuity.c2o.c2oserver.ServerManager] [aListenerThread] Found no Processes to recover for Touchpoint/Orchestrator: HG_user01-w500 Recovery.
2011-03-28 19:23:00,000 INFO [com.optinuity.c2o.c2oserver.ServerManager] [aListenerThread] Initiating Touchpoint/Orchestrator: TP_user01-w500 Recovery... Recovering 'System_Error' Operators that ran against: TP_user01-w500 and belong to 'Waiting' or 'Running' or 'Blocked' Processes (with auto recovery flag set). 2011-03-28 19:23:00,000 DEBUG [com.optinuity.c2o.workflowengine.C2oWorkFlowEngine] [aListenerThread] recoverSystemErrorProcesses: Retrieve the processes (with enabled auto recovery flag) that are in 'Waiting' or ‘Running’ or 'Blocked' states and contain operators in 'System Error' when ran against: TP_user01-w500.
2011-03-28 19:23:00,015 WARN [com.optinuity.c2o.workflowengine.C2oWorkFlowEngine] [aListenerThread] recoverSystemErrorProcesses: Retrieved - 1 processes to recover for TP_user01-w500 recovery.
2011-03-28 19:23:00,015 WARN [com.optinuity.c2o.workflowengine.C2oWorkFlowEngine] [aListenerThread] recoverSystemErrorProcesses: Queueing recovery of process with ROID - 2889 for TP_user01-w500 recovery. 2011-03-28 19:23:00,015 DEBUG [com.optinuity.c2o.workflowengine.C2oWorkFlowEngine] [aListenerThread] recoverSystemErrorProcesses: Special Response for process recovery. ROID is 2889 UUID is 3fe95f08-a347-4d6d-a0a3-b3639836e130 2011-03-28 19:23:00,015 DEBUG [com.optinuity.c2o.workflowengine.C2oWorkFlowEngine] [aListenerThread] recoverSystemErrorProcesses: Special Response for process recovery was posted. ROID is 2889 UUID is 3fe95f08-a347-4d6d-a0a3-b3639836e130 2011-03-28 19:23:00,015 INFO [com.optinuity.c2o.c2oserver.ServerManager] [aListenerThread] Queued requests for Touchpoint: TP_user01-w500 Recovery... Recovering Processes with the following ROIDs: 2889
2011-03-28 19:23:00,015 DEBUG [com.optinuity.c2o.c2oserver.ServerManager] [aListenerThread] Touchpoint: TP_user01-w500_2 mapped to Agent: f3492322-5517-4a21-8a19-92838ccb3f65 is not set to Automatic Recovery of 'System_Error' operators in 'Waiting' or ‘Running’ or 'Blocked' Processes.
2011-03-28 19:23:00,015 INFO [com.optinuity.c2o.c2oserver.ServerManager] [aListenerThread] Initiating Touchpoint/Orchestrator: TP_user01-w500_3 Recovery. Recovering 'System_Error' Operators that ran against: TP_user01-w500_3 and belong to 'Waiting' or 'Running' or 'Blocked' Processes (with auto recovery flag set). 2011-03-28 19:23:00,015 DEBUG [com.optinuity.c2o.workflowengine.C2oWorkFlowEngine] [aListenerThread] recoverSystemErrorProcesses: Retrieve the processes (with enabled auto recovery flag) that are in 'Waiting' or ‘Running’ or 'Blocked' states and contain operators in 'System Error' when ran against:: TP_user01-w500_3
2011-03-28 19:23:00,015 WARN [com.optinuity.c2o.workflowengine.C2oWorkFlowEngine] [aListenerThread] recoverSystemErrorProcesses: Retrieved - 0 processes to recover for TP_user01-w500_3 recovery. 2011-03-28 19:23:00,031 INFO [com.optinuity.c2o.c2oserver.ServerManager] [aListenerThread] Found no Processes to recover for Touchpoint/Orchestrator: TP_user01-w500_3 Recovery.
2011-03-28 19:23:00,031 DEBUG [com.optinuity.c2o.c2oserver.ServerManager] [aListenerThread] Touchpoint: TP_manyAgents mapped to Agent: f3492322-5517-4a21-8a19-92838ccb3f65 is not set to Automatic Recovery of 'System_Error' operators in 'Waiting' or ‘Running’ or 'Blocked' Processes
2011-03-28 19:23:30,015 INFO [com.optinuity.c2o.workflowengine.FlowManagerCache] [onPool Worker-3] Registering flow manager: 2889 2011-03-28 19:23:30,015 INFO [com.optinuity.c2o.workflowengine.WorkflowManager] [onPool Worker-3] Handling Response: [$$TouchpointRecovery&&]. flow id is 2889 2011-03-28 19:23:30,171 INFO [com.optinuity.c2o.workflowengine.WorkflowManager] [onPool Worker-3] Start Recovery of Process with ROID:2889, for TP_user01-w500 Recovery.
2011-03-28 19:23:30,171 INFO [com.optinuity.c2o.workflowengine.WorkflowManager] [onPool Worker-3] Resetting System_Error Operators in Process with ROID: 2889 for TP_user01-w500 Recovery. 2011-03-28 19:23:30,203 INFO [com.optinuity.c2o.workflowengine.WorkflowManager] [onPool Worker-3] Resetting Operator with ROID: 2912 in Process with ROID: 2889 for TP_user01-w500 Recovery.
2011-03-28 19:23:30,343 INFO [com.optinuity.c2o.workflowengine.WorkflowManager] [onPool Worker-3] Resuming Process with ROID: 2889 for TP_user01-w500 Recovery. 2011-03-28 19:23:30,343 INFO [com.optinuity.c2o.workflowengine.WorkflowManager] [onPool Worker-3] Resuming WorkFlow - ROID is 2889 2011-03-28 19:23:30,703 INFO [com.optinuity.c2o.workflowengine.WorkflowManager] [onPool Worker-3] Done resuming Process with ROID: 2889 for TP_user01-w500 Recovery.
El proceso 2889 se completa correctamente. Como el proceso de recuperación se inició automáticamente, los registros del proceso indican que el motor fue el que inició la recuperación. Para la recuperación manual, los registros incluyen el nombre del usuario que inició la recuperación.
2011-03-28 19:23:41,444 INFO [com.optinuity.c2o.c2oserver.ServerManager] [aListenerThread] Initiating Touchpoint/Orchestrator: HG_user01-w500 Recovery. Recovering 'System_Error' Operators that ran against: HG_user01-w500 and belong to 'Waiting' or 'Running' or 'Blocked' Processes (with auto recovery flag set). 2011-03-28 19:23:41,444 WARN [com.optinuity.c2o.workflowengine.C2oWorkFlowEngine] [aListenerThread] recoverSystemErrorProcesses: Retrieved - 0 processes to recover for HG_user01-w500 recovery. 2011-03-28 19:23:41,444 INFO [com.optinuity.c2o.c2oserver.ServerManager] [aListenerThread] Found no Processes to recover for Touchpoint/Orchestrator: HG_user01-w500 Recovery... 2011-03-28 19:23:41,444 INFO [com.optinuity.c2o.c2oserver.ServerManager] [aListenerThread] Initiating Touchpoint/Orchestrator: TP_user01-w500 Recovery... Recovering 'System_Error' Operators that ran against: TP_user01-w500 and belong to 'Waiting' or 'Running' or 'Blocked' Processes (with auto recovery flag set). 2011-03-28 19:23:41,444 WARN [com.optinuity.c2o.workflowengine.C2oWorkFlowEngine] [aListenerThread] recoverSystemErrorProcesses: Retrieved - 0 processes to recover for TP_user01-w500 recovery. 2011-03-28 19:23:41,444 INFO [com.optinuity.c2o.c2oserver.ServerManager] [aListenerThread] Found no Processes to recover for Touchpoint/Orchestrator: TP_user01-w500 Recovery... 2011-03-28 19:23:41,444 INFO [com.optinuity.c2o.c2oserver.ServerManager] [aListenerThread] Initiating Touchpoint/Orchestrator: TP_user01-w500_3 Recovery... Recovering 'System_Error' Operators that ran against: TP_user01-w500_3 and belong to 'Waiting' or 'Running' or 'Blocked' Processes (with auto recovery flag set).
2011-03-28 19:23:41,444 WARN [com.optinuity.c2o.workflowengine.C2oWorkFlowEngine] [aListenerThread] recoverSystemErrorProcesses: Retrieved - 1 processes to recover for TP_user01-w500_3 recovery. 2011-03-28 19:23:41,444 WARN [com.optinuity.c2o.workflowengine.C2oWorkFlowEngine] [aListenerThread] recoverSystemErrorProcesses: Queueing recovery of process with ROID - 541 for TP_user01-w500_3 recovery. 2011-03-28 19:23:41,444 INFO [com.optinuity.c2o.c2oserver.ServerManager] [aListenerThread] Queued requests for Touchpoint: TP_user01-w500_3 Recovery... Recovering Processes with the following ROIDs: 541 2011-03-28 19:23:41,444 WARN [com.optinuity.c2o.workflowengine.C2oWorkFlowEngine] [aListenerThread] recoverSystemErrorProcesses: Retrieved - 1 processes to recover for TP_user01-w500_3 recovery. 2011-03-28 19:23:41,444 WARN [com.optinuity.c2o.workflowengine.C2oWorkFlowEngine] [aListenerThread] recoverSystemErrorProcesses: Queueing recovery of process with ROID - 541 for TP_user01-w500_3 recovery. 2011-03-28 19:23:41,444 INFO [com.optinuity.c2o.c2oserver.ServerManager] [aListenerThread] Queued requests for Touchpoint: TP_user01-w500_3 Recovery... Recovering Processes with the following ROIDs: 541
2011-03-28 19:24:11,461 INFO [com.optinuity.c2o.workflowengine.WorkflowManager] [nPool Worker-63] Handling Response: [$$TouchpointRecovery&&]. flow id is 541 2011-03-28 19:24:11,804 INFO [com.optinuity.c2o.workflowengine.WorkflowManager] [nPool Worker-63] Start Recovery of Process with ROID:541, for TP_user01-w500_3 Recovery. 2011-03-28 19:24:11,820 INFO [com.optinuity.c2o.workflowengine.WorkflowManager] [nPool Worker-63] Resetting System_Error Operators in Process with ROID: 541 for TP_user01-w500_3 Recovery. 2011-03-28 19:24:11,883 INFO [com.optinuity.c2o.workflowengine.WorkflowManager] [nPool Worker-63] Resetting Operator with ROID: 564 in Process with ROID: 541 for TP_user01-w500_3 Recovery. 2011-03-28 19:24:12,039 INFO [com.optinuity.c2o.workflowengine.C2OSvcIconInstanceRefObject] [nPool Worker-63] Inside Update ConnectorTraversed, Current/destination is Start_System_Process_1 Source is Start_1 2011-03-28 19:24:12,117 INFO [com.optinuity.c2o.workflowengine.WorkflowManager] [nPool Worker-63] Resuming Process with ROID: 541 for TP_user01-w500_3 Recovery. 2011-03-28 19:24:12,117 INFO [com.optinuity.c2o.workflowengine.WorkflowManager] [nPool Worker-63] Resuming WorkFlow - ROID is 541 2011-03-28 19:24:12,133 INFO [com.optinuity.c2o.workflowengine.C2OSvcIconInstanceRefObject] [nPool Worker-63] Inside Update ConnectorTraversed, Current/destination is Start_System_Process_1 Source is Start_1 2011-03-28 19:24:12,648 INFO [com.optinuity.c2o.workflowengine.WorkflowManager] [nPool Worker-63] Done resuming Process with ROID: 541 for TP_user01-w500_3 Recovery.
|
Copyright © 2013 CA.
Todos los derechos reservados.
|
|