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
  1. 透過 SSH 連線至 vProxy 應用裝置 ,以 系統管理員使用者身分登入。
  2. 切換 根使用者 帳戶:
sudo su - 
  1. 輸入 以下命令以取得 目前的時區設定
timedatectl

範例:

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
  1. 輸入 下列命令,以顯示系統 「本機時間」對稱 的時區:
ls -l /etc/localtime

範例:

vproxy01:~ # ls -l /etc/localtime
lrwxrwxrwx 1 root root 25 Jan 12 18:05 /etc/localtime -> ../usr/share/zoneinfo/UTC
  1. 輸入 下列命令以取得 可用時區設定的清單:
timedatectl list-timezones
  1. 輸入 以下命令,change the time zone
timedatectl set-timezone ZONE

範例:

vproxy01:~ # timedatectl set-timezone America/New_York
vproxy01:~ #
  1. 使用步驟 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
  1. 當 vProxy 上沒有執行備份或復原工作時,請重新啟動裝置:
reboot

Affected Products

NetWorker

Products

NetWorker Family, NetWorker Series
Article 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.