How to use RHUI repository for RHEL High Availabiity

Azure Sup 0 Reputation points
2023-08-24T20:16:36.76+00:00

Hello,

I need to set up a two node RHEL 8 cluster in Azure. It seems like default "rh-cloud.repo" (under /etc/yum.repos.d) in the vanilla azure RHEL 8 image does not provide RHEL high availability repository . Is this correct or am I doing something wrong. How do I get access to this repository please?

Also, if I use an image that is hardened by me, am I still eligible to access RHEL high availability repos? or do I need a subscription in this case?

Thank you,

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,058 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ekpathak 20 Reputation points Microsoft Employee Moderator
    2023-09-01T08:09:16.2133333+00:00

    Hi Azure Sup Welcome to Microsoft Q&A, Thank you for posting your query here!

    Yes, you are right, By default all the images do not support high availability repositories.

    To use the Azure Red Hat Update Infrastructure (RHUI) for Red Hat Enterprise Linux (RHEL) High Availability on RHEL 8, you can create a Red Hat Enterprise Linux VM from an Azure Marketplace PAYG image which supports High Availability repositories and use Azure-hosted RHUI. The PAYG images already have the correct configuration to connect to Azure RHUI.

    Please refer the below document to check the list of RHEL 8 images which support High Availability repositories:

    https://learn.microsoft.com/en-us/azure/virtual-machines/workloads/redhat/redhat-images#rhel-8-image-types

    If you use an image that is hardened by you, below command will list all available repositories and if you can see High Availability repo listed, then you will be able to access it:

    Command : #sudo yum repolist

    For example, RHEL-SAP-HA supports the HA repos:

    User's image

    Hope this is helpful!

    Kindly let us know if the above helps or you need any further assistance.

    Please don't forget to upvote and "Accept" as answer

    -Ekta

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.