Hi Reza,
- you can run SGEN in any client.
- if your db server and app server have same hardware and OS, you can run it anywhere.. better app server using parallel processing to speed up.
- Also it will generate archive logs, so do check on this front.
http://scn.sap.com/thread/1663070
best regards
ashish