MTAS VNF Life Cycle Management Guide
MTAS

Contents

1Introduction

2

Prerequisites
2.1Hardware and Software

3

Onboarding

4

Procedures
4.1Instantiate VNF
4.2Scale-out VNF
4.3Scale-In VNF
4.4Heal VNF
4.5Terminate VNF
4.6Upgrade VNF

5

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:

2   Prerequisites

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

2.1   Hardware and Software

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

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.

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>

    For more information on workflow bundle installation in VNF-LCM, refer to ENM/OSS-RC documentation.

  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 __. (Where "__" is a double underscore.)

  4. 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 (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/MTAS_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 that the structure of the /vnflcm-ext/backups/workflows/vnfd/<VNFType__VNFVersion> directory is as follows:
    `-- vMTAS__<x.y>
         |-- vnfLcmOperationsConfiguration.json
         |-- configurations
         |   |-- <VNF_1 configuration>
         |       |-- env.yaml
         |       |-- id_rsa.pub
         |       |-- evip_cli.txt*
         |       |-- ss7.conf*
         |       `-- instance1_pdb_bundle.zip*
         |    `-- <VNF_2 configuration>
         |       |-- env.yaml
         |       |-- id_rsa.pub
         |       |-- evip_cli.txt*
         |       |-- ss7.conf*
         |       `-- instance1_pdb_bundle.zip*
         |-- main.yaml
         |-- MTAS_HOT_scaling.yaml
         `-- lcmScripts

    The files marked with * are optional.

  9. In case automatic invocation of Heal VNF WF (so called auto-heal WF) shall be enabled:
    Note:  
    For CEE deployments, this step is not necessarily needed since CEE's CM-HA feature can be primary used to Heal a VNF.

    1. Verify the presence of file vIMS-autostart-rules.xml in services VM of VNF-LCM:

      ll /vnflcm-ext/current/workflows/auto-start-rules/vIMS-autostart-rules.xml

    2. If the file is not present, copy the template autostart-rule file to the above mentioned directory and remove all existing template workflowTriggerRule:

      sed '24,45d' /etc/opt/ericsson/ERICvnflafautostartservice_CXP9032572/vIMS-autostart-rules.xml \

      > /vnflcm-ext/current/workflows/auto-start-rules/vIMS-autostart-rules.xml

      Note:  
      It can be needed to verify that the first template workflowTriggerRule starts in line 24 and the last workflowTriggerRule ends in line 45.

    3. The file /vnflcm-ext/current/workflows/auto-start-rules/vIMS-autostart-rules.xml must contain the following workflowTriggerRule:
      <wft:workflowTriggerRule name="vMTAS-AutoHealing" id="vMTAS-AutoHealing" type="FM_ALARM">
                      <wft:triggerCondition>
                              <wft:attributeName>specificProblem</wft:attributeName>
                              <wft:triggerConditionOperator>EQUALS</wft:triggerConditionOperator>
                              <wft:attributeValue>COM SA, CLM Cluster Node Unavailable</wft:attributeValue>
                      </wft:triggerCondition>
                      <wft:triggerAction WorkflowDefinitionName="Heal VNF"
                              WorkflowBundleName="vIMSWorkflows">
                              <wft:param />
                      </wft:triggerAction>
              </wft:workflowTriggerRule>
    4. Verify that the content of /vnflcm-ext/current/workflows/auto-start-rules/vIMS-autostart-rules.xml is similar to the following example: (it can contain additional workflowTriggerRule):

    Note:  
    If the user wants to enable auto-healing only for a particular VNF instance, the workflowTriggerRule can be refined by adding additional triggerCondition(s) to it.

  10. Update the VNF-LCM's database with VNF instance-specific information for VNF instances instantiated with vIMSWorkflows version lower than 1.4.0. If it is acceptable, it is recommended to re-Instantiate those VNF instances instead of manually updating the database.

    For more information on adding existing VNF instance to VNF-LCM's database, refer to ENM/OSS-RC documentation.

4   Procedures

The following sections describe how to perform LCM operations.

VNF-LCM procedures use workflow instances. Figure 1 shows the 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.

Figure 1   Workflow Instance Overview

4.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 VNF does 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 that is name of VNF> |grep -A 2 tags


To instantiate a VNF:

  1. Navigate to the VNF-LCM Workflows > Instantiate VNF > Start a New Instance. See Figure 2.

Figure 2   Workflows

  1. In Start a Workflow, fill out the Instance Name, and click Submit.
  2. Select the newly created workflow from the Instance Activity panel.
  3. On the Workflow Instance, add VNF Name ,VNF Instance Description, and Select VNF descriptor id*, and click Submit. See example in Figure 3.
    Note:  
    The Select VNF descriptor id* displays VNF configurations available for instantiation in the /vnflcm-ext/backups/workflows/vnfd/ directory.

Figure 3   Instantiate VNF

  1. In Select VIM, choose Select VIM to be used, and click Submit. See example in Figure 4.

Figure 4   Select VIM

  1. In Select Tenant, choose Select Tenant to be used, and click Submit. See example in Figure 5.

Figure 5   Select Tenant

  1. In Zone and Region Details, fill in cloud region id and cloud zone id, and click Submit. See Figure 6.
    Note:  
    This step is optional (parameters can be left empty).

Figure 6   Zone and Region Details

  1. In Get Instance Configuration, choose Select Configuration for the VNF instance*, and click Submit. See example in Figure 7.
    Note:  
    The Select Configuration for the VNF instance* displays VNF configurations available for instantiation in the /vnflcmext/backups/workflows/vnfd/<VNFType__VNFVersion>/configurations directory.

Figure 7   Get Instance Configuration

  1. If the ENM/OSS-RC network management application is used, provide VNF instance-specific parameters for ENM/OSS-RC topology update, and click Submit. See example in Figure 8.
    Note:  
    To fill out the Network element version supported by OSS-RC/ENM *, check the supported VNF version on OSS-RC/ENM. For example: on ENM, the supported VNF version can be checked with the following command: cmedit describe --netype <VNF_type>

Figure 8   Enter the Parameters Required by OSS/ENM

Note:  
In case of failed installation, remove the VNF instance by means of Terminate VNF WF (FORCEFUL). If the user cannot select the VNF instance in Step 4 in Section 4.5, the VNF instance-specific Heat stack shall be manually deleted from OpenStack.

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

To scale-out a VNF:

  1. In the VNF-LCM, click Start a Workflow > Scale-Out VNF > Start a New Instance. See Figure 2.
  1. In Start a Workflow, fill out Instance Name, and click Submit.
  2. Select the newly created workflow from the Instance Activity.
  3. In Workflow Instance, choose Select VNF instance*, specify the number of VMs to be added to the VNF, and click Submit. See example in Figure 9.

Figure 9   Collect User Data for Scale-Out

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

4.3   Scale-In VNF

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

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

Prerequisites

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 scale-in VNF:

  1. In the VNF-LCM, click Start a Workflow > Scale-In VNF >Start a New Instance. See Figure 2.
  1. In Start a Workflow, fill out Instance Name, and click Submit.
  2. Select the newly created workflow from the Instance Activity panel.
  3. In Workflow Instance, choose Select VNF Instance* to be scaled in, specify Number of VMs to Scale-In*, and click Submit. See example in Figure 10.

Figure 10   Collect User Data for Scale-In

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

  1. On the Collect extra parameters screen, select Scale-in type and optionally specify the list of VM UUIDs to be Scale-in with, and click Submit. See example in Figure 11.
    Note:  
    FORCEFUL Scale-in is a disruptive action therefore it is only to be used for Scale-in unavailable/failed PL(s). (The virtual resources reserved for the PL(s) are freed up first and then the MTAS cluster is "cleaned".)

Figure 11   Collect Extra Parameters

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

Note:  
If any UUID was specified in Step 5, the VMs with the specified UUIDs are removed, otherwise VMs with the highest index in their name in OpenStack are removed.

4.4   Heal VNF

This section describes how to heal a VNF from compute resource or network resource (for instance Neutron port) failure using VNF-LCM.

Heal VNF WF can be started two ways:

To enable the use of auto-heal VNF WF, set up an autostart-rule as it is specified in Step 9 of Onboarding.

The progress of auto-heal VNF WF can be tracked on the Instance Activity panel of VNF-LCM. The Heal VNF WF consists a FORCEFUL Scale-in and a Scale-out operation so that three WF instances are visible for the auto-heal VNF WF (Heal VNF, Scale-in (Heal VNF) and Scale-out (Heal VNF)) on the Instance Activity panel.

Note:  
  • It is recommended to lower the node (VM) alarm timeout on the VNF instance from 15 minutes to 5 minutes in order to trigger the CLM Cluster Node Unavailable alarm, if a VM has lost contact with the remaining cluster members for more than 5 minutes. To lower the value of the node (VM) alarm timeout, use command: cmw-node-alarm-timeout 300
  • The Heal VNF WF can only heal the VNF if sufficient compute resource is available for OpenStack's Nova scheduler.
  • Healing of non-scalable VMs (SC-1, SC-2, PL-3, PL-4) is not possible.

Continue with this procedure only if the VNF to be healed was instantiated using the VNF-LCM and the Heal VNF WF shall be started manually.

To heal the VNF manually:

  1. In the VNF-LCM Workflows, select Heal VNF, and click Start a New Instance. See Figure 2.
  1. In Start a Workflow, fill out Instance Name, and click Submit.
  2. Select the newly created workflow from the Instance Activity panel.
  3. In Workflow Instance , choose Select VNF instance*, and click Submit. See example in Figure 12.

Figure 12   Collect User Data for Healing

  1. In Input additional parameters for workflow, specify UUID of VM to be removed from the cluster, and click Submit. See example in Figure 13.

Figure 13   Collect Extra Parameters

  1. Get UUID of unavailable/failed PL(VM) from ECLI using command:
    show -r ManagedElement=1,Equipment=1

The VNF instance is scaled-in, the specified VM is forcefully removed from the cluster. After this, the VNF instance is scaled-out, and a PL is added to the cluster.

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

Steps

  1. In the VNF-LCM Workflows, select Terminate VNF, and click Start a New Instance. See Figure 2.
  1. In Start a Workflow, fill out the Instance Name field, and click Submit.
  2. Select the newly created workflow from the Instance Activity panel.
  3. On the Workflow Instance screen, choose Select VNF instance and click Submit. See example in Figure 14.

Figure 14   Collect User Data for Terminate

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.

The VNF instance is terminated. In case of Graceful termination, the VNF instance stops processing traffic gracefully and then is terminated.

4.6   Upgrade VNF

The Upgrade VNF WF is not supported by the current release.

5   Logging

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



Copyright

© Ericsson AB 2017, 2018. 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