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 as the root user on the WS-NOC MnCMain VM.


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.


Remove the nspOS files.

  1. Enter the following:

    cd /install_dir/config/bench ↵

  2. Enter the following sequence of commands:

    rm -f activenspos.cfg

    rm -f ncpOS.cfg

    rm -f nspca.tar


Enter the following:

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


Open the following file using a plain-text editor such as vi:

MWSVC-WEB_plat.properties.base


Remove the following entries from the file:

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


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