How do I switch an NSP cluster between SELinux modes?

Purpose

Perform this procedure to change an SELinux-enabled NSP cluster between permissive and enforcing mode.

Steps
 

Log in as the root user on the NSP cluster node.


Open a console window.


Enter the following:

cd /opt/nsp/nsp-deployer/tools/selinux/tools/bin ↵


Do one of the following:

  • Enter the following to switch to permissive mode:

    ./selinuxenable.sh -p ↵

    The SELinux mode is set to permissive.

  • Enter the following to switch to enforcing mode:

    ./selinuxenable.sh -e ↵

    The SELinux mode is set to enforcing.

End of steps