Configuring Server Environment Using *.pvx XML Files: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
(New page: When running pvserver/pvdataserver or pvrenderserver on a cluster, users may want to configure some environment variables eg. DISPLAY in case of multi-headed nodes for the processes. This ...) |
|||
Line 4: | Line 4: | ||
* pvx file can be specified as the last command line argument for any of the server processes. | * pvx file can be specified as the last command line argument for any of the server processes. | ||
* Typically the pvx file is specified for all the executables whose environment is being changed using the pvx file. In case of data-server/render-server configuration, if you are setting up the environment for the two processes groups, then the pvx file must be passed as a command line option to both the executables: pvdataserver and pvrenderserver. | * Typically the pvx file is specified for all the executables whose environment is being changed using the pvx file. In case of data-server/render-server configuration, if you are setting up the environment for the two processes groups, then the pvx file must be passed as a command line option to both the executables: pvdataserver and pvrenderserver. | ||
* When running in parallel | * When running in parallel the file is read on all nodes, hence must be present on all nodes. | ||
==Structure== | ==Structure== |
Revision as of 21:32, 9 December 2009
When running pvserver/pvdataserver or pvrenderserver on a cluster, users may want to configure some environment variables eg. DISPLAY in case of multi-headed nodes for the processes. This can be done using the PVX configuration XML file.
Where to specify this?
- pvx file can be specified as the last command line argument for any of the server processes.
- Typically the pvx file is specified for all the executables whose environment is being changed using the pvx file. In case of data-server/render-server configuration, if you are setting up the environment for the two processes groups, then the pvx file must be passed as a command line option to both the executables: pvdataserver and pvrenderserver.
- When running in parallel the file is read on all nodes, hence must be present on all nodes.
Structure
<source lang="xml"> <?xml version="1.0" ?> <pvx>
<Process Type="server|dataserver|renderserver"> <Machine proc_id="<num>" Environment="DISPLAY=m1:0" LowerLeft="-1.0 -1.0 -1.0" LowerRight="1.0 -1.0 -1.0" UpperLeft="-1.0 1.0 -1.0"> </Machine> </Process>
</pvx> </source>