Difference between revisions of "ParaView/Distributing Server Configuration Files"

From KitwarePublic
Jump to navigationJump to search
(Replaced content with "{{ParaView/Template/DeprecatedUsersGuide}}")
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Server configuration (PVSC) files are used to simply connecting to remote servers. The configuration XMLs can be used to hide all the complexities dealing with firewalls, setting up ssh tunnels, launching jobs using PBS or other job scheduler. However, with ParaView versions 3.12 and earlier, there is no easy way of sharing configuration files, besides manually passing them around. With ParaView 3.14, it is now possible for site maintainers to distribute PVSC files by putting them on a web-server. Users can simply add the URL to the  list of locations to fetch the PVSC files from. ParaView will provide the user with a list of available configurations that the user can then choose import locally.
=User Interface=
To fetch the pvsc files from a remote server, go to the '''Server Connect''' dialog, accessible from '''File | Connect''' menu.
[[Image:Server connect dialog.png|thumb|center|500px|link=|'''Figure 1''' Server Connect Dialog]]
Click on the '''Fetch Servers''' button (new in v3.14). ParaView will access existing URLs to obtain the list of configurations, if any and list them on the '''Fetch Server Configurations''' page.
[[Image:fetch_server_configurations.png|thumb|center|500px|link=|'''Figure 2''' Fetch Server Configuration Page]]
To change the list of URLs that are accessed to fetch these configurations, click on the '''Edit Sources''' button.
[[Image:edit_server_configuration_sources.png|thumb|center|500px|link=|'''Figure 3''' Edit Server Configuration Sources]]
Click '''Save''' will save the changes and cause ParaView to fetch the configurations from the updated URLs. Once the updated configurations are listed on the '''Fetch Server Configuration Page''', simply select and '''Import''' the configurations you would like to use and they are then accessible from the standard server's list shown in the '''Server Connect''' dialog.
=URL Search Sequence=
For each URL specified, ParaView tries that following paths until the first path that returns valid XML file.
# {URL}
# {URL}/servers.pvsc
# {URL}/servers.xml
* '''{URL}''' : the URL specified
* '''{MAJOR_VERSION}''' : major version number of the ParaView client e.g. for ParaView 3.14, it will be 3.
* '''{MINOR_VERSION}''' : minor version number of the ParaView client e.g. for ParaView 3.14, it will be 14
* '''{CLIENT_OS}''' : Either '''win32''', '''macos''', or '''nix''' based of the client OS.
This search sequence makes it easy PVSC maintainers to provide different pvsc files based on the client OS, if needed. It also enable partial specialization e.g. if the mainaters wants to provide a special pvsc for ParaView 3.14 on windows but a common pvsc for all other version and/or platforms, then he simply sets up the webserver directory structure as follows:
# {URL}/v3.14/win32/servers.pvsc
# {URL}/servers.pvsc
And advertises to his users the {URL} to use as a configuration source.

Latest revision as of 18:41, 14 January 2015

The Users Guide has been moved from the Wiki to The ParaView Guide. Please use the history if you want to access the old version of this document.