Configuring and running batch jobs on dynamic hosts

Before you run batch jobs on a dynamic host, complete one or all of the following steps, depending on your cluster configuration.

Procedure

  • Configure queues to accept all hosts by defining the HOSTS parameter in the lsb.queues files with the keyword all.
    Jobs submitted to this queue can run on dynamic hosts.
  • Define host groups that accept wildcard characters in the HostGroup section of the lsb.hosts file.

    For example, define a host group named linux_hosts and specify a group member linuxrack* in the GROUP_MEMBER parameter in the host group definition.

    Jobs submitted a queue that defines the HOSTS=linux_hosts host group (which contains linuxrack* dynamic hosts) can run on dynamic hosts.
  • Add a dynamic host to a host group by using the badmin hghostadd command.

Results

To run jobs on the dynamic hosts, submit a job directly to the host group at job level or to the host group defined at the queue level.