NSSF Installation
This section includes information about NSSF deployment.
Following are the parameters and definitions used during NSSF deployment:
Table 4-4 Parameters and Definitions
Parameters | Definitions |
---|---|
<helm chart>
|
It is the name of the chart that is of the form <helm
repo>/ocnssf.
|
<OCNSSF version>
|
It is the software version (helm chart version) of the NSSF. This is optional, if omitted, the default version is the latest version available in helm repository. |
<release>
|
It is a name provided by the user to identify the helm deployment. |
<k8s namespace>
|
It is a name provided by the user to identify the kubernetes namespace of the NSSF. All the NSSF micro services are deployed in this kubernetes namespace. |
<mysql host>
|
It is the hostname of the mysql
service and can be provided as, <release>-mysql.<k8s namespace>.
|
NSSF Deployment on Kubernetes
Note:
- To configure the parameters, refer Customizing NSSF.
Create Database User/Group
The NSSF uses a MySQL database to store the configuration and run time data.
The NSSF deployment using MySQL NDB cluster requires the database administrator to create a user in the MYSQL DB and to provide the user with necessary permissions to access the tables in the NDB cluster.
- Login to the server where the ssh keys are stored and the SQL nodes are accessible.
- Connect to the SQL nodes.
- Login to the Database as a root user.
- Create a user and assign it to a group
having necessary permission to access the tables on primary SQL nodes:
CREATE USER '<username>'@'%' IDENTIFIED BY '<password>'; DROP DATABASE if exists nssfdb; CREATE DATABASE nssfdb CHARACTER SET utf8; GRANT SELECT, INSERT, CREATE, ALTER, DROP, LOCK TABLES, CREATE TEMPORARY TABLES, DELETE, UPDATE, EXECUTE ON nssfdb.* TO '<username>'@'%'; USE nssfdb;
- Grand necessary permissoins to access the tables on seconary SQL nodes:
GRANT SELECT, INSERT, CREATE, ALTER, DROP, LOCK TABLES, CREATE TEMPORARY TABLES, DELETE, UPDATE, EXECUTE ON nssfdb.* TO '<username>'@'%'; USE nssfdb;
Note:
The<username>
and<password>
is created by the Database Administrator. - Exit from database and logout from SQL node.
Table 4-5 NSSF Deployment
Step # | Procedure | Description |
---|---|---|
1 |
Create customized ocnssf-custom-values-1.3.0.yaml file
|
Create the customized ocnssf-custom-values-1.3.0.yaml with the required
input parameters.
To configure the The Download the package |
2 | Go to the unzipped OCNSSF package | Go to the following
directory:
|
3 |
Deploy OCNSSF | Execute the following command:
Example:
|
4 |
Check status of the deployment | helm
status --name <helm-release>
Example: |
5 |
Check status of the services | Execute the following command:
kubectl -n <k8s namespace> get services Example: kubectl -n ocnssf get services
Note:
If
|
6 |
Check status of the pods | Execute the following command:
Status column of all the pods must indicate 'Running'. Ready column of all the pods should be n/n, where n is number of containers in the pod. Example:
|