Morpheus 3 nodes Installation with Shared NFS storage

Hi team, I deploying 3 node HA environment for testing purpose but when I mount the nfs path and reconfigure I get error of Operation not permitted on /var/opt/morpheus/morpheus-ui…Though I have followed the documentation and also tried the solution of same uid and guid given in support portal but still same error…

the uid and guids assign in nfs and node 1 are same

All nodes should have the same gid and uid usually set in the morpheus.rb. That said, you’re error is usually higher up in than the screenshot and the reconfigure wouldn’t fail on the gid/uid typically so its most likely a different issue.

my error log files are clear no such error identified in them too

Can you post up the export configuration used to create the NFS share. Are all IPs/clients allowed, is it read-write. Would be worth inspecting that.

1 Like

yes, I have allowed all the ips for testing purpose

*(rw,sync,root_squash,no_subtree_check,no_wdelay,insecure)

Your screenshot still did not contain the error thrown directly from the reconfigure. There would be a line with red text if you scroll up.

We do have this setup in our environment and it just works fine.
morpheus-ui directory on the NFS share should have an soft link from a local filesystem in all 3 app nodes. Otherwise the morpheus-ui directory and its contents wont be consistent across all 3 nodes.
Have you created soft links in the app nodes? If not, you may need to create them.

Thanks.

1 Like

When you created the morpheus-ui directory, did you setup the owner as root:root and file permissions set to 755? Unmount the NFS filesystem and check those permissions to be correct. If not root:root and 755 you will have weird EPERM issues within scripts once the NFS filesystem is mounted on top of that mount point.

Thank you for the response, I’m redeploying it will let you know if the same error produces again.