
107
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
Administering the server
Last updated 11/28/2012
Start, stop, or restart the Administration Server using fmsmgr
1
Log in as a root user.
2
Change to the directory where the server is installed.
3
Open a shell window and type one of the following:
•
./fmsmgr adminserver start
•
./fmsmgr adminserver stop
•
./fmsmgr adminserver restart
Start, stop, or restart Flash Media Server using the command line
1
* cd /<the directory where Flash Media Server is installed>.
2
Enter
./server [start | stop | restart]
Start, stop, or restart the Administration Server using the command line
1
* cd /<the directory where Flash Media Server is installed>.
2
Enter
./adminserver [start | stop | restart]
For more information about using fmsmgr, see “
Managing the server on Linux
” on page 114.
Checking server status
View server events in the Windows Event Viewer
The Windows Event Viewer can be used for tracking Flash Media Server activity and debugging server applications.
The Event Viewer displays a list of events that the server generates. (The following steps are accurate if you are working
directly on the server. To view the events from another Windows machine, use Event Viewer to open a remote
connection to the server.)
1
From the Windows Start menu, select Settings
> Control Panel > Administrative Tools > Event Viewer.
2
Select the Application panel.
3
Double-click an event generated by Flash Media Server to view details.
Check server health
FMSCheck is a command line utility program that can be used to diagnose and determine server status. The tool is
available for both Windows and Linux using different executable files. As a command line tool, FMSCheck is
completely scriptable using the language of your choice, such as Cscript, bash, C shell, or Python. FMSCheck provides
information about whether the server is running or not, what the response time is, and which fmscore processes are
not responding. A small video file for testing is included. The Users.xml file must be configured to accept a connection
from this tool (this configuration is required to use
--allapps
and its dependent commands).
When the tool connects to Flash Media Server, it does the following:
•
Checks the connection to any instance of an application
•
Checks all active instances of the server by connecting to those applications