Using Oracle ZFS Storage Appliance in Engineered Systems

This section describes the prerequisite for an Oracle ZFS Storage Appliance on engineered systems. A non-root user should have required privileges to view the analytics dataset. If the specific privileges are not assigned, then the analytic metrics displays an error.

If you need data to be collected for the following metrics, the corresponding dataset must be enabled in Oracle ZFS Storage Appliance.

Metric name DatasetName
Replication statistics by Direction repl.bytes[direction],repl.ops[direction]
Replication Ops by Latency  repl.ops[latency]
IOopsByLatency  io.ops[latency]
L2ARC statistics arc.l2_accesses[hit/miss],arc.l2_bytes,arc.l2_size 
NAS IO statistics nfs2.bytes, nfs3.bytes,nfs4.bytes

You can add an extra privilege to a non-root user to access analytics dataset.

To add a privilege in the appliance's user interface, perform the following steps:

  1. Login to Oracle ZFS Storage Appliance user interface as the root user.
  2. Click Configuration, and click Users.
  3. Select the non-root user and click the edit icon.
  4. Select the Exceptions tab.
  5. From the Scope drop-down, select Analytics.
  6. From the List of drilldowns menu, select *, and check the read check box.
  7. Click Add and log out of the appliance.
  8. Login to Oracle ZFS Storage Appliance user interface as the non-root user.
  9. Click Configuration, and click Preferences.
  10. Check the check box Make available advanced analytics statistics and log out of the appliance.

You can also add an exception to a non-root user using Command Line Interface for reading analytics dataset. For example:


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>