1 About This Document
This document describes vMRF deployment on an OpenStack cloud service.
| 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. |
|
| 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. |
|
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. 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. The main requirements are listed in vMRF Infrastructure 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.
Note: When using Cinder block storage, the Cinder volume is created from the Glance image during VNF stack creation. The Glance image is not to be deleted during VNF lifetime, as it is used for Cinder volume creation for VMs during scaling.
-
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, see 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 in OpenStack Heat.
-
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.
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 Cloud Hardware and Software Preparation and Configuration
Preparation for vMRF deployment starts by checking that the necessary hardware exists, and making hardware-related configurations in the VIM, in the hypervisor, and in the host Operating System.
5.1.1 Define an Availability Zone for vMRF
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, see the OpenStack Admin User Guide.
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.
For more information on the configuration options in the procedure, see the OpenStack configuration overview.
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:
Steps
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.
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
- 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. The main requirements are listed in vMRF Infrastructure 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.
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.
Steps
6.2 Define Anti-Affinity Policy
By default, HOT files specify an anti-affinity policy for all the VMs in the VNF. The anti-affinity policy defines the placement of VMs on the compute hosts of the cloud environment. It is recommended to place only one media plane VM on the same compute host, unless dimensioning with the Ericsson dimensioning tool shows that multiple VMs can be allocated on the same host for the specific traffic profile (as described in vMRF Infrastructure Requirements).
If several VMs are allocated to the same host, scheduler_hints row from the scaling_group.yaml needs to be commented out, as seen in the following example.
scaled_vm:
type: OS::Nova::Server
properties:
name: { get_param: scaled_vm_name }
image: { get_param: mrf_image }
flavor: { get_param: mrf_flavor }
networks:
- port: { get_resource: internal_port }
- port: { get_resource: management_port }
- port: { get_resource: signaling_port }
- port: { get_resource: media_port }
availability_zone: { get_param: availability_zone }
config_drive: True
user_data_format: RAW
user_data: { get_resource: pl_init }
metadata: { "ha-policy": "managed-on-host" }
scheduler_hints:
# group: { get_param: server_group }
6.3 Create Subnets
Subnets must be created within the networks created by the cloud administrator. 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.4 Configure Shared Storage
| Note: |
This procedure is optional. Perform the steps only if shared storage is
used. |
Log files from the /var/log directory, including journal log files
Crash dump files
Configuration backup files created by the automatic backup and restore function
vMRF connects to the server with SSHFS, mounts a specified directory path, and creates a subfolder for the cluster, and subfolders for the files for each VM in the cluster. This ensures that logs and other shared files of different VMs and VNF instances do not get mixed up.
For authentication, an SSH key pair has to be created. This key pair can be cluster-specific, or common for all clusters.
Prerequisites
The private and public SSH keys are generated.
Steps
6.6 Upload the vMRF Image
This procedure describes how to upload the vMRF image to the OpenStack cloud, using the vMRF image file.
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.7 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 (the signaling subnet) configured in the OpenStack for the new vMRF VNF, is configured as MRFP nodes in the MTAS.
For more information on adding an MRFP node in MTAS, see section Add MRFP in MTAS Media Control Management Guide.
Steps
6.8 Provide Initial Configuration
For the VNF to start handling traffic, configuration data must be provided. This procedure describes how to provide initial configuration data for the VNF if it was not already injected using the mrf_config HOT parameter during instantiation.
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.9 Check vMRF Status
This procedure describes how to verify the vMRF deployment. The status check involves running a vMRF command.
Steps
6.10 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
Reference List
|
[1] |
MTAS Media Control Management Guide, 19/1553-AVA 901 29/9 |

Contents