Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To configure CDN, the following main settings in the flashphoner.properties files  file are used (see the complete list in the settings file description):

...

Command

Description

Example result

show cdn-nodes

Displays the list of node servers in CDN:

ACTIVE - the server is running, responds to queries and/or sends notifications

PASSIVE - the server is stopped or unavailable

Code Block
languagebash
themeRDark
IIp                       State        
---------------------------------
edge1.flashphoner.com    ACTIVE   
edge2.flashphoner.com    ACTIVE   
origin2.flashphoner.com  PASSIVE

show cdn-routes

Shows the list of active streams in CDN

Code Block
languagebash
themeRDark
Route                       Stream     
------------------------------------
1-origin2.flashphoner.com-2 stream1
0-origin2.flashphoner.com-0 stream2
2-origin1.flashphoner.com-1 stream1

Removing stopped servers from CDN nodes list

By default, when server is stopped or unavailable, it will be displayed in CDN nodes list in PASSIVE state until it will be started again or all the CDN will be stopped. The time interval may be set if necessary to remove inactive node from nodes list. This interval should be set in seconds using the following parameter in flashphoner.properties file, for example

Code Block
languagebash
themeRDark
cdn_nodes_timeout=60

In this case inactive nodes will be removed from CDN nodes list after 60 seconds of inactivity.

Coordination of codecs on Origin and Edge servers

...