pbs_comm.8B 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. .\" Copyright (C) 1994-2018 Altair Engineering, Inc.
  2. .\" For more information, contact Altair at www.altair.com.
  3. .\"
  4. .\" This file is part of the PBS Professional ("PBS Pro") software.
  5. .\"
  6. .\" Open Source License Information:
  7. .\"
  8. .\" PBS Pro is free software. You can redistribute it and/or modify it under the
  9. .\" terms of the GNU Affero General Public License as published by the Free
  10. .\" Software Foundation, either version 3 of the License, or (at your option) any
  11. .\" later version.
  12. .\"
  13. .\" PBS Pro is distributed in the hope that it will be useful, but WITHOUT ANY
  14. .\" WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  15. .\" FOR A PARTICULAR PURPOSE.
  16. .\" See the GNU Affero General Public License for more details.
  17. .\"
  18. .\" You should have received a copy of the GNU Affero General Public License
  19. .\" along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. .\"
  21. .\" Commercial License Information:
  22. .\"
  23. .\" For a copy of the commercial license terms and conditions,
  24. .\" go to: (http://www.pbspro.com/UserArea/agreement.html)
  25. .\" or contact the Altair Legal Department.
  26. .\"
  27. .\" Altair’s dual-license business model allows companies, individuals, and
  28. .\" organizations to create proprietary derivative works of PBS Pro and
  29. .\" distribute them - whether embedded or bundled with other software -
  30. .\" under a commercial license agreement.
  31. .\"
  32. .\" Use of Altair’s trademarks, including but not limited to "PBS™",
  33. .\" "PBS Professional®", and "PBS Pro™" and Altair’s logos is subject to Altair's
  34. .\" trademark licensing policies.
  35. .\"
  36. .TH pbs_comm 8B "17 October 2017" Local "PBS Professional"
  37. .SH NAME
  38. .B pbs_comm
  39. - start the PBS communication daemon
  40. .SH SYNOPSIS
  41. Linux:
  42. .br
  43. .B pbs_comm
  44. [-N] [-r <other routers>] [-t <number of threads>]
  45. .br
  46. .B pbs_comm
  47. --version
  48. .br
  49. .sp
  50. Windows:
  51. .br
  52. .B pbs_comm.exe
  53. [-R | -U | -N] [-r <other routers>]
  54. .br
  55. \ \ \ \ \ \ \ \ \ \ \ \ \ [-t <number of threads>]
  56. .br
  57. .B pbs_comm
  58. --version
  59. .SH DESCRIPTION
  60. The PBS communication daemon,
  61. .B pbs_comm,
  62. handles communication between daemons, except for scheduler-server and
  63. server-server communication, which uses TCP. The server, scheduler,
  64. and MoMs are connected by one or more pbs_comm daemons.
  65. See the Communication chapter in the PBS Installation & Upgrade Guide.
  66. .SH OPTIONS
  67. .IP "-N" 10
  68. Runs the communication daemon in standalone mode.
  69. .IP "-r <other routers>" 10
  70. List of other
  71. .B pbs_comm
  72. daemons to which this
  73. .B pbs_comm
  74. must connect. This is equivalent to the pbs.conf variable
  75. .I PBS_COMM_ROUTERS.
  76. The command line overrides the variable.
  77. .br
  78. Format: <host>[:<port>][,<host>[:<port>]]
  79. .IP "-R" 10
  80. Registers the
  81. .B pbs_comm
  82. process. Available under Windows only.
  83. .IP "-t" 10
  84. Number of threads the
  85. .B pbs_comm
  86. daemon uses. This
  87. is equivalent to the pbs.conf variable
  88. .I PBS_COMM_THREADS.
  89. The command
  90. line overrides the variable.
  91. .br
  92. Format: Integer
  93. .IP "-U" 10
  94. Unregisters the
  95. .B pbs_comm
  96. process. Available under Windows only.
  97. .IP "--version" 10
  98. Prints the PBS version and exits. This option can only be used alone.
  99. .SH CONFIGURATION PARAMETERS
  100. .IP "PBS_LEAF_ROUTERS" 10
  101. Parameter in /etc/pbs.conf. Tells an endpoint where to find its
  102. communication daemon. You can tell each endpoint which communication
  103. daemon it should talk to. Specifying the port is optional.
  104. .br
  105. Format: PBS_LEAF_ROUTERS=<host>[:<port>][,<host>[:>port>]]
  106. .IP "PBS_COMM_ROUTERS" 10
  107. Parameter in /etc/pbs.conf. Tells a pbs_comm where to find its fellow
  108. communication daemons. When you add a communication daemon, you must
  109. tell it about the other pbs_comms in the complex. When you inform
  110. communication daemons about each other, you only tell one of each pair
  111. about the other. Do not tell both about each other. We recommend
  112. that an easy way to do this is to tell each new pbs_comm about each
  113. existing pbs_comm, and leave it at that.
  114. .br
  115. Format: PBS_COMM_ROUTERS=<host>[:<port>][,<host>[:>port>]]
  116. .IP "PBS_COMM_THREADS" 10
  117. Parameter in /etc/pbs.conf. Tells pbs_comm how many threads to start.
  118. By default, each pbs_comm process starts four threads. You can
  119. configure the number of threads that each pbs_comm uses. Usually, you
  120. want no more threads than the number of processors on the host.
  121. .br
  122. Maximum allowed value: 100
  123. .br
  124. Format: Integer
  125. .br
  126. Example: PBS_COMM_THREADS=8
  127. .IP "PBS_COMM_LOG_EVENTS" 10
  128. Parameter in /etc/pbs.conf. Tells pbs_comm which log mask to use. By
  129. default, pbs_comm produces few log messages. You can choose more
  130. logging, usually for troubleshooting.
  131. .br
  132. Format: Integer
  133. .br
  134. Default: 511
  135. .br
  136. Example: PBS_COMM_LOG_EVENTS=<log level>
  137. .IP "PBS_LEAF_NAME" 10
  138. Parameter in /etc/pbs.conf. Tells endpoint what name to use for
  139. network. The value does not include a port, since that is usually set
  140. by the daemon. By default, the name of the endpoint's host is the
  141. hostname of the machine. You can set the name where an endpoint runs.
  142. This is useful when you have multiple networks configured, and you
  143. want PBS to use a particular network. TPP internally resolves the
  144. name to a set of IP addresses, so you do not affect how pbs_comm
  145. works.
  146. .br
  147. Format: String
  148. .br
  149. Example: PBS_LEAF_NAME=host1
  150. .IP "PBS_START_COMM" 10
  151. Parameter in /etc/pbs.conf. Tells PBS init script whether to start a
  152. pbs_comm on this host if one is installed. When set to 1, pbs_comm is
  153. started. Just as with the other PBS daemons, you can specify whether
  154. each host should start pbs_comm.
  155. .br
  156. Format: Boolean
  157. .br
  158. Default: 0
  159. .br
  160. Example: PBS_START_COMM=1
  161. .SH COMMUNICATION DAEMON LOGFILES
  162. The pbs_comm daemon creates its log files under $PBS_HOME/comm_logs.
  163. This directory is automatically created by the PBS installer.
  164. In a
  165. failover configuration, this directory is in the shared PBS_HOME,
  166. and is used by the pbs_comm daemons running on both the primary and
  167. secondary servers. This directory must never be shared across
  168. multiple pbs_comm daemons in any other case.
  169. The log filename format is yyyymmdd (the same as for other PBS
  170. daemons).
  171. The log record format is the same as used by other pbs
  172. daemons, with the addition of the thread number and the daemon name in
  173. the log record. The log record format is as follows:
  174. .br
  175. <date and time>;<event code>;<daemon name>(<thread number>);<object
  176. type>;<object name>;<message>
  177. Example:
  178. .br
  179. 03/25/2014
  180. 15:13:39;0d86;host1.example.com;TPP;host1.example.com(Thread 2);
  181. Connection from leaf 192.168.184.156:19331, tfd=81 down
  182. .SH SIGNAL HANDLING
  183. The
  184. .B pbs_comm
  185. daemon handles the following signals:
  186. .IP "HUP" 10
  187. Re-reads the value of
  188. .I PBS_COMM_LOG_EVENTS
  189. from pbs.conf.
  190. .IP "TERM" 10
  191. The
  192. .B pbs_comm
  193. daemon exits.
  194. .SH SEE ALSO
  195. The
  196. .B PBS Professional Installation and Upgrade Guide