(Optional) Configuring a Shared Directory
If a shared directory or file system exists in the system and OpenMPI or IOR has been installed in the shared directory or file system, skip this step.
Procedure
- Use PuTTY to log in to the server where OpenMPI and IOR are installed as the root user.
- Run the following command on the server where OpenMPI and IOR are installed:
- vi /etc/exports
- Press i to enter the editing mode and add the following content to the end of the /etc/exports file:
/home *(rw,no_root_squash,sync)
- Press Esc, enter :wq!, and press Enter to save the file and exit.
- systemctl restart nfs
- systemctl enable nfs
- Use PuTTY to log in to other servers as the root user.
- Run the following commands on other test nodes to share the directory with other test nodes:
mkdir /home/OpenMPI
mkdir /home/ior-master
mount -t nfs NFS server IP address:/home/OpenMPI /home/OpenMPI
mount -t nfs NFS server IP address:/home/io-master /home/io-master
Parent topic: Software Installation and Environment Configuration