Uploading Workflows Using The Bui - Oracle ZFS Storage Appliance Administration Manual

Hide thumbs Also See for ZFS Storage Appliance:
Table of Contents

Advertisement

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] + ']"');

Advertisement

Table of Contents
loading

Table of Contents