MTAS VNF Life Cycle Management Guide
MTAS

Contents

1Introduction
1.1Prerequisites

2

Onboarding

3

Procedures
3.1Instantiate VNF
3.2Scale-out VNF
3.3Scale-In VNF
3.4Terminate VNF

4

Logging

1   Introduction

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

In this document, the term "vMTAS" refers to the product and the term "MTAS" refers to the MTAS application, independent of being deployed in a native or virtual environment.

This document covers the following workflow-based life cycle management procedures:

1.1   Prerequisites

This section describes the prerequisites which must be fulfilled before the MTAS can be installed.

1.1.1   Hardware and Software

The following hardware (virtual and physical), and software is required:

2   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.

Note:  
The following commands are to be executed on the VNF-LCM's Services VM.

  1. Decompress the vMTAS workflow pack CXP9034815_1-<R-state>.tar.gz where <R-state> defines the revision state of the package.

    cd /home/cloud-user

    tar -zxvf CXP9034815_1-<R-state>.tar.gz

  2. Install the vIMS workflow bundle:
    1. Log on to vnflaf-services VM as cloud-user and switch to root user.
    2. Verify that the bundle is not already installed by running the List command.

      wfmgr bundle list

      If the version of vIMSWorkflows is older than the version included in the vMTAS Workflow Pack CXP9034815_1-<R-state>.tar.gz, install the newer version.

    3. Install the workflow bundle package by running the install command.

      wfmgr bundle install --package=\
      <workflow_bundle_rpm_file _path>

    The following example assumes that the rpm file is placed under /tmp folder.

    [root@vnflaf-services tmp]# wfmgr bundle install
    --package=ERICvIMSWorkflows_CXP9034675_1-0.1.13.rpm
    Validating package...
    Package validation successful
    VNF Laf services will not be available for few minutes
    Stopping jboss: [ OK ]
    Preparing... ###########################################[100%]
    RPM PostRemove
    1:ERICvIMSWorkflows_CXP90########################################### [100%]
    Installing package...
    Rpm installed
    Starting jboss...
    Starting jboss: [ OK ]
    Validating deployment
    Successfully deployed workflows
    Package ERICvIMSWorkflows_CXP9034675_1-0.1.13.rpm successfully installed
  3. Decompress vMTAS LCM scripts CXP9034788_1-<R-state>.tar.gz where <R-state> defines the revision state of the package:

    mkdir /vnflcm-ext/backups/workflows/vnfd/\
    <VNFType__VNFVersion>

    cd /vnflcm-ext/backups/workflows/vnfd/\
    <VNFType__VNFVersion>

    tar -zxvf /home/cloud-user/CXP9034788_1-<R-state>.tar.gz

    Note:  
    Follow the naming convention: VNF type and VNF version separated by __.

  4. In /vnflcm-ext/backups/workflows/vnfd/<VNFType__VNFVersion>, create a configurations subdirectory and a child directory for each VNF configuration (that is, VNF instance), and copy the VNF configuration to the child directory:

    mkdir /vnflcm-ext/backups/workflows/vnfd/\
    <VNFType__VNFVersion>/configurations

    mkdir /vnflcm-ext/backups/workflows/vnfd/\
    <VNFType__VNFVersion>/configurations/<VNF_1 configuration>

    cd /vnflcm-ext/backups/workflows/vnfd/\
    <VNFType__VNFVersion>/configurations/<VNF_1 configuration>

    cp -r /home/cloud-user/<VNF_1 configuration> .

    Note:  
    Each directory in configurations contains a VNF instance specific env.yaml environment (HOT) file, configuration files evip_cli.txt for eVIP, ss7.conf for SS7, and pdb_bundle.zip for application configuration. Each directory also contains id_rsa.pub public key of the VNF-LCM's jboss_user. The files evip_cli.txt, ss7.conf, and pdb_bundle.zip are optional.

  5. Upload the HOT template and the scaling template into the /vnflcm-ext/backups/workflows/vnfd/<VNFType__VNFVersion> directory.

    cp -r /home/cloud-user/main.yaml /vnflcm-ext/backups/\
    workflows/vnfd/<VNFType__VNFVersion>

    cp -r /home/cloud-user/hot_scaling.yaml /vnflcm-ext/\
    backups/workflows/vnfd/<VNFType__VNFVersion>

  6. If the SSH key is not available yet for jboss, create it using the following commands:

    su jboss_user

    ssh-keygen -t rsa

    exit

    Note:  
    The use of encrypted private keys is not supported in the current release (that is, do not use passphrase)

  7. Copy the public SSH key into the configuration directory of VNF instance

    cp /home/jboss_user/.ssh/id_rsa.pub /vnflcm-ext/backups/workflows/vnfd/<VNFType__VNFVersion>\
    /configurations/<VNF_1 configuration>/

    Note:  
    The public key must be added in the configuration directory for each instance.

  8. Verify the structure of the /vnflcm-ext/backups/workflows/vnfd/<VNFType__VNFVersion> directory is as follows:
    `-- vMTAS__<x.y>
         |-- configurations
         |   `-- instance1_config
         |       |-- env.yaml
         |       |-- id_rsa.pub
         |       |-- evip_cli.txt*
         |       |-- ss7.conf*
         |       |-- instance1_pdb_bundle.zip*
         |-- main.yaml
         |-- hot_scaling.yaml
         `-- lcmScripts

    The files marked with * are optional.

3   Procedures

These sections describe how to perform LCM operations. VNF-LCM procedures utilize workflow instances.

Figure 1 shows the example of a workflow instance, where workflow progress can be tracked in the Workflow Diagram view. Boxes in the Workflow Diagram only represent current stages of the various procedures, operations are performed in the Task view.

Figure 1   Workflow Instance Overview

3.1   Instantiate VNF

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

Note:  
In case the HEAT stack has to be updated manually, make sure that the --tags argument is used during the stack update, otherwise the VNFdoes not show up in the Workflow Instance screen.

Use the following command on a stack created using the VNF-LCM to find out what value to set the --tags argument to:
heat --os-tenant-name <tenant name> stack-show <MTAS stack name i.e. name of VNF> |grep -A 2 tags


  1. In the VNF-LCM Workflows screen, select Instantiate VNF and click Start a New Instance.

  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, add VNF Name, select VNF to instantiate, and click Submit.
    Note:  
    The Select VNF descriptor Id field displays VNF configurations available for instantiation in the /vnflcm-ext/backups/workflows/vnfd/ directory.

  5. 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 /vnflcmext/backups/workflows/vnfd/<VNFType__VNFVersion>/configurations directory.


    Result:
    The VNF is instantiated, it starts handling traffic after all configuration data is provided.

3.2   Scale-out VNF

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

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

  1. In the VNF-LCM, click Start a Workflow, and select Scale-Out VNF, and click Start a New Instance.

  2. On the Start a Workflow screen, fill out the Instance Name field, and click Submit.
  3. On the Workflow Instance screen, select the VNF to be scaled out, specify the number of VMs to be added to the VNF, and click Submit.

    Result:
    The VNF instance is scaled-out, new VMs are added to the cluster.

3.3   Scale-In VNF

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

To gracefully scale-in a node, the system status must meet the following conditions:

ManagedElement=1,MtasFunction=MtasFunction,MtasSupportFunctions=0,
CarSelApplication=CarrierSelect,CarSelDialedStringAnalysisTable=0,
carSelDialedStringAnalysisTableSynchronization 
ManagedElement=1,MtasFunction=MtasFunction,MtasSupportFunctions=0,
CarSelApplication=CarrierSelect,CarSelCarrierTable=0,
carSelCarrierTableSynchronization 
ManagedElement=1,MtasFunction=MtasFunction,MtasSupportFunctions=0,
NumAnaApplication=NumberAnalysis,NumAnaLocalCallTable=0,
numAnaLocalCallTableSynchronization 
ManagedElement=1,MtasFunction=MtasFunction,MtasSupportFunctions=0,
NumberNormalisation=NumberNormalisation,
numberNormalisationTableSync 

For more information, refer to MTAS Troubleshooting Guideline.

To gracefully scale-in a VNF, continue with this procedure only if the VNF to be scaled-in is instantiated using the VNF-LCM:

  1. In the VNF-LCM, click Start a Workflow, and select Scale-In VNF.

  2. On the Start a Workflow screen, fill out the Instance Name field, and click Submit.
  3. On the Workflow Instance screen, select the VNF to be scaled in, specify the number of VMs to be removed from the VNF, and click Submit.

    Result:
    The VNF instance is scaled-in, the specified number of VMs is removed from the cluster.

3.4   Terminate VNF

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

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

  1. In the VNF-LCM Workflows screen, select Terminate VNF, and click Start a New Instance.

  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 and click Submit.

    Graceful The VNF instance is gracefully locked (by setting mtasFunctionAdministrativeState to SHUTTING DOWN(2)), it gradually stops processing traffic. The VNF is terminated after the expiration of the graceful termination period or even earlier when all ongoing sessions have stopped on the node.
    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 the VNF stopped processing traffic.
    Result:
    The VNF instance is terminated. In case of Graceful termination, the VNF instance stops processing traffic gracefully and then is terminated.

4   Logging

In case of an unsuccessful workflow execution find more information on the cause of the failure:



Copyright

© Ericsson AB 2017. All rights reserved. No part of this document may be reproduced in any form without the written permission of the copyright owner.

Disclaimer

The contents of this document are subject to revision without notice due to continued progress in methodology, design and manufacturing. Ericsson shall have no liability for any error or damage of any kind resulting from the use of this document.

Trademark List
All trademarks mentioned herein are the property of their respective owners. These are shown in the document Trademark Information.

    MTAS VNF Life Cycle Management Guide         MTAS