Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle® ZFS Storage Appliance Customer Service Manual For ZS3-x, 7x20 Controllers, and DE2-24, Sun Disk Shelves |
Chapter 2 Hardware Maintenance
Managing Support Bundles Using the BUI
Generating and Uploading a Support Bundle Using the BUI
Managing Support Bundles Using the CLI
Scheduling Software Notification Using the BUI
Scheduling Software Notification Using the CLI
Checking for Updates Using the BUI
Checking for Updates Using the CLI
Troubleshooting Update Health Check Failures
Actions to Take to Resolve Health Check Alerts
Steps for Resolving Health Check Alerts
Performing the Cluster Upgrade
Applying Deferred Updates (CLI)
Triple-Parity RAID Deferred Update
Data Deduplication Deferred Update
Received Properties Deferred Update
Snapshot Deletion Deferred Update
Recursive Snapshots Deferred Update
Multiple Initiator Groups per LUN
Managing Configuration Backups Using the BUI
Restore from a Saved Configuration
Managing Configuration Backups Using the CLI
Restore from a Saved Configuration
Alert Action Execution Context
Workflows execute asynchronously in the Oracle ZFS Storage Appliance shell, running (by default) as the user executing the workflow. As such, workflows have at their disposal the Oracle ZFS Storage Appliance scripting facility, and may interact with the Oracle ZFS Storgae Appliance just as any other instance of the Oracle ZFS Storage Appliance shell. That is, workflows may execute commands, parse output, modify state, and so on. Here is a more complicated example that uses the run function to return the current CPU utilization:
var workflow = { name: 'CPU utilization', description: 'Displays the current CPU utilization', execute: function () { run('analytics datasets select name=cpu.utilization'); cpu = run('csv 1').split('\n')[1].split(','); return ('At ' + cpu[0] + ', utilization is ' + cpu[1] + '%'); } };