在一个节点上禁用和重新启用 ACM

使用 ACM 控制命令(acmctl)禁用和重新启用单个节点上的 ACM。

重要说明:

如在 "在所有节点上禁用 ACM"中所述,禁用 ACM 不会停止 ACM 服务,因为 ACM 服务在禁用 ACM 时仍在运行。

如果在当前活动节点上本地禁用了 ACM,则该节点将变为被动节点。 但是,那些仍在以前激活但现在被动(本地禁用)的节点上运行的 ACM 服务可能会尝试访问一些共享文件,而现在已激活的其他 Orchestrator 节点也在访问这些文件。

因此,在本地禁用活动节点时应小心谨慎。 在本地禁用 ACM 后,通过在活动节点上运行命令 aspera-orchestrator stop 来停止所有 Orchestrator 服务;这样可以避免上述潜在的访问冲突问题。

  1. 要只对一个节点禁用 ACM,请在该节点上运行 acmctl-d 选项:
    # /opt/aspera/acm/bin/acmctl -d
    ACM is disabled locally
  2. 要验证禁用节点的 ACM 状态,请在该节点上运行 acmctl –i 命令:
    # /opt/aspera/acm/bin/acmctl -i
    Checking current ACM status...
    Aspera Cluster Manager for orchestrator - status
    ------------------------------------------ Local hostname: 	haorchestrator1
    Active node: 	haorchestrator2 
    Status of this node: 	passive
    Status file: 	current Disabled globally: 	no
    Disabled on this node: 	yes
  3. 要在节点上重新启用 ACM,请在节点上运行带有 -e 选项的 acmctl 命令:
    # /opt/aspera/acm/bin/acmctl -e
    ACM is enabled locally