Do I install SAM on the APE or the Primary?

Quick Question, 

I'm trying to get my information together before presenting to management.

But I'm still not understanding where to install SAM?

We want to got the route of an Additional Polling Engine and an Additional Web Server.

But do we install SAM on the APE or does it have to be install on the Primary Server and connect to its APE?