About FileMaker Server

 <  Day Day Up  >  

You'll use FileMaker Server to make your FileMaker Pro databases available to many users at once across a network. On its own, the FileMaker Pro software can host files for networked access from up to five users at a time, in what's called a peer-to-peer configuration. In practice, except for developmental configurations, or production deployments to very small groups, peer-to-peer sharing is unlikely to be a suitable choice for making files available to multiple networked users. Unless you're in that rather small minority of situations, you'll want to look at FileMaker Server instead.

The FileMaker Server Product Line

Three separate products are available under the name FileMaker Server:

  • FileMaker Server ” FileMaker Server is used to provide concurrent access to as many as 250 networked users running FileMaker Pro client software.

  • FileMaker Server Advanced ” You'll need FileMaker Server Advanced if you wish to make FileMaker data available via ODBC, JDBC, Instant Web Publishing, or Custom Web Publishing. FileMaker Server Advanced supports networked access from up to 250 FileMaker Pro or ODBC/JDBC clients, as well as an additional 100 Web clients. (Under certain circumstances, there may be no limit on the number of Custom Web Publishing clients. The number of Instant Web Publishing clients will always be limited to 100.)

    For a discussion on ODBC and JDBC, see Chapter 20, "Getting Data Out of FileMaker," p. 563 .


    To find out about Instant Web Publishing, see Chapter 21, "Instant Web Publishing," p. 605 .


    Custom Web Publishing is discussed in Chapter 23, "Custom Web Publishing," p. 671 .


  • FileMaker Server Advanced Option Pack ” This upgrade adds FileMaker Server Advanced capabilities (ODBC/JDBC and Web connectivity) to an existing installation of FileMaker Server.

The essential distinction here is between Server and Server Advanced. Server allows connections from only FileMaker Pro clients. To allow access from ODBC, JDBC, or Web clients, you need to purchase Server Advanced, or use the Option Pack to upgrade an existing copy of Server.

Installing and working with the components of FileMaker Server Advanced is covered extensively in other chapters. This chapter focuses on the administration and configuration tools and techniques that pertain to the core Server product.

FileMaker Server Versus Peer-to-Peer Database Hosting

There are some major differences between FileMaker Server and peer-to-peer database hosting. We've alluded to the differences between these methods in the preceding chapter. The limitations of the peer-to-peer sharing method are fairly severe: With peer-to-peer sharing, no more than ten database files may be served , to no more than five clients at a time. The peer-to-peer method uses a regular copy of FileMaker Pro as the database host, so a deployment of this type also forgoes important features of FileMaker Server, especially the ability to make regular, scheduled backups of the databases. Though such schedules could be created with operating-system-level scripting technologies, it's much simpler to use FileMaker Server's built-in tools.

Additionally, peer-to-peer configurations tend to be run on less capable hardware than Server-based configurations. In some cases, we've even seen peer-to-peer configurations hosted on an individual's personal workstation, in constant daily use for many tasks . Neither lower-end hardware nor constant competition for machine resources is a good foundation for a stable multi- user deployment.

If you do choose to begin with a peer-to-peer configuration for multi-user database sharing, we recommend that you still treat this situation as a "server-type" deployment as far as possible. Give the database host its own dedicated machine on which to run ”one that people won't casually use for other daily tasks; make sure you have a reliable solution for regular backups; make sure the machine at least meets the minimum specifications for the FileMaker Pro client software, and add a bit more RAM if you possibly can.

Backing Up Open Files

If you're backing up hosted FileMaker files by hand, please be aware that you should never make a copy of a FileMaker file while it is open ”even if it's not hosted, and is in use by only a single user. FileMaker can guarantee that a database file is in a fully consistent state on disk only if the file has been closed. Otherwise, there might be database transactions that exist only in RAM, that have not yet been committed to disk.

In previous versions of FileMaker, a database that had been copied from an open file would display a warning the next time it was opened, stating that the file had been closed improperly and was being checked for consistency. This warning no longer necessarily appears in FileMaker 7 when you open a file that has been copied from an open file. Don't let this fact lure you into thinking that it's now okay to copy an open file. It's not.

As you'll read in a later section, FileMaker Server's built-in backup capability handles the details of closing the files before backing them up. If you're working in a peer-to-peer setting, you don't have that luxury. You'll need to make sure that any automated solution you put into place takes into account the need to close each database file before backing it up.


The extremely limited scalability and lack of backup automation capabilities ought to discourage you from using FileMaker's peer-to-peer sharing for production use. For the cost of a handful of copies of the FileMaker Pro client, you can host your databases on a solid server platform (FileMaker Server) that can handle 125 database files ( potentially comprising thousands of tables) and up to 250 users.

FileMaker Server Capabilities

We've talked about some of the features that set the FileMaker Server product line apart as a hosting solution: much greater scalability than the plain FileMaker Pro software, and the capability to perform automated tasks such as backups. There are quite a number of other distinguishing features as well. Here are some of the most important:

  • Centralized Remote Administration ” FileMaker Server comes with the Server Administration Tool (SAT), which is an application that can be used to administer one or several instances of FileMaker Server, potentially all running on different machines from the machine where the SAT is installed.

  • Plug-in Management ” FileMaker Server can be configured to download plug-ins to FileMaker Pro clients in response to programmed requests from the clients, assuring that clients will always have the latest versions of plug-ins installed on their own machines.

  • External Authentication ” FileMaker Server can be configured to check user credentials against a networked authentication source, such as a Windows Active Directory server or a Mac OS X Open Directory server.

  • Secure Transfer of Data ” When FileMaker Pro clients are used in conjunction with FileMaker Server, the transfer of data can be encrypted with SSL (Secure Socket Layer).

In addition to these features, FileMaker Server offers a large number of other important functions as well, such as the capability to send messages to guests, to disconnect idle guests, to limit the visibility of database files based on user privileges, to be run in a scripted fashion from the command line, and to capture a variety of usage statistics and server event information for logging and analysis. All of these features are discussed in the sections to come.

FileMaker Server Requirements

Like any piece of server software, FileMaker Server has certain minimum hardware and software requirements. You'll achieve the best results with a dedicated server; as with any piece of server software, it's best if FileMaker Server is the only significant server process running on a given machine. Forcing FileMaker Server to compete with other significant processes, such as mail services or domain controller services, is likely to hurt Server's performance.

File Sharing and FileMaker Server

A special word is in order about file sharing and file servers. FileMaker, Inc., recommends that all file sharing should be disabled on a machine running FileMaker Server. This has long been the official position, and in the past, a number of different reasons have been advanced for this. For instance, FileMaker Server uses its own techniques for managing concurrent access to files, and it's been said that contention between FileMaker Server's file access and the operating system's file sharing could lead to file corruption.

Another troublesome fact about file sharing is that it opens the possibility that users could mount the volume containing the hosted database files on their own computers, and open the files directly with FileMaker Pro, at the same time that other users were accessing the files via Server. This is a clear recipe for disaster and is almost certain to lead to file corruption.

In practice, it's often been difficult to disable file sharing completely on the server machine. It's often desirable to have at least part of the server machine published as a share point to move new FileMaker databases up to the server or to copy local backups to remote storage.

At the very least, if you feel you must have an operating system “level share point somewhere on the server, make very sure that the OS-level file sharing does not directly cover the directories where the "live" FileMaker files are kept. (Later sections in this chapter discuss the location of those files.)

And as a best practice, try to disable OS-level file sharing altogether on the server machine, and use one of the many good remote administration tools available instead ”tools such as Terminal Services (Windows), Apple Remote Desktop (Mac OS), or Timbuktu (cross-platform commercial).


The server machine, in addition to being dedicated as far as possible to FileMaker Server, and having the minimum amount of file sharing enabled (preferably none), also needs the things discussed in the following sections.

Static IP Address(es)

The server machine needs to be enabled for TCP/IP networking with one or more static IP addresses. (Earlier versions of FileMaker Server supported the IPX/SPX protocol in addition to TCP/IP, but this has not been the case for several versions of Server.) Note, by the way, that in contrast with earlier versions of FileMaker Server, FileMaker Server 7 is capable of multi-homing , meaning that it can take full advantage of multiple physical network interfaces, each with its own IP address. FileMaker Server listens on all available network interfaces. As far as we know, it's not possible to configure FileMaker Server to ignore one or more of the available interfaces; if the interface is available, FileMaker Server tries to bind to port 5003 on that interface and begins listening for FileMaker traffic. (The FileMaker client-server port number, 5003, is also not configurable.)

Fast Hard Drive
graphics/new_icon.jpg

Like any database, FileMaker Server is capable of being extremely disk- intensive . For some database operations, particularly those involving access to many records ”such as a large update or a report ”the speed of the server's hard disk may be the limiting factor. RAID (Redundant Array of Inexpensive Disks) technologies (whereby multiple physical disks are combined into a single disk array , for greater speed, greater recoverability, or both) are becoming ever cheaper, and some sort of RAID array may well be the right answer for you. (It probably goes without saying, but we're talking about a hardware-based RAID, not a software-based RAID.) Otherwise, consider a high-RPM SCSI disk, or one of the relatively new Serial ATA disks. Serial ATA boasts impressive speeds, and it's a bit cheaper than SCSI, but it's a newer technology, so the full picture of its reliability may not have emerged yet.


Fast Processor(s)
graphics/new_icon.jpg

This is a fairly obvious requirement for a server machine. But it's worth noting that FileMaker Server 7, unlike previous versions, now can take full advantage of multiple processors.


Lots of RAM
graphics/new_icon.jpg

Again an obvious requirement, and again an area in which FileMaker Server 7 represents a big advance over previous versions. Earlier versions of Server would use a maximum of 40MB of RAM, no matter how much RAM was installed. Server 7 uses as much RAM as you choose to throw at it, up to the limits of what the operating system itself can manage. Large amounts of RAM become even more desirable if you're running components of FileMaker Server Advanced on the same machine as Server itself. (Those components can be installed on the same machine as Server, or a different machine, as discussed in Chapter 23.)


Fast Network Connection
graphics/new_icon.jpg

FileMaker is a client-server application, which means that FileMaker Pro clients remain in constant contact with a database host such as FileMaker Server. FileMaker Server constantly polls (attempts to contact) any connected clients to determine what they're doing and whether they're still connected. In addition, although Server 7 is capable of handling a great many more tasks than its predecessors, it still needs to send quite a lot of data to the client for processing in certain kinds of operations. All this means that FileMaker is an extremely network-intensive platform that benefits greatly from increased network speed. Best results will be achieved on fast network connections of T1 speed or greater. A 10Mbps LAN is an improvement, and 100Mbps is even better. Of course, there's no point in spending money on machines with Gigabit Ethernet interfaces if the intervening network and the individual client machines don't support such a high speed.


Supported Operating System

FileMaker Server 7 supports the following operating systems: Mac OS X Server, Mac OS X client, Windows 2000 Server, and Windows 2003 Server. On the Mac OS X side, Mac OS X Server is listed as the "recommended" choice. FileMaker, Inc., has indicated that this means they have not tried to verify the acceptability of the regular Mac OS X operating system for loads greater than 50 connected FileMaker users.

Data Center Environment

Though not strictly a "requirement" for running FileMaker Server, proper care and housing of server equipment is a necessity, one that's often overlooked, especially in the small- and medium- sized business sectors, some areas of education, and among non-profit groups. These are all key groups of FileMaker users, ones that do not always have sufficient resources to build and maintain anything like a data center. Ideally, a server of any kind should be housed in a physically secure and isolated area, with appropriate cooling and ventilation , with technical staff on hand 24 hours a day to troubleshoot any issues that arise, and with automated monitoring software that periodically checks key functions on the server and notifies technical personnel by email or pager if any services are interrupted . Some organizations are fortunate enough to be able to house their FileMaker Servers in such an environment. But even if you can't provide all those amenities, you can see to the key areas. The server should minimally be up off the floor, well ventilated, and under lock and key if possible. And some sort of monitoring software is nice, and need not break the bank: the open source package Nagios (http://www.nagios.org) is a popular and powerful open-source monitoring package.

NOTE

Nagios runs on Unix, but can monitor servers running on almost any platform. Many server monitoring packages exist for Windows deployment as well.


NOTE

It's sometimes a point of confusion, but it's important to know that FileMaker Server 7 will not run on a machine running an earlier version of FileMaker Server at the same time. If you want to run Server 7 and Server 6 at the same time, you need two machines to do so.


 <  Day Day Up  >  


QUE CORPORATION - Using Filemaker pro X
QUE CORPORATION - Using Filemaker pro X
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 494

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net