# Set or not set PBS\_LEAF\_NAME parameter

**URL:** <https://community.openpbs.org/t/set-or-not-set-pbs-leaf-name-parameter/2648>\
**Category:** Users/Site Administrators\
**Created:** [June 11, 2021, 5:10pm UTC](https://community.openpbs.org/t/set-or-not-set-pbs-leaf-name-parameter/2648 "2021-06-11T17:10:30Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![boboshaq](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@boboshaq](https://community.openpbs.org/u/boboshaq)\
**Post date:** [June 16, 2021, 9:31am UTC](https://community.openpbs.org/t/set-or-not-set-pbs-leaf-name-parameter/2648/5 "2021-06-16T09:31:31Z")

</div>

OK, I was testing my old configuration. I reading communication log in $PBS\_HOME/comm\_logs .

/etc/hosts  
10.10.10.1 h1.domain h1 comm\_h1

pbs.conf  
PBS\_SERVER=h1.domain  
PBS\_LEAF\_NAME=comm\_h1

In above settings, communication deamon threads registered via this hostname and in internal network:  
Comm@comm\_h1  
and witch nodes IPs from internal network: 10.10.10.0/24 .  
But when I comment PBS\_LEAF\_NAME parameter in pbs.conf:  
pbs.conf  
PBS\_SERVER=h1.domain  
#PBS\_LEAF\_NAME=comm\_h1

communication deamon threads was registered via short hostname h1:  
Comm@h1  
and registered communication under all networks - external too.

So, now I know, that I should use PBS\_LEAF\_NAME instead of just my hostname, because my hostname resolves every networks in my machine and PBS\_LEAF\_NAME (comm\_h1) resolves just one network despite they are both in one line in /etc/hosts:  
10.10.10.1 h1.domain h1 comm\_h1

Thanks for help,  
Regards!

---

_[View the full topic](https://community.openpbs.org/t/set-or-not-set-pbs-leaf-name-parameter/2648)._
