Stats Collector Configuration
乐队>软件和设置> Setup > Stats Collector Configuration
管弦乐队collects statistical data from your appliances to monitor performance, network traffic, and appliance status. Before Orchestrator release 9.1.0, the process of collecting, storing, and retrieving this data impacted performance due to the amount of data stored on and requested from the database.
To improve Orchestrator performance, Orchestrator 9.1.0 includes a new Stats Collector feature that eliminates the use of Orchestrator resources for monitoring your appliances. This new architecture enables you to scale your network with greater performance.
新的Stats Collector功能从设备收集统计信息,并向编排提供信息。启用后,新的统计收集器与传统统计数据集合者并行运行,以收集必要的历史统计数据。收集该数据后,您可以停止旧数据集合。除非您停止遗产统计数据收集,否则您不会体验性能改善。
Prerequisites
Upgrade all appliances to version 9.1.0 before enabling the new Stats Collector feature.
每150个设备创建至少一个远程统计收集器。如果您的设备少于150个电器,则可以使用预定义的本地统计收集器。每个远程统计收集器必须满足以下最低要求:
CPU:4 GHz
RAM: 16 GB
Before You Begin
在配置编目中的新统计收集器功能之前,您必须:
Create and authenticate as many remote stats collectors as needed.
Create a Remote Stats Collector
要创建一个远程统计收集器,请使用命令行接口(CLI)仅在统计收集器模式下在虚拟机(VM)上运行编排器,如下所示。
向要用作远程统计收集器的编目打开SSH会话。
登录为admin或具有管理特权的用户。
Switch to root:
su - root提示时,输入root密码。如果您不知道自己的根密码,请联系支持。
Change to the gms directory:
cd gmsEnter
或者ch-setup, and then pressEnter。Enter
-m, and then pressEnter。Enter the root password, and then pressEnter。
在提示下,输入
s。To proceed, enter
y。该VM现在是远程统计收集器。注意DNS名称。当您在编排器中配置远程统计收集器时,您将需要DNS名称。
Authenticate the Remote Stats Collector
After you create a remote stats collector, authenticate it by copying the Orchestrator public key and pasting it into the same folder on the new remote stats collector, as follows.
向编排者打开SSH会话。
登录为admin或具有管理特权的用户。
去:
CD/HOME/GMS/SC/publickeys要列出公钥,请输入
LS, and then pressEnter。复制公钥。
Open an SSH session to the remote stats collector.
登录为admin或具有管理特权的用户。
去:
CD/HOME/GMS/SC/publickeysPaste the public key, and then pressEnter。
Configure the New Stats Collector Feature
After the remote stats collectors are created and authenticated, configure the new Stats Collector feature in Orchestrator. Complete the following tasks:
备份编排者。有关备份编排者的更多信息,请参阅备份。
在启用新的统计收集器功能并停止旧数据集合之前,建议您备份编目数据库。中止遗产统计收集是永久的。要返回以前的配置,您必须还原编目配置备份。
Add Remote Stats Collectors。You need at least one remote stats collector for every 150 appliances. If your network contains less than 150 appliances, you can use the predefined local stats collector.
与远程统计收集器的关联设备或者Associate Appliances with the Predefined Local Stats Collector
When the necessary historical data has been collected,Discontinue Legacy Stats Collection。
Add Remote Stats Collectors
您必须为网络中的每150个设备添加至少一个远程统计收集器。
To add a remote stats collector:
导航Software & Setup > Setup > Stats Collector Configuration。
统计收集器配置选项卡打开。
Click编辑远程统计收集器。
The Edit Stats Collectors dialog box opens.
ClickAdd Remote Stats Collector。
新的统计收集器对话框打开。
根据需要配置以下元素:
Field Description Name Name of the remote stats collector. DNS Name DNS name you noted when you created this remote stats collector. Port 端口号远程统计收集器正在运行。 协议 HTTPS Click节省。
删除远程统计收集器
要删除现有的远程统计收集器,请单击删除图标(X)在表格中的最后一列中。
与远程统计收集器的关联设备
将电器与远程统计收集器相关联:
导航Software & Setup > Setup > Stats Collector Configuration。
统计收集器配置选项卡打开。
In the Orchestrator appliance tree, select one or more appliances to associate with a specific remote stats collector. You can associate up to 150 appliances with each remote stats collector.
WARNING:The statistics for an appliance are tied to the remote stats collector it is associated with. If you associate an appliance with a different remote stats collector, you lose all statistical data associated with that appliance.
Select theAdd复选框您要将所选设备与之关联的远程统计收集器旁边。
ClickApply。
The Apply Changes dialog box opens.
ClickApply Changes。
Associate Appliances with the Predefined Local Stats Collector
如果您正在安装编目版本9.1.0或升级到版本9.1.0或更高版本,则编排器提供默认统计数据收集器当地的。您不能编辑或删除本地统计收集器。您可以将多达150个设备与本地统计收集器相关联。
NOTE:如果您要升级到编排器9.1.0,则所有设备将自动与本地统计收集器相关联。
NOTE:如果您仅在编排模式下运行编排器(或者ch-setup -m o),本地统计收集器将被断开连接。
To associate appliances with the local stats collector:
导航Software & Setup > Setup > Stats Collector Configuration。
统计收集器配置选项卡打开。This tab displays the stats collector configuration for all appliances selected in the appliance tree to the left.
In the Orchestrator appliance tree, select one or more appliances to associate with the local stats collector.
Select theAddcheck box next to the local stats collector.
ClickApply。
选定的设备与本地统计收集器相关联。更改列指示添加和删除的统计收集器。
Enable the New Stats Collector
After you associate appliances with either the local stats collector or new remote stats collectors, you must enable the new Stats Collector feature to begin collecting data.
NOTE:遗留数据收集器继续收集圣atistics in parallel with the new Stats Collector feature until you discontinue legacy stats collection. For more information, seeDiscontinue Legacy Stats Collection。
WARNING:You cannot disable the new Stats Collector after you enable it. It is recommended that you back up Orchestrator before you enable the new Stats Collector. For more information about backing up Orchestrator, see备份。
To enable the new Stats Collector:
导航Software & Setup > Setup > Stats Collector Configuration。
统计收集器配置选项卡打开。
ClickEnable New Stats Collection。
The Enable New Stats Collection dialog box opens.
Before you can enable the new Stats Collector feature, you must upgrade all appliances to version 9.1.0. The Enable New Stats Collection dialog box lists appliances that must be upgraded to support the new stats collection.
ClickEnable New Stats Collection Now。
Discontinue Legacy Stats Collection
WARNING:Do not discontinue legacy stats collection until you have collected sufficient historical data with the new Stats Collector feature. For example, if you need 30 days of statistical data, enable the new Stats Collector, wait 30 days, and then disable the legacy stats collection.
To discontinue legacy stats collection:
导航Software & Setup > Setup > Stats Collector Configuration。
统计收集器配置选项卡打开。
ClickDiscontinue Legacy Stats Collection。
The Discontinue Legacy Stats Collection dialog box opens.
WARNING:This step permanently disables legacy stats collection and deletes all legacy statistics.
ClickDiscontinue Legacy Stats Collection。