Skip to main content
AI
  • Get started with AI

    • Red Hat AI

      Accelerate the development and deployment of enterprise AI solutions.

    • AI learning hub

      Explore learning materials and tools, organized by task.

    • AI interactive demos

      Click through scenarios with Red Hat AI, including training LLMs and more.

    • AI/ML learning paths

      Expand your Red Hat OpenShift AI knowledge using these learning resources.

    • AI quickstarts

      Focused AI use cases designed for fast deployment on Red Hat AI platforms.

    • No-cost AI training

      Foundational Red Hat AI training.

  • Featured resources

    • Red Hat OpenShift AI
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

Red Hat AI Factory with NVIDIA

Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.

Learn
  • Self-guided

    • Documentation

      Find answers, get step-by-step guidance, and learn how to use Red Hat products.

    • Learning paths

      Explore curated walkthroughs for common development tasks.

    • Guided learning

      Receive custom learning paths powered by our AI assistant.

    • See all learning
  • Hands-on

    • Developer Sandbox

      Spin up Red Hat's products and technologies without setup or configuration.

    • Interactive labs

      Learn by doing in these hands-on, browser-based experiences.

    • Interactive demos

      Click through product features in these guided tours.

  • Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics
  • Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
Build
  • Get started

    • Red Hat build of Podman Desktop

      A downloadable, local development hub to experiment with our products and builds.

    • Developer Sandbox

      Spin up Red Hat's products and technologies without setup or configuration.

  • Download products

    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products
  • Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset
  • References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
Community
  • Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions
  • Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github
  • Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

Join the Red Hat Developer program

Download Red Hat products and project builds, access support documentation, learning content, and more.

ConsoleDocsSupport Search
New For you

Recommended

We'll recommend resources you may like as you browse. Try these suggestions for now.

  • Product downloads
  • Cheat sheets
  • Red Hat Developer learning portal
  • Developer blog
  • E-books
  • Developer Sandbox
Log in

Get more with a Red Hat Developer account

  • Product downloads
  • Console access
  • Event registration
  • Training & trials
Explore more account benefitsLog in or register

A subscription may be required for some services.

Contact us

Instance enrollment workflow for domain join in RHEL

April 21, 2025
Alexandra Nikandrova Andre Boscatto Fraser Tweedale
Related topics:
AutomationDevOpsHybrid cloudIntegrationLinuxPlatform engineeringSecurity
Related products:
Image mode for Red Hat Enterprise LinuxRed Hat Enterprise LinuxRed Hat Lightspeed

    In our previous article, How to register IdM deployment with RHEL domain join, we explored the registration workflow for the domain join feature in Red Hat Enterprise Linux (RHEL). In this third and final installment, we will dive into the join workflow to explain how an instance successfully becomes part of the domain. 

    Additionally, we will discuss an essential prerequisite step, building an image using the Red Hat Hybrid Cloud Console (HCC) and Red Hat Lightspeed image builder, ensuring the instance has the necessary configuration before deployment. If you haven't already, check out our first article in this series, Introducing IdM in RHEL Domain Join feature - Enroll your machines on boot.

    Create blueprints with Red Hat Lightspeed image builder

    Before an instance can join the domain, it needs to be properly configured with the steps for image preparation. Follow these steps to create blueprints with Hybrid Cloud Console and image builder, a tool bundled within Red Hat Lightspeed:

    1. Access the images service via Hybrid Cloud Console.
    2. Create a new image blueprint that defines the workload image. The image configuration is up to you, but there are a couple of requirements for the domain join feature to work:
      • In the Register step, select Automatically register and enable advanced capabilities.
      • In the Additional packages step, include the ipa-hcc-client package in the image. This package is currently in the Extra Packages in Enterprise Linux (EPEL) repository, but we plan to release it in RHEL.
    3. Build and export the image for deployment across cloud or on-premise environments.

    For a step-by-step demonstration of blueprint creation and image build, you can watch this recorded demo.

    With this step complete, instances launched from this image will be preconfigured for domain join.

    The join workflow

    Figure 1 illustrates the domain join registration and join workflows.

    Domain Join Workflow Diagram
    Diagram describing the workflow and orchestration of Domain Join feature.
    Figure 1: Diagram describing the worflow and orchestration of the domain join feature.

    The domain join workflow steps

    1. Obtain an enrollment token.
      • The instance requests an enrollment token from the Hybrid Cloud Console backend service.
    2. Create enrollment token.
      • The backend service verifies the request and generates a secure enrollment token.
    3. Token retrieval response.
      • The instance receives the enrollment token, along with information about the domain to join.
    4. Request domain join.
      • The instance initiates a join request to the ipa-hcc-server on the IdM server.
      • The request is authorized using the enrollment token.
    5. Register the host in IdM.
      • The ipa-hcc-server registers the instance as a host in the IdM system.
      • The IdM API (ipa host-add) is called to create the entry in the directory.
    6. Invoking client enrollment.
      • The instance executes the ipa-client-install command to complete the domain join process.
    7. Complete the join process.
      • The ipa-client-install command retrieves necessary authentication credentials (keytabs, policies, etc.). The instance's subscription manager certificate is used to authenticate the operation.
      • It is now a fully enrolled client in the IdM system.

    For a step-by-step demonstration of the registration workflow, watch the following demo.

    Troubleshooting common issues

    While the registration workflow is designed to be seamless, some challenges may arise. These are common issues and resolutions:

    • Failed authorization during join request
      • Automatic domain join only works when the clients and servers belong to the same organization, and the IdM deployment is registered with the Directory and Domain Services service.
      • Currently, we support only one (active) IdM domain per organization. If there are multiple active registrations, enrollment token retrieval fails. There is a proposal to implement this in our backlog (Domain Join - IDM: support for multiple domains).
      • Check that the IdM server has the ipa-hcc-server package installed and is reachable from the environment where the client was launched.
    • Client installation issues
      • Run ipa-client-install --force to retry enrollment.
      • Ensure the ipa-hcc-client package is installed.

    Conclusion

    This concludes our three-part series, a comprehensive guide to the RHEL domain join feature. The join workflow ensures that instances successfully integrate into an organization's identity domain. By preparing images with the Red Hat Lightspeed image builder tool, automating token-based authentication, and leveraging ipa-hcc-client, organizations can achieve secure, scalable, and policy-enforced domain management in RHEL.

    By following this guide, administrators can streamline the domain join process, reducing manual effort and enhancing security across cloud and on-premise deployments. Stay tuned for further insights into optimizing identity management in RHEL.

    Last updated: November 5, 2025

    Related Posts

    • How to register IdM deployment with RHEL domain join

    • Red Hat technologies make open hybrid cloud a reality

    • Extend Red Hat Lightspeed client to execute custom automation

    • How to use content templates in Red Hat Lightspeed

    Recent Posts

    • A day in the life of an NVIDIA H100 on Red Hat OpenShift 5

    • Migrate BuildConfigs to builds for Red Hat OpenShift with one plug-in install

    • Run Red Hat Enterprise Linux CoreOS on NVIDIA BlueField DPUs

    • Agent harness engineering: Separating model capabilities from enforcement

    • What's new for developers in Red Hat Enterprise Linux 10.3 and 9.9

    What’s up next?

    This cheat sheet provides a collection of Linux commands and executables for developers and system administrators looking to advance beyond the basics. It includes tips on managing processes, users, and groups, as well as monitoring disk and network usage.
    Get the cheat sheet
    Red Hat Developers logo

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    Red Hat Developer

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility
    Ask AI