Uploading Workflows using the BUI
run('create "' + params.worksheet + '"');
run('select name="' + params.worksheet + '"');
run('dataset');
run('set name=io.bytes[disk]');
for (i = 0; i < params.disks.length; i++)
disks.push('"' + params.disks[i] + '"');
run('set drilldowns=' + disks.join(','));
run('commit');
for (i = 0; i < params.disks.length; i++) {
run('dataset');
run('set name="io.bytes[disk=' +
run('commit');
}
}
} ];
var workflow = {
name: 'Disk drilldown',
description: 'Creates a worksheet that drills down on system, ' +
'cache, or log devices',
parameters: {
type: {
label: 'Create a new worksheet drilling down on',
type: 'ChooseOne',
options: [ 'cache', 'log', 'system' ],
optionlabels: [ 'Cache', 'Log', 'System' ]
},
overwrite: {
label: 'Overwrite the worksheet if it exists',
type: 'Boolean'
}
},
execute: function (params) { return (steps); }
};
Uploading Workflows using the BUI
Workflows are uploaded to the appliance by clicking on the plus icon, and they are executed by
clicking on the row specifying the workflow.
606
Oracle ZFS Storage Appliance Administration Guide, Release OS8.6.x • September 2016
params.disks[i] + ']"');
Need help?
Do you have a question about the ZFS Storage Appliance and is the answer not in the manual?
Questions and answers