Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
7.  Configuring the Desktop in a Network Administering Application Services Configuring Database, Icon, and Help Services  Previous   Contents   Next 
   
 

To Create a Database, Help, or Icon Server

  1. Provide the operating system network configurations required by the desktop.

    See "Configuring Base Operating System Networking for the Desktop".

  2. Provide the general desktop configuration required for clients.

    See "To Configure Desktop Clients and Servers".

  3. Install the database, help, or icon files.

    The files can be located anywhere on the system. However, it may be easier to use the following locations, since these are the directories automatically searched when a system has been designated an application server.

    • Database files: /etc/dt/appconfig/types/language

    • Help files: /etc/dt/appconfig/help/language

    • Icon files: /etc/dt/appconfig/icons/language

      If you are setting up a database server, the actions must be written to specify where their commands (EXEC_STRINGs) will run. See "Specifying a Remote Execution Host".

To Configure the Session Server to Find a Database, Icon, or Help Server

  1. Provide the operating system network configurations required by the desktop.

    See "Configuring Base Operating System Networking for the Desktop".

  2. Provide the general desktop configuration required for clients.

    See "To Configure Desktop Clients and Servers".

  3. Add the database, icon, or help server to the appropriate search path.

    • If you placed the data files in other locations, you must modify the specific search path.

      For example, if you placed the help files in directory /etc/dt/help on system SysCCC, you would add the following line to /etc/dt/config/Xsession.d/0010.dtpaths:

      		export DTSPSYSHELP=/net/SysCCC/etc/dt/help

      For more information about setting search paths, see:

Special Networked Application Configurations

This section describes how to configure systems to run applications:

  • Elsewhere than on the system containing the action--on a remote execution host

  • Locally across file system mounts

Specifying a Remote Execution Host

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:

ACTION XloadSysDDD
 {	TYPE				COMMAND
 	EXEC_HOST		SysDDD
 	EXEC_STRING		/usr/bin/X11/xload -label 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.

	EXEC_HOST				SysDDD,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:

DTSPSYSDATABASEHOSTS=SysAAA:,/net/SysBBB/etc/dt/appconfig/types/C

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.

To Configure the Remote Execution Host

  1. Provide the operating system network configurations required by the desktop.

    See "Configuring Base Operating System Networking for the Desktop".

  2. Provide the general desktop configuration required for servers.

    See "To Configure Desktop Clients and Servers".

  3. Ensure that the applications are properly installed and configured for local execution.

 
 
 
  Previous   Contents   Next