2.2.4. Configuring a Network Installation of RSM

RSM's application, service, and database location settings are stored in the Ans.Rsm.AppSettings.config file in each local installation of RSM. If you have a network installation of the same RSM package that may be shared by multiple machines, it is important to remember that the Ans.Rsm.AppSettings.config file is shared by all machines. If you want each machine to have a different RSM configuration, you will need to point each machine to local RSM configuration directories.

Perform the following steps on each machine where the same RSM package is used:

  1. Set the system environment variable ANSYS_RSM_APPSETTINGS_DIR to point to the new RSM application settings configuration directory. Create the directory if it does not exist. Then, add a sub-directory for the RSM version (for example, v242). Copy the Ans.Rsm.AppSettings.config file into the version sub-directory (for example, C:\rsmconfigs\v242). This file is located in the RSM\Config folder where Ansys products are installed on a network drive.


    Note:  On Linux:

    • If you are installing the RSM launcher service as a daemon, and/or installing Ansys RSM Cluster (ARC) services as daemons, you must set the ANSYS_RSM_APPSETTINGS_DIR variable in the sudo environment.

      To ensure that the variable is passed correctly when installing these services as daemons, run the applicable command below:

      Launcher service: sudo -E [RSMInstall]/RSM/Config/tools/linux/install_daemon -launcher

      ARC services: sudo -E [RSMInstall]/RSM/ARC/tools/linx64/install_daemon -arcmaster -arcnode

    • If you are using the launcher startup script [RSMInstall]/RSM/Config/tools/linux/rsmlauncher to manually start the RSM launcher service, you can set the variable in the script.


  2. Set the system environment variable ANSYS_RSM_CONFIGURATION_DIR to point to the new RSM configuration directory. This should be a local path on the machine. For more information about the RSM configuration directory, see Specifying a Directory for RSM Configuration Files.

    For information about setting environment variables in Linux, see Adding Common Job Environment Variables for Jobs.

  3. If the RSM launcher service was installed on the HPC submit host, restart the launcher service on that machine:

    • For Windows: On your Administrative Tools or Administrative Services page, open the Services dialog box. Right-click the desired service and select Restart.

    • For Linux: Log into a Linux account with administrative privileges and ensure that Ans.Rsm.* processes are not running. In a terminal window, run the following command:

      [RSMInstall]/RSM/Config/tools/linux/rsmlauncher restart