VxRail:如何在构建后更新 VxRail Manager 的时区

Summary: 本文介绍如何在部署 VxRail 之后使用 CLI 更新 VxRail Manager 的时区。本文不介绍如何更新 VxRail Manager 的网络时间协议 (NTP) 设置。如果必须更新 NTP 设置,请参阅 Solve 过程以更改 VxRail Manager 的 NTP 设置/IP。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

提醒:您可以通过使用 CLI 对 VxRail Manager 运行 日期 命令来查看 VxRail 的当前时区。
显示 CLI 上的日期输出的屏幕截图 

 

提醒:您可以使用 export TZ=<Time Zone> 命令临时修改时区输出。但是,此更改将仅在当前用户登录到 CLI 之前才会保留。请按照本知识库文章中的步骤永久修改时区。


显示 export date 命令的屏幕截图 


如何永久更新 VxRail Manager 虚拟机 (VM) 的时区

  1. 截取 VxRail Manager 虚拟机的快照。
  2. 时区设置位于 /etc/localtime 文件中的命名冲突。如下面的屏幕截图所示,此文件指向 /usr/share/zoneinfo/
    显示时区文件的屏幕截图 

    3.要更新时区,请删除现有的 localtime 文件,并使用以下命令作为参考创建指向正确时区的新文件。*以下命令将时区更新为 MDT。
    # rm /etc/localtime; ln -s /usr/share/zoneinfo/America/Denver /etc/localtime
    显示删除和重新创建时区文件的屏幕截图 

    4.您可以通过运行以下命令确认时区设置: date
    更改时区后的 date 命令的屏幕截图 

    5。重新启动 vmware-marvin服务以确保其使用正确的时区设置。运行以下命令:

 

systemctl restart vmware-marvin


 

Affected Products

VxRail, VxRail Appliance Series, VxRail Software
Article Properties
Article Number: 000009890
Article Type: How To
Last Modified: 28 Mar 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.