Go to main content

Oracle® MiniCluster S7-2 Administration Guide

Exit Print View

Updated: October 2021
 
 

Add External NFS (CLI)

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).

  1. Log into the mcmu CLI as a primary admin such as mcinstall.

    See Log in to the MCMU CLI.

  2. (If needed) Check what the NFS server is sharing:
    1. Ensure that an NFS is available form a server in your environment.

      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
    2. To check the version of the NFS service provided by the NFS server, type:
      % 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.

  3. Edit the App VM group profile.

    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
  4. Respond to the remaining prompts until the command is complete.

Related Information