How To
Summary
この記事では、QRadar コンソールのコマンド・ライン・インターフェース (CLI) を使用してシステム時刻を手動で設定する手順について説明します。 NTP サーバーが構成されておらず、実際の時刻とシステム時刻が一致しない場合は、時刻を手動で構成する必要があります。
Steps
- QRadar コンソールへ SSH 接続します。
- システムの現在の日付と時刻を確認します:
# date Tue Oct 4 15:37:37 IST 2022
-
NTP のステータスを確認します:
# timedatectl status Local time: Tue 2022-10-04 15:39:54 IST Universal time: Tue 2022-10-04 10:09:54 UTC RTC time: Tue 2022-10-04 10:09:55 Time zone: Asia/Kolkata (IST, +0530) NTP enabled: yes NTP synchronized: no RTC in local TZ: no DST active: n/a
- NTP が有効になっている場合は、オフにします:
# timedatectl set-ntp false
- コンソールで timedatectl コマンドを実行し、日付と時刻を再設定します(新しい日付と時刻の値は、適切な情報源から取得する必要があります):
# timedatectl set-time "2022-10-04 15:41:00"
-
NTP を有効に戻します:
# timedatectl set-ntp true
-
コンソールでサービスを停止・起動します:
# systemctl stop tomcat # systemctl stop hostcontext # systemctl stop hostservices # systemctl start hostservices # systemctl start hostcontext # systemctl start tomcat
注:
-
この手順では、すべてのサービスの停止と起動が行われ、Tomcat が起動するまで GUI にアクセスできないため、ダウンタイム中に手順を実行してください。
-
NTP をオフにするのを忘れ、コマンドを実行して時間を再設定すると "Failed to set time" というエラーが表示されます:
# timedatectl set-time "2022-10-04 15:39:00" Failed to set time: Automatic time synchronization is enabled
Related Information
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSV4BL","label":"IBM QRadar"},"ARM Category":[{"code":"a8m0z000000cwsyAAA","label":"Admin Tasks"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
14 February 2023
UID
ibm16953403