NVP vProxy:如何更改 vProxy 应用装置的时区
Summary: 本文提供了更改 NetWorker VMware Protection (NVP) vProxy 应用装置时区所需的步骤。
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
使用 Linux 命令更改 vProxy 应用装置使用的时区:
timedatectl
- 通过 SSH 连接到 vProxy 应用装置,以管理员用户身份登录。
- 切换 到 root 用户 帐户:
sudo su -
- 输入 以下命令以获取 当前时区设置:
timedatectl
Example:
vproxy01:~ # timedatectl
Local time: Fri 2024-01-12 18:06:58 UTC
Universal time: Fri 2024-01-12 18:06:58 UTC
RTC time: Fri 2024-01-12 18:06:58
Time zone: UTC (UTC, +0000)
Network time on: no
NTP synchronized: no
RTC in local TZ: no
- 输入 以下命令,以显示系统 “localtime”的时区符号链接 到:
ls -l /etc/localtime
Example:
vproxy01:~ # ls -l /etc/localtime lrwxrwxrwx 1 root root 25 Jan 12 18:05 /etc/localtime -> ../usr/share/zoneinfo/UTC
- 输入 以下命令以获取 可用时区设置的列表:
timedatectl list-timezones
- 输入 以下命令以挂起时区:
timedatectl set-timezone ZONE
Example:
vproxy01:~ # timedatectl set-timezone America/New_York vproxy01:~ #
- 使用步骤 3 和 4 中的命令确认更改:
vproxy01:~ # timedatectl
Local time: Fri 2024-01-12 13:11:39 EST
Universal time: Fri 2024-01-12 18:11:39 UTC
RTC time: Fri 2024-01-12 18:11:39
Time zone: America/New_York (EST, -0500)
Network time on: no
NTP synchronized: yes
RTC in local TZ: no
vproxy01:~ # ls -l /etc/localtime
lrwxrwxrwx 1 root root 38 Jan 12 13:10 /etc/localtime -> ../usr/share/zoneinfo/America/New_York
- 如果没有在 vProxy 上运行的备份或恢复任务,请重新启动应用装置:
reboot
Affected Products
NetWorkerProducts
NetWorker Family, NetWorker SeriesArticle Properties
Article Number: 000221099
Article Type: How To
Last Modified: 01 Apr 2025
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.