Configuring a Network Time Protocol (NTP) server for your gateway - AWS Storage Gateway

Amazon FSx File Gateway is no longer available to new customers. Existing customers of FSx File Gateway can continue to use the service normally. For capabilities similar to FSx File Gateway, visit this blog post.

Configuring a Network Time Protocol (NTP) server for your gateway

You can view and edit Network Time Protocol (NTP) server configurations and synchronize the VM time on your gateway with your hypervisor host.

To manage system time
  1. Log in to your gateway's local console:

  2. From the AWS Appliance Activation - Configuration main menu, enter the corresponding numeral to select System Time Management.

  3. From the System Time Management menu, enter the corresponding numeral to perform one of the following tasks.

    To Perform This Task Do This
    View and synchronize your VM time with NTP server time.

    Enter the corresponding numeral to select View and Synchronize System Time.

    The current time of your VM is displayed. Your File Gateway determines the time difference from your gateway VM, and your NTP server time prompts you to synchronize the VM time with NTP time.

    After your gateway is deployed and running, in some scenarios the gateway VM's time can drift. For example, suppose that there is a prolonged network outage and your hypervisor host and gateway don't get time updates. In this case, the gateway VM's time is different from the true time. When there is a time drift, a discrepancy occurs between the stated times when operations such as snapshots occur and the actual times that the operations occur.

    For a gateway deployed on VMware ESXi, setting the hypervisor host time and synchronizing the VM time to the host is sufficient to avoid time drift. For more information, see Synchronize VM time with VMware host time.

    For a gateway deployed on Microsoft Hyper-V, you should periodically check your VM's time. For more information, see Synchronize VM time with Hyper-V or Linux KVM host time.

    For a gateway deployed on KVM, you can check and synchronize the VM time using virsh command line interface for KVM.

    Edit your NTP server configuration

    Enter the corresponding numeral to select Edit NTP Configuration.

    You are prompted to provide a preferred and a secondary NTP server.

    View your NTP server configuration

    Enter the corresponding numeral to select View NTP Configuration.

    Your NTP server configuration is displayed.