Isilon:InsightIQログの収集方法
Resumo: この記事では、トラブルシューティングのためにInsightIQログ ファイルを収集する方法について説明します。
Instruções
この記事では、トラブルシューティングのためにInsightIQログ ファイルを収集し、レビュー用にIsilonテクニカル サポートに送信する方法を説明します。この手順は、InsightIQのすべてのバージョンに適用されます。
IIQのバージョンに基づいて手順を選択します。
IIQ 4.x:
-
InsightIQ仮想マシンへのSSH接続を開き、「administrator」アカウントを使用してログインします。InsightIQがLinuxサーバー(CentOS、Red Hat)にインストールされている場合は、ログインしているユーザーのホーム ディレクトリーにいることを確認します。次のコマンドを発行して、ディレクトリーをホームに変更します。
# cd ~
-
次のコマンドを実行して、InsightIQ構成情報を収集します。
# cat /etc/isilon/insightiq.ini > ~/insightiq.ini; ifconfig > ~/ifconfig.txt; mount > ~/mount.txt; rpm -qa | grep -i insightiq > ~/iiqversion.txt; df -h > ~/df.txt; top -n1 -b > ~/top.txt; ps auxww > ~/ps.txt; free -m > ~/memory.txt; cat /etc/*release > ~/release.txt; uname -a > ~/kernel.txt; cat /var/cache/insightiq/datastore_3_2.pickle > ~/datastore_3_2.pickle; cat /etc/isilon/uwsgi.ini > ~/insightiq_uwsgi.ini
-
次のコマンドを実行して、前のコマンドによって生成されたファイルと
"/var/log"と表示され、"/var/cache/insightiq/pgsql/pgstartup.log"ディレクトリ、ここで<case_number>は、Isilonテクニカル サポートのケース番号です。# sudo tar -czvf ~/<case_number>.tgz /var/log /var/cache/insightiq/pgsql/pgstartup.log insightiq.ini ifconfig.txt mount.txt iiqversion.txt df.txt top.txt ps.txt memory.txt release.txt kernel.txt datastore_3_2.pickle insightiq_uwsgi.ini
-
.tgzファイルをSRに添付するか、圧縮ファイルを
"/ifs/data/Isilon_Support"セキュア コピー(SCP)コマンドで、<node_ip>は、クラスター内の任意のノードのIPアドレスです。# scp ~/<case_number>.tgz root@<node_ip>:/ifs/data/Isilon_Support
-
<case_number>.tgzファイルをIsilonテクニカル サポートにアップロードします。これは、以下で実行できます。
-
# isi_gather_info -f <path of .tgz file>
- SRへのSCPファイル(Isilonに移動する前に実行できます)
- サポートから提供された一時MFTフォルダーにアップロードします。
-
IIQ 5.x:
-
InsightIQ仮想マシンへのSSH接続を開き、ログインしているユーザーのホーム ディレクトリーにいることを確認します(Scaleの場合はroot、Simpleの場合はadministrator)。次のコマンドを発行して、ディレクトリーをホームに変更します。
# cd ~
-
次のコマンドを実行して、サポート パッケージを作成します。
# bash /usr/share/storagemonitoring/scripts/deploymentmanager/iiq_log_bundler.sh
-
ログ バンドルがtar.gz ファイルとして正しい場所に保存されていることを確認します
# ls -l /var/log | grep insightiq_log
-
tar.gzファイルをSRに添付するか、圧縮ファイルを
"/ifs/data/Isilon_Support"セキュア コピー(SCP)コマンドで、<node_ip>は、クラスター内の任意のノードのIPアドレスです。# scp /var/log/insightiq_logs.tar.gz root@<node_ip>:/ifs/data/Isilon_Support
-
tar.gzファイルをIsilonテクニカル サポートにアップロードします。これは、以下で実行できます。
-
# isi_gather_info -f <path of .tgz file>
- SRへのSCPファイル(Isilonに移動する前に実行できます)
- サポートから提供された一時MFTフォルダーにアップロードします。
-
IIQ 6.x:
-
InsightIQ仮想マシンへのSSH接続を開き、ログインしているユーザーのホーム ディレクトリーにいることを確認します(Scaleの場合はroot、Simpleの場合はadministrator)。次のコマンドを発行して、ディレクトリーをホームに変更します。
# cd ~
-
次のコマンドを実行して、サポート パッケージを作成します。
# bash /usr/share/storagemonitoring/scripts/log_collection.sh
例:administrator@localhost:~> bash /usr/share/storagemonitoring/scripts/log_collection.sh Please wait while we collect the InsightIQ Logs... InsightIQ Logs have been successfully bundled into /var/log/insightiq_logs_20250502_144838.tar.gz -
ログ バンドルがtar.gz ファイルとして正しい場所に保存されていることを確認します
# ls -l /var/log | grep insightiq_log
-
tar.gzファイルをSRに添付するか、圧縮ファイルを
"/ifs/data/Isilon_Support"セキュア コピー(SCP)コマンドを使用して、監視対象クラスターのディレクトリーに移動します。ここで<node_ip>は、クラスター内の任意のノードのIPアドレスです。# scp /var/log/insightiq_logs_20250502_144838.tar.gz root@<node_ip>:/ifs/data/Isilon_Support
-
tar.gzファイルをIsilonテクニカル サポートにアップロードします。これは、以下で実行できます。
-
# isi_gather_info -f <path of .tgz file>
- SRへのSCPファイル(Isilonに移動する前に実行できます)
- サポートから提供された一時MFTフォルダーにアップロードします。
-