so5.pbspro
Role Name
Build, install, and set up PBSPro (https://www.pbspro.org)
Requirements
No special requirements. This role will install everything needed for PBS.
Role Variables
pbspro_prefix: "/opt/pbs"
pbspro_version: "v19.1.1"
pbspro_prebuild: False
pbspro_server: True
pbspro_server_hostname: "192.168.0.1"
pbspro_child_nodes: []
pbspro_run_job_on_server: True
pbspro_qmgr_cmds: []
pbspro_installation: True
pbspro_setup: True
Please note that pbspro_server_hostname
is not set by default. If it’s not set, PBS_SERVER
in /etc/pbs.conf
will be set to localhost
, so you must set this variable explicitly in a multi-node environment.
The acceptable values for pbspro_version
are in vars/main.yml
, but this role has only been tested with v19.1.1
so far.
pbspro_child_nodes
is a list of hostnames for child nodes. This will be used byqmgr
to create vnode settings.pbspro_qmgr_cmds
is a list ofqmgr
commands. If set, each command will be executed withqmgr -c
at the end of the play.pbspro_run_job_on_server
is a flag. If set to true, the PBS server node will accept jobs (MOM will run on the server node). Default is True.pbspro_prebuild
is not currently supported. If set to True, it will attempt to install prebuilt binaries instead of building from source.- If
pbspro_installation
is True andpbspro_setup
is False, this role will only install PBSPro. If the opposite is true, it will only set up an existing PBSPro installation.
Dependencies
None.
Example Playbook
- hosts: batchServer
roles:
- { "role": "so5.pbspro", "pbspro_server_hostname": "192.168.0.1" }
- hosts: jobServer
roles:
- { "role": "so5.pbspro", "pbspro_server": False, "pbspro_server_hostname": "192.168.0.1" }
License
MIT
Author Information
This role was created by Naoyuki Sogo.
Installa
ansible-galaxy install so5.pbspro
Licenza
mit
Download
6.1k
Proprietario