When you collect logging information in large environments, you must ensure that log times are coordinated. You can set up the reference host to use the NTP server in your environment, extract the host profile and create a vSphere Auto Deploy rule to apply it to other hosts.
- In the vSphere Web Client navigator, browse to the host that you want to use as a reference host.
- Select the Manage tab and select Settings.
- Under System, select Time Configuration and click Edit.
- Select the Use Network Time Protocol (Enable NTP client) radio button.
This option synchronizes the time and date of the host with an NTP server. The NTP service on the host periodically takes the time and date from the NTP server.
- From the NTP Service Startup Policy drop-down list, select Start and stop with host.
- In the NTP Servers text box, type the IP addresses or host names of the NTP servers that you want to use.
- Click OK.
What to do next
Extract a host profile from the reference host. See the Host Profiles documentation.
Create a rule that applies the host profile to all hosts that you want to provision with the settings specified in the reference host. For writing a rule in a PowerCLI session, see Write a Rule and Assign a Host Profile to Hosts. To create a rule with the vSphere Web Client, see Create a Deploy Rule.