# Qsub specific hosts

**URL:** <https://community.openpbs.org/t/qsub-specific-hosts/991>\
**Category:** Users/Site Administrators\
**Created:** [May 14, 2018, 2:25pm UTC](https://community.openpbs.org/t/qsub-specific-hosts/991 "2018-05-14T14:25:49Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![adarsh](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@adarsh](https://community.openpbs.org/u/adarsh)\
**Post date:** [January 19, 2019, 5:55pm UTC](https://community.openpbs.org/t/qsub-specific-hosts/991/8 "2019-01-19T17:55:25Z")

</div>

> [@leclerc](#):
>
> How do I do if I want to submit alternatively to one of the three nodes: host5, host6 or host7 ? If I specifify this:  
> qsub -l nodes=host5,nodes=host6,nodes=host7  
> Will it submit to host5 or alternatively to host6 (or host7) when there is no more available resources on host5 (or host6) ?

[Answer]: No, you need to create qsub wrapper script based on the logic of selecting one of the nodes, which will take the inputs from user and submit the job alternatively.  
Please follow this link: [PP-506,PP-507: Add support for requesting resources with logical 'or' and conditional operators - #42 by arungrover](http://community.openpbs.org/t/pp-506-pp-507-add-support-for-requesting-resources-with-logical-or-and-conditional-operators/416/42)

---

_[View the full topic](https://community.openpbs.org/t/qsub-specific-hosts/991)._
