Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

SyncIQ 镜像策略失败并显示错误“Failed to get domain (unrunnable)”[无法获取域(无法运行)]

Summary: SyncIQ 镜像策略失败并显示错误“Failed to get domain (unrunnable)”[无法获取域(无法运行)]

This article applies to   This article does not apply to 

Symptoms

上述错误通常是修复先前错误的结果:"Target path overlap. Previous policy XXXXX  from xxxxxxx has path YYYYYYYY. New policy ZZZZZ from zzzzzzz has path YYYYYYYY (unrunnable)"

Cause

在源群集上,源路径是来自较旧群集的先前策略的目标,“例如,因为迁移的原因”
来自较旧群集的旧策略仍在源群集上具有目标记录,“包括路径上的旧域 ID”

在新目标群集上创建镜像策略时,它利用旧策略记录中的相同域 ID,但稍后在镜像策略运行时,它会报告存在来自旧群集的旧目标记录。
 
"Target path overlap. Previous policy XXXXX  from xxxxxxx has path YYYYYYYY. New policy ZZZZZ from zzzzzzz has path YYYYYYYY (unrunnable)"
 
当管理员/支持人员尝试修复此错误时,会中断源群集上旧策略 XXXXX 的关联,这将导致删除镜像策略所依赖的域 ID,从而导致此后的新镜像策略 ZZZZZ 失败。

以下是用于演示的实验中的模拟:
 
  • 在 new_source_cluster 路径上,/ifs/target 是来自 older_cluster 的目标,并且具有域 ID 65537  
new_source_cluster-1# isi sync target list| grep -w /ifs/target
old_policy             old_cluster          /ifs/target     finished        writes_disabled

new_source_cluster-1# isi_classic domain list -wl | grep -w /ifs/target
65537 | /ifs/target     | SyncIQ | None          | None      | None      | None      | None   | Off
 
  • 新创建从 new_source_cluster 到 new_target_cluster 的策略“new_policy”
  • new_policy_mirror”被创建并报告目标重叠 
new_target_cluster-1# isi sync reports list -v
                  Policy Name: new_policy_mirror
                       Job ID: 1
                   Start Time: 2021-05-30T08:27:01
                     End Time: 2021-05-30T08:27:03
                       Action: run
                        State: failed
                           ID: 1-new_policy_mirror
                    Policy ID: 005056aa8bf93a4cb360d71298fdf618
                    Sync Type: incremental
                     Duration: 2s
                       Errors: Target path overlap. Previous policy old_policy from old_cluster has path /ifs/target. New policy new_policy_mirror from new_target_cluster has path /ifs/target (unrunnable)

 
  • new_policy_mirror 使用与 old_policy 相同的域 ID 65537 
new_source_cluster-1# cat /ifs/.ifsvar/modules/tsm/config/target_records/005056aa8bf93a4cb360d71298fdf618.xml | grep domain-id
    65537
 
  • 管理员/支持人员中断 new_source_cluster 上的 old_policy,导致删除域 ID 65537
new_source_cluster-1# isi sync target break --policy=old_policy
Breaking a policy's target association will result in requiring a full synchronization of all data on the next sync.
Are you sure? (yes/[no]): yes

new_source_cluster-1# isi_classic domain list -wl | grep -w /ifs/target
new_source_cluster-1#
 
  • 因此,镜像策略的下一次运行将失败,因为域 ID 65537 已删除
new_target_cluster-1# isi sync reports list -v
                  Policy Name: new_policy_mirror
                       Job ID: 1
                   Start Time: 2021-05-30T08:27:01
                     End Time: 2021-05-30T08:31:03
                       Action: run
                        State: failed
                           ID: 1-new_policy_mirror
                    Policy ID: 005056aa8bf93a4cb360d71298fdf618
                    Sync Type: incremental
                     Duration: 3s
                       Errors: Failed to get domain info for domain id 65537: No such file or directory (unrunnable)

Resolution

修复方法是使用作业引擎手动创建新的域 ID,等待 DomainMark 作业完成,然后使用新的域 ID 更新目标 XML 记录,最后恢复镜像策略至成功。

提醒:请联系支持人员以帮助更新目标 XML 记录
 
new_source_cluster-1# isi job jobs start DomainMark --root=/ifs/target --dm-type=SyncIQ -o Medium
Started job [64]

new_source_cluster-1# isi_classic domain list -wl | grep -w /ifs/target
65538 | /ifs/target     | SyncIQ,Writable | None   | None   | None   | None   | None  | Off

new_source_cluster-1# cat /ifs/.ifsvar/modules/tsm/config/target_records/005056aa8bf93a4cb360d71298fdf618.xml | grep domain-id
    65538

new_target_cluster-1# isi sync reports list
Policy Name           Job ID  Start Time          End Time            Action  State
---------------------------------------------------------------------------------------------
new_policy_mirror 1       2021-05-30T08:27:01 2021-05-30T08:34:59 run     needs_attention
---------------------------------------------------------------------------------------------
Total: 1

Affected Products

Isilon, PowerScale OneFS
Article Properties
Article Number: 000187638
Article Type: Solution
Last Modified: 04 Feb 2022
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.