...
- Follow Cray's instructions for creating a repository (Refer to the section on "Install Third-Party Software with a Custom Image" in the Software Installation and Configuration Guide in Cray document S-2559)
- Follow Cray's instructions for creating a package collection in Cray document S-2559
- Use the pbspro_server-* RPM.
- Follow Cray's instructions (in Cray document S-2559) for creating a new recipe and updating it with the PBS rpmRPM.
Cray requires that each recipe be based on the type of node where the image will run. For example, a service node would be contain the service image (e.g. service_cle_6.0up01_sles_12_x86-64_ari) as a base sub-recipe. Therefore, if PBS server/scheduler/comm will be run on the sdb and the PBS MoM on the login nodes, at least 2 different recipes will be needed. One recipe for the server/sched/comm and one recipe for the MoMs.- repeat as needed for the different types of nodes.
- In addition to adding the PBS RPM, add the other RPMs that PBS requires:
- In order to satisfy /bin/sh, also add sle-server_12sp2_x86-64
smw# recipe update -r sle-server_12sp2_x86-64 <recipe name> - As Cray's instructions state, the base and base_updates repository pairs should be added. This means sle-server_12sp2_x86-64_updates also needs to be added.
smw# recipe update -r sle-server_12sp2_x86-64_updates <recipe name>
- In order to satisfy /bin/sh, also add sle-server_12sp2_x86-64
- Follow Cray's instructions (in Cray document S-2559) to validate the image recipe
- repeat as needed for the different types of nodes.
- Follow Cray's instructions (in Cray document S-2559) to build and package the image.
- Create any desired configuration sets. Please refer to Cray’s documentation on configuration sets and the configurator for more information.
WARNING: Note that unlike in prior Cray CLE versions (CLE 5.2 and earlier), with CLE 6.0 /var/spool is not persistent by default. So therefore, when you reboot a node, any configuration changes you may have made will be gone unless you use Cray’s cfgset command to make particular directories (for example /var/spool/pbs, /etc/pbs.conf, etc.) persistent. - Assign the new boot image to the nodes that need the image that contains PBS Professional. This would also include the nodes that don't run a PBS Professional daemon, but do need the client commands. Include the configuration set from step 6 that contains the information that you want to be persistent.
smw# cnode update -i /var/opt/cray/imps/boot_images/<image name>.cpio -c <configuration set name> <cname-of-node-to-update or group-to-update> - Follow Cray's instructions to reboot the system (in Cray document S-2559)
- Log on to the nodes that are hosting PBS daemons
- For initial install only, remove $PBS_HOME
# rm -rf /var/spool/pbs - Put the Cray compute nodes in batch mode (e.g. xtprocadmin -k m batch)
- Start PBS on that node:
For example, on the server node:
# PBS_DATA_SERVICE_USER=<non-root user for the database> /etc/init.d/pbs start
- For initial install only, remove $PBS_HOME
...