1 Oracle ZFS Storage Appliance 概述
浏览器用户界面 (Browser User Interface, BUI)
当在系统中创建新的实体时,与新实体关联的上下文通常以未提交状态创建。例如,通过从 configuration alerts threshold 上下文中执行 create 命令来创建Chapter 9, 警报配置:
dory:> configuration alerts thresholds create dory:configuration alerts threshold (uncommitted)>
提示符中的 (uncommitted) 表示这是一个未提交的上下文。未提交的实体通过 commit 命令提交;从未提交的上下文导航到其他位置的任何尝试都将提示进行确认:
dory:configuration alerts threshold (uncommitted)> cd / Leaving will abort creation of "threshold". Are you sure? (Y/N)
当提交未提交的实体时,将验证与新实体关联的属性,如果无法创建实体,则将生成错误。例如,创建新阈值警报需要指定统计信息名称;不设置该名称会导致错误的发生:
dory:configuration alerts threshold (uncommitted)> commit error: missing value for property "statname"
要解决此问题,请修正错误,然后重新尝试提交:
dory:configuration alerts threshold (uncommitted)> set statname=cpu.utilization statname = cpu.utilization (uncommitted) dory:configuration alerts threshold (uncommitted)> commit error: missing value for property "limit" dory:configuration alerts threshold (uncommitted)> set limit=90 limit = 90 (uncommitted) dory:configuration alerts threshold (uncommitted)> commit dory:configuration alerts thresholds> list THRESHOLD LIMIT TYPE STATNAME threshold-000 90 normal cpu.utilization