Juniper MEDIA FLOW CONTROLLER 2.0.4 - ADMINISTRATOR S GUIDE AND CLI Administrator's Manual page 102

Administrator’s guide and cli command reference
Table of Contents

Advertisement

Media Flow Controller Configuration Tasks (CLI)
2. Exit the FMS shell by typing exit; the window closes and you must open a new session to
Media Flow Controller.
Note!
The directory configuration is /nkn/mnt/fuse PLUS the URI path /fms from the
namespace configuration.
If the file requested by the client player for application VOD is sample.flv, then the request
that comes to Media Flow Controller is /fms/sample.flv. Media Flow Controller matches the
incoming request /fms/sample.flv to namespace fms_vod via the configured match uri of /
fms.
Configuring Namespace for FMS VOD (CLI)
The namespace and match uri must match the application configuration in FMS. For
example, if you used /nkn/mnt/fuse/fms/vod instead of /nkn/mnt/fuse/fms, then your
corresponding namespace configuration would have to have a match uri of /fms/vod.
Example assumes a configuration of /nkn/mnt/fuse/fms.
The video files and associated files such as SWFs, JavaScript, and HTML are stored in an
HTTP or NFS origin server and the configured Media Flow Controller namespace points to
that origin server.
The files also can be pre-ingested using FTP instead of fetching from origin on cache-miss.
It's also possible to cache only the video file in Media Flow Controller and for all other
associated files, the player directly goes to the origin server.
Example:
test-vos (config) # namespace fms_vod
test-vos (config namespace fms_vod) # domain any
test-vos (config namespace fms_vod) # match uri /fms
test-vos (config namespace fms_vod) # origin-server http fms-
origin.test.com
test-vos (config namespace fms_vod) # status active
test-vos (config namespace fms_vod) # exit
Configuring Multiple Namespaces and URIs for VOD—Method 1
Have multiple applications such as vod, vod1, and vod2, in FMS and let them map to their
corresponding namespaces as given:
vod:
Application.xml: <Streams>/;/nkn/mnt/fuse/firstpath</Streams>
namespace match uri: /firstpath
Player1 requests file: application vod and file sample.flv
vod1:
Application.xml: <Streams>/;/nkn/mnt/fuse/secondpath</Streams>
name space match uri: /secondpath
Player2 requests file: application vod1 and file sample.flv
vod2:
Application.xml: <Streams>/;/nkn/mnt/fuse/thirdpath</Streams>
name space match uri: /thirdpath
Player3 requests file: application vod2 and file sample.flv
102
Installing and Using FMS in Media Flow Controller (CLI)
Media Flow Controller Administrator's Guide
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Media flow controller 2.0.4

Table of Contents