Configure Time-Based Scaling
Call Session Control Function

Contents

1Description

2

Procedure
2.1Enable Time-Based Scaling
2.2Change Time-Based Scaling
2.3Disable Time-Based Scaling

1   Description

Time-based scaling is an automated operation to add or remove one or more computer resources from the scaling domain of the cluster. The Virtual Network Function Lifecycle Management (VNF-LCM) triggers the scale-out and scale-in workflows automatically based on the CSCF Time Based Scaling SNMP alert that raises on the VNF at a predefined time of a day.

The CSCF workflow software package contains more files than are described in this instruction. These unmentioned files are only used in special deployment scenarios that are outside the scope of this instruction. Only use the files that are explicitly mentioned in the instruction.

Table 1 describes the CSCF Time Based Scaling SNMP alert.

Table 1    CSCF Time-Based Alert Attributes

Attribute Name

Attribute Value

Major Type

193

Minor Type

6684697

Managed Object Class

cscfScalingClass

Managed Object Instance

ManagedElement=<node_name>,CscfFunction=1,CSCF-Application=CSCF,CscfScalingGroupClass=0,CscfScalingClass=default

Specific Problem

CSCF Time Based Scaling

Event Type

ENVIRONMENTALALARM

Probable Cause

x733CommunicationsSubsystemFailure (306)

Additional Text

  • CSCF Time Based Scale In: <numberOfPayLoad>

  • CSCF Time Based Scale Out: <numberOfPayLoad>

Perceived Severity

N/A

For more information on scaling, see CSCF Scaling Management. For more information on the VNF-LCM, see CSCF VNF Lifecycle Management.

2   Procedure

Prerequisites

2.1   Enable Time-Based Scaling

Steps

  1. Navigate to the CscfScalingClass Managed Object (MO), for example:

    > dn ManagedElement=jambala,CscfFunction=1,\
    CSCF-Application=CSCF,CscfScalingGroupClass=0,\
    CscfScalingClass=default

  2. Show the current time-based scaling configuration:

    (CscfScalingClass=default)> show -v

    The following is an example output:

    (CscfScalingClass=default)>show -v  
     CscfScalingClass=default
       cscfScaleIn=""
       cscfScaleOut=""
       cscfScalingId="default"
       cscfTimeBasedScalingEnabled=false <default>
    
  3. Enter Config mode:

    (CscfScalingClass=default)> configure

  4. Configure the time of triggering and number of PL VMs after scaling in:

    (config-CscfScalingClass=default)> cscfScaleIn= =\
    <HHMM:NumberOfPayLoads>

  5. Configure the time of triggering and number of PL VMs after scaling out:

    (config-CscfScalingClass=default)> cscfScaleOut= =\
    <HHMM:NumberOfPayLoads>

  6. Enable the time-based scaling function:

    (config-CscfScalingClass=default)> \
    cscfTimeBasedScalingEnabled=true

  7. Verify that time-based scaling is configured and enabled as planned:

    (config-CscfScalingClass=default)> show -v

    The following example output shows that the configuration and time-based scaling is enabled:

    CscfScalingClass=default
       cscfScaleIn="0100:02"
       cscfScaleOut="1400:07"
       cscfScalingId="default"
       cscfTimeBasedScalingEnabled=true
    
  8. Check that the cluster is in a healthy state, see CSCF Health Check.

2.2   Change Time-Based Scaling

Steps

  1. Navigate to the CscfScalingClass Managed Object (MO), for example:

    > dn ManagedElement=jambala,CscfFunction=1,\
    CSCF-Application=CSCF,CscfScalingGroupClass=0,\
    CscfScalingClass=default

  2. Enter Config mode:

    (CscfScalingClass=default)> configure

  3. Configure the time of triggering and number of VMs after scaling in.

    (config-CscfScalingClass=default)> cscfScaleIn= =\
    <HHMM:NumberOfPayLoads>

  4. Configure the time of triggering and number of VMs after scaling out.

    (config-CscfScalingClass=default)> cscfScaleOut= =\
    <HHMM:NumberOfPayLoads>

  5. Verify that time-based scaling is configured and enabled as planned.

    (config-CscfScalingClass=default)> show -v

    The following example output shows that the configuration and time-based scaling is enabled:

    CscfScalingClass=default
       cscfScaleIn="0100:02"
       cscfScaleOut="1400:07"
       cscfScalingId="default"
       cscfTimeBasedScalingEnabled=true
    
  6. Check that the cluster is in a healthy state, see CSCF Health Check.
  7. Create a system backup. See Create Backup.

2.3   Disable Time-Based Scaling

Steps

  1. Navigate to the CscfScalingClass Managed Object (MO), for example:

    > dn ManagedElement=jambala,CscfFunction=1,\
    CSCF-Application=CSCF,CscfScalingGroupClass=0,\
    CscfScalingClass=default

  2. Disable the time-based scaling function.

    (config-CscfScalingClass=default)> \
    cscfTimeBasedScalingEnabled=false

  3. Verify that time-based scaling is disabled.

    (config-CscfScalingClass=default)> show -v

    The following example output shows that time-based scaling is disabled:

     CscfScalingClass=default
       cscfScaleIn="0100:02"
       cscfScaleOut="1400:07"
       cscfScalingId="default"
       cscfTimeBasedScalingEnabled=false <default>