| United States-English |
|
|
|
![]() |
HP Servers and Workstations: Managing Systems and Workgroups > Chapter 2 Planning a WorkgroupDistributing Applications and Data |
|
The topics that follow are intended to help you plan the overall configuration of the workgroup, in terms of what pieces of the workflow reside and run on what systems. This section will make better sense if you have already read “Choosing a File-Sharing Model”; you will notice that the discussion is biased towards the “Client-Server Model”. Go to any of the following for more information: HP-UX introduced a new file-system layout at 10.0. The new layout is based on the AT&T SVR4 and OSF/1 file systems and is intended to provide benefits such as:
See the HP-UX 10.0 File System Layout White Paper on http://docs.hp.com for more information. The new layout is cleaner and more logical than 9.x, it is essential for NFS Diskless (see “NFS Diskless Model”), and it should make interoperating with other vendors’ UNIX systems simpler. It doesn’t change the mechanics of configuring NFS mounts, but it does make managing them easier in one important respect: the segregation of non-“system” applications under /opt, and the changes applications such as Netscape have made to comply, mean that the server can now export a given application from a single subdirectory under /opt, rather than having to export several subdirectories for each application, or even the whole of /usr/local. The V.4 file-sharing paradigm divides HP-UX directories into two categories: private and shared (sometimes also referred to as dynamic and static). Directories that contain a system’s configuration information are designated private and should not be shared via NFS.These are:
The
model also defines /home (for users’ home directories), /tmp and Directories defined as sharable are:
In practice, except under NFS Diskless (see “NFS Diskless Model”) it is not a good idea to share /sbin or directories under /usr other than /usr/local because it creates too much dependency (the NFS client cannot function unless the NFS server is up) and because it will cause problems when you try to upgrade the systems to a new HP-UX release. HP recommends you implement such tightly coupled configurations only under NFS Diskless (currently restricted to 10.x systems). Directories you should consider sharing are:
For example, the authors of this document keep the source text on a file server, a Series 800 system running HP-UX 10.20, which is backed up nightly. Our authoring tools and our web browser reside on an application server, a K-class server running 10.20, on which all software maintenance is done. Our local disks are not backed up and house no applications or tools that require outside support. The main criteria here are performance and ease of management. The practical possibilities are:
The only configuration you should probably rule out from the beginning is to install each application individually on each workstation’s local disks; this might make sense for the occasional individual user with special needs, but software management considerations make it almost unthinkable as a general approach. Given that you will store applications on a server or servers, is it better to run them on the workstations (via NFS) or on the server? Opinions are divided, and in practice you may well mix the two approaches. But bear in mind that modern applications are swap- and memory-intensive; it is often better to concentrate these resources on a server than to parcel them out to individual workstations. For the greatest ease of management (backups and software maintenance) you should:
Aim for the simplest configuration that is consistent with acceptable performance. The useful part of any computer system consists of applications and the data they manipulate. Your task is to decide how to deploy the workgroup’s applications and data so that they are adequately accessible, responsive, and secure. This section assumes that:
You should plan to keep shared applications in a central location where you install, configure, back up and maintain them. Similarly, you should plan to keep all data that users share, and as much volatile data as possible (that is, data that changes frequently, whether or not it is shared by more than one user) in a central location where you can back it up easily, and from where it is distributed to the workstations via NFS.A system whose disks hold shared data is normally called a file server (even if the data actually resides in databases rather than ordinary files). A system on which shared applications are stored might be called an application server or a compute server; we’ll use application server. In many workgroups, the file server and the application server are the same machine, which is simply a warehouse for everything that is shared and everything that needs to be backed up regularly. This may be convenient, and it may be the best you can do with the available hardware, but it is not ideal because the functions of a file server are different from those of an application server and may interfere with them: for example a CPU that is busy handling NFS requests will have fewer cycles for running applications. Users normally do not log in to a file server; they get the data they need from it by means of NFS mounts. The main requirements for a file server are:
This list is not meant to imply that CPU power is not important in a file server, only that it is not as important as it is in application server. If you have, or can afford to buy, the hardware resources, you should install applications on a system to which users can log in and run them. Whether they do or not will depend partly on how much power and capacity they have on their desktops, partly on LAN performance, partly on OS/application compatibility; but it’s likely that at least some users in the group will not be able to run all the applications they need locally, and others will prefer not to because, for one reason or another, local performance is poor. And of course some applications, such as large database applications, by their nature require capabilities not likely to be found on anyone’s desktop. An application server, then requires:
For reasons of application compatibility, an application server may also need more frequent operating-system updates than a file server. |
|||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||