Installing in an environment that does not allow passwordless root

This task allows you to enable passwordless SUDO for the Ansible IBM Spectrum LSF Suite for HPC installer.

Procedure

  1. Log in as a normal user, for example as lsfadmin, to the first node.
  2. Extract the IBM Spectrum LSF Suite for HPC bin file.

    For example:

    $ sudo /scratch/support/li/packages/lsfshpc10.2.0.8-x86_64.bin
  3. Go to /opt/ibm/lsf_installer/playbook and modify the lsf-inventory file to include cluster nodes:
    $ sudo vi lsf-inventory
  4. Set the Ansible log file location:
     $ export ANSIBLE_LOG_PATH="/tmp/LSFSuite-installation.log"
  5. Run the installer:
    ansible-playbook -b --become-user root --become-method sudo -K -k -i lsf-inventory lsf-deploy.yml

    You will be prompted for two passwords:

    • SSH password - For "lsfadmin" to access a remote node.
    • SUDO password - For "lsfadmin" sudo to have root permission.