When using FPP, you might experience the following error (PRVF-7546):
1 2 3 4 5 6 |
$ rhpctl add workingcopy -workingcopy WC_db_19_11_FPPC -image db_19_11 -path /u01/app/oracle/product/WC_db_19_11_FPPC -client fppc -oraclebase /u01/app/oracle fpps01: Audit ID: 121 PRGO-1260 : Cluster Verification checks for database home provisioning failed for the specified working copy WC_db_19_11_FPPC. PRCR-1178 : Execution of command failed on one or more nodes PRVF-7546 : The work directory "/tmp/CVU_19.0.0.0.0_oracle/" cannot be used on node "fppc02" |
This is often related to the filesystem /tmp that has the “noexec” option:
1 2 |
$ mount | grep /tmp tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec) |
Although it is tempting to just remount the filesystem with “exec”, you might be in this situation because your systems are configured to adhere to the STIG recommendations:
The noexec option must be added to the /tmp partition (https://www.stigviewer.com/stig/red_hat_enterprise_linux_6/2016-12-16/finding/V-57569)
FPP 19.9 contains fix 30885598 that allows specifying the temporary location for FPP operations:
1 |
$ srvctl modify rhpserver -tmploc <new_tmp> |
After that, the operation should run smoothly:
1 2 3 4 5 6 |
fppc02: Successfully executed clone operation. fppc02: Executing root script on nodes ltora401,ltora402. fppc02: Successfully executed root script on nodes fppc01,fppc02. fppc02: Working copy creation completed. fppc02: Oracle home provisioned. fpps01: Client-side action completed. |
HTH
—
Ludo