1 About This Document
This document describes vMRF deployment on a Cloud Execution Environment (CEE) cloud service. CEE is based on OpenStack, with additional features that expand its flexibility of use and meet the needs of telecommunication service providers.
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 a CEE 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 CEE
If the hardware and software requirements are met, and after the needed configurations in CEE are done, vMRF is instantiated.
vMRF can contain one or more Virtual Network Functions (VNF), for example, one or more Virtual Multimedia Resource Functions (vMRF).
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 CEE
The vMRF deployment process consists of preparations and basic configuration of the cloud environment, and the actual instantiation of one or more 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 CEE, 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.
-
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.
-
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 CEE.
-
Upload the vMRF image
The extracted VMDK image file must be uploaded using OpenStack Glance.
-
Prepare Initial Configuration Data
Initial configuration data means the data needed for vMRF to start processing traffic. If you are importing this initial configuration data during deployment, you must prepare it so that it matches your environment. For other options, refer to Initial Configuration Guide.
-
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. For more information, refer to the Initial Configuration Guide.
-
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.
-
Check vMRF status
It is recommended to run a status check on the newly deployed vMRF.
-
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.
Do the following:
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 CEE, 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 Disable ARP Spoofing Protection on all Compute Hosts in the vMRF Availability Zone
Perform this procedure to enable the use of movable IP in the vMRF.
Steps
- On each compute host, open the ml2_conf.ini neutron configuration file located at /etc/neutron/plugins/ml2/.
- Change the value of the prevent_arp_spoofing parameter to False.
- Reboot the compute host.
5.1.3 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.
| Note: |
This procedure is only needed if core isolation for the compute hosts is not already configured in CEE. Proceed only if the isolcpus option is not visible in the following command output: cat /proc/cmdline | grep isolcpus. |
Steps
Do the following on each node added to the MRSv host aggregate:
5.1.4 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.
| Note: |
This procedure is only needed if CPU settings for the compute hosts are not already configured in CEE. |
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.5 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.6 Configure NTP Servers
This procedure describes how to specify the external NTP servers for vMRF. External NTP servers are needed to keep the vMRF VMs synchronized, which ensures that quality of service expectations are met.
| Note: |
This procedure is only needed if NTP servers are not already configured in CEE. |
Prerequisites:
Do the following on each node added to the MRSv host aggregate:
Steps
5.1.7 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.
Do the following:
Steps
5.3 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 |
Do the following:
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 CEE 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 Initial Configuration Data (Optional)
Initial configuration data means the data needed for vMRF to start processing traffic. This procedure describes how to prepare initial configuration data if you are importing it during deployment. For other options, refer to Initial Configuration Guide.
Initial configuration data is packed into a tar.gz file. An example initial configuration file is part of the vMRF software delivery package, with the name example_config.tar.gz. You must manage the content of the tar.gz file included in the vMRF software delivery package using a Python script that is also delivered in the software delivery package. To run the script, you need Python installed on a Linux computer.
The tar.gz file contains the following:
-
An XML file that contains MO configuration values. The example tar.gz file contains an example XML file with the name config.xml. You must edit the XML file with values that match your environment, as described in the procedure below. As an optional service, Ericsson can provide a file that is already edited to match your environment.
-
Node credentials: You must add the node credentials to the tar.gz file, as described in the procedure below.
-
Trusted certificates: You must add the trusted certificates to the tar.gz file, as described in the procedure below.
-
manifest.yaml: The file contains configuration metadata for the import and the contents of /usr/share/image/package_build_data for troubleshooting.
6.4.1 Prepare the Initial Configuration Tar File
Steps
To prepare initial configuration data, do the following:
6.4.2 Edit the Initial Configuration XML File
For a list of MOs and attributes to configure, refer to the Initial Configuration Guide.
Steps
6.5 Prepare Deployment Parameters
This procedure describes how to prepare the parameters for deployment.
Steps
6.6 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.
Do the following:
Steps
6.7 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
6.8 Check vMRF Status
This procedure describes how to verify the vMRF deployment. The status check involves running a vMRF command.
Steps

Contents