Skip to content

Post Deployment Configuration

Azure Servers

1. Verify Hostname and Base URL
Check if the hostname and base URL include the RHEL server's URL (i.e., ZEUSPLRHELSS001):

cat /etc/rhsm/rhsm.conf | grep baseurl

2. Registration Status
If the base URL is present, the server is already registered. If it’s not, continue with the following steps.

3. Log In to 10.113.2.100

  • Open a browser and navigate to 10.113.2.100.
  • Log in using the username satadmin and the locadm password.

4. Navigate to Activation Keys
From the side menu, go to: Content -> Lifecycle -> Activation Keys

5. Check Server Version
Determine the RHEL version of the server (e.g., RHEL 7.xx or 8.xx):

uname -a

6. Select Corresponding Version
In the portal, select the activation key that corresponds to the server version and copy it.

7. Apply Activation Key
On the server, paste and run the copied activation key.

8. Recheck Hostname and Base URL
Verify the hostname and base URL again:

cat /etc/rhsm/rhsm.conf | grep baseurl

9. Document Output
Copy the output from the following command:

cat /etc/rhsm/rhsm.conf | grep rhel
- Paste it on the SCTASK with proper comment.

On-Prem Servers

1. Remove Existing Consumer Cetrificate

yum remove $(rpm -qa | egrep katello-ca-consumer) -y --disablerepo=*

2. Install CA Certificate

yum localinstall http://mshcapsule01.mountsinai.org/pub/katello-ca-consumer-latest.noarch.rpm -y

3. Register the Host

subscription-manager register --force --org="MSHS-Azure"

For Authentication, Use the below credentials

  • Username: satadmin
  • Password: Default Password

4. Specify Environment based on OS
Depending on the OS version, specify the environment:

  • If OS is RHEL 8.xx, Use RHEL8
  • If OS is RHEL 7.xx, Use RHEL7

5. Attach Subscription

subscription-manager attach --pool 8af182e48355ea3501849f51a24b1d6

6. Enable Repositories

  • List Available Repos
    subscription-manager repos
    
  • Choose the desired repository ID (e.g., rhel-7-server-rpms), then enable it.
    subscription-manager repos --enable REPOID
    

Once done; Mark SCTASK as Closed Complete.