![]()
Set up a master machine with mental ray for Maya or mental ray for Maya Satellite
First, create a file called
maya.rayhosts.maya.rayhosts file format
The
maya.rayhostsfile must contain a listing of each slave machine’s name. These slave machines must be accessible on the network where mental ray for Maya (the master machine) is installed.For mental ray for Maya masters going to mental ray standalone slaves, you do not need to specify the port if you are using the default port (7006).
For mental ray for Maya Satellite masters, you must add the port number by typing “:<port number>” after the hostname in the
maya.rayhostsfile. The port number set on mental ray for Maya Satellite slave machines is 7106. For example:pc-host1:7106
pc-host2:7106If you are using a non-default port, you can specify it here as well:
lnx-host2:7555
You can use # to comment hosts out so they won’t be used; for example:
# pc-slave4:7106
You can use IP addresses as well as machine names.
Note
The port on which the slave listens is specified by the services file on the slave machine. For more information, see Slave machine setup. It is 7006 for mental ray standalone and 7106 for mental ray for Maya Satellite (as of Autodesk Maya 8.5).The port on which the master issues requests is set in the maya.rayhosts file or defaults to 7006 (the mental ray standalone port).The port number on the slave and the port number on the master must match for rendering to take place.
maya.rayhosts file location
Put the
maya.rayhostsfile in one of the following directories. (They are searched in order and the firstmaya.rayhostsfile that is found is used.)
- Maya 8.5 prefs folder:
- (Windows)
%USERPROFILE%\My Documents\maya\8.5\prefs- (Mac OS X)
/users/<username>/Library/Preferences/Autodesk/maya/8.5/Prefs- (Linux)
$HOME/maya/8.5/prefs- Maya Application folder:
- (Windows)
%USERPROFILE%\My Documents\maya- (Linux)
$HOME/maya- (Mac OS X)
/Applications/Autodesk/maya/8.5- User's home directory:
- (Windows)
%USERPROFILE% or %HOMEDRIVE%\%HOMEPATH%(usuallyc:\)- (Linux and Mac OS X)
$HOME- Directory of Maya 8.5 installation folder.
- (Linux)
/usr/autodesk/maya8.5/- (Windows)
C:\Program Files\Autodesk\maya8.5\- (Mac OS X)
/Applications/Autodesk/maya8.5/Related topics
![]()
![]()
![]()