How do I start an NSP cluster?

Purpose

The following steps describe how to start the Kubernetes software in an NSP cluster.

Note: A leading # character in a command line represents the root user prompt, and is not to be included in a typed command.

Note: If the cluster is SELinux-enabled, it must be placed in SELinux permissive mode prior to startup; see How do I switch an NSP cluster between SELinux modes?.

Steps
 
1 

Open a terminal session to the NSP deployer VM.


2 

Log in as the root or NSP admin user.


3 

Enter the following:

Note: If the NSP cluster VMs do not have the required SSH key, you must include the --ask-pass argument in the nspdeployerctl command, as shown in the following example, and are subsequently prompted for the root password of each cluster member:

nspdeployerctl --ask-pass install –-deploy

# /opt/nsp/NSP-CN-DEP-release-ID/bin/nspdeployerctl install –-deploy ↵

The NSP cluster starts.


4 

Log in as the root or NSP admin user on the NSP cluster host.


5 

Open a console window.


6 

Enter the following periodically to display the Kubernetes cluster status:

# kubectl get pods -A ↵

The NSP is operational when the status of each pod is Running or Completed.


7 

When the NSP cluster is operational, close the terminal session.

End of steps