はじめに
本ドキュメントでは、ASR5kシリーズ製品に導入されているSmart License 関連ログについて説明します。 対象製品は、ASR5000, ASR5500, Virtual Packet Core となります。Smart Licenseは、R21.3から導入されています。
Smart License 関連情報
下記は Virtual Packet Core/Build 21.3.0(67664)における、Smart License 関連情報となります:
1. .smartts は hidden directory のため、dir /flashでは表示されません:
[local]vpc-si-01# dir /flash
total 159244
-rw-rw-r-- 1 root root 3920672 Oct 12 02:54 crashlog2
drwxrwxr-x 2 root root 4096 Oct 12 02:54 crsh2
-r--r--r-- 1 root root 11909 Jul 25 12:12 ldlinux.sys
-rw-rw-r-- 1 root root 156 Oct 12 02:54 module.sys
drwxrwxr-x 3 root root 4096 Oct 12 02:54 patch
drwxrwxr-x 2 root root 4096 Oct 12 02:54 persistdump
-rw-rw-r-- 1 root root 79 Oct 12 02:54 restart_file_cntr.txt
drwxrwxr-x 2 root root 4096 Oct 12 02:54 sftp
-rw-rw-r-- 1 root root 159093760 Jul 25 12:12 staros.bin
-rw-rw-r-- 1 root root 907 Jul 25 12:12 syslinux.ban
-rw-rw-r-- 1 root root 316 Jul 25 12:12 syslinux.cfg
159280 /flash
Filesystem 1K-blocks Used Available Use% Mounted on
/var/run/storage/flash/part1
2092348 159280 1933068 8% /mnt/user/.auto/onboard/flash
2. dir /flash/.smartts の結果:
[local]vpc-si-01# dir /flash/.smartts
total 16
drwxrwxr-x 2 root root 4096 Oct 12 02:54 gch
drwxrwxr-x 2 root root 4096 Oct 12 02:54 log
drwxrwxr-x 2 root root 4096 Oct 12 02:54 notify
drwxrwxr-x 2 root root 4096 Oct 12 02:54 sync
28 /flash/.smartts
Filesystem 1K-blocks Used Available Use% Mounted on
/var/run/storage/flash/part1
2092348 159280 1933068 8% /mnt/user/.auto/onboard/flash
3. dir /flash/.smartts/log の結果:
[local]vpc-si-01# dir /flash/.smartts/log
total 4
-rw-rw-r-- 1 root root 1134 Oct 12 02:54 SmartAgent.log
8 /flash/.smartts/log
Filesystem 1K-blocks Used Available Use% Mounted on
/var/run/storage/flash/part1
2092348 159280 1933068 8% /mnt/user/.auto/onboard/flash
4. dir /flash/.smartts/gch の結果:
[local]vpc-si-01# dir /flash/.smartts/gch
total 4
-rw-rw-r-- 1 root root 270 Oct 12 02:54 GCHConfig.info
8 /flash/.smartts/gch
Filesystem 1K-blocks Used Available Use% Mounted on
/var/run/storage/flash/part1
2092348 159280 1933068 8% /mnt/user/.auto/onboard/flash
Smart License 関連ログ/ディレクトリの用途
- GCHConfig.info : ライセンスサーバに送るプロダクトの基本情報を保存しているファイル
- SmartAgent.log : Smart License をサポートするために必要な内部データ
Smart License 関連ディレクトリは、起動時に作成されて、Smart License 機能に必要な情報やログを保持します。
Smart License 関連ログは、規定のサイズを超えると圧縮されて保存されますが、古いものは削除されるため、/flash 配下を圧迫し続けることはありません。