Filemaker Server8 & Network Configurations
Filemaker Server8 & Network Configurations
Filemaker Server8 & Network Configurations
FileMaker Server8
& Network
Configurations
©2006 FileMaker, Inc. All rights reserved. FileMaker is a registered trademark of FileMaker, Inc.,
in the U.S. and other countries. The file folder logo is a trademark of FileMaker, Inc. All other
trademarks are the property of their respective owners. The example companies, organization,
products, domain names, e-mail addresses, logos, people, places and events depicted are
purely fictitious, and any resemblance to existing persons and companies is purely coincidental.
Product specifications and availability subject to change without notice.
Special credit to Bob Bowers, Steve Lane, and Scott Love of Soliant Consulting (www.
soliantconsulting.com) for assisting FileMaker, Inc. with the development of this document.
The FileMaker Pro 8 client software can share databases with up to five other users in a peer-to-
peer configuration. In cases where you need to support a larger group—up to 250 simultaneous
connections—you’ll need FileMaker Server 8. FileMaker Server 8 is high performance server
software that allows you to share and manage your database solutions. Its primary function is
to share FileMaker databases with FileMaker clients, whether those clients are FileMaker Pro
8 or FileMaker Pro 8 Advanced, on a Macintosh or Windows operating system. In addition,
FileMaker Server 8 provides functionality that can fine-tune the performance of your solutions,
and allows for administration locally or remotely. Using FileMaker Server 8 and local or domain
authentication services, you can also leverage existing network security standards to customize
and protect your solutions.
Objectives
This module is an introduction to the functions and features of FileMaker Server 8 as well as
sharing your FileMaker Pro databases. By the end of this module, you’ll learn:
Also in contrast to peer-to-peer sharing, FileMaker Server 8 allows you to disconnect idle
users (users who have not had any interaction with their connected database for a predefined
period of time). The ability to automatically disconnect idle users at pre-designated intervals
allows FileMaker Server 8 to support workgroups of more than 250 users by freeing up unused
connections for new users. It also provides an added measure of security by disconnecting
users who may have left their workstation.
A third benefit of FileMaker Server 8 is its ability to improve the performance of shared
databases. It allows databases to run faster by using sophisticated caching to take advantage
of server architecture: high-performance hard disk storage systems; multi-CPU servers; and
large amounts of RAM.
Finally, FileMaker Server 8 has built in capabilities for creating backups. In a peer-to-peer
environment, you will need to manually make backups of your database files when they’re not
in use.
Remote Administration
FileMaker Server 8 can be administered locally or remotely using the FileMaker Server
Admin application, which is included on the FileMaker Server 8 CD. The FileMaker Server
Admin application can be installed on the FileMaker Server 8 machine itself, as well as on
additional machines. Using the FileMaker Server Admin application, FileMaker Server 8 can
be administered remotely without the use of the FileMaker Pro client or any plug-in, as was
necessary with earlier versions of FileMaker Server.
Scheduled Tasks
FileMaker Server 8 also allows you to perform “live” backups while the files are in use. A live
backup is one in which the backup process is performed while users are still working with the
files. With the use of FileMaker Server’s automated tasks, you can protect your database while
it is in use by scheduling backups to run at specific times. You can also set FileMaker Server 8 to
run a batch script at a scheduled time, or you can use FileMaker Server 8 to send a message at
a scheduled time to alert users about scheduled maintenance, backup reminders, or anything
else you may want to notify connected users about.
Consistency Checks
As FileMaker Server 8 opens files, it performs a consistency check on files that were not closed
properly or have not yet been opened using FileMaker Server 8. If a file is found to be corrupt,
FileMaker Server logs an entry into the Event Log and refuses to open the file. The consistency
If a file does not pass the consistency check, as a first step, Save a Compressed Copy of the
file and try again. If it still doesn’t pass, perform a recovery of the file. A recovered file should
always pass the consistency check and be considered safe to use.
Event Logging
FileMaker Server 8 creates and identifies its own unique set of event log entries. These event
log entries include events and activities such as users connecting to the server, what events
occurred while specific users were connected, when the server was started, and when the last
known server error occurred and how severe it was. The event logging in FileMaker Server 8 is
more extensive than earlier versions and includes more specific error messages.
Security Benefits
You can configure FileMaker Server 8 to authenticate users against your network’s built-in users
and groups. This reduces the overhead of managing user accounts and passwords by using
external authentication through centralized authentication management servers. With such a
scheme in place, users can log into FileMaker databases with the same account and password
they use to access their desktop in a networked environment, potentially automatically without
prompting.
In addition to the advanced security system included in FileMaker Pro 8, FileMaker Server 8
provides additional data protection. You may encrypt the network traffic between FileMaker
Server 8 and FileMaker Pro 8 desktop clients using SSL encryption. (This may impose some
performance penalty due to the overhead of encrypting the communication).
Solution Partitioning
FileMaker Server 8 can register with directory services such as Open Directory and Windows
Active Directory so that users and administrators can locate it using directory services. Users’
display of hosted database names can also be filtered based on the users’ privileges. If
your server hosts files for various departments, you can use this FileMaker Server 8 setting
in combination with FileMaker Pro 8 user accounts to allow users to see only the databases
specific to their group.
The best way to be sure your hardware works properly is to make sure you only use hardware
and components that are certified for your operating system. By using hardware that is certified
for your operating system you are using hardware that has been tested and approved to work
as expected.
Get a name brand machine intended to be a server. Often, it is important to use a system
that server administrators are comfortable with. This is to your advantage when it comes to
configuring the hardware and the operating system. Since FileMaker Server 8 works on both
Windows and Mac OS X, this should not be a difficult task.
The fundamental job for FileMaker Server 8 is to move data between the hard drive, memory,
and the network for consumption by the clients. As with any database server, fast hard drive
I/O and network is critical to overall performance. Processor speed and memory are also
important.
• RAM: 512 MB (1GB or more • Windows 2000 Server (with Service Pack 4)
recommended) • Processor: Pentium 4 or Xeon
• Hard Disk: 1 GB of available • RAM: 512 MB (1GB or more recommended)
disk space • Hard Disk: 1 GB of available
disk space
On current operating systems, 256M RAM is the minimum, but for systems with more than 50
users, 1GB RAM or more is recommended. FileMaker Server improves performance of your
application by caching data in memory, which can be read and written much faster than disk.
The maximum amount of memory that can be addressed by FileMaker Server is 2GB, and the
maximum size of the cache is 800MB. Large files and larger numbers of users require more
RAM. You want to make sure that your server has enough memory for FileMaker Server and still
has plenty left for other operating system functions.
Your server’s disk drives are another important component to consider when optimizing
performance. Drive speed and quality are more important than drive size. You’ll need a large
enough drive to contain your data and some number of backups, but a larger hard drive won’t
have an impact on performance. Rather, you’ll want to get the fastest hard drive/controller
combination possible. For a high-performance hard drive you can look at a SCSI UltraWide
hard drive or, even better, a hardware-based SCSI RAID system. The SCSI architecture is more
scalable than ATA and IDE systems. ATA and IDE only allow for two drives to be connected to
a channel, and there are commonly only two channels available, making a total of four drives,
once of which is generally a CD-ROM drive. In contrast, the asynchronous I/O of SCSI devices
has intelligence to allow multiple devices to be “working” simultaneously, returning data to the
controller in the most efficient manner.
If many large files are being used, a cache controller can be added to further speed the
connection. This piece of hardware will act as a cache to the disks, working much more quickly
than physically accessing the disks.
Configure the hard drive subsystem to work as efficiently as possible. For example, if you have
two hard drives and two controllers, install each drive on separate controllers rather than both
on one. If you have a RAID array and a hardware RAID controller, build one container and
partition it rather than having two containers, so that the controller only has to deal with one
set of parity data.
Deciding which processor you need depends upon the operating system used and its
requirements. Remember to treat this as a server machine and keep in mind that ODBC/JDBC
connections, server-side plug-ins, and encryption will place additional demands on the server.
On the Windows platform, an Intel Pentium processor is preferred over the less expensive
Celeron processor. Again, check the documentation for the chosen operating system for
recommendations.
FileMaker Server 8 is a multi-threaded application. This means that the system can perform many
functions at once, and can distribute its “threads” across multiple processors. Since FileMaker
Server 8 performs more of the search and calculation routines than its predecessors, you will
want a system with enough processing power to keep your databases performing well. Buying
a machine with more than one processor could be an effective way to increase the speed and
responsiveness of your solution.
While FileMaker Server 8 is multi-threaded, it will not work across multiple “clustered” CPUs.
FileMaker Server 8 cannot share a single file across multiple machines. You can, however,
distribute multiple files from the same solution across multiple machines.
Start first with a reliable, name-brand network card that is certified to work with your operating
system in a server environment. Not all cards are created equal. Many of the less expensive
cards force the computer’s CPU to perform a majority of its instructions rather than having an
on-board processor. Invest in a network card that is designed to work on servers.
A network card is just one component in your overall network design. You don’t need a top
of the line card for a low-end network. If the network uses standard CAT5 cabling and uses
bottom of the line hubs, then it is a waste of hardware to get a network card designed for
a Gigabit network. Many network hubs and switches also have an “Auto Sensing” option to
change between slower 10baseT and 100baseT connections. Auto sensing network cards
have been reported to cause problems with certain brands of switches. Be aware of this and
configure the network card and the switch appropriately after testing in your environment.
You may also want to invest in high performance switches instead of generic network hubs.
High performance switches monitor and direct network traffic to minimize collisions. With fewer
collisions, FileMaker Server 8 and its connected clients will need to transmit fewer network
packets, which will increase overall network throughput.
Another consideration is to have multiple networks set up on the server. FileMaker Server 8
will make use of all network cards installed in the computer. This may be valuable in a multi-
subnetted network because each subnet could connect directly to the FileMaker Server without
needing to cross a router. It is possible also to block FileMaker traffic on an interface at the
operating system level in order to devote that interface to such things as file sharing for backup
of offline files, etc.
Clearly, features of FileMaker Pro 8 will not be available to users who access FileMaker Pro 8
files using the FileMaker Pro 7 client. Being used in this way will not damage files, but the results
may look strange. Objects placed on the panels of a FileMaker Pro 8 Tab Control, for instance,
will all appear on top of one another when the file is opened in FileMaker Pro 7. There are also
security concerns to be aware of. If you are using Custom Menus to restrict access to certain
functionality, a user opening the file with FileMaker Pro 7 will not experience these restrictions.
They’ll have their standard menu set instead.
So just bear in mind that FileMaker Server 8 can work with both FileMaker Pro 7 and FileMaker
Pro 8 clients, as long as you pay appropriate attention to feature differences between the two
versions.
Another configuration that has limitations is using FileMaker Pro 8 clients with FileMaker
Server 7. Most features of FileMaker Pro 8 will function as expected for FileMaker Pro 8 clients
in this configuration. Finds using the new date and time range search syntax and many of
the new calculation functions need to be evaluated on the server in certain situations, and
therefore may not always return the expected result. The calculation functions, for instance,
work properly in situations where they are evaluated by the client, such as during scripts and
unstored calculations, but not when they need to be evaluated at the server, such as during
schema modifications involving stored calculations and finds on unstored fields.
One final compatibility issue pertains to server administration. The FileMaker Server 8 Admin
application can only be used to administer FileMaker Server 8. Similarly, you need the FileMaker
Server 7 Admin application to administer FileMaker Server 7.
In a default installation, the installer creates a FileMaker Server 8 folder in the applications
directory on your system hard drive. This is the Applications folder on the Macintosh (with a
symbolic link to the bulk of the installation, which resides in the Library folder), and the Program
Files FileMaker folder on Windows. Within this folder is the Server application (on Windows)
and the FileMaker Server Admin application. Also within this folder, on Windows you will find
an Extension folder to store Plug-ins and on both platforms, you will find the Data directory.
The Data directory is where your FileMaker databases, backups, logs, and scripts are stored by
default.
One copy of the FileMaker Server Admin application can administer many instances of
FileMaker Server 8. For example, an administrator can install the admin application on her
laptop and administer multiple remote servers. The admin application has slightly different
functionality on Windows and Mac OS X platforms. On Windows, the FileMaker Server Admin
application can only have a connection to one FileMaker Server open at one time. On Mac OS
X, the FileMaker Server Admin application can have connections to multiple FileMaker Servers
open simultaneously, but only if the Allow Multiple Open Servers option is checked in the
Preferences dialog.
If you are planning to do remote administration, you’ll need to open up port 5006 in your firewall.
This is the port through which the Server Admin tool talks to FileMaker Server. (FileMaker Pro
clients communicate with the server over port 5003.)
Configuration options
There are a number of configuration options that can be specified for FileMaker Server. When
you launch the Server Admin application and establish a connection to a FileMaker Server, you
will be presented with various configuration options. The configuration menu for Windows and
Mac are shown in Figure 2.
The configuration options available are the same regardless of what platform you run the
Server Admin application on, but the interface and location of options are slightly different.
Also, on Windows, most options can be configured either via the 6 “wizards” shown in Figure
2, or via the FileMaker Server Properties dialog. You can get to the properties dialog by right
clicking on the server in the left hand panel and selecting properties. There are a few options
on Windows that are only configurable via this dialog; it’s also faster and easier to find the
options you need than it is to click through the wizards. The discussion of configurations below
follows the organization of the properties dialog.
Another configuration option in the Client Connections area is the idle disconnect time. This
feature gives you the ability to disconnect idle users – those who have not had any interaction
with a database for a predefined period of time. With this setting enabled, FileMaker Server
8 automatically disconnects these users after the designated interval, thus freeing up unused
connections for new users. If some users need the ability to keep a file open indefinitely, you
can configure their Privilege Set in that file to prevent automatic disconnection. You do this by
unchecking the “Disconnect users from FileMaker Server when idle” option.
The final option, allow FileMaker Pro clients to download updates automatically, must be
enabled if you intend to use FileMaker Server to distribute plug-ins to client machines.
Figure 3
• Database Files. FileMaker Server 8 can host a maximum of 125 files, but if you have
fewer than this, you should specify a smaller number to free up resources.
• Database Cache. FileMaker Server uses a RAM-based database cache to speed up
the rate at which it can send and receive data to the network. Increasing the cache
size will allow more of your database information to be served from RAM, improving
performance and reducing the amount of disk activity. The Server Admin application
will provide an initial guess as to what the best cache size is for your setup, based on the
RAM it finds available. The maximum cache size allowed in FileMaker Server 8 is 800MB.
In order to establish the optimal cache setting for your configuration, you’ll need to keep an eye
on the “cache hit percentage”, reported on the Statistics screen of the Server Admin application.
This indicates the number of requests that have been able to be fulfilled by data from the RAM
cache. In general, you’d like this number to be above 90%. If it falls much below that, consider
raising the amount of RAM dedicated to the cache.
• Flushing the Database Cache. FileMaker Server 8 has a cache-flushing algorithm that
attempts to flush the entire database cache in the time specified on this screen. For
instance, if the cache interval is set to the default of one minute, 1/60th of the cache
will be scanned and flushed every second. Any changed information will be written to
disk and then another 1/60th of the cache will be scanned. A longer interval means
better server performance, but greater risk of data loss if the server crashes with a
large unsaved cache. A shorter interval means lower risk, but increased hard drive
and processor user and therefore potentially decreased database performance. It is
recommended that you leave this setting as the default one minute.
• Consistency checking. As FileMaker Server 8 opens files that were not closed properly
or have not been opened yet with FileMaker Server 8, it performs a consistency check on
each file and logs an error in the event log if the file doesn’t pass the check. FileMaker
Server 7 did not perform this check. For this reason, you may encounter more corruption
than anticipated when first opening previously used files. It is recommended that you let
the Server perform consistency checks, as it’s better to know about file consistency errors
as quickly as possible.
Figure 4
Runtime Solutions
Enabling this option allows solutions bound with the Database Utilities tool of FileMaker Pro
8 Advanced to be shared in the same manner as standard FileMaker Pro databases. You
also specify here the extensions associated with your solution, so that FileMaker Server 8 can
identify which files to share. This is the only option for sharing bound database solutions over
a network. Unless used in conjunction with FileMaker Server, bound solutions are single-user
only. The process for creating runtime solutions is discussed in the FileMaker Pro 8 Advanced
module.
Default Folders
When FileMaker Server is started, it will open all database files stored in the default database
folder and those stored one level deep in folders in that directory. You can change the default
directory and/or specify an additional database folder. Similarly, there’s a default directory for
backups, which can be modified on this screen.
Administration
The Administration tab allows you to configure settings for administering FileMaker Server.
• FileMaker Server Host Name. When a FileMaker Pro client views the list of available
FileMaker Servers in the Open Remote File dialog, they will see the name that it has
been given. You can choose via this dialog to specify whether to use the system name
for the server machine or to your own custom name, which may be more intelligible and
meaningful to your users.
• Administrator Authentication. This screen allows you to specify how administrators of
the server will be authenticated. You have the option to require no password, to specify
a password, or to require that administrators are members of an “fmsadmin” group on
the machine where FileMaker Server is running.
• Remote Administration. By checking “Allow remote users to administer FileMaker
Server”, you enable connections from remote installations of the FileMaker Server Admin
application. You can always do local administration, but remote administration isn’t
available until this option has been enabled.
Logging
Usage statistics and logging provide a means for monitoring server performance and usage.
The time specified in the dialog is the frequency at which FileMaker Server takes a snapshot
of memory, processor, and network usage. The default value of 15 seconds is probably fine
in most cases. You can view the usage statistics in real time by clicking on the Statistics tool in
the Server Admin application. You can also choose to have the usage statistics written out to
a file called Stats.log to be reviewed later. By setting a maximum log size, you limit the length
of time you can review these statistics. In FileMaker Server 8 on Mac OS X, the log is now tab-
delimited and includes two new fields: Event ID and level of security. The Mac OS X log file can
be opened and viewed while events continue to be captured in the log.
Directory Service
FileMaker Server can be registered with an LDAP-compliant Directory Service. This is typically
only going to be of interest to organizations that have many FileMaker Servers to manage. One
benefit of using a Directory Service is that users don’t need to know the address or location of
the server. When they use the Open Remote dialog to open files, they’ll authenticate to the
directory service, which will respond with a list of servers that the user has access to. If the
address or location of the server changes, the system administrator can repoint the directory
service to the new address; it’s transparent to the end user. Using a directory service also
provides additional security, in that a user won’t even be able to see the server or lists of hosted
files without authenticating to the directory service.
The Directory Service settings have nothing whatsoever to do with using an external server to
authenticate user accounts.
Security
There are three configuration options available on the Security tab.
Figure 10
Using the Server Admin application, make the following configuration changes to FileMaker
Server.
1. Configure FileMaker Server to record usage statistics every 5 seconds and to write the
statistics out to a log. Examine the log to see how these statistics are reported.
2. Set the maximum number of databases to host to 25.
Scheduling Backups
You can configure FileMaker Server to perform three types of scheduled tasks: running batch
scripts, creating backups, and sending messages to users. By far, the most frequent task you’ll
need the server to perform is scheduled backups. It’s important that you follow the proper
procedures, outlined below, for backing up your hosted database files. Failure to do so may
result in backups that are corrupted and unusable.
Backups are important because they help prevent loss of time, data, and productivity. By
having accessible backups you can recover from a situation where someone changes and then
accidentally or willfully removes scripts, layouts, or data in a database file. It cannot be stressed
enough how important it is to completely establish your backup routines.
Databases that are hosted by FileMaker Server are always in an “open” state. If you simply
make a copy of the database files or use a backup system to create copies of open files, the
resulting copies won’t necessarily be complete or stable. There are tasks that take place when
a file is closed, including flushing the cache to disk.
When FileMaker Server backs up your files, it performs what’s known as a live backup. The
process begins with the creation of a copy of the live file to the directory specified by the task.
Then, FileMaker Server pauses user activity, flushes the cache, and a synchronization process
writes any additional information to the backup files that is necessary to make them stable,
complete copies of the live files. Finally, FileMaker Server resumes communication with clients
again. During the entire process, users never lose connection with FileMaker Server. At most,
they will be paused from their work for the time it takes to do the synchronization process,
which is typically a short time. One indicator of the paused state in FileMaker Pro is a coffee
cup icon.
It is recommended that when selecting a location to back up your files, you always choose a
local drive. This allows FileMaker Server to perform its scheduled backups faster and results in
less down time for users. Additionally, if backing up to a shared drive, if that drive isn’t available
when the backup is run, the backup will fail rather than be written to a secondary location.
While you will want to create a set of backup routines to meet your own needs, a common
backup strategy is to make local backups several times during the day to different directories.
For example, you might decide that 2 hours of data is the maximum tolerable loss for your
organization. In that case, you would create folders in the backup directory to house a 10am,
12pm, 2pm, 4pm, and 6pm backup. Then you’d create five separate schedules that backed up
your files at the appropriate time to the appropriate directory. Since this strategy would result
in backups getting overwritten on a daily basis, it would also be a good idea either to have daily
backups created in the middle of the night to separate directories (i.e., one each for Monday,
Tuesday, Wednesday, Thursday, Friday) or to have a tape backup process create an archive of
the backups.
Tailor your backup schedules to meet the needs of your organization, but keep in mind a few
things:
• It is easier and faster to restore from local backups than having to restore from tape
backups.
• Your backup strategy should involve having off-site backups created on regular basis, to
protect against catastrophic failure.
• It’s beneficial to have many backups of varying ages to choose from. Sometimes data
loss or corruption isn’t noticed right away, so your recent backups may have the same
problems as the production files. In such cases, you may need to go back days or weeks
to diagnose and/or fix problems.
Using the Server Admin application, create a schedule called “Daily Backup” that backs up all
databases to a directory named “Daily Backup”. You’ll need first to create this directory in the
FileMaker Server 8\Data\Backups directory. Set the schedule to perform the backup every
night at 8:00 pm.
After creating the new backup schedule, view the list of scheduled tasks and confirm that you
see the new task. Run the task by selecting it from the list and choosing Action>Run Now. (If on
Mac OS X, select Action>Schedule>Run Schedule Now.)
After connecting to the server, you can see a list of database files hosted by FileMaker server
by clicking on the databases link, as shown in Figure 11.
Databases will have a status of Normal, which means they’re open and available for use, or
Closed. When you put new files into the database directory, you should initially see them here
as having a status of Closed. You can open a file by selecting it and choosing Action>Open, or
by right clicking and using the contextual pop-up menu.
If you ever need to close a database, you can use the Server Admin application for this as well.
You can leave the FileMaker service itself running and close just those files you need to. Be
sure that if you ever want to manually create a backup or take a copy of a file that you close it
first. Similarly, to replace a file with an updated version, close the file using the Server Admin
application, remove the old file and put the new one into the databases directory, then open
the file using the admin tool again.
Monitoring Clients
Clicking on the Clients link shown in Figure 11 brings up a list of all connected users, including
those connected via the Server Admin application itself. You can see how long clients have
been idle, send messages to selected users, and forcefully disconnect users via this screen.
Statistics
The Statistics screen shows you real time information about how the server is performing. You
can see the number of hosted files, the number of clients, the network and disk traffic, and,
importantly, the cache hit percentage. As mentioned earlier, you want the cache hit percentage
to be high, ideally something in the 90-95% range during normal usage. Anything less than
this is a possible indication that you need to increase the amount of RAM allocated as database
cache. The statistics refresh at the rate specified on the Logging configuration screen; the
default is every 15 seconds.
Disk usage was described in the hardware section of this module. An important factor for the
performance of FileMaker will be a fast and clean I/O to the disk files. The faster FileMaker
can write cached data to the hard drive, or write files as part of a scheduled task, the better
your performance will be. For performance reasons, it’s also important to keep the FileMaker
database files local on the Server and not elsewhere on the network.
Reading data and writing updates to a local disk is a cornerstone of your basic FileMaker Server
performance. As seen in the section on FileMaker Server 8 hardware requirements, its use of
network bandwidth is its second greatest use of resources. Your solution architecture can affect
this. Be sure that the server’s network resources are devoted to sharing only FileMaker. Start
by turning off any file sharing and other unused services. What FileMaker Server does is not
file sharing: it is data sharing. Any type of file sharing will reduce performance of the FileMaker
Server.
Except for development purposes, it’s unwise to allow files to be shared though means other
than FileMaker. If there were a way for a user to directly access the FileMaker (.fp7) files via
a shared file directory, then that user could make separate copies of the files for use offline,
Avoiding Trouble
You should always try to reduce a computer’s extraneous workload, especially a server’s.
Even if you optimize a system for proper caching, network traffic, etc, if a server runs a
processor-intensive screen-saver or virus scanner, you will ultimately hurt your server
performance. Checking for viruses is important, but don’t steal valuable processor cycles
with constant virus scans. Schedule regular scans during off-peak hours. Also avoid using
energy saving software. Since this is a server, requests by users can be made at almost any
time. You never want the hard drive to go to sleep. At most, let the screen power down.
Another important factor is operating system service packs. Often software will have patches
and updates. Many of these can affect performance, security, and basic functionality. Be sure to
watch basic system alerts for security issues and updates. Also, be aware of all security updates
pertinent to your setup.
1. Send Message to All at least a few minutes before you start the Close process, telling
them what time you will close the files and suggesting that they not start any long
reports/scripts.
2. Using the Server Admin application, Close All Databases, but give 5 to 10 minutes
before guests will be disconnected (instead of the default 2 minutes).
3. Halfway through the 5 or 10 minutes you selected for the Close, do another Send
Message to those still connected.
4. After the 5 or 10 minutes runs out, verify in the Server Admin application that the files
are all closed.
5. Use the Stop FileMaker Server command from the Server Admin application to stop the
Server (not the Service Control Manager on Windows).
To modify the path on Windows 2000/2003 Server, you need to follow these steps:
1. Open Control Panels and click System.
2. In the System Properties dialog, click the Advanced tab.
3. Click Environment variables to bring up the Environment Variables dialog.
4. Select Path in the list of System Variables, and click Edit.
5. In the Variable Value box, add a semicolon to the end of the path statement, then type
in the path to the FileMaker Server 8 folder: C:\Program Files\FileMaker\FileMaker
Server 8
6. Click OK to exit all the dialogs, then reboot the computer for the change
to take effect.
Following is a list of commands that you can use to administer FileMaker Server from the
command line. Although the commands are shown in uppercase for emphasis, the command
line is not case-sensitive.
Certain commands will respond with a prompt that asks if you’re sure you want to execute that
command. A y or n response will indicate if you want to proceed. For those commands, a –y/--
yes parameter can be added to the command to suppress the prompt.
Other options are available when using the command line. Options exist in a short form and a
long form. When using the short form, a single hyphen should be used. Multiple options may
be specified with one short form hyphen (i.e., -yfm). When using the long form, two hyphens
are required for each option, and a space must be inserted between each option (--yes –force
–message).
BACKUP
Syntax:
fmsadmin BACKUP [File] [Path] [Options]
Description:
BACKUP is used to back up either specific files or all of the files in the paths specified in the
command. It can be used in two ways. The default behavior is invoked when the BACKUP
command is used by itself. In this scenario, it performs a live backup of the file(s), which causes
the least interference with client sessions. The other way to use the BACKUP command is in
conjunction with the PAUSE and RESUME commands. The sequence of PAUSE, BACKUP, then
RESUME will execute an offline backup, which is the type of backup performed by earlier
versions of FileMaker Server.
Options:
-d path, --dest path Specify the destination path for the backup file.:
-o, --offline Perform an offline backup
Examples:
fmsadmin BACKUP Sales.fp7 Backs up Sales.fp7 file
fmsadmin BACKUP –o Performs offline backup of all hosted files
fmsadmin BACKUP /SalesMgt/ -d D:\Backups Backs up contents of SalesMgt folder to
the D:\Backups folder
CLOSE
Syntax:
fmsadmin CLOSE [File] [Path] [Options]
Remember to leave a space between any option and its specified parameter. If no space is
present, the default command will take over. For example, the command “fmsadmin CLOSE
–y Inventory.fp7” will close only the Inventory database. The command “fmsadmin CLOSE –
yInventory.fp7” will close all hosted databases.
Options:
-f, --force Forces database to close
-m message, --message message Sends message to clients
-t seconds, --grace-time seconds Specifies the number of seconds before databases
force clients to disconnect. The default is 120 seconds.
Examples:
fmsadmin CLOSE Closes all hosted databases, with a y/n prompt
fmsadmin CLOSE –y Closes all hosted databases, suppresses prompt
fmsadmin CLOSE –y Sales.fp7 Closes Sales.fp7 database, suppresses prompt
fmsadmin CLOSE –y “Sales Management.fp7” Closes Sales Management database, suppresses
prompt)
fmsadmin CLOSE –y –t 10 “Sales Closes Sales Management database, suppresses
Management.fp7” y/n prompt, gives users 10-second grace period
fmsadmin CLOSE –y –m “Closing for Closes Sales Management database, sends
maintenance” “Sales Management.fp7” message “Closing for maintenance” to clients
DELETE
Syntax:
fmsadmin DELETE schedule [Schedule Number] [Options]
Description:
This command deletes a specific schedule by referencing its schedule number. You can learn the
schedule numbers by using the LIST SCHEDULES command. There are no optional parameters
specific to this command.
Examples:
fmsadmin DELETE schedule 100 Deletes schedule 100, with a y/n prompt
fmsadmin DELETE schedule 100 –y Deletes schedule 100, suppresses prompt
Description:
This command can be used to disable plug-ins and/or schedules.
The LIST PLUGINS or LIST SCHEDULES commands can be used to find the number of a plug-in
or schedule.
Types:
PLUGIN
SCHEDULE
Examples:
fmsadmin DISABLE PLUGIN 98 Disables plugin 98
fmsadmin DISABLE SCHEDULE 5 Disables schedule 5
DISCONNECT
Syntax:
fmsadmin DISCONNECT client [Client Number] [Options]
Description:
Used to disconnect a specific client. The client will get a disconnection message as a result of
this command.
The LIST CLIENTS command can be used to find the number of a specific client.
Option:
-m message, --message message
Examples:
fmsadmin DISCONNECT client 35 –y –m “Sorry, it’s time to go.”
Disconnects client 35, sends message “Sorry, it’s time to go” to user 35
fmsadmin DISCONNECT client 27
ENABLE
Syntax:
fmsadmin ENABLE [Type] [Plug-in Number] [Schedule Number]
The LIST PLUGINS or LIST SCHEDULES commands can be used to find the number of a plug-in
or schedule.
Examples:
fmsadmin ENABLE PLUGIN 8
fmsadmin ENABLE SCHEDULE 14
HELP
Syntax:
fmsadmin [options] HELP [COMMAND]
Description:
This command is used to display help information on fmsadmin commands. Note: fmsadmin
by itself will also display help information for the fmsadmin command.
Examples:
fmsadmin HELP Displays help information for the fmsadmin command
fmsadmin HELP DISCONNECT Displays help information on the DISCONNECT
command
fmsadmin HELP commands Lists available commands
fmsadmin HELP options Lists available options
LIST
Syntax:
fmsadmin LIST [Type] [Options]
Description:
This command can be used to list all objects and their corresponding numbers. Can be used
to discover numbers for schedules, plug-ins, files, and clients.
Types:
SCHEDULES
PLUGINS
FILES
CLIENTS
Examples:
fmsadmin LIST SCHEDULES Lists all schedules
fmsadmin LIST PLUGINS Lists all plugins
fmsadmin LIST FILES –s Lists files and statistics about files
fmsadmin LIST CLIENTS –s Lists clients and relevant information
OPEN
Syntax:
fmsadmin OPEN [File] [Path]
Description:
This command is used to open database files in the default and additional folders. Can also be
used to open specific files or all files in a specific path.
Examples:
fmsadmin OPEN “Sales Management.fp7” Opens file Sales Management.fp7
fmsadmin OPEN Opens all files in the default folder
fmsadmin OPEN 3 Opens file ID 3
PAUSE
Syntax: fmsadmin PAUSE [File] [Path]
Description:
This command pauses database files, meaning that clients can no longer actively work with
them. The RESUME command is used to make them available again.
Examples:
fmsadmin PAUSE Pauses all databases
fmsadmin PAUSE 6 Pauses file ID 6
fmsadmin PAUSE Sales.fp7 Pauses the Sales.fp7 file
fmsadmin PAUSE “Sales Management.fp7” Pauses the Sales Management.fp7 file
fmsadmin PAUSE /SalesMgt/ Pauses all databases in SalesMgt folder
Description:
This command reloads configuration properties from the last saved configuration. If any
configuration changes have been made but not saved, they will be overwritten.
RESUME
Syntax:
fmsadmin RESUME [File] [Path]
Description:
This command resumes databases that have been paused.
Examples:
fmsadmin RESUME “Sales.fp7”
RUN
Syntax: fmsadmin RUN schedule [Schedule Number]
Description:
Runs a schedule specified by number. Use LIST SCHEDULES to find schedule numbers.
Examples:
fmsadmin RUN Schedule 3
SEND
Syntax:
fmsadmin SEND [Options] [File] [Path]
Description:
Used to send a text message to all clients connected to files in a specific path, all clients
connected to a specific file, or a specific client.
Options:
-m message, --message message Sends message to clients
-c, --client Specifies specific client
STATUS
Syntax:
fmsadmin STATUS [Type] [Client Number] [File]
Description:
The STATUS command is used to determine the status of a client or file.
Types:
CLIENT
FILE
Examples:
fmsadmin STATUS CLIENT 47
fmsadmin STATUS FILE Sales.fp7
fmsadmin STATUS FILE “Sales Management.fp7”
STOP
Syntax:
fmsadmin STOP [Options]
Description:
Stops FileMaker Server and grants all connected users 30 seconds to disconnect. This default
grace period can be modified using the –t option.
Options:
-f, --force Forces database to stop
-m message, --message message Sends message to clients
-t seconds, --grace-time seconds Specifies the number of seconds before databases
force clients to disconnect.
Examples:
fmsadmin STOP
fmsadmin STOP –f
fmsadmin STOP –t 180 –m “Shutting down in 3 minutes.”
2. What is the maximum number of FileMaker Pro 8 client connections that can access
databases on a FileMaker Server 8?
4. What is the maximum number of connections FileMaker Server 8 Advanced can open
for ODBC/JDBC and web?
5. What are the differences in hosting capabilities between FileMaker Server 8 and
FileMaker Pro 8?
6. What are the critical hardware components to consider for optimizing your FileMaker
Server 8 computer’s performance?
8. How can you secure network communication between FileMaker Server 8 and
FileMaker Pro 8?
5. There are many advantages FileMaker Server has over FileMaker Pro when it comes to
hosting a file for multiple users, including the following:
• FileMaker Pro 8 can only host up to 5 clients at one time, while FileMaker Server 8 can
host 250.
• FileMaker Server 8 can encrypt network traffic between itself and FileMaker Pro 8
clients.
• FileMaker Server 8 can disconnect idle FileMaker Pro 8 client connections.
• FileMaker Server 8 can backup live databases at scheduled times.
6. The hard drive subsystem, the number and speed of processors, memory, and the
networking card(s).
7. You should disable any services, such as file sharing, that will compete with FileMaker
Server for network and hard drive utilization.
8. FileMaker Server 8 can be configured to encrypt the network traffic between FileMaker
Server 8 and FileMaker Pro 8.
9. Port 5006 for the Server Admin application, and port 5003 for FileMaker Pro client
connections