この項では、エンジニアド・システム上のOracle ZFS Storage Applianceの前提条件について説明します。非rootユーザーは、分析データセットを表示するために必要な権限を持っている必要があります。特定の権限が割り当てられていない場合、分析メトリックはエラーを表示します。
次のメトリックでデータを収集する必要がある場合は、Oracle ZFS Storage Applianceで対応するデータセットを有効にする必要があります。
メトリック名 | DatasetName |
---|---|
方向別レプリケーション統計 | repl.bytes[direction],repl.ops[direction] |
待機時間別レプリケーション操作 | repl.ops[latency] |
IOopsByLatency | io.ops[latency] |
L2ARC統計 | arc.l2_accesses[hit/miss],arc.l2_bytes,arc.l2_size |
NAS IO統計 | nfs2.bytes , nfs3.bytes ,nfs4.bytes |
非rootユーザーがデータセットにアクセスするために、追加権限を追加できます。
アプライアンスのユーザー・インタフェースに権限を追加するには、次の手順を実行します。
また、分析データセットの読取り用コマンドライン・インタフェースを使用して、例外を非rootユーザーに追加することもできます。次に例を示します。
zfssa:> configuration users zfssa:configuration users> select oemuser zfssa:configuration users oemuser> exceptions zfssa:configuration users oemuser exceptions> create zfssa:configuration users oemuser auth (uncommitted)> set scope=stat scope = stat zfssa:configuration users oemuser auth (uncommitted)> set allow_read=true allow_read = true (uncommitted) zfssa:configuration users oemuser auth (uncommitted)> commit zfssa:configuration users oemuser exceptions>