VCP 4 Prep Objective 6.2 – Establish and apply host profiles

Objective 6.2 – Establish and apply host profiles

Create / delete host profiles

In order to create a host profile you need a reference host or a VMware Profile Format (VPF) file.

A reference host has the following configuration options already defined:

  • memory reservation configuration
  • storage configuration
  • networking configuration
  • date and time configuration
  • firewall configuration
  • security configuration
  • service configuration
  • advanced configuration options
  • user configuration
  • user group configuration

Host profiles can only be applied to ESX/ESXi 4.x hosts.

To create a host profile login to vCenter > host profiles > create new host profile > specifiy reference host > profile details [name and description] > finish.

To delete a host profile right click the host profile and select delete.

Import / export host profiles

Host profiles can be imported using the create profile wizard; host profiles created from a reference host can be imported and customised for other clusters. Host profiles are defined in a VPF file.

Edit host profiles policies

You may need to edit host profile policies e.g. vNetwork settings may need runtime configuration.

The configurable policy settings are:

  • memory reservation configuration – service console memory reservation
  • storage configuration – NFS storage configuration
  • networking configuration – vSwitch configuration, virtual machine portgroup, host port group, service console portgroup, DNS, ip routing i.e. gateway, service console routing, physical NICs, vNetwork distributed switch and service console vNIC
  • date and time configuration – time and timezone
  • firewall configuration – default blocking, ruleset configuration and security configuration
  • service configuration – NTPd, SSHd, VMware-vpxa, VMware-webaccess, advanced configuration options, user configuration, user group configuration

To edit a host profile login to vCenter > host profiles > select host profile > right click > edit.

Associate an ESX host with a host profile

To attach a host profile login to vCenter > host profiles > right click host profile > attach host profile; alternatively use the cluster or host context menu to attach the host profile. You also attach host profiles from the cluster compliance tab.

Checking for compliance

To check the compliance of a cluster; select the cluster compliance tab >check compliance now.

To check the compliance of a host; right click the host > select host profiles > check compliance.

Applying host profiles

The host has to be in maintenance mode in order for the host profile to be applied.

Host profiles are applied from the cluster compliance tab, on the cluster object or host object.

Analyse configuration compliance information from a scan

When you apply the profile any manual settings will need to be configured at runtime.

The cluster profile compliance tab > check comliance now; this will report compliant and non-compliant hosts and their differences (host compliance failure pane)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.