vSphere Guides

How to Create and Apply Host Profile Step by Step

Host Profile is a vCenter Feature which is very useful when you have multiple hosts in your virtual infrastructure. Host Profile allows you to configure a standard policy which can be applied to all the hosts to maintain similar consistent configuration across all. In this post we will see on How to Create and Configure Host Profile.

Host Profiles eliminates per-host, manual or UI-based host configuration and maintains configuration consistency and correctness across the datacenter by using Host Profiles policies. These policies capture the blueprint of a known, validated reference host configuration, including the networking, storage, security and other settings.

Host Profile will also help you to prevent configuration issues in future. Setting up of Host Profile is just few steps process which we will discuss below:

Create Host Profile:
In this step we will create and configure a Host Profile from a reference host.

Attach Host Profile to Host or Cluster:
In this step we will attach host profile to the host so we can compare the configuration issues.

Check Host Compliance:
In this step we will check for host compliance whether it is compliant or non-compliant against the host profile attached.

Remediate or Apply Host Profile:
In this step we will Apply host profile to the hosts which are not compliant so that they can become compliant and consistent configuration across hosts can be maintained.

Let’s see Now how to Create and Configure Host Profile using vSphere Web Client:

Create Host Profile:

In this we will see on How to Create and Extract Host Profile.

Step 1:
Login to vSphere web client.
Click on Host Profiles.

create and apply host profile

Step 2:
As you can see we don’t have any host profiles yet.
Click on Extract Host Profile. (We will be Extracting Host profile from anyone of reference host which is configured with all the settings.)

create and apply host profile

Step 3:
Select the Host from which you want to Extract Host Profile.
Click Next.

create and apply host profile

Step 4:
Give a Name and Description for the Host Profile.
Click Finish to create.

create and apply host profile

Configure Host Profile:

In this we will see and configure the host profile which configuration we want to use in the host profile.

Step 5:
As you can see that Host profile is created and listed.
Click on the Host Profile to configure.

create and apply host profile

Step 6:
Go to Configure Tab.
Click “Edit Host Profile.”

create and apply host profile

Step 7:
Here we will get all the options which we can use and configure in Host Profiles.
We are just setting Time Configuration. To Setup Time configuration:
Expand General System Settings > Date and Time Configuration.
Select Date and Time Configuration here.
Click Save.

create and apply host profile

Step 8:
As you can see that Time configuration is configured properly and it is displayed.

create and apply host profile

Now till the time we have successfully created and configured Host Profile.

Attach, Check and Remediate Hosts:

In this we will on How to Attach Host Profile, How to Check for Compliance and How to Remediate host.

Step 9:
Select the Host on which you want to Apply Host Profile.
Go to Configure Tab.
Expand System and select Host Profile.
As you can see here no Host Profile is currently attached or applied.
Click on Attach to attach host profile.

create and apply host profile

Step 10:
Select the Host Profile which you had created.
If you have multiple host profile then it will be listed here.
Select the Host Profile and Click OK to attach to the Host.

create and apply host profile

Step 11:
As you can see Host Profile is attached to the Host.
But it is showing as Unknown state.
Now we have to check for Compliance w.r.t Host Profile.
Click on Check Compliance.

create and apply host profile

Step 12:
Host will be checked for the compliance against the Host Profile configuration.
As you can see that we have host which is not compliance.
Now to make host compliant we have to Remediate the host with the Host Profile.
Click on Remediate.

create and apply host profile

Step 13:
You will get Remediate Prompt.
We can check for Pre-Check Remediation so just to verify which changes will be done on the host after remediation.
Click on Pre-Check Remediation.

create and apply host profile

Step 14:
You can see the tasks which will be performed when you remediate the host.
So check the tasks.
Now we are ready to Remediate the host.
Click on Remediate.

create and apply host profile

Step 15:
Click on Remediate to start remediation on the host.
You can see there is check box which says Automatically reboot hosts that require remediation.
So make sure you have Host in Maintenance mode or empty host.
Click Remediate.

create and apply host profile

It will just take few seconds to complete the Remediation process.
Once the Remediation process is completed.
You can verify Host is compliant now.

create and apply host profile

 

That’s it, Using this way you can easily create and configure host profile first then check for compliance then remediate with the host profile which created. You can run Host profile on multiple hosts as well.

Based on your environment you can create and configure different host profiles from various available options and maintain consistent configuration across all the hosts.

Note: We have used vSphere 6.7 for Host Profile, If you are using Older version then there might be little navigation changes.

That’s it for Today Friends. I Hope you liked reading this post & If you find anything more to be added or removed feel free to write it in our comments. If you find it useful You are Feel free to share this on social media to help others & spread knowledge.
If you have any query on any thing you are free to write it in our comments section & we will make sure to provide you the better solution as soon as possible.

Join Our LinkedIn Group to get Fast updates about our posts :Mastering VMware.
Checkout our Facebook Group for discussions & more.
You can also Like & Share our Facebook Page for Latest Updates.

Tags

Mayur Parmar

Hi I am Mayur Parmar. Independent Author & Founder of Mastering VMware. I am working in IT industry for more than 2 Years with knowledge of VMware , Microsoft Server's, Linux Server's.

Related Articles

Close