| United States-English |
|
|
|
![]() |
Common Desktop Environment: Advanced User's and System Administrator's Guide > Chapter 5 Configuring
the Desktop in a NetworkAdministering Application Services |
|
This section covers specific configuration requirements for:
It also covers networking requirements for two special configurations for networked applications:
The desktop uses a set of environment variables to specify the search path used to find application desktop configuration files such as the actions and data types database, help files, and icon files. For information on how to use the search path environment variables, see Chapter 7 “Desktop Search Paths”'' or the dtenvvar(5) man page. In the standard application server configuration, the application server contains all the binary and configuration files associated with the application, including:
For example, the following line in /etc/dt/config/Xsession.d/0010.dtpaths adds a system with hostname SysAAA and SysBBB to the application search path:
For more information about setting the application search path, see: Usually, the action and data type definitions, icons, and help data files associated with an application are installed onto the same system as the application. For example, consider the typical configuration of help data files:
There may be situations in which you want to place database (actions and data types), help, or icon data elsewhere on the network. For example, if your network uses multiple session servers, you might want to create a help server on which all the help data files for desktop applications (File Manager, Style Manager, etc.) are stored. This conserves disk space because the help files do not need to be duplicated on each session server.
This section describes how to configure systems to run applications:
In the typical application server configuration, the action definition is located on the same system as the application executable. However, actions can be written to execute commands on other systems. In this configuration, the system containing the application is called the execution host.< The action definition may be located on the session server or on a system that provides action and data type services to the session server—called a database server or database host. Action definitions use the EXEC_HOST field to specify where their commands (EXEC_STRINGs) should be run. For example, the following action definition specifies that an xload client be run on a system with host name SysDDD:
If the EXEC_HOST field specifies more than one host name, then the desktop tries to execute the EXEC_STRING on each host in order until it finds one that can run the action. For example, the following EXEC_HOST field specifies that the action should first attempt to run the EXEC_STRING on SysDDD, and, failing this, try SysEEE.
If the EXEC_HOST field is not set for an action, it defaults to the value %DatabaseHost%. The value of %DatabaseHost% is obtained from the database search path. For example, suppose the database search path has been modified by adding the following line to /etc/dt/config/Xsession.d/0010.dtpaths:
SysAAA is specified using the host-qualified syntax—SysAAA:. An action definition found using this element of the search path sets the database host to SysAAA. However, an action found using the /net/SysBBB... portion of the search path sets the database host to the local system because the syntax does not include the host qualifier.
The standard application server configuration runs applications on the application server. Sometimes it is desirable to have the application installed on a remote system but executed locally on the session server.
For example, you might use the following variable definition to find an application registered on sysAAA:
The session server must be able to access the application's configuration files, such as app-defaults, message catalogs, and shared libraries. |
||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||