I am not sure do I need use PBS_LEAF_NAME parameter.
In installation guide at 4.4.5 is wrote: By default, the name of the endpoint’s host is the hostname of the machine. You can set the name where an end-point runs. This is useful when you have multiple networks configured, and you want PBS to use a particular network.
I have multiple interfaces configured.
I want to PBS using one of my particular internal network,
but my hostname resolve that particular internal network IP adress in /etc/hosts.
So do I really need set PBS_LEAF_NAME parameter in this case?
In above settings, communication deamon threads registered via this hostname and in internal network:
and witch nodes IPs from internal network: 10.10.10.0/24 .
But when I comment PBS_LEAF_NAME parameter in pbs.conf:
communication deamon threads was registered via short hostname 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