To roll back WS-NOC and NSP integration

Purpose

Perform this procedure to roll back the integration of a WS-NOC server and an NSP cluster, as may be required if the integration fails.

Note: You require the following user privileges to perform the procedure:

  • on each WS-NOC server station—root

  • on each WS-NOC main VM—mncmaintuser

  • on each NSP cluster VM—root or NSP admin

Note: install_dir in a command is the WS-NOC base installation directory.

Note: release-ID in a file path has the following format:

R.r.p-rel.version

where

R.r.p is the NSP release, in the form MAJOR.minor.patch

version is a numeric value

Steps
 

Log in to the WS-NOC main VM as mncmaintuser.


Edit the /install_dir/config/bench/configuration.json file using a plain-text editor such as vi.


Remove the "nsp" property from the "remoteAuthentication" => "active" field.


Save the changes and close the file.


Enter the following:

rm -f /install_dir/config/bench/activenspos.cfg ↵


Enter the following:

cd/install_dir/app/templates/MW-INT ↵


Remove the following entries from the file:

MWSVC-WEB_plat.properties.base

plat.preserver.3.mwsvcport=5138

plat.preserver.3.supporteddatatypes=Log

plat.preserver.3.nativedatatypes=Log

plat.preserver.3.hostname=nspos

plat.preserver.3.mwsvcserviceport=5035

plat.preserver.3.systype=OTNE

plat.preserver.3.showcpu=false


Delete the nspca.tar file and nspOS.cfg file from the /install_dir/config/bench directory.


Enter the following:

sudo /install_dir/setup/config.sh ↵

The WS-NOC is reconfigured.


10 

Enter the following to align the TLS certificates:

sudo/install_dir/setup/generateAndAlignCertificates.sh ↵

End of steps