How to specify the desired Red Hat Satellite Capsule to be used for Remote Execution (REX)?

Solution Verified - Updated

Environment

  • Red Hat Satellite 6
  • Red Hat Capsule Server 6

Issue

  • How to specify the desired Red Hat Satellite Capsule to be used for Remote Execution (REX)?
  • We may want to use a specific Red Hat Satellite Capsule for ssh connections made by the Remote Execution feature. There might be security concerns, network limitations, or the need to load balance the connections.

Resolution

  • When you run a remote job on hosts, for every host, Satellite performs the following actions to find a remote execution Capsule to use:

Note: Satellite searches only for Capsules that have the remote execution feature enabled.

  1. Satellite finds the host’s interfaces that have the Remote execution check box selected.
  2. Satellite finds the subnets of these interfaces.
  3. Satellite finds remote execution Capsules assigned to these subnets.
  4. From this set of Capsules, Satellite selects the Capsule that has the least number of running jobs. By doing this, Satellite ensures that the jobs load is balanced between remote execution Capsules.
  5. If Satellite does not find a remote execution Capsule at this stage, and if the 'Fallback to Any Capsule' setting is enabled, Satellite adds another set of Capsules to select the remote execution Capsule from. Satellite selects the most lightly loaded Capsule from the following types of Capsules that are assigned to the host:
  • DHCP, DNS and TFTP Capsules assigned to the host’s subnets
  • DNS Capsule assigned to the host’s domain
  • Realm Capsule assigned to the host’s realm
  • Puppet Master Capsule
  • Puppet CA Capsule
  • OpenSCAP Capsule
  1. If Satellite does not find a remote execution Capsule at this stage, and if the 'Enable Global Capsule' setting is enabled, Satellite selects the most lightly loaded remote execution Capsule from the set of all Capsules in the host’s organization and location to execute a remote job.

    This information can be found in the documentation

For more KB articles/solutions related to Red Hat Satellite 6.x Remote Execution Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Remote Execution Issues

SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.