Reconfigure DVS for an External NFS Server

How to reconfigure a system to add an external NFS server.

This procedure assumes that initial software installation and system configuration have occurred, though configuration may be incomplete.
This procedure reconfigures the system to add an external NFS server. Note that because DVS is a somewhat complex service, this procedure involves touching multiple service configuration templates.
  1. Update the network configuration on the DVS node to add a host, its network interfaces, and possibly a network if those interfaces are connected to a network that is not the same as the login node network.
    The following command line invokes cfgset to update service (-s) cray_net in config set p0. By specifying level (-l) advanced, all levels of configuration setting can be reviewed and changed. By specifying interactive mode (-m), any of those settings can be visited in any order. Settings of all states are visible by default in interactive mode. See the cfgset man page for a complete list of subcommands and options.
    Note: Reconfiguration tasks usually use the configurator in interactive mode to update a config set.
    smw# cfgset update --service cray_net --level advanced --mode interactive p0
  2. Update the DVS configuration on the DVS node to specify how to access an external NFS server.
    smw# cfgset update -s cray_dvs -l advanced --state all p0
    In this example, the configurator is invoked in auto mode (default) to update cray_dvs service settings of all states (--state all) and levels. Auto mode ensures that all specified states and levels of configuration setting are presented in a predefined, logical order. For more information about updating the DVS configuration, see Reconfigure DVS Interactively
  3. Configure LDAP.
    Configure this service to have the same accounts on the CLE system as on the file server. This service can be configured either for Microsoft Active Directory style of schema for LDAP or the OpenLDAP style of schema for LDAP. Alternatively, the service can be configured for NIS, if the site uses that directory service.
    smw# cfgset update -S all -s cray_auth --level advanced p0
  4. Configure automount files on the DVS node using Simple Sync.
    This step uses Simple Sync to push some automount files to a specific DVS node. In this example, the specific DVS node is c0-0c0s0n2, the automount files are found on the SMW in /home/crayadm/etc, the NFS server name is CSS, and the CLE config set is p0. Substitute the correct node, filepath, NFS server name, and config set name for this site.
    smw# cd /var/opt/cray/imps/config/sets/p0/files
    smw# mkdir -p simple_sync/hardwareid/c0-0c0s0n2/files/etc/auto.master.d
    smw# cd simple_sync/hardwareid/c0-0c0s0n2/files/etc
    smw# cp -p /home/crayadm/etc/auto.css .
    smw# cp -p /home/crayadm/etc/auto.master.d/css.autofs auto.master.d
  5. Run cray-ansible on the DVS node to pull that content to the DVS node.
    dvs# /etc/init.d/cray-ansible start