Hosts provisioned with Auto Deploy usually do not have sufficient local storage to save system logs. You can specify a remote syslog server for those hosts by setting up a reference host, saving the host profile, and applying that host profile to other hosts as needed.

Before you begin

  • If you intend to use a remote syslog host, set up that host before you customize host profiles.

  • Verify that you have access to a vSphere Web Client that can connect to the vCenter Server system.

About this task

Best practice is to set up the syslog server on the reference host with the vSphere Web Client or the esxcli system syslog command and to save the host profile. You can also set up syslog from the Host Profiles interface.

Procedure

  1. In the vSphere Web Client, click Rules and Profiles and click Host Profiles.
  2. (Optional) : If no reference host exists in your environment, click the Extract Profile from Host icon to create a host profile.
  3. Right-click the host profile you want to modify and select Edit Host Profile.
  4. Leave the name and description and click Next.
  5. Click Advanced Configuration Settings click the Advanced Options folder, and click Advanced configuration options.

    You can specify syslog settings from here.

  6. If you are setting up an ESXi 5.0 host that did not have a previously configured syslog server, you have to create an advanced configuration option.
    1. Click the plus sign.
    2. Click the new Advanced configuration option at the top of the option list and select Configure a fixed option from the drop-down menu.
    3. Specify Syslog.global.loghost as the option, and your host as the value.

    If you are configuring an ESXi version 5.1 or later host or an ESXi 5.0 host that has syslog configured, Syslog.global.loghost is already in the list of advanced options.

  7. Click OK to save the host profile settings.

What to do next

  • Write a rule that applies the host profile to all hosts that you want to provision with the settings that you specified in the reference host (see Write a Rule and Assign a Host Profile to Hosts).

  • For hosts already provisioned with Auto Deploy, perform the compliance testing and repair operations to provision them with the new image profile. See Test and Repair Rule Compliance.

  • Turn on unprovisioned hosts to provision them with the new image profile.