EasyManuals Logo

Oracle ZFS Storage Appliance User Manual

Oracle ZFS Storage Appliance
650 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #602 background imageLoading...
Page #602 background image
Coding Workflow Schedules
TABLE 135
Workflow Schedule Properties
Property Type Description
offset
Number Determines the starting point in the
defined period
period
Number Defines the frequency of the
Schedule
unit
String Specifies if either seconds or month
are used as unit in the offset and
period definition
EXAMPLE 29
Illustrating the Use of Workflow Properties
The following code example illustrates the use of the properties. Note that inline arithmetic
helps to make the offset and period declarations more readable.
// Example of using Schedule definitions within a workflow
var MyTextObject = {
MyVersion: '1.0',
MyName: 'Example 9',
MyDescription: 'Example of use of Timer',
Origin: 'Oracle'
};
var MySchedules = [
// half hr interval
{ offset: 0, period: 1800, units: "seconds" },
// offset 2 days, 4hr, 30min , week interval
{offset: 2*24*60*60+4*60*60+30*60, period: 604800,units: "seconds" }
];
var workflow = {
name: MyTextObject.MyName,
description: MyTextObject.MyDescription,
version: MyTextObject.MyVersion,
alert: false,
setid: true,
schedules: MySchedules,
scheduled: true,
origin: MyTextObject.Origin,
execute: function () {
audit('workflow started for timer; ');
}
}
};
The property units in the Object MySchedules specifies the type of units used for the properties
offset and period. They can be set to either seconds or month. The property period specifies the
frequency of the event and the offset specifies the units within the period. In the above example
602 Oracle ZFS Storage Appliance Administration Guide, Release OS8.6.x • September 2016

Table of Contents

Other manuals for Oracle ZFS Storage Appliance

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Oracle ZFS Storage Appliance and is the answer not in the manual?

Oracle ZFS Storage Appliance Specifications

General IconGeneral
Connectivity10GbE, 40GbE, InfiniBand, Fibre Channel
ProtocolsNFS, SMB, iSCSI, Fibre Channel, HTTP
Operating SystemOracle Solaris
Data Protectionsnapshots, clones, remote replication
Data ReductionInline compression, deduplication
High AvailabilityRedundant hardware components (controllers, power supplies, fans). Automatic failover between controllers. Hot-swappable drives and components. Cluster configurations for increased availability and scalability.
Management InterfaceWeb-based GUI, CLI, REST API
Storage TypeHybrid (SSD + HDD), All-Flash
Storage CapacityUp to several petabytes
EncryptionAES-256 encryption at rest

Related product manuals