1 About This Document
This document describes vMRF deployment on an OpenStack cloud service.
The following user roles are distinguished in this document:
| End User |
The end user is the vMRF operator and deployment responsible, who is assumed to be a cloud service consumer on an OpenStack cloud service. The end user is also referred to as a tenant. |
|
| Cloud Administrator |
The cloud administrator is the cloud service provider who delivers the cloud service to the end user. The cloud administrator must fulfill certain prerequisites before the end user can start deploying vMRF. |
|
2 vMRF Deployment Principles for OpenStack
If the hardware and software requirements are met, and after the needed configurations in OpenStack are done, vMRF is instantiated using the OpenStack Heat orchestration engine.
vMRF can contain one or more Virtual Network Functions (VNF), for example, one or more Virtual Multimedia Resource Functions (vMRF). Once the vMRF image is onboarded, any number of vMRF VNFs can be instantiated by performing the same single action in the OpenStack Heat component.
A single VNF contains multiple Virtual Machines (VMs). See Figure 1 for an example overview of vMRF deployment with two vMRF VNFs.
3 vMRF Deployment Process for OpenStack
The vMRF deployment process consists of preparations and basic configuration of the cloud environment, and the actual instantiation of one or more vMRF VNF instances.
-
Prepare the cloud environment to run vMRF
This set of steps is done by the cloud administrator.
-
Prepare and configure cloud hardware and software
This step involves checking that the necessary hardware exists, and making hardware-related configuration in OpenStack, in the hypervisor, and in the host Operating System so that the requirements listed in Prerequisites for vMRF Deployment are fulfilled.
-
Create a flavor
Flavors in OpenStack are virtual resource templates that define RAM size, disk size, number of CPU cores, and so on, for running VNFs. For vMRF, a flavor must be used or created that has at least the minimum requirements.
-
Configure Heat stack domain users
Heat stack domain user configuration is needed for the vMRF instantiation by Heat. Depending on the OpenStack provider, it is possible that the Heat stack domain user configuration does not exist by default.
-
Create the network topology
This step involves ensuring that the required networks to which the VNF connects are in place.
-
-
Deploy and check vMRF
This set of steps is done by the end user.
-
Set up command-line access and security
This step involves configuring the security group for the project and setting up access to the Heat command-line client and to the vMRF VNF instance.
-
Download and extract the vMRF software delivery package
The vMRF software delivery package contains the Virtual Machine Disk (VMDK) image file and the Heat Orchestration Template (HOT) files. The vMRF software delivery package must be extracted to a place where the files can be accessed from OpenStack.
-
Upload the vMRF image
The extracted VMDK image file must be uploaded using OpenStack Glance.
-
Prepare Deployment Parameters
The correct values of the deployment HOT template parameters must be specified in the example_environment.yaml file provided in the vMRF software delivery package.
-
Instantiate and Check vMRF with One VM
The vMRF instantiation is done by creating a stack in OpenStack Heat. This step is repeated for each VNF instance that needs to be created.
During instantiation, initial configuration data can also be imported into the VNF. This makes it possible for the VNF to have all necessary configuration for processing traffic right after being created.
Note: If initial configuration data is not imported during instantiation, it must be performed after deployment. This is also recommended when deploying the VNF for the first time. For more information, refer to the Initial Configuration Guide.
-
Check vMRF status
It is recommended to run a status check on the newly deployed vMRF.
-
Scale Out to Full VNF Size
After the VNF is verified with one VM, you can scale out to the full size of the VNF by updating the vMRF stack.
-
4 Prerequisites for vMRF Deployment
Before the end user can deploy and use vMRF, the cloud administrator must ensure that the environment fulfills hardware, software, and network requirements. The main requirements are listed in vMRF Infrastructure Requirements.
4.1 Download and Extract vMRF Software Delivery Package
Before the deployment, the end user must download and extract the vMRF software delivery package. Both the end user and the cloud administrator must have access to the proper example files in the package.
Steps
5 vMRF Deployment Preparations for the Cloud Administrator
The procedures for vMRF deployment preparation must be performed by the cloud administrator to prepare the cloud environment for running vMRF. The procedures described in this section serve as examples only to demonstrate how to fulfill the vMRF requirements.
5.1 Prepare and Configure Cloud Hardware and Software
Preparation for vMRF deployment starts by checking that the necessary hardware exists, and making hardware-related configurations in OpenStack, in the hypervisor, and in the host Operating System.
5.1.1 Define an Availability Zone for vMRF
This procedure must be performed to fulfill the requirement that an vMRF compute host must only run vMRF VMs. The requirement means that other VMs are not allowed to execute on the same physical CPUs as vMRF VMs to ensure that quality of service expectations are met.
This procedure describes how to define an availability zone for vMRF in OpenStack. The created vMRF availability zone is input for the vMRF deployment, as the deployment file contains a corresponding parameter. The procedure uses an example scenario of creating a host aggregate with an availability zone for vMRF, called MRSv-zone, and adding two hosts to it, called node-1 and node-2. The aggregate also gets metadata so that the aggregate can be bound to the vMRF flavor as described in Create Flavor.
The procedure uses the OpenStack Nova command-line client. For information on managing host aggregates in the OpenStack dashboard, refer to the OpenStack Admin User Guide.
Do the following:
Steps
5.1.2 Configure CPU Core Isolation for the vMRF Compute Hosts
Configure core isolation so that host OS processes are excluded from those cores that are used by vMRF. This is required to ensure good and predictable performance.
Steps
Do the following on each node added to the MRSv host aggregate:
5.1.3 Configure CPU Settings for the vMRF Compute Hosts
This procedure describes how to configure CPU settings for vMRF that ensure the best possible computing environment for media stream processing.
Prerequisites:
-
The OpenStack environment contains software with the following or newer versions:
-
QEMU emulator version 2.2.0
-
libvirtd (libvirt) 1.2.12
-
Do the following on each node added to the MRSv host aggregate:
5.1.4 Configure CPU Frequency Scaling for the vMRF Compute Hosts
This procedure describes how to configure the CPU frequency scaling governor on compute hosts for higher performance. It is recommended to use the setting below for about 20–30% additional capacity for transcoding.
Do the following on each node added to the MRSv host aggregate:
Steps
5.1.5 Configure NTP Servers
5.1.6 Configure Project and Users
This procedure describes how to create a new project for vMRF and how to add members. The procedure uses the OpenStack dashboard.
Steps
Do the following:
- In the Identity tab, create a new project and add the member users.
- Select Identity > Projects > Manage Members for the new project.
- In the Project Members list, add the admin user to the list, and add the admin role for the admin user.
- Inform the end user of the name of the new project.
5.2 Create Flavor
This procedure describes how to create a flavor, that is, a virtual hardware template, used for vMRF VMs. The procedure describes how to use the OpenStack Nova command-line client to create a minimum size flavor for vMRF based on the minimum system requirements.
Flavors can also be created using the OpenStack dashboard, as described in the OpenStack Admin User Guide.
| Note: |
To deploy without hyperthreading using the hw:cpu_thread_policy parameter, as described in Step 5, OpenStack Mitaka or newer version is required. |
Steps
5.3 Configure Heat Stack Domain Users
Depending on the OpenStack provider, it is possible that the Heat stack domain user configuration does not exist by default. This procedure describes how to check and set the Heat stack domain user configuration.
Do the following:
Steps
5.4 Create Network Topology
The vMRF VNF instance connects to networks. The networks in Table 1 must be created already before the VNF instance can be deployed, since the HOT template uses them as input parameters.
|
Network Type |
|---|
|
H.248 signaling towards SGCs |
|
User plane towards media networks |
|
Network reserved for future use |
Steps
6 vMRF Deployment for the End User
After the deployment preparations are completed by the cloud administrator, the end user can start vMRF deployment.
6.1 Set Up Command-Line Access and Security
Command-line access is mandatory for some of the vMRF deployment activities due to dashboard limitations.
To be able to log in to the vMRF instance after it is instantiated, the proper access and security configurations must be in place.
6.1.1 Set Up the OpenStack Heat Command-Line Client
Each OpenStack component provides a command-line client, which enables access to the component API through commands. For example, the Heat component provides a heat command-line client.
Steps
- Install the OpenStack Heat command-line client according to the OpenStack End User Guide.
- Set up CLI access according to the OpenStack End User Guide.
6.1.2 Set Up Access and Security for Instances
To be able to connect to your cloud instances using SSH, the proper access and security configurations must be in place.
Do the following:
Steps
6.2 Create Subnets
Subnets must be created within the networks created by the cloud administrator in Create Network Topology. The example_environment.yaml file provided in the vMRF software delivery package must match your network environment. Heat stack creation must be done in the CLI due to dashboard limitations.
Steps
In the CLI, do the following:
6.3 Upload the vMRF Image
This procedure describes how to upload the vMRF image to the OpenStack cloud, using the vMRF image file.
Do the following:
Steps
|
Parameter |
Description |
|---|---|
|
Name |
Enter a name for the image. It is recommended to include the vMRF product version in the name. |
|
Description |
Enter a brief description of the image. |
|
Image Source |
Choose Image File. |
|
Image File or Image Location |
Browse for the vMRF image file on your file system and add it. |
|
Format |
Choose VMDK. |
|
Architecture |
Enter x86_64. |
|
Minimum Disk (GB) and Minimum RAM (MB) |
Leave these fields empty. |
|
Public |
Select this check box, so that the image is public to all users with access to the current project. |
|
Protected |
Do not select this check box. |
6.4 Prepare Deployment Parameters
This procedure describes how to prepare the parameters for deployment.
Steps
6.5 Instantiate and Check vMRF with One VM
This procedure describes how to instantiate a vMRF VNF instance in the OpenStack cloud, using the OpenStack Glance image and the HOT files. Instantiate the VNF with one VM and verify that VM before scaling out to the full size of the VNF.
The VNF instance must be created in the CLI due to dashboard limitations.
Prerequisites
-
The vMRF VMs to be scaled-out are configured as MRFP (Media Resource Function Processor) nodes in the MTAS.
A vMRF VM identifies itself to the MTAS with a Message Id (MId) that contains the vMRF VM signaling IP address and SCTP port. Typically, the whole range of signaling IP addresses, that is, the signaling subnet, that has been configured in the OpenStack for the vMRF VNF, is configured as MRFP nodes in the MTAS.
For more information on adding an MRFP node in MTAS, refer to section Add MRFP in MTAS Media Control Management Guide, Reference [1].
Steps
6.6 Provide Initial Configuration
For the VNF to start handling traffic, configuration data must be provided.
Steps
-
Provide configuration data for the VNF.
-
If this is the first deployment of the VNF, or configuration data is not available at this point, perform initial configuration, as described in section Manual Configuration of the Initial Configuration Guide.
-
If configuration data is available, either from a backup of an older VNF, or prepared by Ericsson, import configuration data, as described in section Importing Configuration Data from NETCONF Template of the Initial Configuration Guide.
-
6.7 Check vMRF Status
This procedure describes how to verify the vMRF deployment. The status check involves running a vMRF command.
Steps
6.8 Scale Out to Full VNF Size
This procedure describes how to scale out to the full size of the VNF by updating the vMRF stack.
Steps
- Log in to the OpenStack CLI.
-
Use the heat stack-update command to increase the size of the
VNF.
-
In an OpenStack Kilo-based cloud service, use the following command:
heat stack-update <stack_name> -e example_environment.yaml -f vmrf.yaml -P payload_instance_count=<new_number_of_VMs>
Note: The example above shows how to use the command to increase the size of the VNF while using the example_environment.yaml file.
When using the command, all deployment parameters must have the same values as during stack creation. To ensure this, the same example_environment.yaml file must be used, and only the payload_instance_count parameter needs to be specified. Any deviation from the original values can impact the traffic.
-
In an OpenStack Mitaka-based cloud service, it is also possible to use the following command:
heat stack-update <stack_name> -x -P payload_instance_count=<new_number_of_VMs>
Note: In OpenStack Mitaka-based cloud services, this command only updates the payload_instance_count parameter, it is not required to specify the environment file.
-
- Log in to the dashboard and check that the VMs belonging to the VNF are visible in the Network Topology view.
Reference List
|
[1] |
MTAS Media Control Management Guide, 19/1553-AVA 901 29/9 |

Contents