Administrator Guide

Table Of Contents
SMTP: x.x.x.x
Local-only: False
2. 管理サの再起動時または再開時にスクリプトが再開されるようにするには、この手順で示されているように、/var/log/
VPlex/cli directory にある VPlex-init ファイルにし、Starting the scriptるスクリプトを開始するために使用
するコマンドを追加して、デタ保全を追加できます。vi エディタを使用して、スクリプトの開始コマンド ライン
/var/log/VPlex/cli/VPlexcli-init ファイルの末尾に追加します。
Sample output:
service@ManagementServer:/var/log/VPlex/cli> vim VPlexcli-init
#-------------------------------------------------------------------------------
#- (C) 2007-2010 EMC Corporation. All rights reserved.
#-
#- This CLI initialization script is executed if it's located in any of the
#- following locations:
#- (CLI terminates the search on first success.)
#- if the --init-file option is specified on the command line then use that file
#- else search for the file "VPlexcli-init" in the following order:
#- a. CLI directory (specified with the --cli-directory option)
#- b. current dir (of the shell that started CLI)
#- c. user.dir (usually equivalent to the current dir)
#- d. user.home
#- e. classpath
#- This script is processed as if it had been sourced using the 'source' command
#-------------------------------------------------------------------------------
.
.
ll /monitoring/directors/*/monitors/
#
#
<new entry added below at the end of VPlex-init file,
script -i port_stats_monitor
port-monitor start –smtp <mail server ip address> -e <email>,<email>,...>
しきい値の調整(必要な場合)
手順
管理サ上(Metro の場合は方)で、ディレクトリport-stats-monitor)を作成し、新しく作成したディレクトリ
に特定のハドウェアVS2 または VS6config.json ファイル(port-stats-monitor_6.2.zip ファイルの展開後に確認
できたもの)をコピします。
a. ディレクトリ/var/log/VPlex/cli/port-stats-monitor)を作成します。
例: mkdir /var/log/VPlex/cli/port-stats-monitor
b. 作業中のメトロ ドウェアのディレクトリして、該するハドウェアの<vsX>_config.json ファイルをコ
します。例えば、cp vs2-config.json /var/log/VPlex/cli/port-stats-monitor/config.json cp vs6-
config.json /var/log/VPlex/cli/port-stats-monitor/config.json です。
メモ: [手順 cでは、スクリプトのロド後に更を加えないでください。1 個のビットにしてモニタ スクリプトが
行されるようにしてください。パフォマンスに問題がある場合、問題にする E アラトがエンド に通知
されるため、エンド はメトロ サポトでさらなるサポトを得ることができます。[手順 dに進みますが、
モニタ行中であることのみを確認します。[手順 d]で「Checking status」と表示されている場所まで下にスクロ
し、現時点ではそのコマンドの行だけを行います。Metro の場合は、方のクラスタで手順 c d けて行う必要が
あります。
c. config.json ファイルのデフォルトのしきい値を更します(オプション)。より良い結果を出すために(1 個または)複
のデフォルト値をやすことができる場合は、config.json ファイルを新しいしきい値に更できます(VI エディタを使
用)。例えば、vim /var/log/VPlex/cli/port-stats-monitor/config.json です。
Sample Output:
{
"bad_CRC": 5,
"Disc_frame": 40,
"link_fail": 15,
"Loss_of_sync": 45,
パフォマンスおよび監視 93