9.4 Configure an Exalogic Linux Compute Node to Use NFSv4

Configure an Exalogic Linux compute node as follows:

  1. Log in to the compute node as root.
  2. Edit the /etc/idmapd.conf configuration file:

    vi /etc/idmapd.conf

    Set the domain value, as in the following example:

    Domain = us.myexample.com

  3. Restart the rpcidmapd service:

    service rpcidmapd restart

  4. Update the /etc/yp.conf configuration file, and set the correct domain value, as in the following example:

    vi /etc/yp.conf

    Add the following line:

    domain us.myexample.com server <NIS_Server_hostname_or_IP>

    Where us.myexample.com is the example domain and <NIS_Server_hostname_or_IP> is the host name or IP address of the NIS server. You must replace these sample values with values appropriate for your environment.

  5. Set NIS domain name on the command line:

    # domainname <NIS_DOMAIN_NAME>

    For example:

    # domainname nisdomain.example.com

  6. Edit the /etc/nsswitch.conf configuration file:

    vi /etc/nsswitch.conf

    Change the following entries:

    #passwd:     files
     passwd:     files nis
    #shadow:     files
     shadow:     files nis
    #group:      files
     group:      files nis
     automount:  files nis nisplus
     aliases:    files nis nisplus
    
  7. Restart the rpcidmapd service:

    # service rpcidmapd restart

  8. Restart the ypbind service by running the following command:

    # service ypbind restart

  9. Check the yp service by running this command:

    # ypwhich

  10. Verify if you can access Oracle user accounts:

    # ypcat passwd

  11. Add ypbind to your boot sequence, so that it starts automatically after rebooting.

    # chkconfig ypbind on