To set up a master machine with mental ray standalone - method 2
ray –hosts ipAddressOfRemoteMachine1:31210 ipAddressOfRemoteMachine2:31210 –v 5 –x 1 sceneFile.mi
This uses Machine1 and Machine2 as render slaves. This overrides any .rayhosts files on the master machine.