Use this procedure to add a network file system (NFS) to a DB VM group or an App VM group.
The NFS service must be NFSv4. The NFS that you add can be any whole or partial directory tree or a file hierarchy, including a single file that is shared by and NFS server.
When you add external NFS to a group, the remote file system is immediately accessible to all the VMs in the group. External NFS is only made available to VMs in a group if shared storage is enabled. See Enable or Disable NFS (BUI).
There are a variety of ways to perform this step, depending on the type of server. This is an example of an Oracle Solaris command that shows what file systems a server is sharing:
% /usr/sbin/showmount -e NFSserver_name_or_IPaddress
% rpcinfo -p NFSserver_name_or_IPaddress | egrep nfs 100003 4 tcp 2049 nfs
The second column displays the version number. You might see several lines of output. One of them must report version 4.
This command displays any existing external NFS and prompts you to add additional external NFS or delete the existing external NFS.
% mcmu tenant -A -u Add External NFS External NFS ID 1 Mount: A_mountpoint Share: data01 Server IP: 192.0xx.xxx Do you want to "(A)dd a MountPoint, (D)elete a MountPoint or (C)ontinue editing the VM Group Profile"? Enter A/D/C: A Enter Mount: my_mountpoint Enter Share: data02 Enter Server IP address: 192.0xx.xxx Do you want to "(A)dd a MountPoint, (D)elete a MountPoint or (C)ontinue editing the VM Group Profile"? Enter A/D/C: A Enter Mount: another_mountpoint Enter Share: data02 Enter Server IP address: 192.0xx.xxx Do you want to "(A)dd a MountPoint, (D)elete a MountPoint or (C)ontinue editing the VM Group Profile"? Enter A/D/C: C