Submit a job that requires specific resources to run.
For example, to submit a job which will run on Solaris 7 or Solaris 8:
bsub -R "sol7 || sol8" myjob
When you submit a job, you can also exclude a host by specifying a resource requirement using hname resource:
bsub -R "hname!=hostb && type==solaris" myjob