Put the mainframe near the power source. Consideration should be given not only to machine operation, but servicing the machine as well, with front doors and rear boxes fully open.