MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Manual do Utilizador Página 1

Consulte online ou descarregue Manual do Utilizador para Servidores MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE. Managing Flash Media Server [en] Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 240
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes

Resumo do Conteúdo

Página 1 - Managing Flash Media Server

Managing Flash Media Server

Página 2

10 About This Manual

Página 3 - Contents

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

Página 4 - 4Contents

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

Página 5 - Contents 5

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

Página 6 - 6Contents

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

Página 7 - About This Manual

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

Página 8 - About the Flash Media Server

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

Página 9 - Additional resources

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 15 - To stop the server on Linux:

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

Página 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

Página 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

Página 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

Página 19 - Managing applications

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

Página 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

Página 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

Página 22 - 22 Managing the Server

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

Página 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

Página 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

Página 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

Página 26 - 26 Managing the Server

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

Página 27

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

Página 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

Página 29 - Managing servers

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

Página 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

Página 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

Página 32 - Viewing application details

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

Página 33 - Viewing license files

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

Página 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

Página 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.

Página 36

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

Página 37

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

Página 38

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

Página 39 - Application log file

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

Página 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

Página 41 - Category Description

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

Página 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

Página 43

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

Página 44

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

Página 45

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

Página 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

Página 47

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

Página 48

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

Página 49

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 56 - 56 Managing the Server

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

Página 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

Página 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

Página 59 - Command Description

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

Página 60

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

Página 61 - Deploying Flash Media

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

Página 62 - Deploying on two computers

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

Página 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..

Página 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

Página 65

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

Página 66 - About configuration levels

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

Página 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

Página 68

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

Página 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&

Página 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

Página 71 - About configuration levels 71

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

Página 72

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

Página 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

Página 74 - Using the admin commands

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

Página 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

Página 76

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

Página 77

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

Página 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

Página 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

Página 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

Página 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

Página 82 - Building the symbol map

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

Página 83

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

Página 84

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

Página 85 - Configuration Files

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

Página 86 - Server.xml file

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

Página 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

Página 88 - 88 Configuration Files

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

Página 89 - Summary of Server.xml tags

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

Página 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

Página 91

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

Página 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

Página 93

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

Página 94

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

Página 95 - XML configuration files 95

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

Página 96 - AllowZones

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

Página 97 - AutoDiscovery

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

Página 98 - BroadcastPort

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

Página 99 - Connector

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

Página 100 - Diagnostic

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

Página 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-

Página 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

Página 103 - FreeMemRatio

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

Página 104 - GlobalQueue

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

Página 105 - HostPort

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

Página 106 - LargeMemPool

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

Página 107 - LocalHost

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

Página 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

Página 109 - MaxConnectionThreads

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

Página 110 - MaxQueueSize

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

Página 111 - MinConnectionThreads

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

Página 112 - MsgPoolGC

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

Página 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

Página 114 - Protocol

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

Página 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

Página 116 - RTMP (Protocol)

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

Página 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

Página 118 - SmallMemPool

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

Página 119 - SocketTableSize

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

Página 120 - SSLCACertificatePath

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

Página 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

Página 122 - Examples

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

Página 123 - XML configuration files 123

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

Página 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

Página 125 - SSLRandomSeed

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

Página 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

Página 127 - ThreadPoolGC

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

Página 128 - UserData

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

Página 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

Página 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

Página 131 - Deny (HTTPCommands)

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

Página 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

Página 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

Página 134 - Password

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

Página 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

Página 136 - Summary of Logger.xml tags

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

Página 137 - Container tag

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

Página 138 - Delimiter

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

Página 139 - EscapeFields

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

Página 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

Página 141 - See also

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

Página 142

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

Página 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

Página 144

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

Página 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

Página 146 - QuoteFields

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

Página 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

Página 148 - Adaptor.xml file

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

Página 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

Página 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

Página 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

Página 152

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

Página 153

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

Página 154 - HTTPIdent

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

Página 155 - HttpUserInfo

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

Página 156 - IdlePostInterval

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

Página 157 - MaxWriteDelay

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

Página 158 - NeedClose

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

Página 159 - Redirect

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

Página 160 - SetCookie

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

Página 161 - SSLCACertificateKeyFile

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

Página 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

Página 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

Página 164 - Vhost.xml file

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 170 - Anonymous

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

Página 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

Página 172 - DNSSuffix

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

Página 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-

Página 174 - MaxAppInstances

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

Página 175 - MaxStreams

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

Página 176

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

Página 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

Página 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

Página 179 - RouteTable

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

Página 180

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

Página 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

Página 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

Página 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

Página 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):

Página 185 - Application.xml file

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

Página 186 - Overriding default settings

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

Página 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

Página 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.

Página 189

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

Página 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

Página 191

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

Página 192 - Contained tag

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

Página 193 - AllowHTTPTunnel

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

Página 194 - BandwidthCap

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

Página 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

Página 196 - CacheUpdateInterval

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

Página 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

Página 199 - EnhancedSeek

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

Página 200 - FolderAccess

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

Página 201

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

Página 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

Página 203 - JSEngine

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

Página 204 - LoadOnStartup

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

Página 205 - MaxAppIdleTime

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

Página 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

Página 207 - MaxTimeOut (JSEngine)

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

Página 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

Página 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

Página 210 - RuntimeSize

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

Página 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

Página 212 - ServerToClient (BandwidthCap)

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

Página 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

Página 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

Página 215 - Username

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

Página 216 - WriteBuffSize

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

Página 217 - Flash Media Server Security

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

Página 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’

Página 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

Página 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

Página 221 - JavaScript security

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

Página 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

Página 223 - Protecting objects

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

Página 224 - Permissions levels

84 Deploying Flash Media Server

Página 225 - Asynchronous system calls

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

Página 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

Página 227 - Configuring Access DLL

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

Página 228 - Access DLL APIs

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

Página 229 - Modifying Access DLL

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

Página 230 - Sample Adaptor.cpp file

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

Página 231 - Using SSL

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

Página 232

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

Página 233 - About privacy

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

Página 234 - Log file precautions

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

Página 235

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

Página 236 - 236 Index

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

Página 237 - Index 237

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

Página 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

Página 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

Página 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

Comentários a estes Manuais

Sem comentários