On each slave computer in a mental ray Satellite network, port number 7416 is set by default. This works well in most cases, but if you want to change the port number to a value other than 7416, you must edit the services file. The port value should be a free TCP/IP port, as determined by your network administrator.
To change the port number on a Windows or Linux computer
- In a text editor, open the services file from one of the following locations:
- (Windows) C:\Windows\system32\drivers\etc\services
- (Linux and Mac OS X) /etc/services
- In the following line, change the number 7416 to the desired port number:
mi-raysat2016 7416/tcp
- Restart the mental ray Satellite service using one of the following commands:
- For Linux, use the shell command
/etc/init.d/xinetd restart
Note: This will completely restart the xinetd daemon and its services.
- For Windows, use these Command Prompt commands as Administrator to stop and then restart the service:
net stop "mental ray Satellite 3.13.1 for Maya 2016"
net start "mental ray Satellite 3.13.1 for Maya 2016"
To change the port number on a Mac OS X 10.8.4 computer
- Log in as superuser:
sudo -s
- Open the file /etc/services using your preferred text editor.
- Edit the line: mi-raysat2016 7416/tcp.
- Save the file.
- From the Finder menu, select Go > Applications and then double-click the Utilities folder.
- Double-click the NetInfo Manager icon.
- Under the Services directory of the NetInfo database, select the appropriate service (mental ray Satellite 3.13.1 for Maya 2016).
- Click the lock icon at the bottom of the panel, and then enter your administrator user name and password.
This allows you to unlock the NetInfo database and make changes.
- Select the port field and change its value to the desired port number.
- Click the lock icon again when you’re done.
- From the Finder menu, select Domain > Save Changes to commit your changes to the NetInfo database.
- Restart your computer to restart mental ray Satellite.
To change the port number on a Mac OS X 10.9 computer
- Log in as superuser.
sudo -s
- Open the file/etc/services using your preferred text editor.
- Edit the line: mi-raysat2016 7416/tcp.
- Save the file.
- Open a Terminal window and do the following:
sudo
/usr/bin/dscl . -change /Services/mi-raysat2016port <currentportnumber>
<newportnumber>
For example:
sudo
/usr/bin/dscl . -change /Services/mi-raysat2016 port 7416 7109
Note: To determine the port you’re currently using, in a Terminal window, type: /bin/dscl . -read /Services/mi-raysat2016
- Restart your computer to restart mental ray Satellite.