HP-UX -> OVO
OVO コマンド
OVO Manager / OVO Agent 関連
- ovc (管理対象ノード操作)
- ovconfget (設定パラメータダウンロード)
- ovconfpar (設定パラメータ変更)
- opccfgdwn (テンプレートダウンロード)
- opccfgupld (テンプレートアップロード)
- opcagt (管理対象ノード操作)
- opcragt (管理対象ノードリモート操作)
- opcsv (管理サーバ操作)
- opctemplate (テンプレート操作)
使用例
ovc (/opt/OV/bin)
OVO Agentプロセスの管理
# ovc -start [target] # ovc -stop [target] # ovc -status コントロールプロセスを含め全てのサービスを停止 # ovc -kill ovcのバージョンを表示 # ovc -version HP OpenView Control xx.xx.xxx
opccfgdwn
テンプレートのダウンロード
ダウンロード指定ファイルを作成する。 テンプレートを指定してダウンロードする場合は以下のように記述する LOGFILE_TEMPLATE "テンプレート名"; MONITOR_TEMPLATE "テンプレート名"; SCHEDULE_TEMPLATE "テンプレート名"; 全てのテンプレートをダウンロードする場合は以下のように記述する "* ;" テンプレートをダウンロードする # opccfgdwn /tmp/download.dsf /tmp/cfgdwn /tmp/cfgdwn 配下にファイルが作成される。 出力ディレクトリを省略した場合は /opt/OV/OpC/share/tmp/OpC_appl に出力される。 別のサーバへデータを移行する場合は、opccfgupld コマンドでこのファイルを指定する
opcagt
管理ノード(Agent)操作
管理対象ノードのステータスを確認 # opcagt -status opcmsga OVO Message Agent AGENT,EA (PID) 動作中 opcacta OVO Action Agent AGENT,EA (PID) 動作中 opcmsgi OVO Message Interceptor AGENT,EA (PID) 動作中 opcle OVO Logfile Encapsulator AGENT,EA (PID) 動作中 opcmona OVO Monitor Agent AGENT,EA (PID) 動作中 opctrapi OVO SNMP Trap Interceptor AGENT,EA (PID) 動作中
ovconfpar
プライマリマネージャを調べる
ovconfpar -get -host-ns eaagt OPC_PRIMARY_MGR ※ [OPC_PRIMARRY_MGRの設定]: # opcragt -primmgr ovconfpar -change -ns bbc.http.ext.depl -set RESPONSE_TIMEOUT 600
opcragt
エージェントバージョンの確認
# opcragt -version <node> バージョン: @(#)HP OpenView Operations A.08.27 PHSS xxxx (08/29/07). (OpC20-2720)
エージェントバージョンの確認
# opcragt -agent_version <node> NodeNAME DESCRIPTION VERSION TYPE OSTYPE HPOvConf HP OpenView Configuration 06.00.083 pkg Linux
テンプレートの配布
# opcragt -distrib -templates -actions -monitors -commands -force <node> * オプション -distrib Distribute OVO configuration. -templates Distribute or update message source templates. -actions Distribute or update the configured actions. -monitors Distribute or update threshold monitor scripts. -commands Distribute or update the configured commands. -force Force the update of the configuration.
opcsv
管理サーバ(Manager)操作
管理サーバのステータスを確認 # /opt/OV/bin/OpC/opcsv -status OVO 管理サーバのステータス: --------------------------- Control Manager opcctlm (PID) が起動されています。 Action Manager opcactm (PID) が起動されています。 Message Manager opcmsgm (PID) が起動されています。 TT & Notify Mgr opcttnsm (PID) が起動されています。 Forward Manager opcforwm (PID) が起動されています。 Service Engine opcsvcm (PID) が起動されています。 Cert. Srv Adapter opccsad (PID) が起動されています。 BBC config adapter opcbbcdist (PID) が起動されています。 Display Manager opcdispm (PID) が起動されています。 Distrib. Manager opcdistm (PID) が起動されています。 オープンエージェント管理ステータス: ------------------------------------- Request Sender ovoareqsdr (PID) が起動されています。 Request Handler ovoareqhdlr (PID) が起動されています。 Message Receiver (HTTPS) opcmsgrb (PID) が起動されています。 Message Receiver (DCE) opcmsgrd (PID) が起動されています。 OV Control コア・コンポーネント ステータス: ------------------------------------------- OV Control ovcd (PID) 動作中 OV Communication Broker ovbbccb (PID) 動作中 OV Certificate Server ovcs (PID) 動作中
opctemplate
テンプレートの有効/無効化
有効化 # opctemplate -e テンプレート名 無効化 # opctemplate -d テンプレート名 リストの表示 # opctemplate -l
Network Node Manager (NNM) 関連
- ovstart (start NNM managed processes)
- ovstop (stop NNM managed processes)
- ovstatus (report status of NNM managed processes)
- ovtopodump (print out the contents of the IP topology database)
戻る