MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Server MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE herunter. Managing Flash Media Server [en] Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 240
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - Managing Flash Media Server

Managing Flash Media Server

Seite 2

10 About This Manual

Seite 3 - Contents

100 Configuration FilesSee alsoACCP, Admin, ECCP, Edge, HTTP, RTMP (Protocol) containersCoreGCThis tag specifies how often to check for and remove idl

Seite 4 - 4Contents

XML configuration files 101DenyThis tag specifies which automatic proxy discovery messages Flash Media Server does not respond to.DescriptionThis tag

Seite 5 - Contents 5

102 Configuration FilesContained tagsMinIOThreads, MaxIOThreads, SocketOverflowBuckets, SocketTableSizeSee alsoACCP, Admin, Core, ECCP, HTTP, RTMP (Pr

Seite 6 - 6Contents

XML configuration files 103Enable (AutoDiscovery)Server.xml uses four tags named Enable: the Enable tag in the AutoDiscovery container and the Enable

Seite 7 - About This Manual

104 Configuration FilesSee alsoFreeRatioFreeRatioLocated in the LargeMemPool, MessageCache, SegmentsPool, and SmallMemPool containers.DescriptionThis

Seite 8 - About the Flash Media Server

XML configuration files 105GlobalRatioLocated in the LargeMemPool, MessageCache, SegmentsPool, and SmallMemPool containers.DescriptionThis tag specifi

Seite 9 - Additional resources

106 Configuration FilesSyntax<HostPort>[<ip>][:<port>]</HostPort>HTTPContainer tag.DescriptionThe tags nested within the HTTP

Seite 10 - 10 About This Manual

XML configuration files 107DescriptionThe tags nested within the LargeMemPool container configure the large memory pool, which caches large chunks of

Seite 11 - Managing the Server

108 Configuration FilesMaskA three-digit octal value used by the Linux umask (user permissions mask) command to set a file creation mask. The user mus

Seite 12 - 12 Managing the Server

XML configuration files 109DescriptionThis tag defines the maximum size of the cache in megabytes. The default is 100 MB.See alsoMaxCacheUnitsMaxCache

Seite 13 - Configuring virtual hosts

111CHAPTER 1Managing the ServerAs a Flash Media Server administrator, you’ll need to perform several administrative tasks after the server is installe

Seite 14 - To start or stop the server:

110 Configuration FilesMaxIOThreadsLocated in the ACCP, Admin, Core, ECCP, Edge, HTTP, and RTMP (Connector) containers.DescriptionThis tag specifies t

Seite 15 - To stop the server on Linux:

XML configuration files 111MaxUnitSizeLocated in the LargeMemPool, MessageCache, SegmentsPool, and SmallMemPool containers.DescriptionThis tag specifi

Seite 16 - Using the management console

112 Configuration FilesDescriptionThis tag specifies the minimum number of threads in the pool for I/O operations. The default is 1 times the number o

Seite 17 - ■ View application logs

XML configuration files 113MyZoneThis tag specifies the zone that the edge or proxy server belongs to when it broadcasts a FPAD message. The message i

Seite 18 - 18 Managing the Server

114 Configuration FilesExamples<Allow>foo.macromedia.com,10.41.1.55</Allow><Deny>all</Deny><Order>Deny,Allow</Order&g

Seite 19 - Managing applications

XML configuration files 115Contained tagsACCP, ECCP, RTMP (Protocol) containersProxyInfoThis tag specifies the host (or IP) and port to return to the

Seite 20 - 20 Managing the Server

116 Configuration FilesRTMP (Connector)Flash Media Server uses two container tags named RTMP: one nested within the Connector container, and the other

Seite 21 - Managing applications 21

XML configuration files 117See alsoRTMP (Connector) in Connector container.ScopeThis tag determines whether to write a separate log file for each virt

Seite 22 - 22 Managing the Server

118 Configuration FilesContained tagsAdminServer, AutoDiscovery, Logging, Mask, Process, ResourceLimits, and SSL containers ServerDomainThis tag speci

Seite 23 - Viewing active clients

XML configuration files 119SocketGCDescriptionThis tag specifies in seconds how often Flash Media Server checks for and removes inactive sockets.The d

Seite 24 - Viewing active shared objects

12 Managing the ServerYou can configure Flash Media Server 2 as an origin or edge server, configure adaptors and virtual hosts and change the location

Seite 25 - Viewing active streams

120 Configuration FilesThe following is a quick-start to enable SSL connections with Flash Media Server. Specify the location of the certificate in t

Seite 26 - 26 Managing the Server

XML configuration files 121To import these certificates, run FMSmaster > Console > Initialize [directory]. This action imports all current certi

Seite 27

122 Configuration FilesThe cipher list consists of one or more cipher strings separated by colons. Commas or spaces are also acceptable separators but

Seite 28 - Managing the servers

XML configuration files 123These cipher strings instruct Flash Media Server to accept only RSA key exchange, and refuse export or null encryption. The

Seite 29 - Managing servers

124 Configuration FilesHere is the complete list of components that Flash Media Server can evaluate:Key Exchange Algorithm DescriptionkRSA Key exchang

Seite 30 - Viewing server details

XML configuration files 125SSLClientCtxContainer tag.DescriptionThe tags in this section configure Flash Media Server to perform as an SSL client for

Seite 31 - Viewing connection details

126 Configuration FilesDescriptionEntropy is a measure of randomness. The more entropy, the more random are the numbers that the PRNG will generate. T

Seite 32 - Viewing application details

XML configuration files 127See alsoSSLVerifyDepthSSLVerifyDepthThis tag specifies the maximum depth in the certificate chain from which Flash Media Se

Seite 33 - Viewing license files

128 Configuration FilesSee alsoClusterMonitorIntervalUIDThis tag contains the server process user ID. DescriptionIf no UID or group ID (GID) is specif

Seite 34 - Viewing the server log file

XML configuration files 129Users.xml fileUsers.xml is the configuration file for the Flash Media Admin Service users and is located at the root level

Seite 35 - Access log file

Basic server settings 13To edit the <AppsDir> tag in the Vhost.xml file:1. Locate the Vhost.xml file for the virtual host you are working with.

Seite 36

130 Configuration FilesDescription of Users.xml tagsThe following alphabetical list of Users.xml tags contains additional information, including cross

Seite 37

XML configuration files 131DescriptionThis tag lists the Flash Media Admin Service commands that the administrator can access using HTTP. You can auth

Seite 38

132 Configuration FilesDescriptionThis Deny tag lists the Flash Media Admin Service commands that an administrator cannot use via HTTP. You can deny a

Seite 39 - Application log file

XML configuration files 133HTTPCommandsContainer tag.DescriptionThis section contains the settings for those Flash Media Admin Service commands that c

Seite 40 - Diagnostic log file

134 Configuration FilesThe default sequence Allow, Deny means that administrative access is allowed unless the user is specified in the Allow list of

Seite 41 - Category Description

XML configuration files 135UserListContainer tag. DescriptionThe UserList tag defines the access permissions for administrators that use the Flash Med

Seite 42 - Message ID Description

136 Configuration Files<Events>connect;disconnect;play;pause;unpause;stop</Events><Fields>x-category;x-event;date;time;x-pid;c-ip;cs

Seite 43

XML configuration files 137Description of Logger.xml tagsThe following alphabetical list of Logger.xml tags contains additional information, including

Seite 44

138 Configuration FilesContained tagsDelimiter, EscapeFields, Events, Fields, FileName, LogServer, QuoteFields, Rotation, TimeApplicationContainer tag

Seite 45

XML configuration files 139Contained tagsDirectory, Rotation. TimeDirectoryThis tag specifies the directory where the log files are located.Descriptio

Seite 46

14 Managing the ServerDeploying server-side scripts In developing applications for Flash Media Server, you may decide to use server-side scripts to im

Seite 47

140 Configuration FilesDescriptionThe following table lists the events recorded in the Access log file. Events are logged in a semicolon-separated lis

Seite 48

XML configuration files 141See alsoFields400 Bad request; client connected to server using an unknown protocol.401 Connection rejected by the applicat

Seite 49

142 Configuration FilesFieldsThis tag specifies which fields for an event are logged in the Access log file.DescriptionFields are associated with the

Seite 50

XML configuration files 143The following table is a complete list of fields associated with events in the Access log file. Not every field is associat

Seite 51

144 Configuration Filessc-bytes application This field shows the number of bytes transferred from the server to the client. This information can be us

Seite 52 - Configuring logging

XML configuration files 145See alsoEventsFileNameThis tag specifies the name of the Access log file.DescriptionThe Access log file name includes a dat

Seite 53 - Logger.xml file example

146 Configuration FilesLoggerRoot tag.DescriptionThe Logger tag is a container for all the other tags in Logger.xml.LogServerContainer tag.Description

Seite 54 - 54 Managing the Server

XML configuration files 147RotationContainer tag.DescriptionThe tags in this section configure the rotation of the log files.Located in Access, Applic

Seite 55

148 Configuration FilesTimeThe Time field in a log file can be logged either in UTC (GMT) or local time. DescriptionThe setting for the Time tag can b

Seite 56 - 56 Managing the Server

XML configuration files 149<SetCookie></SetCookie><Redirect enable=”false” maxbuf=”16384”></Redirect><NeedClose></Nee

Seite 57

Basic server settings 154. In the Services list, scroll down and select Flash Media Server.5. Click the Stop button at the top of the control panel. T

Seite 58 - Using the fmsmgr utility

150 Configuration FilesIdleAckIntervalSpecifies the maximum time the server may wait before it returns an ack (acknowledgement code) for a client idle

Seite 59 - Command Description

XML configuration files 151Description of Adaptor.xml tagsThe following alphabetical list of Adaptor.xml tags contains additional information, includi

Seite 60

152 Configuration FilesDenyThis tag identifies the hosts whose clients’ attempts to connect to the server(s) will be rejected.DescriptionThe Deny tag

Seite 61 - Deploying Flash Media

XML configuration files 153SyntaxThe connection string for the HostPort tag has the following syntax:<HostPort><ip>:<port>,<port&

Seite 62 - Deploying on two computers

154 Configuration FilesSee alsoHostPortListHostPortListThis tag contains a list of HostPort tags associated with this adaptor.Example<HostPort secu

Seite 63 - Defining a secure port

XML configuration files 155Accept-Encoding: gzip, deflate..User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)..Host: localhost:1935..

Seite 64 - Configuring SSL

156 Configuration FilesIdleAckIntervalThis tag specifies the maximum time the server may wait before it sends back an ack (acknowledgement code) for a

Seite 65

XML configuration files 157MaxFailuresThis tag specifies the maximum number of failures an edge server may incur before it restarts. DescriptionDefau

Seite 66 - About configuration levels

158 Configuration FilesMimeTypeThis tag specifies the default MIME (Multipurpose Internet Mail Extensions) type header sent on tunnel responses.Descri

Seite 67 - About configuration levels 67

XML configuration files 159The alternative sequence Deny,Allow indicates that access to a server is allowed unless specified in the Deny tag and not s

Seite 68

16 Managing the ServerUsing the management consoleThe management console for the Flash Media Server 2 release has been redesigned to ease the workflow

Seite 69 - About configuration levels 69

160 Configuration FilesThis example instructs Flash Media Server to redirect unknown requests to the specified redirect host. <Host port="443&

Seite 70 - ■ An Application.xml file

XML configuration files 161The following is a quick-start to allowing SSL-enabled connections to Flash Media Server. Go to the SSL section of the Ada

Seite 71 - About configuration levels 71

162 Configuration FilesSee alsoSSLPassPhraseSSLCipherSuiteThis tag specifies the suite of encryption ciphers that Flash Media Server uses to secure in

Seite 72

XML configuration files 163SSLServerCtxContainer tag.DescriptionThe tags in this section control the SSL configuration for this adaptor.Contained tags

Seite 73 - Field name Description

164 Configuration FilesVhost.xml fileThe Vhost.xml configuration file defines an individual virtual host in Flash Media Server. Each virtual host dire

Seite 74 - Using the admin commands

XML configuration files 165<GlobalRatio>0.4</GlobalRatio><MaxAge>1000000</MaxAge><UpdateInterval>1024</UpdateInterval

Seite 75 - Sample URL

166 Configuration FilesSummary of Vhost.xml tagsThe following list alphabetically displays the tags in the Vhost.xml configuration file. Vhost.xml tag

Seite 76

XML configuration files 167MaxStreamsSpecifies the maximum number of streams that can be created.MaxUnitSizeSpecifies the size threshold for messages

Seite 77

168 Configuration FilesDescription of Vhost.xml tagsThe following alphabetical list of Vhost.xml tags contains additional information, including cross

Seite 78

XML configuration files 169If more than one virtual host on the same adaptor has been defined with the same alias, then the first match that is found

Seite 79 - Symbolic text substitutions

Using the management console 17 View application logs. View logs of server connections and other server events. View streams and inspect shared obj

Seite 80 - Predefined symbols

170 Configuration FilesAnonymousThis tag configures the virtual host as an anonymous proxy (also called an implicit or transparent proxy) or as an exp

Seite 81 - Mapping environment variables

XML configuration files 171AppInstanceGCThis tag specifies how often to check for and remove unused resources for application instances, such as Share

Seite 82 - Building the symbol map

172 Configuration FilesThe default location is the cache folder in the server installation directory. Syntax<CacheDir enabled="false">

Seite 83

XML configuration files 173FreeRatioLocated in LargeMemPool, MessageCache, SegmentsPool, and SmallMemPool containers.This tag specifies the percentage

Seite 84

174 Configuration FilesLocalAddressThis tag binds a proxy's outgoing connection to a specific local IP address. DescriptionThe LocalAddress tag l

Seite 85 - Configuration Files

XML configuration files 175MaxCacheUnitsLocated in LargeMemPool, MessageCache, SegmentsPool, and SmallMemPool containers.This tag specifies the maximu

Seite 86 - Server.xml file

176 Configuration FilesMessageCacheContainer tag.DescriptionThis section contains the tags that control how the message cache holds onto messages used

Seite 87 - XML configuration files 87

XML configuration files 177ProxyContainer tag.DescriptionThe tags nested in this section configure this virtual host as a proxy server that can forwar

Seite 88 - 88 Configuration Files

178 Configuration FilesDescriptionProxies or edge servers are configured with the RouteEntry tag to direct connections to another destination. The Rou

Seite 89 - Summary of Server.xml tags

XML configuration files 179RouteTableContainer tag.DescriptionThe RouteEntry tags nested under the RouteTable tag specify the routing information for

Seite 90 - Server.xml tag Description

18 Managing the Server2. Enter the name and address of the server or virtual host you want to connect to. You can enter localhost, which will refer t

Seite 91

180 Configuration FilesSegmentsPoolContainer tag.DescriptionThe tags nested within this container configure how the segments pool caches segments of F

Seite 92

XML configuration files 181 If the SSL tags in the Vhost.xml file override the SSL tags in the Server.xml file, Flash Media Server uses the SSL tags

Seite 93

182 Configuration FilesSyntaxvirtualDirectory;actualDirectoryThe Streams tag allows you to specify a virtual directory for stored stream resources use

Seite 94

XML configuration files 183Example<VirtualDirectory><Streams key="A">foo;c:\streams\on2</Streams><Streams key="B&q

Seite 95 - XML configuration files 95

184 Configuration FilesSyntax<VirtualDirectory><Streams>key-value;virtual path;directory</Streams></VirtualDirectory>You speci

Seite 96 - AllowZones

XML configuration files 185VirtualKeysThis tag sets the virtual key mappings for the different versions of Flash Player connecting to Flash Media Serv

Seite 97 - AutoDiscovery

186 Configuration FilesEach virtual host can contain multiple Application.xml files. The Application.xml file in the virtual host directory configures

Seite 98 - BroadcastPort

XML configuration files 187<StreamManager><StorageDir></StorageDir><DuplicateDir></DuplicateDir><CachePrefix></

Seite 99 - Connector

188 Configuration Files<Bits></Bits></UserAgent></Client><HTTP><HTTP1_0></HTTP1_0><Verbose></Verbos

Seite 100 - Diagnostic

XML configuration files 189BandwidthContainer tag; contains tags to configure the bandwidth settings for server-client communications.BandwidthCapCont

Seite 101 - XML configuration files 101

Managing applications 19Setting the refresh rateThe management console provides live performance data on the server. You can use the Refresh Rate pop-

Seite 102 - Enable (Access)

190 Configuration FilesHTTP1_0Allows or disallows use of the HTTP 1.0 protocol.HTTPTunnelContainer tag; contains tags to configure HTTP tunneling.Idle

Seite 103 - FreeMemRatio

XML configuration files 191MimeTypeSpecifies the default MIME-type header sent on tunnel responses.NotifyAudioStopSpecifies whether Flash Media Server

Seite 104 - GlobalQueue

192 Configuration FilesDescription of Application.xml tagsThe following alphabetical list of Application.xml tags contains additional information, inc

Seite 105 - HostPort

XML configuration files 193AllowHTTPTunnelThe tag configures Flash Media Server to allow HTTP tunneling connections into this application. Descriptio

Seite 106 - LargeMemPool

194 Configuration FilesAutoCommitShared Objects are automatically committed when they have been changed.DescriptionSetting this tag to false disables

Seite 107 - LocalHost

XML configuration files 195See alsoBandwidthBitsThis tag contains the settings for Flash Player on the Windows and Macintosh platforms.Examples<Bit

Seite 108 - MaxCacheSize

196 Configuration FilesBy default, the prefix is set to ?IP?You can include the IP address in the prefix to avoid file collision. For example, the pro

Seite 109 - MaxConnectionThreads

XML configuration files 197ClientContainer tag.DescriptionThe tags nested within this container configure the client. DescriptionBy default, the Clien

Seite 110 - MaxQueueSize

198 Configuration FilesCombineSamplesContainer tag.DescriptionFlash Media Server conserves system resources by combining sound samples. This strategy

Seite 111 - MinConnectionThreads

XML configuration files 199DuplicateDir (StreamsManager)This is one of two tags named DuplicateDir in the Application.xml file.Located in StreamManage

Seite 112 - MsgPoolGC

TrademarksAfterburner, AppletAce, Attain, Attain Enterprise Learning System, Attain Essentials, Attain Objects for Dreamweaver, Authorware, Authorware

Seite 113 - NumCRThreads

20 Managing the Server A user debugging another application now desires to see the contents of a shared object that they have implemented in their ap

Seite 114 - Protocol

200 Configuration FilesFileObjectContainer tag.DescriptionThe VirtualDirectory tag nested within this container configures the JSEngine file object se

Seite 115 - ResourceLimits

XML configuration files 201Example<Host>myserver:8080</Host>To specify the port number in this string, add :[port] to the end of the host

Seite 116 - RTMP (Protocol)

202 Configuration FilesThe Application.xml configuration file offers three representative settings for these parameters. These settings recommend that

Seite 117 - SegmentsPool

XML configuration files 203The interval for an idle post ranges from 0 to 4064 milliseconds. If the IdlePostInterval tag is set to a value that lies o

Seite 118 - SmallMemPool

204 Configuration FilesKeyFrameIntervalThis tag defines how often to generate and save keyframes in an FLV file. DescriptionSetting this tag to a high

Seite 119 - SocketTableSize

XML configuration files 205DescriptionHaving an application instance loaded at server startup saves time when the first client connects to that applic

Seite 120 - SSLCACertificatePath

206 Configuration FilesMaxCoresThe value for this tag determines how many core processes can exist for an application. DescriptionBy default, the Max

Seite 121 - SSLCipherSuite

XML configuration files 207DescriptionThis tag defines the maximum time for a transfer to be completed. The default time is 60 seconds.Operations such

Seite 122 - Examples

208 Configuration FilesNotifyAudioStopContainer tag.DescriptionThe Duration tag nested within this container determines whether or not Flash Media Ser

Seite 123 - XML configuration files 123

XML configuration files 209ProxyContainer tag.DescriptionThe tags nested within this container configure the HTTP Proxy settings.Contained tagsHost, P

Seite 124 - Digest Types Description

Managing applications 21Creating a new application instanceIn the View Applications section of the management console, you can create a new applicatio

Seite 125 - SSLRandomSeed

210 Configuration FilesResyncDepthThis tag instructs Flash Media Server to resynchronize a shared object file.DescriptionThe shared object is resynchr

Seite 126 - SSLVerifyCertificate

XML configuration files 211DescriptionThe default size is 1024 kilobytes, which is the equivalent of 1 megabyte. The lower and upper limits on the siz

Seite 127 - ThreadPoolGC

212 Configuration FilesSendSilenceContainer tag.DescriptionThe Interval tag nested within this container configures the settings for sending silent me

Seite 128 - UserData

XML configuration files 213SharedObjManagerContainer tag.DescriptionThe tags nested within this container configure the Shared Object Manager setting

Seite 129 - Summary of Users.xml tags

214 Configuration FilesSet this tag only when the files for recorded streams must be stored in a location other than the application directory. See al

Seite 130 - Description of Users.xml tags

XML configuration files 215UnrestrictedAuthThis tag determines whether or not to allow sending the username/password combination with each HTTP redire

Seite 131 - Deny (HTTPCommands)

216 Configuration FilesSyntax<VirtualDirectory><virtual dir>;<actual dir></VirtualDirectory> WriteBuffSizeThis tag specifies i

Seite 132 - Deny (User)

2174CHAPTER 4Flash Media Server SecurityMacromedia Flash Media Server 2 will typically be used in a network environment where many users will have acc

Seite 133 - Order (User)

218 Flash Media Server SecurityEdit the security tags in the configuration files Utilize the limits that can be set in the server’s configuration fil

Seite 134 - Password

Managing server security 219The MaxAppInstances tag nested in the ResourceLimits container lets you limit the number of application instances that can

Seite 135 - Logger.xml file

22 Managing the ServerViewing the Live [Application] log fileEach application creates an associated log file. The Live [Application] log pane displays

Seite 136 - Summary of Logger.xml tags

220 Flash Media Server SecurityAbout authentication and authorization To authenticate (validate) administrators, Flash Media Server employs several la

Seite 137 - Container tag

JavaScript security 221By default, only the management console performs user authorization. When developing your own media applications, you can decid

Seite 138 - Delimiter

222 Flash Media Server SecuritySecure script loadingThe Flash Media Server script security model enables one to limit the exposure to potentially mali

Seite 139 - EscapeFields

JavaScript security 223// available globally as idGen.global.idGen = protectObject( idgen );// Make idGen non-enumerable, read-only and permanentsetAt

Seite 140 - Field Status Code Description

224 Flash Media Server SecurityPermissions levelsFlash Media Server does not use explicit levels of privileges, but provides a way for the application

Seite 141 - See also

JavaScript security 225Asynchronous system callsIn Flash Media Server, application developers can implement asynchronous system calls, where the calle

Seite 142

226 Flash Media Server SecurityChoosing passwordsWhen choosing passwords, remember to make them as secure as possible. The following guidelines can he

Seite 143 - Field Event(s) Description

Access DLL 227Access DLL is the libconnect.dll file (this module is named the libconnect.so file in Linux installations) stored within the modules/acc

Seite 144

228 Flash Media Server SecurityAccess DLL APIsAccess DLL provides the following AccessAdaptor APIs:Access DLL provides the following AccessContext API

Seite 145 - FileName

Access DLL 229Modifying Access DLLThe Access DLL module contains the Sample.dsp file. You can change or configure this file to conform to your site-sp

Seite 146 - QuoteFields

Managing applications 23Viewing active clientsThis pane lists all client connections including debugging connections to the selected application. The

Seite 147 - ServerID

230 Flash Media Server SecuritySample Adaptor.cpp fileHere is an excerpt from the Adaptor.cpp file that you can modify to fit your local authenticatio

Seite 148 - Adaptor.xml file

Developing secure applications 231}default:// We really shouldn't get here!fprintf( stderr, "SampleAdaptor: Unknown access event!\n" );

Seite 149 - Summary of Adaptor. xml tags

232 Flash Media Server SecurityConfigure the adaptor to listen on a secure port. If you need a secure connection, configure the adaptor for the appli

Seite 150 - Adaptor.xml tag Description

About privacy 233Send sensitive data via HTTPS If you need to send sensitive data such as credit card information, you can use HTTPS to communicate s

Seite 151

234 Flash Media Server SecurityIf the Flash Media Server and an application server are both behind a firewall, they can communicate with each other an

Seite 152

235IndexAAccess DLL 226–231APIs 228–229configuring 227examining the connection request 227modifying 229sample Adaptor.cpp file 230access logs 3

Seite 153

236 IndexApplication.xml tagsAccess 192Allow 192AllowHTTPTunnel 193Application 193Audio 193AutoCommit 194Bandwidth 194BandwidthCap 194Bits 19

Seite 154 - HTTPIdent

Index 237configuration files 85–216Adaptor.xml 148–163Application.xml 185–216Logger.xml 135–148protecting 219security tags 217–219Server.xml 86

Seite 155 - HttpUserInfo

238 Indexviewing application log file 22viewing connection data 31viewing license files 33viewing performance statistics of an application 26viewi

Seite 156 - IdlePostInterval

Index 239FreeMemRatio 103FreeRatio 104GID 104GlobalQueue 104GlobalRatio 105HeapSize 105HostPort 105HTTP 106IPCQueues 106LargeMemPool 106Loca

Seite 157 - MaxWriteDelay

24 Managing the ServerViewing active shared objectsThis pane lists the active shared objects for an application. The management console displays their

Seite 158 - NeedClose

240 IndexUsers.xml tagsAdminServer 130Allow (HTTPCommands) 130Allow (User) 131Deny (HTTPCommands) 131Deny (User) 132Enable 132HTTPCommands 133O

Seite 159 - Redirect

Managing applications 25Viewing active streamsThis pane lists all the active streams in the selected application. The management console displays thei

Seite 160 - SetCookie

26 Managing the ServerViewing application performanceThis pane displays the live information for this application. Application and server administrato

Seite 161 - SSLCACertificateKeyFile

Managing the administrative users 27Managing the administrative usersIn this section of the management console you control Flash Media Server users wi

Seite 162 - SSLPassPhrase

28 Managing the ServerManaging the serversThe Server pane occupies the left side of the Manage Server section of the management console. This pane lis

Seite 163 - WriteBufferSize

Managing the servers 29Clicking one of the buttons lets the administrator perform one of the following administrative actions on a selected server: A

Seite 164 - Vhost.xml file

3ContentsAbout This Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Intended audience . . . . . . . . . . . . .

Seite 165 - XML configuration files 165

30 Managing the ServerClicking the buttons lets the administrator perform the following actions: Review the performance statistics for the computer w

Seite 166 - Summary of Vhost.xml tags

Managing the servers 31Viewing connection detailsThis pane lists all client connections to the selected server. The management console displays the fo

Seite 167 - Vhost.xml tag Description

32 Managing the ServerViewing application detailsThis pane displays detailed information for all the applications running on the selected server or vi

Seite 168 - Description of Vhost.xml tags

Managing the servers 33Viewing license filesThis pane displays detailed information for all license files authorizing you to run Flash Media Server on

Seite 169 - AliasList

34 Managing the ServerViewing the server log fileThis panel displays the trace messages being recorded in the server log file. The log messages repor

Seite 170 - Anonymous

Logging client connections and other system events 35Access log fileFlash Media Server 2 maintains an access log that includes statistics about client

Seite 171 - CacheDir

36 Managing the ServerThe following table lists the fields in the access logs.pause application Client pauses playing a stream.unpause application Cli

Seite 172 - DNSSuffix

Logging client connections and other system events 37x-appinst application Application instance names.c-ip application Client IP address.c-proto appli

Seite 173

38 Managing the ServerThe following events display a status code.x-sname-query application Query portion of stream URI specified in play or publish.x-

Seite 174 - MaxAppInstances

Logging client connections and other system events 39Application log fileThe application log records information about activities in application insta

Seite 175 - MaxStreams

4ContentsChapter 2: Deploying Flash Media Server. . . . . . . . . . . . . . . . . . . 61Typical configurations . . . . . . . . . . . . . . . . . .

Seite 176

40 Managing the ServerDiagnostic log fileThe diagnostic log records alternative information (alternative to the information logged by the operating sy

Seite 177 - RouteEntry

Logging client connections and other system events 41The following table lists the fields in the diagnostic logs.The following table lists the status

Seite 178

42 Managing the ServerThe following table lists the status message IDs in the diagnostic logs. Flash Media Server 2 uses the symbols %1$S, %2$S and %3

Seite 179 - RouteTable

Logging client connections and other system events 431018 The call method failed, invalid parameters: call(methodName[, resultObj, p1, pn]). 1019 Drop

Seite 180

44 Managing the Server1046 Reserved property (%1$S). 1047 Admin request received from an invalid admin server. 1048 Administrator login failed for use

Seite 181 - Contained tags

Logging client connections and other system events 451074 Stopped recording %1$S.1075 Stream %1$S has been idling for %2$S second(s). 1076 Playing and

Seite 182 - Additional information

46 Managing the Server1104 Invalid method name (%1$S). 1105 (%2$S, %3$S): Invalid application name (%1$S). 1106 Connection succeeded. 1107 Connection

Seite 183 - VirtualDirectory

Logging client connections and other system events 471131 (%2$S, %3$S): Resource limit violation. Unable to load new application: %1$S. 1132 (%2$S, %3

Seite 184 - VirtualHost

48 Managing the Server1157 (%2$S, %3$S/%1$S): Current server bandwidth usage exceeds license limit set. Rejecting connection. 1158 (%2$S, %3$S/%1$S):

Seite 185 - Application.xml file

Logging client connections and other system events 491184 Invalid cryptographic accelerator: %1$S. 1185 Failed to initialize cryptographic accelerator

Seite 186 - Overriding default settings

Contents 5Description of Vhost.xml tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .168Application.xml file. . . . . . . . . . . .

Seite 187 - XML configuration files 187

50 Managing the Server1207 Shared object %1$S has changed and is not being saved as auto commit is set to false. Current version %2$S, Last saved vers

Seite 188

Logging client connections and other system events 511235 Core (%1$S) connection to admin failed. 1236 Core (%1$S) received close command from admin.

Seite 189

52 Managing the ServerConfiguring loggingFlash Media Server logging is configured through the Server.xml and Logger.xml configuration files. Server.xm

Seite 190

Logging client connections and other system events 53For a more complete listing of all tags, see “Logger.xml file” on page 135.Logger.xml file exampl

Seite 191

54 Managing the Server<!-- 2. connect session --><!-- 3. disconnect session --><!-- 4. publis

Seite 192 - Contained tag

Logging client connections and other system events 55<!-- 25. x-spos Stream position --> <!-- 26. cs-str

Seite 193 - AllowHTTPTunnel

56 Managing the Server<QuoteFields>disable</QuoteFields> <!-- This is an optional flag to control if the fields need to be --> <!

Seite 194 - BandwidthCap

Logging client connections and other system events 57 <!-- If type="duration", rotation occurs when the duration of the log -->

Seite 195 - CachePrefix

58 Managing the ServerManaging Flash Media Server on LinuxOn all supported Linux platforms, Flash Media Server 2 is installed as a service and include

Seite 196 - CacheUpdateInterval

Managing Flash Media Server on Linux 59The following table describes the commands for the fmsmgr utility.Command Descriptionfmsmgr server adminserver

Seite 198 - Connections

60 Managing the ServerFor other administrative tasks, such as adding users or checking the status of applications, you use the management console. For

Seite 199 - EnhancedSeek

612CHAPTER 2Deploying Flash Media ServerThis chapter describes the various strategies for deploying Macromedia Flash Media Server 2, including the use

Seite 200 - FolderAccess

62 Deploying Flash Media ServerConfiguration for development and testingWhile developing and testing your applications, you may choose to install a we

Seite 201

SSL support in Flash Media Server 63Deploying on two computers with authentication through Flash Media ServerSome scenarios may require authentication

Seite 202

64 Deploying Flash Media ServerThis XML tag specifies that Flash Media Server will listen on any interface on ports 1935, 80, and 443, where 443 is de

Seite 203 - JSEngine

SSL support in Flash Media Server 65Creating multiple certificates for an adaptorYou can configure Flash Media Server to return multiple certificates

Seite 204 - LoadOnStartup

66 Deploying Flash Media ServerConfiguring independent virtual hosts for SSL applicationYou can configure the different virtual hosts in Flash Media S

Seite 205 - MaxAppIdleTime

About configuration levels 67The default directory structure installed with the server looks like this:The directory structure includes three subdirec

Seite 206 - MaxTimeOut (Connections)

68 Deploying Flash Media ServerIf there is a second adaptor, it has its own subdirectory at the same level as the _defaultRoot_ subdirectory. The _d

Seite 207 - MaxTimeOut (JSEngine)

About configuration levels 69Each adaptor directory must contain a _defaultVHost_ directory.Adding adaptors and virtual hostsTo add an adaptor to the

Seite 208 - NotifyAudioStop

7About This Manual Macromedia Flash Media Server 2 enables one-to-one, one-to-many, many-to-one, and many-to-many communication in real time between a

Seite 209

70 Deploying Flash Media ServerTo create a new virtual host, create a new virtual host directory inside the /conf/adaptor_name directory in the Flash

Seite 210 - RuntimeSize

About configuration levels 71The conf directory illustrated here contains two adaptor subdirectories: the _defaultRoot_ subdirectory and the Adaptor2

Seite 211 - ScriptLibPath

72 Deploying Flash Media ServerFor example, the following URL passes a ping command to the server:http://myFlashMediaServer:1111/admin/ping?auser=some

Seite 212 - ServerToClient (BandwidthCap)

About configuration levels 73The following is the XML result:<?xml version="1.0" encoding="utf-8" ?><result><level&

Seite 213 - StorageDir (StreamManager)

74 Deploying Flash Media ServerUsing the admin commandsMany server administration commands expect one or more parameters. These are passed to the func

Seite 214 - Subscribers

About configuration levels 75When you use the server management API over HTTP, the arguments for each command must be named. This is different from Ac

Seite 215 - Username

76 Deploying Flash Media ServerdisconnectUsers appInst, clientsn/a /admin/disconnectUsers?appInst="simpsons/game1"&clients=["137941

Seite 216 - WriteBuffSize

About configuration levels 77getNetStreams appInst n/a /admin/getNetStreams?appInst="foo"getNetStreamStats appInst, streamidsn/a /admin/getI

Seite 217 - Flash Media Server Security

78 Deploying Flash Media ServerreloadApp appInst n/a /admin/reloadApp?appInst="foo"removeAdmin userName scope /admin/removeAdmin?userName=&q

Seite 218 - ■ Vhost.xml file

Symbolic text substitutions 79Symbolic text substitutionsFlash Media Server supports the use of symbolic text substitutions in all tags in the server’

Seite 219 - Managing server security 219

8About This ManualSystem requirementsFlash Media Server can be deployed on the following systems: Microsoft Windows 2000 Server or Windows 2003 Serve

Seite 220

80 Deploying Flash Media ServerOnce you have defined such a mapping, you can use the symbol in one of the XML configuration files. To use a symbol in

Seite 221 - JavaScript security

Symbolic text substitutions 81Mapping environment variablesYou can also specify symbols that resolve to environment variables. To refer to an environm

Seite 222 - Secure script loading

82 Deploying Flash Media ServerBuilding the symbol mapYou may use a symbol anywhere, such as in the substitution.xml file, or any of the external conf

Seite 223 - Protecting objects

Configurable application object properties for server-side scripting 83For example, given the previous XML fragment, the following trace() statements

Seite 224 - Permissions levels

84 Deploying Flash Media Server

Seite 225 - Asynchronous system calls

853CHAPTER 3Configuration FilesThis chapter describes the XML files that define the Flash Media Server configuration. It presents their file structure

Seite 226 - Access DLL

86 Configuration FilesServer.xml fileThe Server.xml file is located at the root level of the conf directory and contains the tags and information used

Seite 227 - Configuring Access DLL

XML configuration files 87</Process></AdminServer><ResourceLimits><CPUMonitor>1</CPUMonitor><ThreadPoolGC>20</T

Seite 228 - Access DLL APIs

88 Configuration Files<SocketOverflowBuckets>-1</SocketOverflowBuckets><CoreTimeout>30</CoreTimeout></ECCP><ACCP>&

Seite 229 - Modifying Access DLL

XML configuration files 89<MaxAge>1000000</MaxAge><UpdateInterval>1024</UpdateInterval><FreeMemRatio>0.5</FreeMemRati

Seite 230 - Sample Adaptor.cpp file

Additional resources 9Typographical conventionsThe following typographical conventions are used in this book: Code font indicates ActionScript statem

Seite 231 - Using SSL

90 Configuration FilesAdminContainer tag; contains the tags that configure the RTMP protocols for the FMSAdmin.exe process.AdminServerContainer tag; c

Seite 232

XML configuration files 91DenySpecifies which automatic proxy discovery messages not to respond to. DiagnosticContainer tag; contains tag to enable th

Seite 233 - About privacy

92 Configuration FilesLargeMemPoolContainer tag; contains tags to configure the large memory pool.LocalHostSpecifies the Flash Media Server IP loopbac

Seite 234 - Log file precautions

XML configuration files 93MyZoneSpecifies the zone that the edge server belongs to when it broadcasts FPAD messages. NumCRThreadsSpecifies the number

Seite 235

94 Configuration FilesSocketOverflowBuckets Specifies the number of overflow buckets if all slots in socket table are in use.SocketTableSizeSpecifies

Seite 236 - 236 Index

XML configuration files 95Description of Server.xml tagsThe following alphabetical list of Server.xml tags contains additional information, including

Seite 237 - Index 237

96 Configuration FilesContained tagsMinIOThreads, MaxIOThreads, SocketOverflowBuckets, SocketTableSizeSee alsoACCP, Core, ECCP, Edge, HTTP, RTMP (Prot

Seite 238 - 238 Index

XML configuration files 97DescriptionThis tag is a comma-delimited list of zones that the sole origin server or the edge servers in a cluster will ser

Seite 239 - Index 239

98 Configuration FilesDescriptionThe tags nested within the AutoDiscovery container set up and configure a single, or a cluster of, edge or proxy serv

Seite 240 - 240 Index

XML configuration files 99DHCP is a protocol for assigning dynamic IP addresses to devices on a network. DHCP supports a mix of static and dynamic IP

Kommentare zu diesen Handbüchern

Keine Kommentare