background image

Published: 2010-9-17

Release

2.0.4

Copyright © 2010, Juniper Networks, Inc.

Media Flow Controller™ 
Administrator’s Guide and CLI Command Reference

Содержание MEDIA FLOW CONTROLLER 2.0.4 -

Страница 1: ...Published 2010 9 17 Release 2 0 4 Copyright 2010 Juniper Networks Inc Media Flow Controller Administrator s Guide and CLI Command Reference...

Страница 2: ...service marks are the property of their respective owners Juniper Networks assumes no responsibility for any inaccuracies in this document Juniper Networks reserves the right to change modify transfer...

Страница 3: ...ad installation or use of the Software Customer may operate the Software after the 30 day trial period only if Customer pays for a license to do so Customer may not extend or create an additional tria...

Страница 4: ...capabilities restricting Customer s ability to export the Software without an export license 12 Commercial Computer Software The Software is commercial computer software and is provided with restricte...

Страница 5: ...Media Flow Controller Version Comments 2010 4 27 Release 2 0 Document Version 2 0 2010 5 14 Release 2 0 1 Document Version 2 0a 2010 6 17 Release 2 0 2 Document Version 2 0b 2010 7 21 Release 2 0 3 D...

Страница 6: ...Media Flow Controller Administrator s Guide VI Copyright 2010 Juniper Networks Inc...

Страница 7: ...g Enhancements 1 28 Media Cache 1 28 Hardware Support 1 28 Guide to This Document 1 28 Documentation and Release Notes 1 29 Text and Syntax Conventions 1 29 Terminology 1 30 Documentation Feedback 1 3...

Страница 8: ...45 Media Flow Controller Delivery Methods 2 45 Streaming with HTTP 2 46 Streaming with RTSP 2 47 Connection Pooling 2 48 Consistent Hash Based Clustering and Origin Escalation 2 48 Media Flow Controll...

Страница 9: ...nding and Static Routes CLI 3 65 Load Balancing LB Direct Server Return DSR Guidelines 3 65 Configuring Link Bonding and Static Routes CLI 3 66 Authentication Authorization and Users Options 3 67 Abou...

Страница 10: ...3 87 Example Transparent Proxy Namespace Configuration 3 88 Using namespace match virtual host 3 89 Configuring Media Flow Controller Namespaces CLI 3 89 Managing the Media Flow Controller Disk Cache...

Страница 11: ...Media Flow Controller CPU Load 4 117 Viewing Network Usage 4 118 Viewing Memory Utilization 4 119 Media Flow Controller System Configuration Overview 4 119 Configuring Interfaces Default Gateway Stat...

Страница 12: ...nfiguring the Delivery Network Web Interface 4 163 Network Connection 4 163 Configuring Delivery Protocols Web Interface 4 164 Set HTTP Listen Port 4 166 Configure Rate Control 4 166 Configure Add Sel...

Страница 13: ...dge Log Web Interface 4 192 Viewing the Dashboard 4 192 Viewing Reports Interface Statistics 4 195 5 Media Flow Controller Common Configuration Tasks CLI 5 197 Configuring Caching All Contents for a W...

Страница 14: ...218 FMSEdge Log fmsedgelog 6 218 Viewing the FMSEdge Log 6 219 FMSConnector Log fuselog 6 219 Viewing the FMSConnector Log 6 220 Stream Log streamlog 6 220 Viewing the Stream Log 6 220 System Log 6 2...

Страница 15: ...6 Creating the origin escalation map XML File 7 247 Example origin escalation map DTD 7 248 nfs map XML File 7 248 Configuring Server Maps CLI 7 249 8 SmoothFlow Deployment 8 251 SmoothFlow Deployment...

Страница 16: ...w Controller Troubleshooting 9 271 Displaying Information Using Show Commands 9 271 Testing Network Connectivity 9 275 Testing Media Flow Controller Delivery Functions 9 276 Testing HTTP Origin Fetch...

Страница 17: ...mc 10 299 cmc auth 10 299 cmc client 10 300 cmc rendezvous 10 302 collect counters 10 303 configuration 10 304 configuration text 10 306 configure 10 308 debug 10 308 delivery 10 308 email 10 310 emai...

Страница 18: ...amespace delivery protocol http rtsp origin fetch 10 339 namespace delivery protocol http origin request 10 340 namespace origin server 10 341 namespace object list delete revalidate 10 343 network 10...

Страница 19: ...cs server 10 368 tcpdump 10 369 tech support 10 369 telnet 10 369 telnet server 10 369 terminal 10 370 tracelog 10 370 traceroute 10 371 upload 10 371 username 10 371 virtual player 10 373 virtual pla...

Страница 20: ...TABLE OF CONTENTS Media Flow Controller Administrator s Guide XX Copyright 2010 Juniper Networks Inc 11 Media Flow Controller MIB Definitions 11 385 Variables 11 385 NOTIFICATIONS 11 388 INDEX IX 391...

Страница 21: ...l 4 118 Figure 12 Network Interfaces Page Detail eth0 state and eth0 configuration 4 120 Figure 13 Network Interfaces Page Detail DHCP Primary Interface 4 121 Figure 14 Network Interfaces Page Detail...

Страница 22: ...Player Type yahoo Configuration Page 4 174 Figure 49 Virtual Player Type smoothflow Configuration Page 4 176 Figure 50 Virtual Player Type youtube Configuration Page 4 178 Figure 51 Service Config Na...

Страница 23: ...XXIII LIST OF FIGURES Figure 67 Publishing Workflow Typical Steps 8 254 Figure 68 On Demand Workflow Typical Steps 8 263 Figure 69 wget Test for Media Flow Controller HTTP Delivery and Cache 9 277...

Страница 24: ...LIST OF FIGURES XXIV Copyright 2010 Juniper Networks Inc...

Страница 25: ...s Sub Codes 6 211 Table 13 Error Log Modules 6 215 Table 14 Error Log Levels 6 216 Table 15 Syslog Severity Levels 6 221 Table 16 Delivery Protocol HTTP Trace Points 6 224 Table 17 Stats Samples 6 233...

Страница 26: ...de XXVI Copyright 2010 Juniper Networks Inc Table 31 Logging Severity Levels 10 331 Table 32 SNMP Traps Notify able Events 10 355 Table 33 Stats Alarms 10 361 Table 34 Stats CHDs 10 362 Table 35 Stats...

Страница 27: ...Flow Controller simplifies the PXE boot process by eliminating the need for administrators to have an interactive console session to boot it Administrators can configure the PXE boot options at the P...

Страница 28: ...y recommended releases for the VXA Series of products Other Hardware Support for Intel ET series of NIC based on Intel MAC controller 82576 Support for Intel 10GbE NIC Media Flow Controller Release 2...

Страница 29: ...ntroller Documentation and Release Notes To obtain the most current version of all Juniper Networks technical documentation see the product documentation page on the Juniper Networks website at http w...

Страница 30: ...Command Reference Chapter Fixed width Text Command keywords Text displayed online at a command line interface interface_name Please enter your IP address Fixed width Bold Text Command text that you ty...

Страница 31: ...ng previously retrieved content and enhances the user experience due to a decrease in latency FMS Flash Media Server Full Download An HTTP media delivery mode in which the entire media file is downloa...

Страница 32: ...ecurity denying requests preventing direct origin server access and so forth A mid tier proxy sits between the origin servers and the edge and serves requests from the edge caches Mid tier proxies imp...

Страница 33: ...ceive SAS Serial attached SCSI A data transfer technology designed to move data to and from computer storage devices such as hard drives and tape drives SATA Serial Advanced Technology Attachment A co...

Страница 34: ...al player is used exclusively VOD Video On Demand Documentation Feedback We encourage you to provide feedback comments and suggestions so that we can improve the documentation You can send your commen...

Страница 35: ...per net customers csc software Search technical bulletins for relevant hardware and software notifications https www juniper net alerts Join and participate in the Juniper Networks Community Forum htt...

Страница 36: ...Preface Media Flow Controller Administrator s Guide 36 Requesting Technical Support Copyright 2010 Juniper Networks Inc...

Страница 37: ...Copyright 2010 Juniper Networks Inc 37 PART 1 Media Flow Controller Administration...

Страница 38: ...Media Flow Controller Administrator s Guide 38 Copyright 2010 Juniper Networks Inc...

Страница 39: ...erview The Juniper Networks Media Flow Controller combines video intelligence storage organization multi tier caching and network optimization to scale media throughput and enhance end user experience...

Страница 40: ...quirements to store distribute and deliver content based on those requirements It creates an hierarchical caching solution that dynamically shifts content between tiers Via adaptive bit rate streaming...

Страница 41: ...aces Overview Media Flow Controller can be remotely configured and managed Command Line Interface CLI on page 42 Web Interface Management Console on page 42 SNMP Interface to Network Management System...

Страница 42: ...rates SNMPv2 traps in case of system failures that can be sent to higher level network management systems SNMP Messages TRAPs GETs and SETs SNMP messages may be initiated by either the network managem...

Страница 43: ...ultaneously When a request for content is received Media Flow Controller identifies the content to be served and does a resource check to verify that the content can be delivered in an acceptable mann...

Страница 44: ...ller Operations reverse proxy deployment Figure 1 illustrates the relations between Media Flow Controller and other network components in the media delivery optimization operation 1 Requests come in f...

Страница 45: ...Virtual Player Functions on page 53 Media Flow Controller Media Flow Manager Functions on page 56 Media Flow Controller Delivery Methods Media Flow Controller can deliver content simultaneously to a...

Страница 46: ...tting lost packets however it cannot ensure that all re transmitted packets arrive in time to be played in the media stream Table 3 describes the HTTP methods supported for Media Flow Controller in Re...

Страница 47: ...eek fast forward rewind live video delivery and delivery of multiple streams to the client are available Because Web server streaming typically creates a local cached copy of every media file played t...

Страница 48: ...lly namespace cluster hash configuration to map to the target origins In the case where no origins exist due to network connectivity issues an alternative set of origin servers can be consulted via an...

Страница 49: ...es it in the right cache tier see Hot Content Short Tail vs Long Tail on page 31 for explanation of hotness RAM is the highest tier followed by SSD SAS and SATA in that order Disk speeds are calculate...

Страница 50: ...ee that the sum of AFR assigned to each active session does not exceed the capacity of the GbE port or 1Gbps An active session is one that is sending data at any one particular instance We recommend t...

Страница 51: ...mile bandwidth fluctuations by dynamically detecting available bandwidth and seamlessly switching the bit rate of a video being progressively downloaded over HTTP Viewers with high bandwidth connectio...

Страница 52: ...e the asset After the assets are created they are pre staged to an origin server typically via FTP 2 Next the publisher or encoder sends a properly configured Media Flow Controller a SmoothFlow proces...

Страница 53: ...in fetch cache options and so forth are optional You can further define control by assigning a configured virtual player overrides network connection global defaults The namespace is referenced via th...

Страница 54: ...sh value specified in the URL query string seek Implement seek currently only for FLV media files based on the value of query string parm This function allows the client player to seek a specific part...

Страница 55: ...ons see Type generic for details as well as these special options control point Specify either server or player for smooth flow signaling If server then Media Flow Controller detects the bandwidth var...

Страница 56: ...ure this you use the Web based Management Console interface or the cmc commands at the CLI Using Media Flow Manager you can remotely manage individual Media Flow Controllers or you can group Media Flo...

Страница 57: ...LI on page 69 Enabling Media Flow Controller CMC Client Rendezvous CLI on page 70 Applying the Media Flow Controller License CLI on page 71 Media Flow Controller Policy Configurations Overview on page...

Страница 58: ...or monitor Media Flow Controller their email addresses for event email notifications and the authentication authorization schemes you want to use these schemes can be complicated and should be prepar...

Страница 59: ...recommended you are in the lowest tier Standard mode only show help diagnostic commands and a few others can be entered You get into Enable mode by issuing the enable command In Enable mode you can vi...

Страница 60: ...o shows all commands following the typed letters for example typing e in Standard mode and then pressing TAB shows enable and exit as the available commands starting with e CLI Options There are four...

Страница 61: ...First Day configurations Example http 192 168 1 100 8080 Media Flow Controller System Configuration Overview You can configure many basic system settings using the Media Flow Controller CLI Note Some...

Страница 62: ...ts to verify hostname name_for_the_appliance 4 Since delivery changes have been made restart the delivery service mod delivery service restart mod delivery 5 Configure domain list to resolve unqualifi...

Страница 63: ...cturing In Table 6 on page 63 and Figure 5 on page 64 example the wiring logic is Eth 0 Running SNMP sending analytics to another machine Web management SSH and Telnet connected to your internal netwo...

Страница 64: ...Flow Controller does not support RAID arrays Configuring Media Flow Controller System Clock and Banners CLI Before you configure Media Flow Controller system clock and banners see Before You Configur...

Страница 65: ...ort bundling to form a single logical channel between LACP enabled links supports load balancing and failover Load Balancing LB Direct Server Return DSR Guidelines In order to implement DSR in Media F...

Страница 66: ...g layer3 4 LACP are supported modes bond name_for_virtual_interface mode bond_mode 2 Add interfaces to bond repeat as needed interface interface_name virtual_interface_name 3 Assign the new bonded int...

Страница 67: ...staging users file transfers and so forth Authentication schemes can be complex to configure this section does not attempt to guide you through the configuration steps for setting authentication or AA...

Страница 68: ...passwd The admin account cannot be disabled username foo disable Local password login disabled hashed password set to There is no locally configured password to permit the user to log in The user may...

Страница 69: ...to the capabilities you can configure password options and disable a user account Use show usernames to verify a Add a user and specify the capability users are added with admin privileges username us...

Страница 70: ...e_or_IP_address 2 Optional Set an existing authentication method for client server rendezvous or set a password to have the client prompted for the password do not enter a password after the password...

Страница 71: ...e license you get full feature capability See license for CLI details To apply the Media Flow Controller license 1 Install a license license install license_key 2 Delete a license license delete licen...

Страница 72: ...ller Disk Cache CLI on page 92 Setting Network Connection Options CLI Before you configure Media Flow Controller network connection options see Before You Configure Media Flow Controller on page 58 Co...

Страница 73: ...config network connection concurrent session 4000 test vos config network connection idle timeout 900 test vos config network connection max bandwidth 2000 test vos config show network Network time o...

Страница 74: ...tocol http listen port port 5 Optionally set the maximum request length domain URI Query Params Headers in characters bytes for incoming requests http delivery protocol only Default is 16384 bytes max...

Страница 75: ...hat player type an error is displayed Using query string parm The query string parm argument used extensively in virtual player configurations allows you to use query params Query params a string with...

Страница 76: ...5000 ri 300 rs 1234567 shared secret Example if shared secret is prefixed Computed hash value MD5 shared secret http video example com public 2010 qwerty flv fs 5000 ri 300 rs 1234567 Note The secret...

Страница 77: ...using either FLV MP4 or 3GP containers depending on the spatial resolution of the video Currently YouTube supports the following different formats as outlined in Table 7 Associations to one of these f...

Страница 78: ...e Example Configuring generic Virtual Player CLI The generic virtual player can be used to cache most Web content To configure the type generic formerly Type 0 virtual player 1 Configure a virtual pla...

Страница 79: ...s test vos config virtual player test connection max bandwidth 0 test vos config virtual player test fast start time 90 test vos config virtual player test seek query string parm sk test vos config vi...

Страница 80: ...or origin escalation map Origin escalation requirements All origin servers are viewed as a single entity where any origin server is capable of resolving a miss or handling a validate request All origi...

Страница 81: ...the defined nodes 10 beats second namespace name origin server protocol server map name Example for NFS origin test vos config server map newMap test vos config server map newMap file url http example...

Страница 82: ...the UUID with an existing namespace sharing the UUID allows the two namespaces to have a common cache You delete an existing namespace rename it and want to use the data cached under it You delete a...

Страница 83: ...must go to namespace ns4040 and those on port 5050 must go to namespace ns5050 then the configuration would be as follows namespace ns80 domain video example com namespace ns8080 domain video example...

Страница 84: ...p precedence can be set on all match criteria The lower the number the higher the preference for that namespace values 0 highest precedence 10 lowest precedence can be used All namespaces have a defau...

Страница 85: ...ent type to 28800 seconds If the content request does not specify a max age set it to max age 28800 cache age content type application flv 2880 cache age default 57900 When content type is application...

Страница 86: ...e a file named with the UUID of the namespace listing all cached objects for that namespace In the example if the namespace had a UUID of 80213A2C the file containing the list is 80213A2C lst Note Onl...

Страница 87: ...decreasing latency Mid Tier Proxy Setting namespace origin server to absolute url implies a mid tier proxy configuration As a mid tier proxy Media Flow Controller must be explicitly configured in the...

Страница 88: ...server setting For origin Source IP for Cache Miss Destination IP for Cache Miss default for origin request host header inherit incoming req Reverse http FQDN Specified FQDN Media Flow Controller IP a...

Страница 89: ...atch virtual host 10 1 1 1 8080 Match all incoming REQ on destination port 8080 to this namespace match virtual host 0 0 0 0 8080 Configuring Media Flow Controller Namespaces CLI Configure namespaces...

Страница 90: ...solely on the port number on which the request comes in to Media Flow Controller Optionally set a precedence Note All regex values should be enclosed in single quotes for example a regex for www examp...

Страница 91: ...est vos config namespace test delivery protocol http exit test vos config namespace test exit 6 Optionally make live pub point settings if needed for live streaming caching Enable caching for this ser...

Страница 92: ...tatus active test vos config namespace test exit Note Configuration changes including a namespace deletion may not be updated for up to 30 seconds This is due to a deferred update scheme that requires...

Страница 93: ...r 3 Activated yes Cache Enabled yes Free Space 2304 MiB Disk State cache running 2 Determine the free block thresholds of the disk caches show media cache free block threshold 3 Disable a disk if you...

Страница 94: ...t Device Type Tier Active Cache Free Space State dc_1 SATA Tier 3 yes yes 38890 MiB cache running dc_2 SATA Tier 3 no no disk has been deac tivated Total Free Space 107486 MiB test vos config media ca...

Страница 95: ...sk list 2 Disable the bad disk by name media cache disk dc_bad cache disable 3 Make the bad disk inactive media cache disk dc_bad status inactive 4 Pull the drive put in a new drive and mount the new...

Страница 96: ...or drives that you added and press Enter A warning message is displayed If you are unsure which drives to select you can use the Esc key to exit to the Adaptec Utility menu and use the Disk Utilities...

Страница 97: ...eams First download the image to a Web or FTP SCP server to which you have access Use these CLI commands at the config prompt must have admin privileges and enter enable and then configure terminal fi...

Страница 98: ...the Adobe Flash Media Server Management Console for administration monitoring and debugging Please enter the administrative username admin Please enter the administrative password Please do not enter...

Страница 99: ...ms shell 2 Locate the server and adminserver files and edit them as indicated for this line if X USERID Xroot then Change to if X USERID Xadmin then Example test vos enable test vos configure terminal...

Страница 100: ...fmsAdmin fms_adminConsole htm 4 Login with the FMS Admin Console credentials you configured in step 6 of Installing FMS on Media Flow Controller CLI on page 97 and the IP address of your Media Flow C...

Страница 101: ...before editing VirtualDirectory Specifies application specific virtual directory mapping for recorded Streams VOD_COMMON_DIR Streams Streams VOD_DIR Streams VirtualDirectory Edit this as indicated fo...

Страница 102: ...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 m...

Страница 103: ...oking at the logs and graphs in the Media Flow Controller Web based Management Console or by using show counters at the CLI Applying the Adobe Full Function FMS Server License CLI If you installed FMS...

Страница 104: ...om another Media Flow Controller To save and apply a configuration using the CLI 1 Save a configuration to a file use no switch to leave the current configuration active Use show configuration files t...

Страница 105: ...if you use shutdown the system does not reboot until it is power cycled To reboot using the CLI 1 Reboot or shutdown the system reload 2 Set boot parameters optionally specify a default location from...

Страница 106: ...setting the Web interface port to something other than 80 as that port is used for service traffic port 8080 is the default and recommended for Web interface access To configure the Web interface 1 Th...

Страница 107: ...h options do not take affect without a configured Web proxy host See web for CLI details 1 Set Web proxy authentication options basic is HTTP basic authentication Default is none If you set the authty...

Страница 108: ...Media Flow Controller Configuration Tasks CLI Media Flow Controller Administrator s Guide 108 Configuring the Web Interface Proxy CLI Copyright 2010 Juniper Networks Inc...

Страница 109: ...ACS and SSH Web Interface on page 134 Configuring Users and AAA Web Interface on page 139 Configuring SNMP Faults and Logging Web Interface on page 143 Administering Media Flow Controller Overview on...

Страница 110: ...ss to it must be enabled on the management interface eth0 These settings are enabled by default however if you need to re enable them you must use the CLI web commands Connecting and Logging In You ca...

Страница 111: ...owser and enter the Media Flow Controller management IP address including the management port 8080 For example http 192 168 1 100 8080 2 Log in with these default credentials there is no default passw...

Страница 112: ...nterface Media Flow Controller Administrator s Guide 112 Configuring Media Flow Controller for the First Time Web Interface Copyright 2010 Juniper Networks Inc Figure 8 EZ Config Tab Page Detail missi...

Страница 113: ...w Controller license installed to change the default Network Max Connections Limit the allowed number of concurrent sessions in Media Flow Controller Default is 5000 maximum allowed is 40 000 Importan...

Страница 114: ...in Use HTTP for origin fetch of content not in cache specify the Hostname IP Address of the origin server NFS Origin Use NFS for origin fetch of content not in cache specify the Hostname IP Address of...

Страница 115: ...al RAM Cache Size Number of CPUs Cores and CPU load averages Interface Statistics The current TX transmissions out and RX transmissions received system statistics Action After you log in to Media Flow...

Страница 116: ...is displayed Click Reset Counter at the top of the page to restart all of the statistics counters Viewing Media Flow Controller Bandwidth Usage Purpose Check Cache Bandwidth Disk Bandwidth and Origin...

Страница 117: ...the Monitoring tab click Namespace The Namespace Counters page is displayed Viewing Media Flow Controller CPU Load Purpose View different graphs of the CPU load in the last hour See Figure 10 for grap...

Страница 118: ...rk Usage including RX and TX information on all data ports See Figure 11 for graphic Current statistics include Bytes packets discards errors and overruns for RX and TX RX mcast packets RX frame TX ca...

Страница 119: ...Static Hosts and ARP Web Interface on page 129 Configuring Date Time and NTP Web Interface on page 131 Configuring Users and AAA Web Interface on page 139 Configuring SNMP Faults and Logging Web Inter...

Страница 120: ...pe Speed Duplex MTU HWaddr hardware address and a Comment if configured for each discovered interface eth0 configuration The eth0 interface is set up to be used to manage Media Flow Controller See Fig...

Страница 121: ...e to make changes persistent Additional interface state areas are displayed for each interface discovered by the system To configure additional interfaces click Configure Interface in the state area f...

Страница 122: ...Cancel to revert to existing configuration If you click Apply state and configuration areas for the new alias are displayed In the configuration area you can change disable the interface interfaces ar...

Страница 123: ...Enter an IP address in the Default gateway text box and click Set Default Gateway to immediately apply changes 2 Click Save at the top of the page to make them persistent across reboots See Figure 15...

Страница 124: ...a particular destination See Figure 15 To set a static route 1 Enter this information to the text boxes Destination A network prefix for where you want a static route to Netmask The netmask for the co...

Страница 125: ...ault Gateway Static Routes DNS and Domain Names Hostname and Banners Web Media Flow Controller Administrator s Guide Media Flow Controller Configuration Tasks Web Interface Figure 16 DNS Page Detail A...

Страница 126: ...tiary DNS IP address This name server is tried last 2 Click Apply to immediately apply changes Cancel to revert to existing configuration 3 Click Save at the top of the page to make changes persistent...

Страница 127: ...the System Hostname and the DHCP Hostname Dynamic Host Configuration Protocol and set Banners You can set a MOTD message of the day a Login Remote and a Login Local banner To configured the system hos...

Страница 128: ...nt request checkbox By default no hostname is sent during DHCP negotiation The server may use and honor the hostname supplied by the client By default the client sends the system s hostname This may b...

Страница 129: ...the left navigation pane in the System Config tab select Hosts The Static Hosts page is displayed See Figure 18 Figure 18 Static Hosts Page Static Host Entries View configured static host entries incl...

Страница 130: ...Config tab select ARP The Address Resolution page is displayed See Figure 19 Figure 19 Address Resolution Page Static and Dynamic ARP Entries View and remove Static and Dynamic ARP Entries See Figure...

Страница 131: ...he top of the page to make changes persistent Clear Dynamic ARP Cache Click Clear to empty the ARP cache See Figure 19 Configuring Date Time and NTP Web Interface Before you configure Media Flow Contr...

Страница 132: ...Click the enabled link to jump to the NTP page 4 Click Apply to set the date time and time zone Cancel to revert to existing configuration 5 Click Save at the top of the page to make changes persisten...

Страница 133: ...ether or not an offset a degree in milliseconds of difference of the server s time is configured Reference Clock How the NTP server is finding its reference base clock INIT means this is configured in...

Страница 134: ...alized servers TACACS provides separate authentication authorization and accounting services TACACS servers are tried in the order they are configured Secure Shell or SSH is a protocol using a client...

Страница 135: ...e Figure 22 RADIUS Page Default RADIUS Settings Configure Default RADIUS Settings See Figure 22 To configure default RADIUS settings 1 Enter this information to the text boxes Key A shared secret text...

Страница 136: ...o authenticate Login lat group The configured string that identifies the groups that the user is authorized to use when Login service is defined as LAT local area transport Enabled Whether or not this...

Страница 137: ...ks Web Interface Figure 23 TACACS Page Default TACACS Settings Configure Default TACACS Settings See Figure 23 To configure default TACACS 1 Enter this information to the text boxes Key A shared secre...

Страница 138: ...a server and Remove Selected Server Enable Server or Disable Server 3 Click Save at the top of the page to make changes persistent across reboots Add New TACACS Server Add a new TACACS server See Fig...

Страница 139: ...ature Algorithm 2 Finger Print A human readable string so you can check the key manually Generate New Host Keys Generate a new identity private and public keys for the logged in user See Figure 24 Cli...

Страница 140: ...2010 Juniper Networks Inc Configuring Users Web Interface View remove enable disable and add new users plus change existing user passwords To manage user accounts From the left navigation pane in the...

Страница 141: ...es for reading all data and performing all actions but not for changing any configuration unpriv Unprivileged Enabled Whether or not this user account is enabled User accounts are enabled by default D...

Страница 142: ...time RADIUS or TACACS authentication must be configured before these options can be specified with this command To configure AAA authentication From the left navigation pane in the System Config tab...

Страница 143: ...uthenticated via RADIUS or TACACS is logged on as you must select a local and enabled user This mapping is used depending on the setting of Map Order Click Apply to complete operation Cancel to revert...

Страница 144: ...nfiguration Enable SNMP and set SNMP authentication parameters See Figure 27 To configure SNMP 1 Enable the following Enable SNMP Enable the SNMP server Un check to disable this stops serving SNMP var...

Страница 145: ...To view Remove Enable or Disable trap sinks trap sinks are created enabled 1 View this information on configured Trap Sinks Host The SNMP server host for the Trap Sink Community The SNMP community of...

Страница 146: ...rface Copyright 2010 Juniper Networks Inc Figure 28 Faults Page Fault Reporting Set SMTP server Domain name overrides Return address and other options See Figure 28 To set fault reporting 1 Enter this...

Страница 147: ...ns Include hostname in return addr Include or do not include by un checking the hostname in the return address for email notifications This only takes effect if the return address does not contain an...

Страница 148: ...this recipient Failure class emails 3 Click Add Recipient to complete adding the new notify recipient 4 Click Save at the top of the page to make changes persistent across reboots Configuring System L...

Страница 149: ...ring SNMP Faults and Logging Web Interface 149 Media Flow Controller Administrator s Guide Media Flow Controller Configuration Tasks Web Interface Figure 29 Logging Page Detail does not show Log Forma...

Страница 150: ...age to make changes persistent across reboots Local Log Rotation Set log rotation parameters this is especially valuable if this Media Flow Controller will be managed by Central Management Console See...

Страница 151: ...em See Figure 29 To add a new remote sink 1 Enter an IP address 2 Choose a Minimum Severity level described in Local Log Filtering on page 150 3 Click Apply to add the new remote sink Cancel to revert...

Страница 152: ...ace Configuring the Web Interface Proxy Web Interface Configuring Central Management Console Access Web Interface Managing Configuration Files Web Interface The system can store one or more configurat...

Страница 153: ...ed configuration file Click Switch To to make the selected configuration active Click Download to download the selected configuration as a binary file you are given the option of opening the file or s...

Страница 154: ...h on a separate line to be executed ad hoc End with the write memory command When done click Execute CLI commands Import Configuration Retrieve a configuration from a remote system See Figure 34 To im...

Страница 155: ...ace Use this page to view and remove installed licenses and add new licenses To manage licensing From the left navigation pane in the System Config tab select Licensing The Licensing page is displayed...

Страница 156: ...e or more licenses on separate lines into the text box and click Add Licenses 2 Click Save at the top of the page to make changes persistent across reboots Upgrading the System Web Interface Use this...

Страница 157: ...Password allowing access Install from local file Use the Browse button to locate the file on your local system 2 Select installation options View image upgrade process When this is checked you get a...

Страница 158: ...ne in the System Config tab select Web Mgmt The Web Settings page is displayed See Figure 38 To set parameters for the Media Flow Controller Web interface 1 Enter this information to the text boxes En...

Страница 159: ...en proxied 1 Enter this information to the text boxes Web Proxy address Specify a proxy to be used for any HTTP or FTP downloads Web Proxy port If no port is specified the default is 1080 Authenticati...

Страница 160: ...ement Console Access Web Interface Before you configure Media Flow Controller Central Management Console CMC access see Before You Configure Media Flow Controller on page 58 Configuring CMC Client Acc...

Страница 161: ...figuration Tasks Web Interface Figure 40 CMC Clients Page Enable Configuration Changes If this Media Flow Controller is already managed by a CMC server this area is displayed to allow you to temporari...

Страница 162: ...erver so the CMC client for this Media Flow Controller can initiate connections CMC Service Name Only cmc is available for Release 2 0 4 2 Click Apply to immediately apply changes Cancel to reset prev...

Страница 163: ...s to the client Media Flow Controller inbound and the origin server Media Flow Controller outbound connections Connection Max Bandwidth kbps Set the maximum bandwidth for a session The actual session...

Страница 164: ...ply 3 Click Save at the top of the page to make changes persistent across reboots Configuring Delivery Protocols Web Interface Set delivery options including listen interfaces for traffic for deliveri...

Страница 165: ...Configuring Delivery Protocols Web Interface 165 Media Flow Controller Administrator s Guide Media Flow Controller Configuration Tasks Web Interface Figure 43 Delivery Protocol Configuration Page...

Страница 166: ...istens on all interfaces default See Figure 43 To add selected HTTP listen interfaces 1 Select the checkbox for the interface you want to add to listen for HTTP traffic You can specify a list of space...

Страница 167: ...player you use this name when adding a virtual player to a namespace Virtual Player Type Choose Type0 default for a generic virtual player this type has the most configuration options Configure Show o...

Страница 168: ...ric Type Configuration After adding a generic virtual player click Configure in the list of virtual players to open configuration pages in a new window for that type of virtual player Click Add Update...

Страница 169: ...efine how many kilobytes should be expedited Time Define how many seconds should be expedited Query String Param Specify a query param associated value in kilobytes Seek Configuration Active Select to...

Страница 170: ...ndicated by the URI Query String Parm 2 Click Add Update 3 Click Save at the top of the page to make changes persistent across reboots Virtual Player break Type Configuration After adding a break virt...

Страница 171: ...er or not to implement seek Hash Verify Configuration See Using hash verify on page 76 for details Active Select to activate the feature de select to de activate it Data String Not supported in Releas...

Страница 172: ...ow rate associated with each string or specify a parameter to use to find the desired rate in the URL Active Select to activate the feature de select to de activate it Match String Set the assured flo...

Страница 173: ...an assured flow rate of 300 with 02 the assured flow rate is 500 and so on Instead of using the default match 12 bytes from the end of the URL you can specify a query string parm or a uol offset and l...

Страница 174: ...s or select the checkbox as described Req Auth Configuration Active Select to activate the feature de select to de activate it Auth ID URI Query String String value to be hashed Digest Only md 5 is su...

Страница 175: ...uery String Param Enter a query param to signal the desired assured flow rate Connection Bandwidth Configuration Max Session Rate kbps Set the maximum bandwidth for a session The actual session bandwi...

Страница 176: ...scribed Signals Configuration Active Select to activate the feature de select to de activate it Chunk Query String Signals the desired video chunking rate Profile Query String Signals the profile name...

Страница 177: ...page 76 for details Active Select to activate the feature de select to de activate it Data String Not supported in Release 2 0 4 UOL Length Not supported in Release 2 0 4 UOL Offset Not supported in R...

Страница 178: ...ng param Enter a name to tell Media Flow Controller whether or not to implement seek Seek length query string param Enter a name to signal the number of bytes of data to send from the seek start posit...

Страница 179: ...be video URI requests do not specifically associate a name to a video asset in the URI instead a unique query param is used Format Tag Specify a query param string whose value provides the requested f...

Страница 180: ...ctions See Figure 52 Figure 52 Service Config Namespace Page Detail Configuration List Namespace Configuration Use this window to configure a new namespace or make changes to an existing one After eac...

Страница 181: ...Proxy Mode forward Media Flow Controller uses the absolute URL to contact the origin server If absolute url is configured and the incoming request REQ header does not have the absolute URL then the re...

Страница 182: ...ton as described and enter this information to the text boxes Precedence Map incoming requests to a namespace the lower the the precedence number the higher the preference for that namespace 0 zero is...

Страница 183: ...bove 2 Click Apply 3 Click Done at the bottom of the page if you are finished Figure 54 Service Config Namespace Configure Page Detail Match Details Configuring Namespace Parameters Web Interface Set...

Страница 184: ...he page if you are finished Figure 56 Service Config Namespace Configure Page Pre Stage User Configuration Configuring Namespace HTTP Origin Fetch Web Interface Configure options for HTTP fetching con...

Страница 185: ...ration Configuring Namespace RTSP Origin Fetch Web Interface Configure options for RTSP fetching content from origin upon a cache miss See Figure 58 To configure namespace HTTP Origin Fetch 1 Enter th...

Страница 186: ...s and caching to change disks See media cache for CLI details Disk Name Select the disk you want to configure and Activate Deactivate Cache Enable Cache Disable or Format it Repair not supported in Re...

Страница 187: ...og Replicate Enable Specify whether or not the access log messages are seen as part of SYSLOG also By default the option is disabled access log is not seen as part of SYSLOG Log Format Specify the for...

Страница 188: ...g transactions See Stream Log streamlog on page 220 for details See Figure 60 To configure the streamlog 1 Enter this information to the text boxes or select the checkbox as described Enable Enable ac...

Страница 189: ...w Controller is going to be managed by a CMC server set the auto upload URL to the address of the CMC server and the filepath to log Figure 63 Log Configuration Page Detail Stream Log Copy Auto Upload...

Страница 190: ...wnload log Opens a File Open dialog so you can save the trace log locally Archived does not display if not applicable log 1 n past logs Example 172 19 172 192 172 19 172 130 04 Jan 2010 20 33 40 0000...

Страница 191: ...e log See Stream Log streamlog on page 220 for details Continuous log updated every 10 seconds Current log that day s activity Download log Opens a File Open dialog so you can save the trace log local...

Страница 192: ...18 for details Continuous log updated every 10 seconds Current log that day s activity Download log Opens a File Open dialog so you can save the trace log locally Archived does not display if not appl...

Страница 193: ...nections for example fetching from origin is not shown here Weekly Bandwidth Savings Saved bandwidth is bandwidth used by traffic that did not come from origin Cache Throughput Bandwidth and place fro...

Страница 194: ...w Controller Configuration Tasks Web Interface Media Flow Controller Administrator s Guide 194 Viewing the Dashboard Copyright 2010 Juniper Networks Inc Figure 66 Media Flow Controller Disk Cache Grap...

Страница 195: ...e Statistics 195 Media Flow Controller Administrator s Guide Media Flow Controller Configuration Tasks Web Interface Viewing Reports Interface Statistics Network Usage Last 24 hours example Network Us...

Страница 196: ...ace Media Flow Controller Administrator s Guide 196 Viewing Reports Interface Statistics Copyright 2010 Juniper Networks Inc Network Usage Daily Stats Last 7 Days of Activity example Network Usage Las...

Страница 197: ...ntroller Mid Tier Proxy CLI on page 203 Configuring Media Flow Controller for SmoothFlow CLI on page 204 Using SSH in Automated Scripts CLI on page 208 Configuring Caching All Contents for a Website C...

Страница 198: ...higher the precedence for resolving conflicts a uri prefix of just a slash would typically have a low precedence value configured so other namespaces which will all include a can be used Tip If unsure...

Страница 199: ...nt to cache and optimize the delivery of YouTube videos See Using Virtual Player Type youtube on page 77 for more information To configure YouTube video caching 1 Configure a namespace with the proper...

Страница 200: ...ld look like this test vos config namespace exampleJpegs test vos config namespace exampleJpegs domain www example com test vos config namespace exampleJpegs match uri jpgImages test vos config namesp...

Страница 201: ...what port you are using for origin server use standard Linux shell commands to figure out the port and then configure it along with the origin server if not the default Configuring RTSP Fetch for Vide...

Страница 202: ...rate profiles client player requirements are given in Chapter 8 SmoothFlow Deployment 2 For our example company www example com the namespace configuration for this task could look like this test vos...

Страница 203: ...he name namespace _ftpuser without a password You need to use the CLI username or namespace commands to give the user a password then you can log in as that namespace s FTP user and issue the FTP comm...

Страница 204: ...owing Media Flow Controller configurations are required for SmoothFlow functioning They must be done by the Media Flow Controller administrator and are included here as an example See virtual player t...

Страница 205: ...used seek query string parm string seek length query string parm string 7 Verify configurations with show virtual player name Type exit to leave virtual player configuration mode Example test vos conf...

Страница 206: ...are delivery protocol rtsp match options You can optionally set a precedence for any match option match header query string uri virtual host 4 Optionally while still in delivery protocol http mode for...

Страница 207: ...re stage ftp user test_ftpuser password 678 test vos config namespace test delivery protocol http origin fetch test vos config namespace test delivery protocol http origin fetch test vos config namesp...

Страница 208: ...command from the client machine as the trusted user and you are not prompted for a password Example SSH Configuration for a Trusted User CLI Example where re01 is the client machine and test mfd qa04...

Страница 209: ...nnector Log fuselog on page 219 Stream Log streamlog on page 220 System Log on page 220 Tech Support Log on page 222 Trace Log tracelog on page 223 About Log Rotation on page 226 Configuring Media Flo...

Страница 210: ...ated 206 Partial Content downloaded 250 Low on Storage Space 300 Multiple Choices 301 Moved Permanently 302 Moved Temporarily 303 See Other 304 Not Modified 305 Use Proxy 400 Bad Request 401 Unauthori...

Страница 211: ...20003 NKN_BUF_INVALID_OFFSET 416 Requested range not satisfiable Either Start or Stop offset in byte range is beyond total content length glob_cm_inval_off 30051 NKN _SSP_BAD_REMAPPED_URL SSP server...

Страница 212: ...the request glob_http_parse_err_nulls glob_http_parse_err_req_rate glob_http_parse_err_uri_tolong glob_http_parse_err_req_toshort glob_http_parse_err_normalize_uri glob_http_parse_err_badreq_1 glob_ht...

Страница 213: ...that with the filename command To view the Media Flow Controller accesslog Web interface Media Flow Controller accesslog entries are available for viewing on the Web interface Logs Service Logs page C...

Страница 214: ...th square brackets ATTR_UPDATE Attribute Update entries include a Date in square brackets b Type ATTR_UPDATE c URI name in double quotes d Cache tier name e Cache name f Expiry time for this URI in UT...

Страница 215: ...error log If Media Flow Controller is launched from the serial console all error messages print out on the console if Media Flow Controller is launched from the CLI all error messages are logged in th...

Страница 216: ...n manager for files under 10MB stored until promoted to the first eligible disk cache 0x0000000000008000 MOD_NAMESPACE namespace 0x0000000000010000 MOD_NFS network file system 0x0000000000020000 MOD_R...

Страница 217: ...fmsaccesslog events include connect disconnect and connect pending events by default This log is generated by the FMS server must be installed see Installing and Using FMS in Media Flow Controller CLI...

Страница 218: ...3 1 101 3175 59309712 200 session disconnect 2010 05 27 10 03 27 14959 10 3 1 101 3175 59309676 200 session disconnect 2010 05 27 10 03 27 14959 10 3 1 101 3175 59309712 200 stream stop 2010 05 27 10...

Страница 219: ...tering core 13829 2010 05 27 09 57 24 13826 i 2631174 Listener started _defaultRoot__edge1 1935 v4 2010 05 27 09 57 24 13826 i 2631174 Listener started _defaultRoot__edge1 8888 v4 2010 05 27 09 58 29...

Страница 220: ...ontroller Service Logs CLI on page 226 for implementation details streamlog copy SCP filename filename format field1 field2 on the hour disable enable rotate filesize MB integer time interval integer...

Страница 221: ...ing the required information can be a daunting task This problem can be reduced if you take time with each installed system to perform a baseline audit A baseline audit identifies normal activity for...

Страница 222: ...matching regex is specified the file is filtered to only include lines either matching or not matching the provided regular expression Use show log continuous not matching regex to display the last f...

Страница 223: ...rent path variable use a different directory so that tech support data from one Media Flow Controller does not overwrite data from another if different hosts are used for each Media Flow Controller th...

Страница 224: ...quested namespace HTTP config does not exist in namespace configuration The requested namespace does not have HTTP delivery protocol or origin server configured Received TRACE URI s NFS trace Programm...

Страница 225: ...start buffer size set to d bytes Server Side Player Configured fast start value Fast start not enabled Server Side Player The fast start option was requested but not enforced in the virtual player AF...

Страница 226: ...both set log rotation to every hour the on the hour setting takes precedence if you set both You cannot set time interval to less than 1 hour Additionally if you set on the hour enable and filesize M...

Страница 227: ...only See accesslog format Options and streamlog format Options for details Add N for namespace name to be added to the output log format field1 field2 4 Change the log level or module only for errorlo...

Страница 228: ...such as user logins configuration changes and system condition changes It does not record service activity or errors The Media Flow Controller errorlog records service related errors but is mostly us...

Страница 229: ...emove with no a remote syslog server to receive log messages and a severity level of logged messages sent to all or a specified remote syslog server logging IP_address logging trap severity_level logg...

Страница 230: ...the oldest log files logging files delete oldest number of files to delete 13 Upload a log file to a remote host The word current specifies the current log file To specify an archived log file give i...

Страница 231: ...rm if the one minute load average is ever over 1 0 when it is sampled The units for the paging alarm are number of pages read from or written to the swap partition that has occurred over the past 20 s...

Страница 232: ...undaries on the timestamps of the instances to be exported they may come in either order relative to each other Use show files stats to see the file Use file stats filename upload URL to another syste...

Страница 233: ...ut in kilobytes default 15 seconds fs_mnt_bytes Filesystem usage in bytes default 1 minute fs_mnt_inodes Filesystem usage in inodes default 1 minute http_transaction_count Number of HTTP transactions...

Страница 234: ...Log Statistics Thresholds CLI on page 231 1 View current alarm chd and sample defaults show stats alarm chd sample 2 View alarm thresholds chd range and interval values and sampling interval defaults...

Страница 235: ...test vos config file stats upload cpu_util 20090401 161206 csv scp joe sv01 home joe Password test vos config Table 18 Media Flow Controller Stats Alarms Statistic Description unless otherwise noted d...

Страница 236: ...or written to the swap partition The alarm is on the amount of paging activity that has occurred over the past 20 seconds Default rising error threshold is 2000 page faults rising clear threshold is 1...

Страница 237: ...orts 161 for the agent and 162 for the manager The Manager may send requests from any available port source port to port 161 in the agent destination port The agent response is given back to the sourc...

Страница 238: ...s restarts on its own if it does not escalate to Juniper Networks Support to diagnose the issue Unexpected Shutdown unexpectedShutdow n The server may unexpectedly shutdown due to power reasons This i...

Страница 239: ...ad balancer to reduce the number of requests redirected to the Media Flow Controller Cache Bandwidth cache_byte_rate Current Cache bandwidth usage is too high Configure traffic redirection thresholds...

Страница 240: ...on page 312 To configure fault notifications with the CLI Averaged Origin Bandwidth avg_origin_byte_rate Origin Average bandwidth usage since the system uptime is too high Check if disk cache and RAM...

Страница 241: ...Use no email autosupport enable to disable email autosupport enable 4 Manage undeliverable emails Use cleanup max age to set when to permanently delete dead letter enable cleanup max age duration 5 S...

Страница 242: ...allen too low netusage ok Network utilization has fallen back to acceptable levels netusage high Network utilization has risen too high memusage ok Memory usage has fallen back to acceptable levels me...

Страница 243: ...rent server map format type options and a fourth for NFS that requires you to leave the format type unspecified host origin map Provides a way for you to configure multiple HTTP origin servers The XML...

Страница 244: ...Port HostOriginEntry HostOriginEntry Host host2 aaa bbb com Host Origin host2 com Origin Port 81 Port HostOriginEntry HostOriginEntry Host host3 ccc ddd com Host Origin host3 com Origin Port 82 Port...

Страница 245: ...XML against the DTD by running the following under linux example uses HostOriginMap for cluster map use ClusterMap dtd for origin escalation map use OriginEscalationMap dtd xmllint noout dtdvalid DTD...

Страница 246: ...n the XML file Use and scope is only within the XML file IP IP address of the node Port TCP port of the node Options heartbeatpath Relative URI to use to heart beat node Important Do not change the Ve...

Страница 247: ...ginEscalationMap Header Version 1 0 Version Application MapXML Application Header OriginEscalationMapEntry Origin dest xxx com Origin Port 80 Port Options heartbeatpath hello html weight 1 http_respon...

Страница 248: ...ry ELEMENT Header Version Application ELEMENT Version PCDATA ELEMENT Application PCDATA ELEMENT OriginEscalationMapEntry Origin Port Options ELEMENT Origin PCDATA ELEMENT Port PCDATA ELEMENT Options P...

Страница 249: ...hat publishing point to be successful for example http p12s34 example com path filename Configuring Server Maps CLI In the Media Flow Controller CLI after you have created the necessary XML file you d...

Страница 250: ...efreshes the XML file The default refresh interval is 0 zero which means no refresh this can also be set in the XML mapping file the CLI setting overrides the XML file setting file url URL refresh int...

Страница 251: ...SmoothFlow functionality must be configured in Media Flow Controller and implemented in the client player See Media Flow Controller SmoothFlow on page 51 for an overview of the function Deploying Smoo...

Страница 252: ...encoding scheme A premium content owner for High Definition video might use the following 500 800 1100 1500 1800 2100 2600 and 3000 kbps encoding scheme A user generated content UGC content owner migh...

Страница 253: ...ross all the bit rate profiles is required Key frames at intervals smaller than 2 seconds may impact the encoding performance and quality Key frames at intervals larger than 10 seconds may severely im...

Страница 254: ...be installed in the machine that will run the scripts The scripts currently run only on Linux based systems An FTP service on the system must be enabled and FTP credentials for the Output folder used...

Страница 255: ...ng the multi bitrate assets for Media Flow Controller including the IP address of the Media Flow Controller where the assets are located access credentials for obtaining the assets and a temporary dir...

Страница 256: ...ript to initiate the encoding of the referenced single bitrate videos into multi bitrate MBR profiles This script outputs the jobid xml file with descriptions of the multi bitrate profiles created by...

Страница 257: ...r_IP server_ip path in path ftp_source_location ftp_dest_location username username username password password password server_ip ftp_dest_server_IP server_ip path out path ftp_dest_location polling i...

Страница 258: ...set_parameters Table 23 asset xml File Parameters Parameters Tags and Descriptions asset_parameters videoname Video name with full path if not in the current directory of the script profile_cnt Number...

Страница 259: ...coding has completed you can look at your account with encoding com use the Job ID given in the output of the python command to verify a particular set of encoding requests Or by setting the status_po...

Страница 260: ...FSegment py script to initiate SmoothFlow processing and publishing to Media Flow Controller and render the assets ready for delivery Usage Options for SFSegment py Script Use the SFSegment py python...

Страница 261: ...S The system generates 3 log files when you use the encoding using an SaaS procedure pub asset encoder log Captures the completion status of SFAssetGenerator py pub asset polling log Captures the mult...

Страница 262: ...o a high value for the SmoothFlow namespace so that content does not get expired You begin by determining how many bitrate profiles for a video you want to encode see Encoding Requirements on page 252...

Страница 263: ...dat file for each video on the Media Flow Controller or your origin server 4 Initiate SmoothFlow Processing for On Demand Assets to prepare the assets for on demand SmoothFlow delivery Requirements an...

Страница 264: ...ined Version 1 0 4 Profiles 4 Frame Rate 24 KeyFrameInterval 2 Sequence duration 664 Profile_1 250 Profile_2 500 Profile_3 750 Profile_4 1000 URI http media example com foo_p01 flv URI http media exam...

Страница 265: ...as an origin server in the SmoothFlow namespace use that namespace s defined uri prefix in your SmoothFlow processing request FTP it to your Media Flow Controller origin server if your SmoothFlow pro...

Страница 266: ...ow SDK or API available through Juniper Networks Customer Support not necessary when using the Juniper Networks SmoothFlow Reference player This file is requested with SmoothFlow state 2 sf 2 The Smoo...

Страница 267: ...Flash uses this file to control the cross domain resource access policy for both HTTP and socket connections Use it to control which resources a Flash application can access when that application did...

Страница 268: ...ve conditions and set the flag HRF_TRACE_REQUEST as well as other flags that direct each relevant module to log meaningful trace points script language javascript if AC_FL_RunContent 0 alert This page...

Страница 269: ...you want created for it and at what rates including frames per second container format and keyframe interval See Scripts for Creating Assets Using an SaaS on page 255 5 Use the SFAssetGenerator py scr...

Страница 270: ...age On Demand Assets on page 265 by placing the assets on the Media Flow Controller or your origin server 4 Initiate SmoothFlow Processing for On Demand Assets on page 265 to prepare the assets for on...

Страница 271: ...pter 6 Configuring and Using Media Flow Controller Logs and Alarms Displaying Information Using Show Commands Media Flow Controller show commands let you find the system information you need This sect...

Страница 272: ...ault values running Same as show configuration except that it applies to the currently running configuration rather than the active saved configuration text files List text based configuration files s...

Страница 273: ...irtual Player Hash Verification Failed Errors Total Number of ports Active Connections on Port port Number of Requests on Namespace namespace repeats for each defined namespace show files List availab...

Страница 274: ...ce URI for more information see namespace object list delete revalidate on page 343 show network Network configurations includes time out max connections session assured flow rate and session max band...

Страница 275: ...t system image show virtual player Lists virtual player settings use list to se a list of defined virtual players and their type use name to see settings Testing Network Connectivity To make sure your...

Страница 276: ...hat can also serve as the origin server and a Media Flow Controller and connectivity between the two of them The setup for this example procedure includes creating data files test txt and placing them...

Страница 277: ...13 12 58 http 172 16 254 1 testresults joe test txt Connecting to 172 16 254 1 80 connected HTTP request sent awaiting response 200 OK Length 165 text plain Saving to test txt 2 100 165 K s in 0s 13 1...

Страница 278: ...ed count 1 test vos config 3 Run the test again to see Media Flow Controller serve the content from RAM Example output truncated joe sv05 joe wget http 172 16 254 2 testresults joe test txt 14 07 21 h...

Страница 279: ...repare for the test by doing the following then follow the given steps as illustrated in Figure 69 note the wget path change for the NFS test Login to the client origin machine and go to a test direct...

Страница 280: ...sponses 1 Total HTTP Well finished count 1 test vos config 3 Run the test again to see Media Flow Controller serve the content from RAM Example output truncated joe sv05 joe wget O newtest http 172 16...

Страница 281: ...is involves setting the delivery trace delivery protocol http trace enable And using WGET or other tool cURL and so forth to request the problem video with this header added X NKN Trace The Media Flow...

Страница 282: ...g Requests URL Length on page 283 Media Flow Controller Licenses Invalid Release 2 0 and earlier Media Flow Controller licenses are tied to the MAC address of eth0 Typically you must manually set the...

Страница 283: ...if needed and used in HOST header If you append a port number that is not the default and is not in the HOST header the request will fail See Using namespace domain FQDN Port on page 83 for more deta...

Страница 284: ...Media Flow Controller Troubleshooting Media Flow Controller Administrator s Guide 284 Common Media Flow Controller Configuration Errors Copyright 2010 Juniper Networks Inc...

Страница 285: ...Copyright 2010 Juniper Networks Inc 285 PART 2 Media Flow Controller Command and MIB Reference...

Страница 286: ...Media Flow Controller Administrator s Guide 286 Copyright 2010 Juniper Networks Inc...

Страница 287: ...te and time cmc Configure authorization auth client and rendezvous options for Central Management Console management of a Media Flow Controller collect counters Special debugging tool for use with Cus...

Страница 288: ...Restart certain services after an IP address or delivery protocol port change show List system configuration or statistics applies to most commands for example show files lists available files or lis...

Страница 289: ...ia RADIUS or TACACS is logged on as you must enter a username that exists locally and is enabled This mapping is used depending on the setting of authorization map order Use no to reset default admin...

Страница 290: ...accesslog num yyyymmdd_hour min sec numbered sequentially format Specify a format for the access log see Table 28 for format field options Default is h V u t r s b Referer i User Agent i y field1 fie...

Страница 291: ...ered for example Buffer from buffer cache Origin from origin Tunnel from tunnel path SSD from SSD disk SAS from SAS disk SATA from STAT disk NFS from NFS manager TFM from temporary file manager f file...

Страница 292: ...be bogus if return status s is 401 because the user is not yet authenticated If the document is not password protected this entry dash v server_name The canonical ServerName of the server serving the...

Страница 293: ...tion to a higher tier in disk cache Default is 3 an object requested three times becomes a candidate for cache promotion show analytics List current analytics settings application Flash Media Server F...

Страница 294: ...ions are not supported bond bonding_interface down delay time milliseconds link mon time milliseconds mode mode_name up delay time milliseconds Create the named bonding interface Use no bond bonding_i...

Страница 295: ...user is prompted for the password with entries obscured requiring the same string to be entered twice for confirmation next fallback reboot enable Allow or disallow with no enabling fallback reboot i...

Страница 296: ...ws cache log rotation based on file size or time filesize MB Set rotation based on file size Media Flow Controller creates cache log 1 cache log 2 and so on up to cache log 10 after which it wraps aro...

Страница 297: ...ed the commands that were used to enter prefix modes may or may not remain valid standalone commands depending on the command Changing this option s default affects this session as well as all future...

Страница 298: ...ons terminal Set terminal parameters length Override the auto detected size of the terminal This is useful mostly when the size could not be auto detected and the CLI is using the default 80x24 These...

Страница 299: ...tinent country city continent region country city ocean island An offset from GMT This is in the form GMT offset GMT default GMT offset GMT 1 12 GMT offset GMT 1 14 UTC This is almost identical to GMT...

Страница 300: ...y installed automatically With strict disabled default CMC automatically accepts a host key from a host for which there is no prior entry but the host is still rejected if there already is an entry th...

Страница 301: ...CLI you must respond yes to a follow up prompt when using configure terminal Or you can use configure terminal cmc force to bypass the prompt And in the Web interface pages are rendered as if you had...

Страница 302: ...r client initiated connections The no variant resets the port to its default 22 remove key Remove any known host entry Media Flow Controller already has for the currently configured server This should...

Страница 303: ...orce a CMC client to attempt discovery and rendezvous with a server now regardless of whether automatic rendezvous is enabled or how long it has been since the last attempt If being a CMC client is di...

Страница 304: ...store one or more configuration files on persistent storage with one of the files is designated as active the file that configuration is loaded from on boot and to which configuration is saved upon a...

Страница 305: ...nd SSH host keys and CMC rendezvous configuration keep connect Preserves anything necessary to maintain network connectivity to the system interfaces routes and ARP Either both or neither may be selec...

Страница 306: ...If filename is specified list the commands to recreate the configuration in that file only non default commands are shown full Same as show configuration but includes commands that set default values...

Страница 307: ...ors file filename Manage stored text based configuration files apply Execute the commands in the specified configuration text file The commands execute as the present user lack of required privilege c...

Страница 308: ...dump delete filename Delete the specified debug dump file file debug dump upload filename URL SCP Upload the specified debug dump file to the specified URL Only FTP and TFTP URLs as well as SCP pseud...

Страница 309: ...that can be opened to the origin server concurrently Default is 256 maximum allowed is 2048 timeout Optionally set a timeout for a single connection in the connection pool maximum allowed is 86 4000...

Страница 310: ...Media Flow Controller Fault Notifications CLI on page 240 for task details email auth enable password username autosupport enable event event_name dead letter enable cleanup max age duration domain ho...

Страница 311: ...try Note The mailhub option must be sent for notifications to work mailhub port Set the mail port to be used to send emails Default is 25 Use no email mailhub port to reset to default notify Set handl...

Страница 312: ...has fallen back to normal levels paging high Paging activity has risen too high paging ok Paging activity has fallen back to normal levels disk space low File system free space has fallen too low dis...

Страница 313: ...errorlog on page 215 for usage information See Configuring Media Flow Controller Service Logs CLI on page 226 for task details including information on log rotation Note This log is mainly used for d...

Страница 314: ...fers take a lot of time and if there is a system reset large volumes of data are at risk time interval Set rotation based on time Specify a time in hours after which the error log is rotated syslog re...

Страница 315: ...TEM system 0x0000000000000800 MOD_FM file manager 0x0000000000001000 MOD_OM origin manager 0x0000000000002000 MOD_OOMGR offline origin manager 0x0000000000004000 MOD_TCP transport control protocol 0x0...

Страница 316: ...te Delete the specified debug dump file email Send the specified debug dump in email to the list of configured recipients for informational info events regardless of whether they have requested to rec...

Страница 317: ...ents the fmsaccesslog has at least some of the follow fields logged date Date the event is logged time Time the event is logged c ip Client IP address c proto Client connection protocol either rtmp or...

Страница 318: ...this log is generated by the FMS server In the Web based interface this log is displayed as FMSEdge Log under the Logs tab The fmsedgelog lists transactions to the FMS edge server for example Connecti...

Страница 319: ...formation on log rotation See FMSConnector Log fuselog on page 219 for usage information fuselog copy SCP filename name on the hour disable enable rotate filesize MB integer time interval hours syslog...

Страница 320: ...choose from so the options are 1 and 2 for location ID If next is used set the boot location to be the next one after the one currently booted from This does not mean the next one after the one Media...

Страница 321: ...CLI on page 61 for task details interface interface_name alias alias_index ip address IP_address netmask arp enable disable bond bonded_interface comment comment dhcp renew duplex half full auto iden...

Страница 322: ...h no the specified interface speed Set or clear with no the interface speed Default is auto which also sets duplex to auto Setting one of the manual settings generally 10 100 or 1000 also sets the int...

Страница 323: ...e configured primary is eligible it is chosen as the acting primary otherwise one of the eligible interfaces is chosen the first in alphabetical order hostname DHCP_hostname Configure an alternate hos...

Страница 324: ...rd rule using the no variant all the rules for that chain are deleted and the chain s policy and baseline are reset to their defaults See ip filter chain rule arguments on page 325 for rule arguments...

Страница 325: ...cludes dynamic routes as well as any active static routes Use static to list the static routes The ip route command only works on devices that already have an IP address assigned Note In the show ip f...

Страница 326: ...rce port or port range out intf interface_name Match a specific single outbound interface protocol protocol Match a specific protocol The available protocols are tcp udp icmp and all Not specifying a...

Страница 327: ...host ip address is specified the host is removed from the list The special keyword last moves the specified server to be last to be tried last Move the server to the end of the server list order_numbe...

Страница 328: ...es which are currently activated by a license For each show A unique ID which is a small integer The text of the license key as it was added Whether or not it is valid and active Which features it is...

Страница 329: ...most significant digits whole digits Control the number of digits to the left of the decimal point options are 1 6 and all do not limit the number of digits to the left of the decimal point Truncatio...

Страница 330: ...e hostname is used by default Use no logging format welf fw name to delete level cli commands Set the severity level at which user executed CLI commands are logged Default is notice See logging severi...

Страница 331: ...s piped through the grep utility to only include lines either matching or not matching the provided regular expression show log continuous not matching regex List the last few lines of the current log...

Страница 332: ...ll of the Ethernet interfaces media cache Configure media caching parameters Tip Find the names of various media cache using show media cache see description See Managing the Media Flow Controller Dis...

Страница 333: ...meta data for debugging purposes mount new EXEC Discover a newly inserted disk mount it name it and make it part of the disk cache system Note To purge all objects when a disk cache is removed reboot...

Страница 334: ...ype dc_2 SATA Cache Tier Tier 3 Activated yes Cache Enabled yes Free Space 68596 MiB Disk State cache running mfdlog Configure accesslog and errorlog ports and interfaces mfdlog field length number in...

Страница 335: ...origin servers can be configured with the server map option See server map for CLI details Creating and Configuring Server Maps CLI on page 79 for task details namespace name cache inherit namespace_U...

Страница 336: ...ip use client ip FQDN port rtp udp rtp rtsp pre stage ftp user username password password password RADIUS TACACS password proxy mode transparent on ip Media Flow Controller_IP_address status active in...

Страница 337: ...ng itself from the cache or no cache default client response Manipulate headers in incoming client responses Up to sixteen header actions can be set either add or delete Note If you enter only a heade...

Страница 338: ...and configure the port number If you set the domain to any configure virtual host IP to 0 0 0 0 then requests can be assigned to a namespace based solely on the port number on which the request comes...

Страница 339: ...align ignore cache age content type string seconds content type any seconds cache age default seconds cache directive no cache follow override cache fill aggressive client driven content store media c...

Страница 340: ...d objects larger than 4 bytes a value of 0 zero default means every object irrespective of size is cached in disk if not marked non cacheable in the Cache Control header If the object size is less tha...

Страница 341: ...nds the request is delayed and retried after a socket connect timeout Default is 100 ms timeout The socket connect timeout in milliseconds Default is 100 ms header action add Specify a header name and...

Страница 342: ...r If the configured header does not exist the request is rejected The header name can be any of the well defined headers OR a custom header If set show namespace output has Proxy Mode virtual Note In...

Страница 343: ...ctive of domain Example namespace configuration and object list delete actions namespace ns1 domain example com match uri abc Suppose your URL is http example com abc def file flv To list an object an...

Страница 344: ...y low KB high KB maxpage KB read memory min KB default KB max KB syn cookie half open conn positive_number write memory min KB default KB max KB Notes connection Configure network parameters for conne...

Страница 345: ...When the amount of memory allocated by TCP is below this number of pages TCP is memory allocation is acceptable Acceptable values are 98304 to 393216 default is 196608 high When the amount of memory...

Страница 346: ...o configured default NTP servers ntp disable enable peer IP_address disable version number server hostname IP_address disable version number Notes disable and enable Enable or disable NTP overall Defa...

Страница 347: ...c settings for this host To refine which host is deleted use no radius host IP_address auth port port RADIUS hosts are tried in the order they are set auth port Set a port for RADIUS default is 1812 Y...

Страница 348: ...it to 0 zero Range is 0 5 timeout Set or reset to default with no the global timeout for retransmitting a request to any RADIUS server Default is 3 Sets Range is 1 60 show radius RADIUS settings ram...

Страница 349: ...em halts after this process unless the reboot option is set in which case it reboots keep all config Preserve everything in the active configuration file and also do not delete any other configuration...

Страница 350: ...seconds maximum Default is 0 format type Specify the DTD type of XML file defining the server map Use no server map name format type type to delete cluster map Allows use of consistent hashing This fo...

Страница 351: ...P1 Media Flow Controller would scan the URL extract www example com and use this defined namespace to index into the server map file fetched from the set file url The fetched file filemapB xml would h...

Страница 352: ...s users Information about user logins version Version information for current system image whoami The identity and capabilities of the current user show version concise List version information for th...

Страница 353: ...n enable interface interface_name location system_location traps event event_name user user_name admin v3 Notes community Set a community name for either read only ro or read write rw SNMP requests De...

Страница 354: ...P client it is as if the interface was not added If DHCP is later turned off on this interface it is as if the interface was then added to the listen list location Set the syslocation variable served...

Страница 355: ...ost key checking Arguments Table 32 SNMP Traps Notify able Events Trap Description cpu util high CPU utilization has risen too high cpu util ave ok CPU utilization has fallen back to acceptable levels...

Страница 356: ...the specified user s authorized key list The key identifier can be found with show ssh client identity key_type Set SSH client identity options for the specified user generate Generate a new identity...

Страница 357: ...ompted for the key Entries made at this prompt echo the asterisk character and the user must enter the same string twice listen Configure SSH server interface access restrictions enable Enable default...

Страница 358: ...hd CHD_ID clear compute time interval seconds range seconds enable clear all export format csv report_name cpu_util memory paging after date time before date time before date time after date time file...

Страница 359: ...e Export statistics to file Currently the only supported value for format is csv comma separated value The dataset to be exported is determined by the report_name value Options for report_name are mem...

Страница 360: ...disable the specified alarm with stats alarm alarm_ID enable the no variant disables the specified alarm Set a threshold value for each alarm using the stats alarm alarm_ID rising or stats alarm alar...

Страница 361: ...l accepted connections and dividing by system up time Default rising error threshold is 20000 per sec default rising clear threshold is 10000 per sec cpu_util_indiv Average CPU utilization The units f...

Страница 362: ...low Controllers is too high Table 34 Stats CHDs Stat CHD Description avg_cache_byte_rate Total number of bytes served from RAM buffer cache divided by system up time avg_disk_byte_rate Total number of...

Страница 363: ...is 3600 seconds cpu_util CPU utilization percentage of time spent cpu_util_ave CPU utilization average percentage of time spent Default interval is 15 seconds default range is 60 seconds cpu_util_day...

Страница 364: ...ot per disk peroriginbyte_rate Total amount of data fetched per origin server divided by system up time cumulative not per origin perportbyte_rate Total amount of data fetched per port divided by syst...

Страница 365: ...default 20 seconds num_of_connections Current number of HTTP connections default 10 seconds origin_byte_count Bandwidth being served from Origin default 10 seconds origin_byte_count_day Bandwidth ser...

Страница 366: ...in the log on the hour Set hourly log rotation Default is no disabled rotate Media Flow Controller allows streaming log rotation based on file size or time filesize MB Set rotation based on file size...

Страница 367: ...ting system version 98 x transaction Transaction or reply code CLIENT_DATA_FROM_DISK A action Action performed SPLIT PROXY CACHE CONNECTING B begin clip start Time when client started receiving the st...

Страница 368: ...ort number auth port must be specified immediately after the host option if present Default is 49 auth type For this host specify which of the two currently supported authentication methods ascii or p...

Страница 369: ...on tech support URL SCP Upload the tech support file to the specified URL Only FTP and TFTP URLs as well as SCP pseudo URLs are supported for the destination See Terminology on page 30 for the scp URL...

Страница 370: ...oller uses that for authentication of the SCP session The no variant disallows auto upload See Terminology on page 30 for the scp URL format you must have an SCP server installed in order to SCP files...

Страница 371: ...and requirements To set up SSH used by SFTP see Using SSH in Automated Scripts CLI on page 208 username Configure user accounts and privileges See Authentication Authorization and Users Options on pa...

Страница 372: ...sword password Set the login password for this user Enter asterisk to disable login enter nothing and confirm to set no password for a user 0 cleartext_password Allows the password to be specified in...

Страница 373: ...d secret string append prefix health probe query string parm string match string rate map match string rate kbps query string parm string uol offset length req auth digest md 5 stream id query string...

Страница 374: ...ype generic formerly type 0 virtual players for caching most Web video content Supports seek scrub for MP4 and FLV videos using time offsets fast start assured flow connection max bandwidth full downl...

Страница 375: ...hash verify Verify the hash value specified in the URL see Using hash verify on page 76 for details in prefix mode use no hash verify to disable digest Only md 5 is supported in Release 2 0 4 match q...

Страница 376: ...ximum session speed or the available bandwidth in prefix mode use no fast start to disable default is disabled query string parm Specify a string referenced value must be in kilobytes size Define how...

Страница 377: ...the end the value in that location is mapped to the configured rate in kbps Use the optional query string parm argument to indicate a different spot in the URL where the specified query string parm i...

Страница 378: ...disable req auth Compute MD 5 hash of query string parameters representing stream id default is streamid auth id default is authid a configured shared secret default is ysecret and time interval defau...

Страница 379: ...aram name to signal the session ID default is sid state query string parm string Specify a query param to signal the SF state default is sf The allowed values sent by the client player are 0 1 2 3 and...

Страница 380: ...ring whose value provides the requested video ID for example id You Tube video URI requests do not specifically associate a name to a video asset in the URI instead a unique query param is used format...

Страница 381: ...enable port TCP_port certificate regenerate proxy auth authtype none basic basic password plaintext_password username username host IP_address port TCP_port session renewal number_of_minutes timeout...

Страница 382: ...S Default is 443 The no variant resets it to the default but does not disable HTTPS proxy Configure Web proxy settings See web proxy for details session Configure session settings renewal Control the...

Страница 383: ...aintext username username Specify a username for HTTP basic authentication with an authenticating proxy Only used if the web proxy auth authtype is set to basic The user name is accepted and stored in...

Страница 384: ...Media Flow Controller CLI Commands Media Flow Controller Administrator s Guide 384 write Copyright 2010 Juniper Networks Inc...

Страница 385: ...oller allows you to gather the following information via SNMP MIBs Cache performance parameters such as number of active connections cache usage number of transactions Protocol specific parameters suc...

Страница 386: ...CT IDENTIFIER system 3 procTable OBJECT TYPE SYNTAX SEQUENCE OF ProcEntry MAX ACCESS not accessible STATUS current DESCRIPTION List of processes managed or monitored by PM procmgr 1 procEntry OBJECT T...

Страница 387: ...variables 2 applTable OBJECT TYPE SYNTAX SEQUENCE OF ApplEntry MAX ACCESS not accessible STATUS current DESCRIPTION List of appliances managed by the CMC cmc 1 applEntry OBJECT TYPE SYNTAX ApplEntry M...

Страница 388: ...ATUS current DESCRIPTION A procCrash trap signifies that a process managed by PM has crashed and left a core file The variable sent with the notification indicates which process crashed notificationPr...

Страница 389: ...l now perform its restart action notificationPrefix 8 cmcStatusFailure NOTIFICATION TYPE OBJECTS applName STATUS current DESCRIPTION One or more status criteria on a CMC managed appliance have failed...

Страница 390: ...Media Flow Controller MIB Definitions Media Flow Controller Administrator s Guide 390 NOTIFICATIONS Copyright 2010 Juniper Networks Inc...

Страница 391: ...erver listen interface 357 TACACS server 368 users 69 Admin up interface state 322 admin user default password 69 admission control overview 50 AES 128 about 67 alarm rate limit count 360 alarms confi...

Страница 392: ...options 60 prefix mode 59 cli command 296 client DHCP restart CLI 62 RADIUS retransmissions 347 SSH 353 TACACS retransmissions 368 TELNET 369 clock configuring 64 set for system 298 set with NTP 346 c...

Страница 393: ...ce 74 domain 241 email events detail option 241 logging level 228 login credentials CLI 61 login credentials Web Interface 111 management port 106 media cache tiers 92 namespace origin fetch options 2...

Страница 394: ...317 installed licenses 328 interface information 322 Management Console settings 382 namespaces 339 notification settings 313 routing information 325 SNMP settings 354 SSH client information 356 stat...

Страница 395: ...amespace CLI 91 fuselog command 319 G global delivery options CLI 308 delivery options Web Interface 164 network connection options 344 RADIUS 347 SSH client options 355 TACACS 134 368 H hardware spec...

Страница 396: ...namespace objects 86 namespaces 339 virtual players 374 load balancing DSR requirements 65 logging configuration 328 configuring 228 local configure 330 rotation caveat 226 set rotation criteria 330...

Страница 397: ...ystem clock 346 O origin fetch namespace options 339 ports vs traffic ports 62 origin server definition 32 interface 63 setting AssuredFlow rate 50 P passwords access log 290 pre stage 336 users confi...

Страница 398: ...ons 72 thresholds 231 user capabilities 69 UUID for namespace 82 severity level logs 330 SFTP format and requirement 33 SHA1 about 67 show command 352 shutdown interface 321 signature for image instal...

Страница 399: ...rotation 226 Media Flow Controller license restrictions 71 minimum configurations 72 namespace configurations 283 namespaces activating 339 notifications 241 RAID arrays 64 restarting the delivery ser...

Страница 400: ...e maps 376 type smoothflow 378 type yahoo hash digests and healthchecks 377 type youtube 380 virtual player command 373 W warnings accesslog defaults 291 changing duplex speed 322 deactivating HDDs 18...

Отзывы: