订阅内容

In this installment of our series on setting up Red Hat Satellite for VMware to provision virtual machines (VMs) from Satellite, we are going to work on integrating the VMware resources with Red Hat Satellite. 

First, we're going to pre-define hardware settings for a virtual machine in Satellite by creating a compute profile. On the Satellite Console chose Infrastructure -> Compute Profiles.

On the Compute Profiles page, click the blue Create Compute Profile button.

On the Compute Profiles > Create Compute Profile, enter cp-vmware-small for the Name and click the blue Submit button.

On the Compute Profiles > cp-vmware-small page click the cr-vcenter link to define the new compute profile cp-vmware-small.

We will now define the configuration of the Red Hat Enterprise Linux (RHEL) VM that will be provisioned to VMWare from Satellite. We will mostly accept default values. Configuration changes are listed in the following table.

Name

Value

Cluster

LabCluster

Guest OS

Red Hat Enterprise Linux 8 (64 bit)

Virtual H/W version

14 (EXSi 6.7)

Image

img-rhel8-prem-server

Create SCSI controller

VMware Paravirtual

Datastore

LabDatastore

Size(GB)

20 GB

Thin Provision

Uncheck

NIC type

VNXNET3

Network

VM Network

The next two screenshots show what your configuration should look like. Click the blue Submit button when you have finished with the configuration. You will be returned to the Compute Profiles > cp-vmware-small page.

We will now define a host group within Satellite as a way to bring all these parts together to provision a RHEL 8.3 VM on VMWare.

On the side menu choose Configure -> Host Groups.

On the Host Groups page make sure that you have Operations Department and moline selected for Organization and Location. Click the blue Create Host Group button.

On the Host Groups > Create Host Group page, we will start filling in or selectiong the options on the Host Group Tab

Host Group Tab:

Name

Value

Name

hg-rhel8-prem-server

Lifecycle Environment

le-ops-rhel8-prem-server

Content View

cv-rhel8-prem-server

Content Source

sat01.example.com

Deploy On

cr-vcenter

Compute Profile

cp-vmware-small

Now click on the Network tab. Fill in or selection the follow optons.

Network Tab:

Name

Value

Domain

example.com

IPv4 Subnet

cn-operations-department

Now click on the Operating System tab. Fill in these options.

Operating System Tab:

Name

Value

Architecture

x86_64

Operating System

RedHat 8.3

Check the Locations and Organizations tab to make sure that moline is set for Locations and Operations Department is set for Organizations.

Now click on the Activation Key tab. Fill in ak-ops-rhel8--prem-server in the Activation Keys text field. Click the blue Submit button.

One last option to configure and we are ready to test our deployment. When I de-provision a VM running on vSphere from Satellite, I want the VM deleted. To enable this capability Administer -> Settings from the side menu.

On the Settings page in the Filter/Search text field, enter "Destroy associated VM on host delete" and click the Search button. The result will show the Destroy associated VM on host delete option. Click on the pencil (edit) icon.

A dialog box will pop up with the title Update value for Destroy associated VM on host delete setting. Click the drop down and choose Yes, and click the blue Submit button to accept the changed value. The setting is now updated.

And that's how we integrate the VMware resources with Red Hat Satellite. In the next and final post in the series, we'll dive into RHEL VM provisioning. 

References


Provisioning RHEL virtual machines to vSphere from Red Hat Satellite

Isometric thumbnail image, abstract In this multi-part tutorial, we cover how to provision Red Hat Enterprise Linux (RHEL) virtual machines (VMs) to a vSphere environment from Red Hat Satellite. Missed any steps in the series? Check them out:

 

关于作者

Paul Lucas is a Chicagoland-based Red Hat Solutions Architect working with a variety of enterprise businesses. A 21 year technical sales veteran, Paul was previously a customer working at a benefits consulting firm, where he advised development teams on the use of Java and the then-emerging Java EE.

Read full bio
UI_Icon-Red_Hat-Close-A-Black-RGB

按频道浏览

automation icon

自动化

有关技术、团队和环境 IT 自动化的最新信息

AI icon

人工智能

平台更新使客户可以在任何地方运行人工智能工作负载

open hybrid cloud icon

开放混合云

了解我们如何利用混合云构建更灵活的未来

security icon

安全防护

有关我们如何跨环境和技术减少风险的最新信息

edge icon

边缘计算

简化边缘运维的平台更新

Infrastructure icon

基础架构

全球领先企业 Linux 平台的最新动态

application development icon

应用领域

我们针对最严峻的应用挑战的解决方案

Original series icon

原创节目

关于企业技术领域的创客和领导者们有趣的故事