PowerScale : SyncIQ affiche l’état « Nécessite une attention particulière »
Summary: Cet article de la base de connaissances explique les raisons pour lesquelles une règle SyncIQ peut afficher l’état « Nécessite une attention particulière » et fournit les étapes à suivre pour identifier et résoudre le problème. ...
Instructions
En cas d’échec d’une règle SyncIQ, un rapport est consigné avec le motif de l’échec. Une fois la tâche en échec terminée, l’état de la règle SyncIQ est le suivant : needs_attention État:
SIQ1-1# isi sync reports list
Policy Name Job ID Start Time End Time Action State
--------------------------------------------------------------------------------------------------------
Sync_Test1 2 2022-12-15T19:37:50 2022-12-15T19:39:54 run finished
Sync_Test3 2 2022-12-15T19:29:50 2022-12-15T19:31:39 run finished
Sync_Test2 1 2022-12-15T19:04:22 2022-12-15T19:06:20 run finished
test 1 2022-12-12T17:07:56 2022-12-12T17:12:53 run needs_attention
--------------------------------------------------------------------------------------------------------
Total: 4
Cela est normal. La commande needs_attention L’état indique qu’une tâche précédente a échoué et peut nécessiter une révision et une investigation.
Pour déterminer la cause de l’échec, identifiez l’ID de tâche dans needs_attention en examinant les rapports de stratégie concernés.
Dans l’exemple ci-dessous, le test de règle SyncIQ montre : Job ID 1 Comme state=needs_attention.
SIQ1-1# isi sync reports list --policy-name=test --state=needs_attention
Policy Name Job ID Start Time End Time Action State
-----------------------------------------------------------------------------------------------------------
test 1 2022-12-12T17:07:56 2022-12-12T17:12:53 run needs_attention
-----------------------------------------------------------------------------------------------------------
Total: 1
Une fois l’ID de tâche identifié, affichez le rapport pour trouver les sous-rapports consignés sous l’ID de tâche principal qui est répertorié à la fin de la sortie.
SIQ1-1# isi sync reports view --policy=test --job-id=1
Policy Name: test
Job ID: 1
Start Time: 2022-12-12T17:07:56
End Time: 2022-12-12T17:12:53
Action: run
State: needs_attention
ID: 1-test
Policy ID: f3b3c720a82ecc7ac700d6ad0f0de923
Sync Type: initial
Duration: 17s
Errors: (policy name: test target: 10.237.0.122) SyncIQ policy failed to establish an encrypted connection with target. Attempting to run an unencrypted sync while the global required flag is set., (policy name: test target: 10.237.0.122) SyncIQ detected a problem with policy configuration. Job has no valid root path: No such file or directory
Encrypted: No
Phases
Phase: STF_PHASE_TW
Start Time: 2022-12-12T17:12:41
End Time: 2022-12-12T17:12:48
Subreports:
Policy Name Job ID Subreport ID Start Time End Time Action State
------------------------------------------------------------------------------------------------------------------------
test 1 1 2022-12-12T17:07:56 2022-12-12T17:07:57 run failed
test 1 2 2022-12-12T17:09:28 2022-12-12T17:09:29 run failed
test 1 3 2022-12-12T17:12:38 2022-12-12T17:12:53 run finished
------------------------------------------------------------------------------------------------------------------------
Total: 3
Chaque sous-rapport a une heure de début et une heure de fin, y compris le sous-rapport où la tâche a pu se terminer avec succès.
Une fois que la liste des sous-rapports pour la tâche défaillante est disponible, spécifiez le sous-rapport à afficher pour identifier la raison de l’échec.
Exemple:
SIQ1-1# isi sync reports subreports view --policy=test --job-id=1 --subreport-id=1
Policy Name: test
Job ID: 1
Subreport ID: 1
Start Time: 2022-12-12T17:07:56
End Time: 2022-12-12T17:07:57
Action: run
State: failed
Policy ID: f3b3c720a82ecc7ac700d6ad0f0de923
Sync Type: invalid
Duration: 1s
Errors: (policy name: test target: 10.237.0.122) SyncIQ detected a problem with policy configuration. Job has no valid root path: No such file or directory
SIQ1-1# isi sync reports subreports view --policy=test --job-id=1 --subreport-id=2
Policy Name: test
Job ID: 1
Subreport ID: 2
Start Time: 2022-12-12T17:09:28
End Time: 2022-12-12T17:09:29
Action: run
State: failed
Policy ID: f3b3c720a82ecc7ac700d6ad0f0de923
Sync Type: invalid
Duration: 1s
Errors: (policy name: test target: 10.237.0.122) SyncIQ policy failed to establish an encrypted connection with target. Attempting to run an unencrypted sync while the global required flag is set.
Si le problème initial a été résolu, mais que la tâche SyncIQ continue d’échouer, chaque sous-rapport contiendra des raisons différentes de l’échec. Il est recommandé d’afficher le dernier sous-rapport de la panne récente avant de la réussir.
Lorsque la règle SyncIQ s’exécute de nouveau et se termine sans échec, l’état passe de needs_attention to Finished. Si les défaillances persistent, elles doivent être examinées afin de déterminer l’action corrective appropriée.