Table of ContentsPreviousNextIndex


 


Licensing mental ray 3.6.51

You license mental ray 3.6.51 by requesting a license. You must use the Autodesk mental ray activation form at www.autodesk.com/mentalrayactivation.

In response, Autodesk sends you an e-mail, fax, or mail containing the license information.

Obtaining a license

To obtain your license you must send a request to Autodesk with your machine information.

To obtain a license
  1. After you have installed the mental ray software, log in as root and run the following:
  2. /var/spm/spm_key -c

  3. Read and record your machine information.
  4. Launch your Internet browser, complete the online mental ray activation form at www.autodesk.com/mentalrayactivation and click Submit.

Installing a license

For floating licenses, perform these steps on the machine that will run the license server process.

To install a mental ray license
  1. You should have already obtained a license from Autodesk. If not, refer to Obtaining a license.
  2. Save the license file as a text file in an accessible location; for example, my_license .
  3. Log in as root.
  4. Type the following command:
  5. /var/spm/spm_key -x <path_to_license_file>/my_license

    The license is installed into the appropriate location on your machine.

    Continue with Additional setup for floating licenses.

Troubleshooting SPM

If you get FATAL ERROR (/var/spm/spm_key) : Error while checking protection system while requesting a license, use the instructions below to resolve it.

To resolve FATAL ERROR (/var/spm/spm_key) : Error while checking protection system

  1. Open a shell window.
  2. Type /etc/init.d/spm start

If you get a message like the one below, then re-request your license information.

SPM kernel module (spmkmod.smp.24) loaded.
SPM daemon started.

Additional setup for floating licenses

The following steps must be performed on floating servers. These steps are not necessary for floating client machines. For more information on client machines, see Setting up client machines.

To set up options and start the license server daemon
  1. Set the following environment variable manually by typing:
  2. setenv SPM_HOST <your_license_server>

    where <your_license_server > is the name of your license server machine.

  3. Verify the license server installation by typing:
  4. /var/spm/spmstat -KD

    You should get a message that looks like this:

    SPM-daemon on '127.0.0.1':
    License from Autodesk:
    License name version lic# used beg_date end_date cpu# type

    The information in the message should be consistent with what you purchased from Autodesk.

    If the SPM-daemon is still not running, start it (as superuser):

    /var/spm/spmd

  5. If the SPM License Server (the spmd daemon) was already running when you installed new licenses, restart the SPM License Server (as superuser) by rebooting your server machine or by typing /var/spm/spmd .
  6. Note

    For systems that will be serving licenses, but not running mental ray, the licensing setup is complete. Continue with Setting up client machines for all other machines.



Table of ContentsPreviousNextIndex