Licensing

Licensing

How do I configure RSM to distribute remote solves across multiple workstations (no scheduler)?

    • FAQFAQ
      Participant

      A quick note before we get started. Please replace any occurrence of “182” or “18.2” with the version you are using. For instance: 18.2 / 182: Launcher Service Port would be: 9182 ARC Ports: 10182, 11182, 12182, 13182 Path would be: c:program filesansys incv182 19.0 / 190: Launcher Service Port would be: 9190 ARC Ports: 10190, 11190, 12190, 13190 Path would be: c:program filesansys incv190 2019R1 / 193: Launcher Service Port would be 9193 ARC Ports: 10193, 11193, 12193, 13193 Path would be: c:program filesansys incv193 Additional RSM Help can be found at: https://ansyshelp.ansys.com == ON THE SUBMIT HOST MACHINE == (this is the machine that will be the Head Node of the cluster) Please be sure that you have the Ansys products fully installed on all of the remote machines as well as the client machine. Next create a directory on the submit host machine that you would like to use as the staging directory. For this example I will use e:RSMStaging Now share that directory out so that anyone can read and write to it. Right click on RSMStaging and select Properties Select Sharing Tab Click on Share… Type in: Everyone And click Add Type in: Domain Computers Click Add Type in: Domain Users Click Add Give each of the users Read/Write access Then click “Share” Then click Done Next on the Solver Machine open an admin command prompt (Start -> type CMD -> Right click on cmd.exe and select Run as Administrator) (For this example I will assume your Ansys installation directory on the Solver Machine is at c:program filesAnsys Inc) *** IF YOU ALREADY HAVE A VERSION OF ARC RUNNING ON THIS MACHINE PLEASE SEE THE NOTE AT THE END OF THE INSTRUCTIONS BEFORE PROCEEDING*** Now type the following: cd “program filesansys incv182RSMARCtoolswinx64” installservice -arcmaster -arcnode cd “program filesansys incv182RSMbin” ansconfigrsm -launcher Now make sure that ports 9182, 10182, 11182, 12182, 13182 are open on the Solver Machine’s firewall, and each of the additional compute node firewalls if the firewall is enabled. == On EACH of the additional machines used for solving == Make sure the Ansys software is installed on each additional machine Open an Admin command prompt (Start -> type CMD -> Right click on cmd.exe and select Run as Administrator) Now type the following: cd “program filesansys incv182RSMARCtoolswinx64” installservice -arcnode arcconfig node modify %COMPUTERNAME% -mn MasterNode (Replace MasterNode with the name of the headnode you set up earlier) == On the CLIENT Machine (the machine you are sending jobs FROM) == Next on the Client machine open the RSM Cluster Configuration Utility: Start -> All Programs -> Ansys 18.2 -> Remote Solve Manager -> RSM Configuration 18.2 Click “+” Give the new configuration a name (doesn’t matter what it is) Fill in the hostname of the Solver Machine in the Submit Host field. (This is the name of the machine you configured earlier in the instructions) On the right select Windows 64 For Cluster type Select ARC Uncheck “Use SSH Protocol for inter and intra-node communication” (if using linux, keep this checked) Click Apply Go to the “File Management” Tab Select “Operating System File Transfer” Put in the share path to the RSMStaging directory you shared earlier eg.: \MasterNodeRSMStaging (Replace MasterNode with the actual hostname of the solver machine) Click on Apply Select the Queues Tab Click on the “Refresh” button in the upper left This should now show you a “Local” and “Default” queue. For the “Default” queue click on the “Submit” button in the “Test” column. An icon will appear in the Report Column. Click on that and verify that the job submitted successfully. == Instructions for Multiple Versions of RSM on the Same Remote Solver == If you want to run multiple versions of or RSM/ARC on the same machine there is one change that needs to be made. You can run multiple versions of the RSM Launcher service on the same machine as described by the instructions above. However you can only run one version ARC (the Ansys scheduler) on a machine at a time. First remove the previous version of ARC from ALL nodes in the cluster, 18.2 is used in this example: (replace “18.2” and “182” with the version you are about to remove) Open an Administrator Command Prompt Start -> type CMD -> Right click on cmd.exe and select Run as Administrator Now type the following: cd “program filesansys incv182RSMARCtoolswinx64” uninstallservice -arcmaster -arcnode Lastly configure the ARC_ROOT environment variable for the new version on ALL nodes int he cluster (we will use 19.2 as the “new” version in this example): Click Start -> Right Click on This PC or My Computer -> Properties Click on “Advanced System Settings” Click on “Environment Variables” Click on “New…” in the bottom pane For “Variable Name” enter in: ARC_ROOT For “Variable Value” enter in: c:program filesansys incv192RSMARC (remember to replace v192 with the new version you are using) Now you can continue with the instructions above as normal.