跳转到主内容

如何在BlueXP复制和同步中更改扫描程序和传输器的过程和并发限制

Views:
22
Visibility:
Public
Votes:
1
Category:
cloud-sync
Specialty:
nas
Last Updated:

适用场景

Cloud Sync

问题解答

  • 扫描程序 / 传输过程并发性可以通过 Cloud Manager UI 或数据代理命令行进行更改。 
    • 使用 Cloud Manager UI :
      • 在 Cloud Manager 同步页面上,单击 " 管理数据代理 " 选项卡

Cloud Manager同步

  • 单击数据代理组旁边的设置图标

Cloud Manager同步

  • 设置进程和并发限制,然后单击 " 统一配置 "

Cloud Manager同步

  • 使用 Data Broker CLI :
    • 下面介绍了如何将每个传输程序进程中正在处理的并发文件数更改为 30 个(默认值为 50 个)。
      • 因此,数据代理总共将在一个 4 核 CloudSync 实例上处理 120 个文件(每个核心 30 个):
  • 通过 SSH 访问代理并执行以下操作(sudo 可能需要执行命令):

> pm2 stop all

> vi /opt/netapp/databroker/config/local.json


{
  "workers": {
    "scanner": {
      "concurrency": <int>,
      "processes-limit": <int>
     },
    "transferrer": {
      "concurrency": <int>,
      "processes-limit": <int>
     }
   }
}


:wq!

> pm2 start all 

追加信息

  • 请记住,您设置的并发性是每个核心的。因此,如果它有 4 个核心并设置为 30 ,则会同时处理 120 个文件。 
  • 请注意,此操作需要按照完成 数据代理

 

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.