Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Visual User Environment 3.0 User's Guide > Chapter 22 Networking and Distributed Computing

Importing and Exporting Actions

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

HP VUE allows local systems to access actions defined on remote hosts. The remote host containing the action definition is called the database host or the action server. The database host "exports" its actions to other systems, which, in turn, "import" the action.

For example, a system administrator installing an application on a remote execution host may find it desirable to define the action for the application on the same host. Since that action can be made available to the other systems on the network, it is not necessary to copy the definition from system to system.

In a diskless cluster, actions imported by the cluster server are available to all cnodes.

In order for a system to use an action defined remotely:

  • The database host must be configured to export the actions to other hosts.

  • The local system must be configured to import the remote actions.

To configure the database (exporting) host

  1. Place the files (the *.vf files) containing the definitions for the actions to be exported in /etc/vue/config/export.

  2. Create action icons for the actions by placing an executable file for each action in /etc/vue/config/export/tools or one of its subdirectories.

  3. Edit /etc/exports to include all hosts who will be using the actions. They must be allowed to NFS-mount /tmp and /etc/vue/config/export.

  4. Edit /var/adm/inetd.sec to allow all the hosts using the actions to use the database host's spc.

  5. Perform any additional configuration for remote application and data access:

    • If the application and data reside on the database host, no additional configuration is necessary.

    • If the application resides elsewhere, then the database host and execution host must be configured for remote execution.

    • If the data resides elsewhere than with the application, then the database host must be configured for remote data access.

See Also. 

To configure the local (importing) host

  1. NFS-mount the file system of the database host to provide access to the authentication directory (see “User Authentication During Remote Execution” for more information) and /etc/vue/config/export.

  2. Create the directory /etc/vue/config/import if it does not yet exist.

  3. Edit /etc/vue/config/Xsession. Add or modify the line that sets the VUEACTIONREMOTEHOSTS environment variable, which specifies the remote hosts whose actions will be imported:

       VUEACTIONREMOTEHOSTS=remote_host,remote_host ...
    

  4. Add the remote host to the Network Toolbox (see “To add a host to the Network Toolbox”).

  5. Log out and back in.

See Also. 

To add a host to the Network Toolbox

  1. Configure the local host to import the actions (see “To configure the local (importing) host”).

  2. Configure the remote host to export its actions (see “To configure the database (exporting) host”).

  3. Create a link between the Network Toolbox and the remote host (database host) toolbox:

       ln -s /mount_point/database_host/etc/vue/config/export/tools \
    
       /etc/vue/config/import/database_host
    

    This creates the host icon in the top level of the Network Toolbox.

Example: Exporting and importing an action

The application Interface Architect on host appserver is used by numerous systems in the network. It is desirable to create one action for the application, and export that action to all the systems that use it. Thus, appserver becomes both the application server and the database (action) host.

On host `appserver'. 

  1. Create the file /etc/vue/config/export/architect.vf and define the action:

       ACTION           Architect
    
         WINDOW-TYPE    NO-STDIO
    
         EXEC-STRING    /usr/architect/bin/architect
    
       END
    

  2. Create an action icon by creating an executable file /etc/vue/config/export/tools/Architect.

  3. Edit /etc/exports to include all the hosts that will use the Architect action.

  4. Edit /var/adm/inetd.sec to include all the hosts that will use the Architect action.

On each importing host. 

  1. NFS-mount the file system of appserver.

  2. Execute the following command to add the imported actions to the Network Toolbox on the local hosts.

       ln -s /mount_point/appserver/etc/vue/config/export/tools \
    
       /etc/vue/config/import/appserver
    

  3. Edit /etc/vue/config/Xsession to add appserver to the local host's search path using the environment variable VUEACTIONREMOTEHOST:

       VUEACTIONREMOTEHOSTS=appserver,another_remote_host ...
    

  4. Log out and back in.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© © 1989, 1990, 1991, 1992, 1995 Hewlett-Packard Development Company, L.P.