- play_arrow Installation and Configuration Overview
- play_arrow Installation on a Physical Server
- play_arrow Installation in an OpenStack Environment
- Overview of NorthStar Controller Installation in an OpenStack Environment
- OpenStack Resources for NorthStar Controller Installation
- NorthStar Controller in an OpenStack Environment Pre-Installation Steps
- Installing the NorthStar Controller in Standalone Mode Using a HEAT Template
- Installing a NorthStar Cluster Using a HEAT Template
- play_arrow Configuring Topology Acquisition and Connectivity Between the NorthStar Controller and the Path Computation Clients
- play_arrow Accessing the User Interface
Collector Worker Installation Customization
When you install the NorthStar application, a default number of collector workers are installed on the NorthStar server, depending on the number of cores in the CPU. This is regulated in order to optimize server resources, but you can change the number by using a provided script. Each installed worker starts a number of celery processes equal to the number of cores in the CPU plus one.
Table 1 describes the default number of workers installed according to the number of cores in the CPU.
CPU Cores | Worker Groups Installed | Total Worker Processes | Minimum RAM Required |
---|---|---|---|
1-4 | 4 | 8-20 (CPUs +1) x 4 = 20 | 1 GB |
5-8 | 2 | 12-18 (CPUs +1) x 2 = 18 | 1 GB |
16 | 1 | 17 (CPUs +1) x 1 = 17 | 1 GB |
32 | 1 | 33 (CPUs +1) x 1 = 33 | 2 GB |
Use the config_celery_workers.sh script to change the number of worker groups installed (post-initial installation). You might want to make a change if, for example:
You upgrade your hardware with additional CPU cores and you want to increase the worker groups based on the new total number of cores.
You want to manually determine the number of workers to be started rather than using the automatically-applied formula.
NorthStar Controller System Requirements provides some guidance about memory requirements for various server uses and sizes.
You can also use the config_celery_workers.sh script to change the number of slave workers installed on a slave collector server. See Secondary Collector Installation for Distributed Data Collection for more information about distributed data collection.
To change the number of worker groups installed, launch the config_celery_workers.sh script:
/opt/northstar/snmp-collector/scripts/config_celery_workers.sh <option>
The available options are:
-c
This option automatically determines the number of cores and calculates the number of worker groups to add accordingly, per the formulas in Table 1.
For example:
content_copy zoom_out_map/opt/northstar/snmp-collector/scripts/config_celery_workers.sh -c
-w worker-groups
This option adds the specified number of worker groups. The following example starts six worker groups:
content_copy zoom_out_map/opt/northstar/snmp-collector/scripts/config_celery_workers.sh -w 6