(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 PBS Professional on the same system, be aware that it uses the same environment variables and /etc/services entries.
2.8.1 Configuring the pbs_server Listening Port
To configure the port the pbs_server listens on, follow any of these steps:
Start pbs_server with the -p option.
Red Hat 6-based or SUSE 11-based systems
Edit /etc/sysconfig/pbs_server.
PBS_ARGS="-p"
Start the service.
service pbs_server start
Red Hat 7-based or SUSE 12-based systems
Edit /etc/systemconfig/pbs_server.
PBS_ARGS="-p"
Start the service.
systemctl start pbs_server.service
Red Hat 6-based or SUSE 11-based systems
Edit /etc/sysconfig/pbs_server.
PBS_ARGS="-H"
Start the service.
service pbs_server start
Red Hat 7-based or SUSE 12-based systems
Edit /etc/systemconfig/pbs_server.
PBS_ARGS="-H"
Start the service.
systemctl start pbs_server.service
2.8.2 Configuring the pbs_mom Listening Port
To configure the port the pbs_mom listens on, follow any of these steps:
Red Hat 6-based or SUSE 11-based systems
Edit /etc/sysconfig/pbs_mom.
PBS_ARGS="-M"
Start the service.
service pbs_mom start
Red Hat 7-based or SUSE 12-based systems
Edit /etc/systemconfig/pbs_mom.
PBS_ARGS="-M"
Start the service.
systemctl start pbs_mom.service
2.8.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:
Red Hat 6-based or SUSE 11-based systems
Edit /etc/sysconfig/pbs_mom.
PBS_ARGS="-M"
Start the service.
service pbs_mom start
Red Hat 7-based or SUSE 12-based systems
Edit /etc/systemconfig/pbs_mom.
PBS_ARGS="-M"
Start the service.
systemctl start pbs_mom.service
2.8.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:
Red Hat 6-based or SUSE 11-based systems
Edit /etc/sysconfig/pbs_mom.
PBS_ARGS="-S"
Start the service.
service pbs_mom start
Red Hat 7-based or SUSE 12-based systems
Edit /etc/systemconfig/pbs_mom.
PBS_ARGS="-S"
Start the service.
systemctl start pbs_mom.service
2.8.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:
2.8.6 Configuring the Port trqauthd Uses to Communicate with pbs_server
To configure the port trqauthd uses to communicate with pbs_server, do the following:
This section provides examples of changing the default ports (using non-standard ports).
In this section:
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
Red Hat 6-based or SUSE 11-based systems
Edit /etc/sysconfig/pbs_mom.
PBS_ARGS="-M"
Start the service.
service pbs_mom start
Red Hat 7-based or SUSE 12-based systems
Edit /etc/systemconfig/pbs_mom.
PBS_ARGS="-M"
Start the service.
systemctl start pbs_mom.service
2.8.7.B Default Port on the Server
Do the following:
Set the $(TORQUE_HOME)/server_name file.
hostname:newport numa3.ac:45001
Red Hat 6-based or SUSE 11-based systems
Edit /etc/sysconfig/pbs_mom.
PBS_ARGS="-S"
Start the service.
service pbs_mom start
Red Hat 7-based or SUSE 12-based systems
Edit /etc/systemconfig/pbs_mom.
PBS_ARGS="-S"
Start the service.
systemctl start pbs_mom.service
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
Red Hat 6-based or SUSE 11-based systems
Edit /etc/sysconfig/pbs_mom.
PBS_ARGS="-R"
Start the service.
service pbs_mom start
Red Hat 7-based or SUSE 12-based systems
Edit /etc/systemconfig/pbs_mom.
PBS_ARGS="-R"
Start the service.
systemctl start pbs_mom.service
Related Topics