マネージャーのインストール
WhaTap NMS(Network Management System) エー ジェントであるNMS Managerのインストール方法を案内します。インストールを進める前に、以下の事項を必ず確認してください。
マネージャーのインストール
プロジェクトアクセスキーの確認
アクセスキーは、WhaTapサービスを有効にするための固有IDです。アクセスキーを自動的に発行された後、次の手順を進め ます。
-
インストールガイドセクションで、プロジェクトアクセスキーの発行ボタンをクリックしてください。
-
発行されたアクセスキーをコピーボタンをクリックしてコピーします。アクセスキーは再確認できます。
プロジェクトを作成すると、自動的にエージェントインストールページに移動します。エージェントインストールページに移動しない場合は、画面左側のメニューから管理 > マネージャーのインストールを選択してください。
インストールコマンドの実行
管理 > マネージャーのインストールガイドセクションで、プロジェクトアクセスキーを確認した後、順番に該当するOSに合わせてインストールを進めてください。
Red Hat–based Linux
WhaTap Network Management Systemは、Rocky、Redhat Linux環境に対応しています。
-
次のコマンドを実行して、WhaTap リポジトリを登録してください。
sudo rpm --import https://repo.whatap.io/centos/release.gpg
sudo rpm -ivh https://repo.whatap.io/centos/5/noarch/whatap-repo-1.0-1.noarch.rpm -
次のコマンドを実行して、パッケージをインストールしてください。
sudo dnf install -y whatap-nms -
次のコマンドを実行してください。アクセスキーを入力し、WhaTapサーバーホストを設定します。
$ sudo wtinitset -a xxxxxxx-xxxxxxxx-xxxxxxx -s 192.168.10.100
$ sudo wtinitset --help
usage: wtinitset [-h] -a LICENSE -s HOST [-v]
Whatap-nms access key manager tool
optional arguments:
-h, --help show this help message and exit
-a LICENSE, --accesskey LICENSE
Access key for project
-s HOST, --server HOST
Whatap host ip address for data transfer
-v, --view View current configuration
example:
# wtinitset -a znun32arkonto-76rbkt4ftlrwh9-s0dywogeww1lhs -s 192.168.10.100
# wtinitset -a znun32arkonto-76rbkt4ftlrwh9-s0dywogeww1lhs -s 10.10.10.10/10.10.10.20 -
インストール完了後、次のコマンドを実行してNMSマネージャーが正常に実行されているか確認してください。
sudo service uvicorn status
sudo service nmscore status
sudo service icmptcphealthd status
Debian-based Linux
WhaTap Network Management Systemは、Ubuntu環境に対応しています。
-
次のコマンドを実行して、WhaTap リポジトリを登録してください。
curl -s https://repo.whatap.io/debian/release.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/whatap-release.gpg > /dev/null
echo "deb [signed-by=/etc/apt/trusted.gpg.d/whatap-release.gpg] https://repo.whatap.io/debian unstable/" | sudo tee /etc/apt/sources.list.d/whatap.list -
次のコマンドを実行して、パッケージをインストールしてください。
sudo apt-get update
sudo apt-get install -y whatap-nms -
次のコマンドを実行してください。アクセスキーを入力し、WhaTapサーバーホストを設定します。
$ sudo wtinitset -a xxxxxxx-xxxxxxxx-xxxxxxx -s 192.168.10.100
$ sudo wtinitset --help
usage: wtinitset [-h] -a LICENSE -s HOST [-v]
Whatap-nms access key manager tool
optional arguments:
-h, --help show this help message and exit
-a LICENSE, --accesskey LICENSE
Access key for project
-s HOST, --server HOST
Whatap host ip address for data transfer
-v, --view View current configuration
example:
# wtinitset -a znun32arkonto-76rbkt4ftlrwh9-1234ogeww1lhs -s 192.168.10.100
# wtinitset -a znun32arkonto-76rbkt4ftlrwh9-1234wogeww1lhs -s 10.10.10.10/10.10.10.20 -
インストール完了後、次のコマンドを実行してNMSマネージャーが正常に実行されているか確認してください。
sudo service uvicorn status
sudo service nmscore status
sudo service icmptcphealthd status
NMSサービスへのアクセス
インストールが完了したら、https://service.whatap.ioにアクセスしてNMSモニタリングを開始します。