Deploying and Configuring SMF through Ops Center
A panoramic view of a city skyline under a clear sky.
Feature Summary and Revision History
Summary Data
Applicable Product(s) or Functional Area | Applicable Platform(s) | Feature Default Setting | Related Changes in this Release | Related Documentation |
---|---|---|---|---|
SMF | SMI | Disabled - Configuration Required | Not Applicable | Not Applicable |
Revision History
Revision Details | Release |
---|---|
SMF deployment on bare metal server is supported and fully qualified in this release. | 2021.01.0 |
First introduced. | Pre-2020.02.0 |
Feature Description
The SMF deployment and configuration procedure involves deploying the SMF through the Subscriber Microservices Infrastructure (SMI) Cluster Deployer and configuring the settings or customizations through the SMF Operations (Ops) Center. The Ops Center is based on the ConfD CLI. The SMF configuration includes the NRF profile data configuration and the externally visible IP addresses and ports.
SMF Ops Center
The Ops Center is a system-level infrastructure that provides the following functionality:
- A user interface to trigger a deployment of microservices with the flexibility of providing variable helm chart parameters to control the scale and properties of Kubernetes objects (deployment, pod, services, and so on) associated with the deployment.
- A user interface to push application-specific configuration to one or more microservices through Kubernetes configuration maps.
- A user interface to issue application-specific execution commands (such as show and clear commands). These commands:
- Invoke some APIs in application-specific pods
- Display the information returned on the user interface application
The SMF Ops Center allows you to configure the features such as licensing, SMF engine, REST Endpoint, and CDL.
A sample web-based command line interface is shown below.
Figure 1: Web-based CLI of Ops Center
URL: https://cli.smf-ops-center.10.86.73.232.nip.io
product smt# product smf# show running-config helm default-repository smf helm repository smf i url http://engci-maven-master.cisco.com/artifactory/mobile-cnat-charts-dev/mobile-cnat-smf/smf-products/master/ dockerhub.cisco.com/mobile-cnat-docker-dev k8s namespace smf k8s registry k8s single-node false k8s use-volume-claims false k8s ingress-host-name 10.86.73.232.nip.io smf-services svc1 smf-name smf1 smf-address 127.0.0.1 http-endpoint base-url smf-service.com slices name slicel sst 88 sdt 123456 i 432803 smf-settings base-url-nrf http://10.142.40.191:8099 smf-settings base-url-pcf http://10.142.40.191:8099 smf-settings base-url-amf http://10.142.40.191:9000 smf-settings base-url-udm http://10.142.40.191:8099 smf-settings upf-ip-addr 10.142.40.191 smf-settings n4-peer-addr 10.142.40.191 smf-settings n4-peer-port 8809 smf-settings datastore-endpoint datastore-ep-smf:8980 smf-settings redis-endpoint redis-primary:6379 smf-settings rest-ep no-of-replicas 1 smf-settings rest-ep external-ip [ 10.86.74.150 ] smf-settings service no-of-replicas 2 smf-settings upmgmt no-of-replicas 1 smf-settings protocol no-of-replicas 1 smf-settings protocol external-ip [ 10.86.74.150 ]
Prerequisites
Before deploying SMF on the SMI layer:
- Ensure that all the virtual network functions (VNFs) are deployed.
- Run the SMI synchronization operation for the SMF Ops Center and Cloud Native Common Execution Environment (CN-CEE).
- Ensure that the node labels are configured as per the recommended pod deployment layout.
- Configure the external VIPs as per the NF requirement.
- Enable Istio for pod-to-pod traffic load balancing.
Deploying and Accessing SMF
This section describes how to deploy SMF and access the SMF Ops Center.
Deploying SMF
The Subscriber Microservices Infrastructure (SMI) platform is responsible for deploying and managing the Cloud Native 5G SMF application and other network functions.
For information on how to deploy SMF Ops Center on a vCenter environment, see the "Deploying and Upgrading the Product" section in the Ultra Cloud Core Subscriber Microservices Infrastructure—Operations Guide.
Accessing the SMF Ops Center
For information on how to deploy SMF Ops Center on bare metal servers (currently Cisco UCS-C servers) environment, see the "Operating the SMI Cluster Manager on Bare Metal" section in Ultra Cloud Core Subscriber Microservices Infrastructure — Operations Guide.
You can connect to the SMF Ops Center through one of the following options:
- SSH
- Web-based console
To connect to the SMF Ops Center through SSH, use the following command:
ssh admin@ops_center_pod_ip -p 2024
Use the same user name and password as configured through the SMI Ops Center. For more information on the user management for access control, see the CEE Configuration and Administration Guide.
To connect to the Ops Center through Web-based console, perform the following steps:
- Log on to the Kubernetes master node.
- Run the following command:
kubectl get ingress <namespace>
The available ingress connections get listed. - Select the appropriate ingress and access the SMF Ops Center.
- Access the following URL from your web browser:
cli.<namespace>-ops-center.<ip_address>.nip.io
By default, the Day 0 configuration is loaded into the SMF.
To connect to the Ops center using FQDN and path-based URL routing, see the "Configuring Hostname and URL-based Routing for Ingress" section in the Ultra Cloud Core Subscriber Microservices Infrastructure - Deployment Guide.
SMF Service Configuration
The SMF service requires the basic configuration to process PDU Session Management API calls.
Mapping Pods with Node Labels
Prerequisites
- Ensure that the node labels are according to the pod deployment layout.
- Ensure that the external VIPs are according to the requirement of NF.
- Enable Istio for pod to pod traffic load balancing.
Loading Day 1 Configuration
Node Labels are key and value pairs that are attached to nodes at cluster synchronization. Each node can have a set of key and value labels defined. Each key must be unique for a node. With labels, users can map their NF pods onto nodes in a loosely coupled manner.
Important
- The pod-level labeling configuration is applicable only when the SMF is deployed on a bare metal server.
- Ensure to configure the node label on the SMI cluster deployer before mapping the pods. Following is the sample command for master-1 labeling:
[cndp-clpnc-cm-cm-primary] SMI Cluster Deployer (config-nodes-master-1)# k8s node-labels smi.cisco.com/svc-type smf-node
To map the pods with node labels, use the following sample configuration:
config k8 label protocol-layer key label_key value label_value k8 label service-layer key label_key value label_value k8 label cdl-layer key label_key value label_value k8 label oam-layer key label_key value label_value end
Following is an example configuration of pod to node-label mapping:
k8 label protocol-layer key smi.cisco.com/node-type value smf-proto exit k8 label service-layer key vm-type value smf-svc exit k8 label cdl-layer key smi.cisco.com/node-type value smf-cdl exit k8 label oam-layer key smi.cisco.com/node-type value oam exit
To load the Day 1 configuration for SMF, run the following command:
ssh admin@ops_center_pod_ip -p 2024 < Day1config.cli
Alternatively, you can copy the Day 1 configuration and paste it in the SMF Ops Center CLI to load the Day 1 configuration.
config <Paste the Day 1 configuration here> commit exit
To view the Day 1 configuration for SMF, see the "Sample SMF Configuration" chapter.