Configuring FIPS on 2.0.2 Cloud Pak for Data System
Use the configure_fips.py script to manage FIPS settings on 2.0.2 Cloud Pak for Data System. FIPS is disabled by default.
About this task
The script is located on every control node at: /opt/ibm/appliance/platform/xcat/scripts/xcat/configure_fips.py.
This script can be run from any control node and it will apply the changes on all the control nodes. Note that all control nodes need to be rebooted for changes to be effective, which means you need to run the system shutdown and startup steps as described in this task.
The log file is located in /var/log/appliance/platform/xcat/configure_fips.log.tracelog.
Usage:
/opt/ibm/appliance/platform/xcat/scripts/xcat/configure_fips.py --h[root@e1n1 ~]# /opt/ibm/appliance/platform/xcat/scripts/xcat/configure_fips.py -h
usage: configure_fips.py [-h] [--enable] [--disable] [--check_status]
This script will manages fips settings
optional arguments:
-h, --help show this help message and exit
--enable
--disable
--check_status
[root@e1n1 ~]#
- --enable
- This option enables the FIPS on every node. The same can be verified by running
--check_statusoption of script.Example:[root@e1n1 ~]# /opt/ibm/appliance/platform/xcat/scripts/xcat/configure_fips.py --enable [root@e1n1 ~]# // reboot all the nodes by following steps under Procedure section [root@e1n1 ~]# /opt/ibm/appliance/platform/xcat/scripts/xcat/configure_fips.py --check_status On node e1n1 - FIPS mode is enabled. On node e2n1 - FIPS mode is enabled. On node e3n1 - FIPS mode is enabled. Done [root@e1n1 ~]# - --disable
- This option disables the FIPS on every node. The same can be verified by running
--check_statusoption of script.Example:[root@e1n1 ~]# /opt/ibm/appliance/platform/xcat/scripts/xcat/configure_fips.py --disable [root@e1n1 ~]# // reboot all the nodes by following steps under Procedure section [root@e1n1 ~]# /opt/ibm/appliance/platform/xcat/scripts/xcat/configure_fips.py --check_status On node e1n1 - FIPS mode is disabled. On node e2n1 - FIPS mode is disabled. On node e3n1 - FIPS mode is disabled. Done [root@e1n1 ~]# - --check_status
- This option checks FIPS status on every control
node.Example:
When you run[root@e1n1 ~]# /opt/ibm/appliance/platform/xcat/scripts/xcat/configure_fips.py --check_status On node e1n1 - FIPS mode is disabled. On node e2n1 - FIPS mode is disabled. On node e3n1 - FIPS mode is disabled. Done [root@e1n1 ~]#--check_statuson 2.0.2 system where FIPS was never enabled before, you get the following output:[root@e1n1 ~]# /opt/ibm/appliance/platform/xcat/scripts/xcat/configure_fips.py --check_status On node e1n1 - Installation of FIPS modules is not completed. FIPS mode is disabled. On node e1n2 - Installation of FIPS modules is not completed. FIPS mode is disabled. On node e1n3 - Installation of FIPS modules is not completed. FIPS mode is disabled. Done [root@e1n1 ~]#
Procedure
Restart the nodes as in the following steps: