User Guide 18/1553-AXM 101 04/1 Uen C

VNF Life Cycle Management for VMware
Virtual Multimedia Resource Function

Contents


1 Introduction

This document contains information for system administration tasks performed in the VNF Lifecycle Manager (VNF-LCM). VNF-LCM provides a workflow execution environment and a web-based application for managing VNF life cycle procedures.

VNF life cycle procedures are realized by executing ordered sequences of steps, called workflows. Each workflow must be provided with VNF-specific input parameters during execution.

This document covers the following life cycle management procedures, available in VMware deployments:

2 Prerequisites

This section provides information on the tools and conditions that apply to the procedures in this document.

Before performing any VNF-LCM procedure, ensure that the following conditions are met:
  • The software delivery package including vIMS workflows, VNF-specific Open Virtualization Format (OVF) files, example environment files, and the VNF-LCM scripts is available.

  • VNF-LCM is available using either Operations Support System, Radio and Core (OSS-RC) or Ericsson Network Manager (ENM).

  • The vCD is used as Virtual Infrastructure Manager (VIM).

  • The VIM is configured in VNF-LCM.

    Note: The VIM configuration in VNF-LCM can be checked with the vnflcm vim list command.

    For more information on configuration and the command, refer to VNF-Lifecycle Manager System Administration Guide, Reference [1].

  • The following minimum version requirements are met:

    • vCD: 8.11

    • LAF image version: 4.6.24

  • The workflow bundle RPM is installed as described in the relevant network management system documentation. For more information, refer to VNF-Lifecycle Manager System Administration Guide, Reference [1].

  • The cloud environment is prepared for the deployment of the VNF, that is, the following activities are performed:
    • Cloud hardware and software preparation and configuration

    • Network topology creation

    • Subnet creation

    For detailed instructions, refer to the relevant deployment instructions.

3 Onboarding

This section describes how to prepare for workflow-based VNF operations using VNF-LCM. Performing this procedure is a prerequisite for life cycle operations.

Prerequisites

The VNF image is uploaded to the cloud environment. For more information, refer to the relevant deployment instructions.

Steps

  1. Create a directory for the VNF-specific files in /vnflcm-ext/backups/workflows/vnfd/<VNFType__VNFVersion>.
    Note: Follow the naming convention as above: VNF type and VNF version separated by "__".
  2. In /vnflcm-ext/backups/workflows/vnfd/<VNFType__VNFVersion>, create a configurations subdirectory with write permission for the jboss_user, and a child directory for each VNF configuration. This allows for storing multiple VNF configurations.
    Note: Each directory in configurations must contain a VNF-specific env-vcd.yaml environment file. Each env-vcd.yaml file can be used for a different VNF instantiation, depending on, for example, network needs.

    In the current release, the env-vcd.yaml must be created by the user. Create the file based on Example 1, providing attribute and value pairs based on your network needs.

  3. Create a vApp template in vCloud Director by uploading the release-specific OVF files provided in the software delivery package.
  4. Copy the lcmScripts directory and its content into the directory created in /vnflcm-ext/backups/workflows/vnfd/<VNFType__VNFVersion>.
    Note: The lcmScripts is provided in the software delivery package.

    The example below shows a directory structure with two configurations stored.

    Example

    `-- vMRF__1.3
        |-- vnfLcmOperationsConfiguration.json    
        |-- configurations
        |   |-- example_config_1
        |   |   `-- env-vcd.yaml
        |   `-- example_config_2
        |   |   `-- env-vcd.yaml
        `-- lcmScripts
            
  5. Add the private SSH key to the /home/jboss_user/.ssh/ folder, and the public SSH key in the admin_authorized_key parameter of the env-vcd.yaml file.
    Note: If the SSH key is not available yet, create it using the ssh-keygen -t rsa command, as jboss_user.

    sudo -u jboss_user bash -c 'ssh-keygen -t rsa -f ~/.ssh/id_rsa && cat ~/.ssh/id_rsa.pub'

Example 1   env-vcd.yaml File Example

4 Procedures

The following sections describe how to perform LCM operations.

VNF-LCM procedures utilize workflow instances. Figure 1 shows an example of a workflow instance, where workflow progress can be tracked in the Workflow Diagram view. The Workflow Diagram only represents stages of the various procedures, operations are performed in the Task view.

It is not recommended to execute a workflow instance on a VNF while another one is in progress, as it can lead to unexpected behavior. If a new workflow procedure is needed, the ongoing one must be terminated before starting a new one.

Figure 1   Workflow Instance Overview

4.1 Instantiate VNF

This section describes how to instantiate a VNF using VNF-LCM.
Note: When instantiating a VNF on a VIM running on BSP, make sure there are no active Capture Jobs on BSP, or the instantiation fails.

Steps

  1. In the VNF-LCM Workflows screen, select Instantiate VNF, and click the Start a New Instance button.
    Figure 2   Select Workflow
  2. On the Start a Workflow screen, fill out the Instance Name field, and click Submit.
  3. Select the newly created workflow from the Instance Activity panel.
  4. On the Get VNF name and VNFD screen, add VNF Name and VNF Instance Description, select VNF to instantiate, and click Submit.

    Select the Add Network Element in ENM/OSS-RC check box to add the new VNF in the network management application.

    Note: The VNF Name is also used as the Heat stack name. It is not recommended to add version information in this field, as the name is unchanged after VNF upgrades.

    The Select VNF descriptor Id field displays VNF releases available for instantiation in the /vnflcm-ext/backups/workflows/vnfd/ directory.

    Figure 3   Get VNF name and VNFD
  5. On the Select VIM screen, select the VIM to be used, and click Submit.
    Figure 4   Select VIM
  6. On the Select Tenant screen, select the tenant to be used, and click Submit.
    VNF_LAF_01-inst-4-tenant_edit.png Figure 5   Select Tenant
  7. On the Select VDC screen, select the virtual Data Center (vDC) in which the new VNF is instantiated, and click Submit.
    Figure 6   Select vDC
  8. On the Get Instance Configuration screen, select a VNF configuration to instantiate, and click Submit.
    Note: The Select Configuration for the VNF instance field displays VNF configurations available for instantiation in the /vnflcm-ext/backups/workflows/vnfd/<VNFType__VNFVersion>/configurations directory.
    Figure 7   Get Instance Configuration
  9. If the ENM network management application is used, provide VNF-related parameters for ENM, and click Submit.

    This step is optional. It is only required if the Add Network Element in ENM/OSS-RC check box was selected in Step 4.

    Note: To fill out the Network element version supported by OSS/ENM field, check the supported VNF version with the following command:

    cmedit describe --netype <VNF_type>

    Figure 8   Get OSS/ENM Parameters

Results

The VNF is instantiated, it starts handling traffic after configuration data is provided. For more information on providing configuration data, see Deployment Guide for VMware vSphere or Deployment Guide for VMware vCloud Director, and Initial Configuration Guide.

4.2 Scale VNF

This section describes how to scale a VNF using VNF-LCM.

Continue with this procedure only if the VNF to be scaled was instantiated using the VNF-LCM.

Steps

  1. In the VNF-LCM click Start a Workflow, select Scale VNF, and click the Start a New Instance button.
    Figure 9   Select Workflow
  2. On the Start a Workflow screen, fill out the Instance Name field, and click Submit.
  3. Select the newly created workflow from the Instance Activity panel.
  4. On the Workflow Instance screen, specify the following details and click Submit:
    • VNF instance to be removed

    • Scaling type

    • Number of VMs to be added or removed

    Figure 10   VNF Scaling Details
  5. If Scale In was selected, specify the needed parameters, on the Collect extra parameters screen. Otherwise, the scaling procedure is completed.
    Note: This step is optional, leave the fields blank if none of these parameters are needed.
    Figure 11   Scale-in VNF Instance
    The following optional scale-in parameters are available:
    • UUIDs of specific VMs to be scaled-in

      Note: If the number of UUIDs specified is lower than the number of VMs given in the previous step, the workflow automatically scales-in the remaining VMs.
    • VM locking method, that is, graceful or forceful

    • If VMs are locked gracefully, a timer for graceful lock

4.3 Terminate VNF

This section describes how to terminate a VNF using VNF-LCM.

Continue with this procedure only if the VNF to be terminated was instantiated using the VNF-LCM.

Steps

  1. In the VNF-LCM Workflows screen select Terminate VNF, and click the Start a New Instance button.
    Figure 12   Select Workflow
  2. On the Start a Workflow screen, fill out the Instance Name field, and click Submit.
  3. Select the newly created workflow from the Instance Activity panel.
  4. On the Workflow Instance screen, select the VNF to terminate, termination options, and click Submit.
    Figure 13   Terminate VNF
    The following termination options are available:
    Graceful  

    The VMs in the cluster are gracefully locked, the VNF instance gradually stops processing traffic. The VNF is terminated after the expiration of the graceful termination period.

    Forceful  

    The VNF is terminated immediately, all ongoing traffic is lost. This option must be confirmed on the next screen, as it stops all traffic.

    Graceful termination timeout (sec)  

    The graceful termination timeout value defines after how many seconds the VNF is terminated when graceful termination has been applied but there is still ongoing traffic. Default value: -1, meaning that there is no graceful termination period, that is, the VNF is terminated only after all VMs stopped processing traffic.

Results

The VMs in the cluster are terminated with the method selected in Step 4, the VNF instance stops processing traffic, and is terminated.

Reference List

[1]

System Administration Guide, 1543-CNH 160 9180

[2]

VNF-Lifecycle Manager System Administration Guide, 1543-APR 901 0578