facebooktwitteryoutube
Home About Contact VCP Virtual Home Lab VCP6 Study Guide VCAP-DCV Deploy Study guide
in blueprint - 31 Jan, 2016
by mordi - no comments
VCP6-DCV blueprint section 8.2:Customize Host Profile Settings

In this post we will continue covering the objective from the blueprint and now its time for customize host profile settings

The following are the blueprint objective:

  • Create/Edit/Remove a Host Profile from an ESXi Host
  • Enable or disable Host Profile components
  • Attach and apply a Host Profile to ESXi Hosts in a cluster
  • Perform compliance scanning and remediation of an ESXi Hosts and clusters using Host Profiles
  • Edit answer file to customize ESXi Host settings
  • Modify and apply a storage path selection plugin (PSP) to a device using host profiles
  • Modify and apply switch configurations across multiple hosts using a Host Profile
  • Import/Export a Host Profile

Create/Edit/Remove a Host Profile from an ESXi Host:

To create host profile from the home screen click on host profiles

hostprofile1

Then click on add (+) and choose the host

hostprofile2

Provide a name and click finish

hostprofile3

After its show up in the list you can right click on the profile and edit the setting or delete the profile.

hostprofile4

Lets remove all the components from the host profile so the host will be compliant (just uncheck all the boxes). The reason for that is that VMware check all the boxes in the host profile which will make my host non compliant

hostprofile6

Attached the profile to the host:

hostprofile8

And lets check for compliance and make sure you see “not compliant hosts” = 0 and compliant  = # of hosts

hostprofile7

Enable or disable Host Profile components:

Since we already disable all the components lets enable one, let enable vSwitch0 number of ports = 128 and check for compliance

hostprofile9

 

Attach and apply a Host Profile to ESXi Hosts in a cluster:

For this task i needed to add additional ESXi host and create a cluster (since i removed the cluster configuration for our previous objectives)

also currently esxi0 only have access to my NFS share that i previously setup

hostprofile10

Now lets change the host profile to make sure esxi1 host will have the same settings

Under NFS storage configuration click on the + sign and fill out the information for the NFS share(see pic below)

hostprofile11

Once you change the host profile , you can attache the host profile to the entire cluster

hostprofile12

Now lets check for compliance , you can see that one host is not complaint withe the host profile

hostprofile16

Click on the host profile, under monitor >> compliance you will see that the NAS storage setting is not compliant.

hostprofile17

To fix it we can remediate the cluster . right click on the cluster >> host profiles>> remediate

hostprofile18

You can choose the entire cluster or just the host and follow the wizard

hostprofile19

after a few seconds you will see both hosts in the cluster are compliant

hostprofile21

and you can also see that the NFS datastore is now configure on esxi1 host (this is cool)

hostprofile22

Edit answer file to customize ESXi Host settings:

when you will like to edit unique setting per host you can prompt the user for input in the profile , in the below example user will need to specify the host name in the host profile.

hostprofile23

Modify and apply a storage path selection plugin (PSP) to a device using host profiles:

You can change all the setting and choose which setting will be share among the host in the cluster .

hostprofile25

Modify and apply switch configurations across multiple hosts using a Host Profile:

you can enable this configuration or modify them and this way if something has change the hosts will not be in compliance

hostprofile24

Import/Export a Host Profile:

To export host profile , right click on the profile . file extension will be .vpf

To import click on the import profile icon

hostprofile26

Thanks for reading

Mordi.

 

Leave a Reply