- You can start the vault server setup tool in either of two
ways.
If you are still in the installation procedure, and if you
selected the Vault Administration configuration, the Vault Setup dialog
box will appear after the PLM Database Setup step.
Or, if the installation is finished, log on as administrator, open a
Command Prompt window, go to the following installation directory:
WindowsInstallPath\$OSDS\code\bin
and enter the command:
catstart -run VaultSetup
or run the command Start > All Programs >
ENOVIAV5VPM
> Tools > Vault Setup V5R28
The Vault Setup dialog box looks like this:

-
Because you have not yet created a vault server, click the
Add...
button.
The Authentication dialog box is displayed like this:

-
Provide the vault administrator userid, password and domain name.
The vault administrator can be any operating system userid
recognized on the computer on which you are creating the vault
server. This userid is the same as the userid to which the vault
server process belongs. Furthermore, the files created in the vault
by applications will be owned by this userid.
The Vault Administrator:
- must have the privileges to administrate the vault (the user
must have write authorization on the vault directories)
- must already exist as a system user.
Vault Identification
- Click OK to continue to the Vault Server - Add dialog
box:

Vault Server Name
The Vault server name is the way for vault client
applications to identify a vault server. A vault client application needs
three items of information to connect to a vault server:
- the service name under which the vault server is registered
- the server listening port on the remote machine where the vault
server is running
- the remote machine name.
The vault client properties file (set up when installing a vault
client) is used to provide the link between a given vault server name and
the three items of information identifying a given vault server.
The default server name is ENOVIAVaultServer
, but can be
customized.
Vault administrator
The userid of the Vault administrator you entered in the
Vault Server Authentication dialog box is displayed for information
purposes.
Server hostname
The server hostname is the name of the machine on which you
are creating the vault server.
Orbix daemon port
The Orbix daemon will listen on the specified Orbix daemon port
on the machine hosting the vault server. This value is the initial value
entered during the unload step in the installation procedure.
Warning: When attempting to install an
ENOVIAV5VPM server and a Vault
server on the same machine, the administrator may be allowed to specify
two different port numbers for the servers. If you do so, the application
does not work afterwards. This is particularly important since the vault
server and ENOVIAV5VPM server can be more easily installed separately, that is on
two different server paths, which implies two different port numbers.
Thread number
Set the thread number, which is the number of threads
waiting for client requests. A vault server can answer several vault
client applications simultaneously. This number specifies the number of
simultaneous requests that can be processed. The default is 2.
Multi-processing capacity depends on the number of processors on the
workstation.
Timeout
Set the timeout value. The timeout is applied if the vault
server does not receive a request from a vault client after the specified
period of time starting when the last connection to the Vault server was
closed. The default is -1 (infinite): the server stops only when
explicitly requested.
Time zone offset
Set the time zone offset in hours. The server time zone
offset (in milliseconds) is used for document creation and modification
dates. For example, if you set the value to 3600000, the server time zone
is GMT+1 hour.
- Click the Database setup... button to access the
Vault Server - Database dialog box, then check the DB2
or
Oracle option to specify which database you are working with,
fill in the fields, and set the desired options.
Database Setup
Each vault server requires its own data structure in the database.
During this step, you are going to create tables in the database to
support the vault server.
The options specific to your database are displayed.
Note that, before entering this phase, you must have already
created a database on DB2 or Oracle. If you already created a database
used for the PLM database setup procedure, you can use that database
here.
Note that a tablespace also has to be created first before you
enter this phase.
For DB2
The Vault Server - Database dialog box looks like this for
DB2:

Options Specific to DB2
DB2 install path
Click the ... button to select the DB2 install
path. Selecting the install path automatically detects the DB2
instance, Database alias name and Database directory.
DB2 instance
Select the DB2 instance to be used to store the vault tables.
All available DB2 alias names, remote as well as local, will appear
in the selection list.
Database alias name
Select the database alias name for the chosen DB2 instance.
Database directory
If the database directory of the chosen database alias is LOCAL,
then the database directory field will contain its path. If the
database directory of the chosen database alias is REMOTE, then the
database directory field will simply specify the text REMOTE.
For Oracle
The Vault Server - Database dialog box looks like this
for Oracle:

Options Specific to Oracle
Oracle home directory
Click the Browse... button and browse to select the home directory of
the Oracle installation if it is not already detected automatically.
Database service name
Oracle clients communicate with Oracle servers through service names,
which are easy-to-remember aliases for database addresses. Service names
can be resolved using various methods:
- Local Naming method: resolves service names using a local
configuration file (TNSNAMES.ORA, SQLNET.ORA, LISTENER.ORA).
- Centralized Naming method: resolves service names using
Oracle Names (highly recommended to centrally administer large Oracle
networks).
To use the Local Naming method, check the TNS_ADMIN option (this is the default): the path of the
default tnsnames.ora file containing the list of database service names
is highlighted, but you can click the browse button and choose the file
at a different location.
Note: If you don't check the above button, the Centralized
Naming method will be used.
To use the Centralized Naming method:
- uncheck the TNS_ADMIN option
- enter the database service name in this field.
Note about Oracle Userids
For Oracle, do not choose userids starting with a numeric
character, an error may occur. If you do, a warning message will prompt
you to correct the problem.
Options Common to Both DB2 and Oracle
Database table owner
Enter the database table owner. This name is a database userid
and is used as a prefix in the name of the vault tables. For
example, if you enter VPMADM, the table name will be:
VPMADM.VAULTDOCUMENT. The userid is the owner of the database
structures created. The resources created in the database for the
vault will belong to this owner.
For DB2, the owner name could be any database userid accepted by
DB2, whereas the connection user must exist at the operating system
level.
On Oracle, you have to provide a password. This password is not
required in DB2.
Vault database connection user
For DB2, this is a system userid used by the vault to connect to the
database. For Oracle, this is a user database. All connections to the database will be performed under
this id (the main interest of this specific user being for remote
database connectivity, since server authentication is being used).
With a local database, it might identical to be the vault
administrator.
Password
Enter the vault connection password.
Database administrator
Enter the user name of the database administrator.
The Database Administrator User:
- has the privileges to administrate the database
- creates tablespaces (spaces for the data structures that
will contain the data).
Password
Enter the database administrator password.
Notes: For Oracle, both the Vault database connection user
and the
Database table owner will have to exist as Oracle users
(and will be created as such if needed), but do not have to exist at
the operating system level.
Database minimum pool size
Minimum number of connections for the vault server database
connection pool.
Tablespaces
Reminder: a tablespace has to be created. You can create
one interactively at this stage. Note that the table space for
the vault does not require a size of 8K (unlike the PLM database
setup which does require a size of 8K). You can select the
default tablespace, for example USERSPACE1 (or USERS on Oracle),
or the tablespace created by the PLM database setup phase (if
you already created the PLM database).
-
After filling in all the fields, click the Tablespace...
button.
Note: on Oracle, if you already performed a
previous installation and created a table schema, and want to reuse
the same schema, you will be prompted to reuse it. If so, click Yes.
If you do not succeed, use the Oracle Enterprise Manager Console and
delete the corresponding schema name. To delete, the schema name,
you may first have to delete the tables in the schema.The Vault Server - Tablespace dialog box looks like this,
for example on DB2:

and like this,
for example on Oracle:

Select the tablespace and click OK, then click OK again.
This returns you to the Vault Server - Add dialog box, for
example for DB2:

and on Oracle:

The database type, database name and vault database connection user
you just configured are now displayed next to the Database setup...
button.
Setting Up Repositories
Data is stored in the vault server repository. A vault server
repository is characterized by:
- its name
- a tmp directory: when vault client applications create new
documents, they are stored temporarily in this directory, and are
written to a secured directory when saved
- and a set of secured directories.
These directories have to be on the same file system for a
specific vault server repository to improve performance and
reliability.
- Click the Repositories setup... button to access the
Vault Server - Repositories dialog box:

- Click the Add... button to access the Repository
- Add dialog box:

Name
Enter a name for the vault server repository.
Path
Click the Browse... button, double-click a directory in the
list to select the repository path, then click OK. This path will contain
the tmp and secured directories. You can select an existing directory or
create a new one using the Browse... button.
If you have already created a directory used by another repository,
you cannot choose the same directory used by the other repository, either
in the same vault server or a different vault server, and either in the
same installation or in a different installation.
Tmp path
Click the Browse... button, double-click a directory in the
list to select the path of the temporary directory, then click OK. The
directory must already exist. You can select an existing directory or
create a new one using the Browse... button.
Secured list
Secured storage occurs when the saved documents are actually committed
into the database.
The secured list displays the list of secured directories. To add a
secured directory, click the Add... button, double-click a
directory in the list to select the secured directory, then click OK. The
secured directory must already exist. You can select an existing
directory or create a new one using the Browse... button.
A warning will inform you if the selected Tmp path or Secured path is
not empty, however you can maintain your choice.
A warning will also inform you if the Repository's path contains
something else other than the Tmp path and the Secured paths, however you
can maintain your choice.
Select a directory and click the Delete... button to delete
it.

-
Click OK to confirm, and return to a summary of your repository
setup in the Repositories dialog box which looks like
this:

- Click the Close button.
The Vault Server - Add dialog box now displays all the
information you entered, and now looks like this, for example on DB2:

and on
Oracle:

- Check the appropriate global vault server
administration options.
Read only
Check the Read only option to set the entire vault to read
only mode. This is useful when the vault is full and you want users to be
able to continue to read data from the vault. Obviously, no documents can
be saved in the vault in this mode.
Remove files
Check the Remove files option to trigger file deletion on
disk. When you request a deletion operation using a vault client
application, a line containing the instruction to remove the file is
stored in the database: the file itself is not removed from the vault.
This option must be checked if you want files to be physically removed.
This option is checked by default.
Log Removed Files
Check the Log removed files option to trigger the logging
of deletion operations requested by vault client applications. If you did
not check the Remove files option, your files will remain in
the vault. You can then use the log containing the list of deletion
operations as input for your own deletion batch programs.
Authorize NFS access
Check the Authorize NFS access option to ensure that the
authorization rights set for the vault directories are correctly set for
NFS access. NFS access is an alternative enabling vault client
applications to access the vault directly by the vault server. Refer to
How to Set Up File Transfer Mode
for the Vault for details about different file transfer modes
supported.
Add required privileges to the current user
If the vault is run as a user other than the vault administrator logged on, certain
privileges are necessary for this user.
Note: these privileges can be managed using the command Start > Control Panel > Administrative Tools > Local Security Policy.
If you already set the privileges this way, the Add required
privileges to the current user option will not appear.
If these privileges have not
been already set, to ensure that the privileges are set, the
Add required privileges to the current user option is
checked by default.
The privileges added for the vault are:
- Adjust memory quotas for a process
- Replace a process level token.
- Click OK again.
If this is the first time you are creating a
vault, you will be prompted to create the user if the database.
Click Yes to do so. If the user you declared already exists in the
database, you may be prompted to choose whether you want to use this
user. If so, click OK to confirm.
You then return to the Vault Setup dialog box:

Note that you can also modify an existing vault or delete a vault
using the Modify... and Delete... buttons. You
will be prompted to log on using the Vault Server Authentication
dialog box.
Modifying a Vault Server
You can edit most vault server properties. However, you cannot
select another database for your vault server: the corresponding
options are grayed out in the Database setup... dialog
box.
The Modify... button lets you modify an existing
vault server. To do so, the current Windows session user who
executes the vault setup must be the vault administrator.
Otherwise, you will receive the the following error message when
you click the Modify... button:
The Windows current session user should be the Vault
Administrator in order to modify the Vault server
Deleting a Vault Server
If you attempt to delete a vault server, you will be warned
that the catalogued entries for the vault server you want to
delete will be deleted, along with the associated properties file,
but the associated database and repositories will not be deleted.
If there is only one vault server, you cannot delete it. If you
attempt to do so, a warning will inform you that there must always
be at least one default vault alias name.
The characteristics of the vault server you created are displayed
in the Vault Setup dialog box.
-
Click the Close button to exit the vault setup.