(Click to open topic with navigation)
You can optionally configure the various ports that TORQUE uses for communication. Most ports can be configured multiple ways. The ports you can configure are:
If you are running pbspro on the same system, be aware that it uses the same environment variables and /etc/services entries.
5.6.1 Configuring the pbs_server Listening Port
To configure the port the pbs_server listens on, follow any of these steps:
$ pbs_server -p port_num
$ pbs_server -H server_name:port_num
5.6.2 Configuring the pbs_mom Listening Port
To configure the port the pbs_mom listens on, follow any of these steps:
$ pbs_mom -M port_num
5.6.3 Configuring the Port pbs_server Uses to Communicate with pbs_mom
To configure the port the pbs_server uses to communicate with pbs_mom, follow any of these steps:
$ pbs_server -M port_num
5.6.4 Configuring the Port pbs_mom Uses to Communicate with pbs_server
To configure the port the pbs_mom uses to communicate with pbs_server, follow any of these steps:
$ pbs_mom -p port_num
5.6.5 Configuring the Port Client Commands Use to Communicate with pbs_server
To configure the port client commands use to communicate with pbs_server, follow any of these steps:
5.6.6 Configuring the Port trqauthd Uses to Communicate with pbs_server
To configure the port trqauthd uses to communicate with pbs_server, follow any of these steps:
This section provides examples of changing the default ports (using non-standard ports).
5.6.7.A MOM Service Port
The MOM service port is the port number on which MOMs are listening. This example shows how to change the default MOM service port (15002) to port 30001.
Do the following:
On the server, for the server_priv/nodes file, change the node entry.
nodename np=4 mom_service_port=30001
On the MOM
pbs_mom -M 30001
5.6.7.B Default Port on the Server
Do the following:
Set the $(TORQUE_HOME)/server_name file.
hostname:newport numa3.ac:45001
On the MOM, start pbs_mom with the -S option and the new port value for the server.
pbs_mom -S 45001
5.6.7.C MOM Manager Port
The MOM manager port tell MOMs which ports on which other MOMs are listening for MOM-to-MOM communication. This example shows how to change the default MOM manager port (15003) to port 30002.
Do the following:
On the server nodes file.
nodename np=4 mom_manager_port=30002
Start the MOM.
pbs_mom -R 30002
Related Topics