Prior to instantiating the SBC SWe Cloud on OpenStack, you must create the types of OpenStack flavors your SBC instances require. Flavors define the amount of RAM and disk space and the number of cores to allocate to a particular instance when it is deployed. Refer to the OpenStack Requirements page for a list of the specific requirements for different types of SBC instances.
You can add the required flavors to your OpenStack system using the Horizon dashboard GUI screens when logged in as an administrator. Note that the SBC does not have requirements for ephemeral disk/swap disk space or an RX/TX factor; these parameters can be left at their default values. Refer to OpenStack documentation or the documentation provided by your OpenStack vendor for more information.
You also have the option to create flavors using the OpenStack CLI. Refer to the VNF Performance Tuning page for an example of CLI commands, including additional parameters added to enhance performance.
During orchestration of your deployment you must specify the flavor into which you want to deploy your SBC instances. This can be done through the Heat template, environment file, or GUI if you deploy using Heat templates. If you deploy using VNFM, an appropriate flavor type for the deployment is selected by minimum requirements set within the VNFD file.
Note |
---|
|
To create an OpenStack flavor:
...
Create an OpenStack flavor that suits your needs using the Dashboard GUI.
...
Caption | ||||||
---|---|---|---|---|---|---|
| ||||||
...
On the navigation pane, click Admin > Flavors. Click Create Flavor to define a new flavor.
Caption | ||||||
---|---|---|---|---|---|---|
| ||||||
...
By default, the RX/TX Factor is 1. Change the value if necessary.
Click Create Flavor to create the flavor.
Caption | ||||||
---|---|---|---|---|---|---|
| ||||||
...
After the flavor is created with specified configuration, the following screen is displayed:
Caption | ||||||
---|---|---|---|---|---|---|
| ||||||
Execute the following steps for creating D-SBC flavors:
...
Log on to OpenStack CLI as admin
user and execute the following command to enable CPU Pinning for Signaling-SBC:
Code Block |
---|
nova flavor-create S-SBC-PT auto 61404 80 20
nova flavor-key S-SBC-PT set hw:mem_page_size=2048
nova flavor-key S-SBC-PT set hw:numa_nodes=2
nova flavor-key S-SBC-PT set hw:numa_cpus.0=0-9 hw:numa_mem.0=30702
nova flavor-key S-SBC-PT set hw:numa_cpus.1=10-19 hw:numa_mem.1=30702
nova flavor-key S-SBC-PT set hw:cpu_policy=dedicated hw:cpu_thread_policy=isolate
nova flavor-key S-SBC-PT set hw:cpu-socket=2 hw:cpu_cores=10 hw:cpu_threads=1 hw:cpu_max_sockets=2 hw:cpu_max_cores=10 hw:cpu_max_threads=1 |
Log on to OpenStack CLI as admin
user and execute the following command to enable CPU Pinning for Media-SBC:
...
Pagebreak |
---|