Resources

File Storage and Storage Resources

Resources are external services that are used by Ooyala Flex to store, transfer or process media. Examples include storage devices, transcoder software, and file transfer technologies. Resources extend the core functionality of Ooyala Flex and enable it to scalably meet the demands of modern media management operations by utilising commodity technologies.

Note: A core aspect of media logistics involves orchestrating media files between various locations (storage) and processes (transcode, QC, etc).

Resource Definition Object Properties

A Resource Definition specifies a single Resource. You can therefore link from a Resource Definition in the Settings section to the Resource Details screen in the Resources Section (assuming you have the right Permissions). You can also link from the Resource Details screen to the Resource Definition (assuming you have the right Permissions).

Table 1.
Property Support Explanation
Scope Account The Scoping of this Object
Visibility Whether the Object supports visibility
Plugins Supports Plugins
Extended Config. Whether the Object has an extended configuration tab
Scripting Whether the Object can be configured using scripting
Enable / Disable Whether the Object can be enabled and disabled
Start / Stop Whether the Object can be started and stopped
Copy Whether the Object can be copied
Export / Import Whether the Object can be exported and imported
Delete Whether the Object can be deleted
Unique Name Whether the Object name must be unique within its scope
Variants Whether the Object supports Variants

Creating a New Resource Definition

1) On the Toolbar, click the New option.

2) From the drop down, select Resource.

3) In the Create new Resource section, fill in the various details such as Name, Visibility, Plugin, and so on.

4) Configure your Resource Definition: Once you've created your Resource, select the Configuration sub-tab in order to define the values that you wish to assign to your new Resource.

The Resource Types available are described in the Resource Plugins section.

Launching a Workflow from an Asset

Assets can be launched through a Workflow in several ways in Ooyala Flex:

A) From the Action Toolbar

B) Selecting an Inbox with an associated Workflow as part of the Transfer Ingest process

C) Associating a Hot Folder Resource to an Inbox Resource

Once Ooyala Flex is connected to an external Resource, the Resource can be configured, monitored and managed through the Ooyala Flex Console. In fact, in most cases, once connected to Ooyala Flex, all future management can be carried out through Ooyala Flex. Through regularly polling Resources, Ooyala Flex is able to provide Users with the ability to search and manage Items within a resource, all from within the Ooyala Flex Console.

Ooyala Flex offers a "pluggable" approach to Resource management so that new resource types and vendor solutions can be added in future by developing new Resource plugins. Ooyala Flex already plugs in to the industry leading, storage, transcode and QC solutions. This approach means that Ooyala Flex offers a high degree of future-proofing as new networked media management technologies evolve. For example, Ooyala Flex can offer plugins for traditional network file storage or Internet-based Object storage.

Resource set-up and configuration is beyond the scope of the User Guide. Readers should consult the Super User Guide.

Regardless of the Resource Type, all Ooyala Flex Resources manage one or more Items on behalf of Ooyala Flex. In the case of Transcode resources, they are transcode job items, in the case of capacity resources, they are files that are being stored.

Resources manage one or many Items. The exact Item Type is governed by the Resource Type. For example a Storage Type of Resource will manage File Items.

Run-rule expression text box for Resources

Process Resources, such as Package, Inject, Quality Control, and Extract Resources support the use of run-rule expressions. Run-Rule expressions can be applied by entering an expression in the Run-Rule Expression text box which can be found in the Create a new Resource… section, when you are creating a new Process Resource. The Expression text box is only visible when a Process Resource is selected.

In the example below, you can see that an Extract Resource has been selected, and so, the Run-Rule Expression box is visible:

On the other hand, if another type of Resource is selected, such as an Inbox Resource, then the Run-Rule Expression box is hidden, as shown below:

Note: The run-rule text box will be hidden By default.

Resource Types

Ooyala Flex supports 3 high-level Resource Types. These types are further sub-divided into more specific types. The high level Type defines the general purpose of the Resource:

Capacity Resource: A Resource that is used for storing media files such as a network mounted storage array, or cloud-based Object storage, for example.

Processing Resource: A Resources that is used for processing media such as transcoders, for example.

I/O Resource:A Resource that is used for moving media files such as file delivery technologies for example.

Resources and Jobs

Many Ooyala Flex Jobs rely on Resources to get work done. For example Transcode Jobs delegate the work of transcoding a file to a Transcode Resource. If this is the case, there will be a link to the Resource used in the Job Details screen for a Job.

Like all Ooyala Flex Objects, Resources support the concept of visibility. When a Job runs it runs with an owner that is a Ooyala Flex User. Resource are only made available to Jobs that have visibility of it. This means that Resources can be shared between Accounts where necessary but can also be isolated to individual Accounts.

Resources can exist in one of the following states:

Stopped: The resource is configured and enabled but stopped. It is not available to process Job requests.

Running: The resource is configured and enabled and running. It is available to process Job requests.

Failed: The resource is configured and enabled but failed. It is not available to process Job requests.

Resource Management

Ooyala Flex takes a snapshot of the status of all Resources and their associated Items through polling. Ooyala Flex automatically polls all connected Resources to both verify the continuing connection to the Resource as well as to check for any updates from the Resource’s Items currently being managed. The frequency of polling may be configured by the Administrative User.

If Ooyala Flex cannot obtain a valid response from a Resource or the Resource indicates that it has failed, Ooyala Flex sets the Resource to a failed state. At this point, the Resource cannot handle any future requests. Once a Resource has failed it must be started manually by a Ooyala Flex User with the correct Permissions.

Launching a Workflow via Hotfolder Resource Items

You can manually launch a Workflow that is associated with a Hotfolder Resource item, by navigating to the Resource Item itself.

To do this, follow these steps:

1) Navigate to a Hotfolder Resource.

2) Click the Resource Items link, located in the top-right corner.

3) You will see a list of Resource Items associated with the Hot Folder Resource. Locate the desired Resource Item.

4) Click the Chevron located to the right of the Workflow Column, and click the Launch Workflow link.

Alternately, you can click the Launch Workflow button, located in the top-left of the Resource screen.

Was this article helpful?