This document will show you how to set up the Vault file transfer mode. This vault administration documentation is for UNIX only. | |
First of all, a short explanation about the different Vault file transfer mode available and theirs benefits. Three file transfer modes are available for the Vault: CORBA, HTTP and NFS. | |
CORBA file transfer mode |
|
This mode enables vault client applications (for instance: CATIAV5/CATIAV4, ENOVIA desktop and server) to access vault file by CORBA protocol to transfer data. This is the default mode, no particular needs are required, very simple to setup. Client applications do not need to access the Vault directories (high security level). | |
HTTP file transfer mode (read operations only) |
|
This mode enables vault client applications (for instance: CATIAV5/CATIAV4, ENOVIA desktop and server) to access vault file by HTTP protocol to transfer data for all read operations. Write operations are done by CORBA protocol. This mode requires an apache HTTP server with access to Vault directories, but client applications still do not need to access the Vault directories. The benefit is a smaller cpu usage for the Vault Server. Thus, Vault Server can serve more user request simultaneously. | |
NFS file transfer mode |
|
This mode enables vault client applications (for instance: CATIAV5/CATIAV4, ENOVIA desktop and server) to access vault file by NFS. The benefits are a better elapsed time for users and a smaller cpu usage for the Vault Server. Thus, the Vault Server can serve more user requests simultaneously. The drawbacks are that you need to have a fully functional NFS link between the clients and the Vault server. It is also less secured as all clients are able to access the vault directories. | |
File transfer protocol declaration |
|
File transfer protocols are declared in the VaultClient.properties file. You can modify default protocol for read or write operations and set a specific one for a given VaultAliasName. | |
VaultClient properties file example:
|
|
Example Explanation |
|
This VaultClient properties file declares three VaultAliasName: Vault1,
Vault2 and Vault3. VaultClient_Active_ReadProtocol, and VaultClient_Active_WriteProtocol keys define the default read/write file transfer protocol. In the example above it is CORBA. There are no file transfer protocol keys defined for VaultAliasName Vault1, it means that the default protocol is used. As VaultClient_Vault2_ReadProtocol and VaultClient_Vault2_WriteProtocol are set to NFS, the file transfer mode for VaultAliasName Vault2 is NFS. In the case of VaultAliasName Vault3, there is no protocol defined for write operation, so the default one is used (CORBA). However HTTP protocol is defined for read operations. In order to be consistent, two additional keys are required for HTTP protocol. Theses keys are used to define the HTTP server host and communication port. |
|
How to Set Up CORBA File Transfer ModeThis is the default mode so you have nothing to do, but you can explicitly set the CORBA transfer mode by setting the following keys. |
|
Vault Client side modificationsModify or add the following lines in the $CATInstallPath/docs/java/VaultClient.properties file according to the application behavior you want: Default file transfer protocol update:
File transfer protocol update for a given VaultAliasName:
Additional featuresYou have the ability to specify a default block size for CORBA protocol by setting the following key to the wanted value (CORBA block size is limited up to 7M): VaultClient_CORBABlockSize = 1048576 You can specify block size for CORBA protocol for a given VaultAliasName: VaultClient_MyVaultAliasName_ReadCORBABlockSize = 1048576 |
|
How to Set Up HTTP File Transfer Mode (read operations only) |
|
Keep in mind that an HTTP server is supposed to be installed correctly.
This server must have access to VaultServer directories. In order to avoid
file access right problems, we advise you to run the HTTP server under the
same operating system user you already use for the VaultServer. Vault HTTP
file transfer mode is only certified with the Apache HTTP server.
Vault Client Side ModificationsModify or add the following lines in the $CATInstallPath/docs/java/VaultClient.properties file according to the application behavior you want: Default file transfer protocol update: File transfer protocol update for a given VaultAliasName: And for each VaultAliasName where HTTP protocol is wanted:
Additional featuresYou have the ability to specify a default block size for HTTP protocol
by setting the following key to the wanted value: You can specify block size for HTTP protocol for a given VaultAliasName: |
|
How to Set Up NFS File Transfer Mode |
|
Keep in mind that NFS is supposed to be installed correctly.
VaultServer directories are supposed to be accessible from client and
server applications under the same path on each workstation.
Vault Server Side ModificationsAdd the following lines in the $CATInstallPath/docs/java/VaultServer.properties file:
Vault Client Side ModificationsModify or add the following lines in the $CATInstallPath/docs/java/VaultClient.properties file according to the application behavior you want: Default file transfer protocol update: File transfer protocol update for a given VaultAliasName: Beware: If the vault server is not empty, you have to change the file access rights of the already existing files in order to allow client application to read secured files and read/write temporary files. Additional featuresYou have the ability to specify a default block size for NFS protocol by
setting the following key to the wanted value: You can specify block size for NFS protocol for a given VaultAliasName: You have the ability to specify a mount directory and a mount point in
order to have a client file access path different from the server side by
setting the following keys to the wanted value: The example above illustrates a Windows client accessing a Unix Server
with the If you use a \ (backslash) in the value of the properties:
you must double each backslash. For example, if the mount point is:
you must double the backslashes like this:
|
|
|