Manage the File Store

The file store and the database server work with each other. The database provides the index information for the location of the files. The file store is the secure location on the server where the files are located.

When you install the Autodesk data management server, a single vault named Vault is created. The database files for the vault are created in the MSSQL$AUTODESKVAULT\Data folder under the Microsoft SQL Server installation folder.

Several of the databases located in the Data folder are used by Microsoft SQL Server while others are specific to the vault. Each database file (MDF) has an associated log file (LDF) that contains important transaction data and must be moved, backed up, and restored along with the database file.

KnowledgeVaultMaster.mdf is the master vault database and it maintains the list of users, user permissions, and a list of vaults and their corresponding filestore location.

Note: Important: Never modify information in the SQL database.

Vault.mdf is the database for the vault named Vault. Each vault also has a SQL Server log file associated with it called VaultName.ldf.

The second component of every vault is the associated file store where the files are stored. The file store is structured as a hierarchy of folders that are located under a main folder that has the same name as the vault. The filestore location for the default vault named Vault is C:\Documents and Settings\All Users\Application Data\Autodesk\VaultServer. Each data file is stored in its own folder in a normal, uncompressed format. The folders for the file store are created when you add the first file to the vault.

Note: Never directly move, delete, or edit a file in the file store. Use the Autodesk Data Management Server console to manage the file store.

Move the Vault File Store

The file store and the database server work with each other. The database provides the index information for the location of the files. The file store is the secure location on the server where the files are located.

The file store can be moved from its existing location to another location on the same machine. To move a file store to a location on a remote machine, see Managing a Remote File Store in the Advanced Configuration Guide available in the online Vault knowledge base. Use only the server console or the command line utility to move a file store.

Note: Never directly move, delete, or edit a file in the file store. Use the Autodesk Data Management Server console to manage the file store.

If you want to move all the vaults to another computer, back up the vault on the existing server and restore the vault on the other server.

Note: The default path for the file store is C:\Documents and Settings\All Users\Application Data\Autodesk\VaultServer\FileStore.

Move the Vault File Store

  1. Select a vault from the Vaults folder.
  2. Select Actions  Move File Store.
  3. In the Move File Store dialog box, browse to a new location for the file store.
  4. You are prompted to confirm locking the vault to prevent users from accessing it during the operation. Click Yes.
  5. Click OK.

Manage a Remote File Store

The vault file store can be set up on a remote computer. Using a remote file store requires configuring proper permissions and accounts. The vault supports two basic file store configurations:

You can use a remote file server to host the file store and/or backup and restore vault data. This section describes the steps required to configure a remote file store.

Move the File Store to a Mapped Drive or Remote Share

The computer hosting Autodesk Vault Server is called DMMachine, and the computer hosting the remote file store is called FSMachine. The domain name is MyDomain. We assume that the server where Autodesk Vault Server is installed is a member server and not a domain controller.

If you have the Autodesk Vault Server installed on a domain control, the AutodeskVault domain account is used, and you can go to the Moving the File Store section below.

Create a new domain user account.

  1. Open the Active Directory Users and Computers and select an Organizational Unit (OU) to create the account in.
  2. Create an account named AutodeskRemote. Set the password to match your domain password policy and set the password to never expire.

Create a remote share.

  1. Open Windows Explorer on the FSMachine, and create a directory called VaultData
  2. Right-click the folder,and select Properties.
  3. On the Sharing tab, create a new share named VaultData.
  4. Click Permissions, and set the AutodeskRemote, Network Service, and System user to Full Control.
  5. Click OK in the Permissions for Share dialog box.
  6. On the Security tab, add the AutodeskRemote account, and set it to Full Control permission.

Set the new account in the Autodesk Vault Server Console

  1. On the DMMachine, open the Autodesk Vault Server console.
  2. Select Tools > Administration.
  3. On the Advanced Settings tab, select the Settings button next to Advanced Configuration settings.
  4. In the Advanced Settings dialog box, change the User Name to MyDomain\AutodeskRemote, and enter the corresponding password.

  5. Apply the changes and then click OK.

Reconfigure IIS Worker Process and Application Pool After Moving a File Store

Reconfigure the IIS Worker Process and Application Pool after the file store is moved.

Reconfigure the IIS Worker Process and Application Pool for IIS 6

  1. Open the Active Directory Users and Computers and select an Organizational Unit (OU) to create the account in.
  2. Create an account named AutodeskID. Set the password to match your domain password policy
  3. Make the AutodeskID account a member of the IIS_WPG local group on DMMachine.
  4. Give AutodeskID account Full Control permissions to the %SystemRoot%\Temp directory on DMMachine.
  5. Give the AutodeskID account Full Control permissions to the \\FSMachine\VaultData remote file store directory.
  6. Open Internet Information Services (IIS) Manager and create a new Application Pool named AutodeskAppPL
  7. Open the properties of the AutodeskAppPL Application Pool and go to the Identity tab.
  8. Add the domain account AutodeskID, set the password and apply the changes.
  9. Expand the Default Web Site and navigate to the AutodeskDM\Services virtual directory.
  10. Right-click on the Services directory and go to the Directory tab.
  11. Change the Application Pool pull-down to the newly created AutodeskAppPL Application Pool.
  12. Apply the changes and close the properties of the Default Web site.
  13. Close the IIS Manager.
  14. Open a Command prompt and type IISRESET
  15. Add new files to the vault and verify that the properties are able to be indexed.

Reconfigure the IIS Worker Process and Application Pool for IIS 7

  1. Open the Active Directory Users and Computers and select an Organizational Unit (OU) to create the account in.
  2. Create an account named AutodeskID. Set the password to match your domain password policy
  3. Make the AutodeskID account a member of the IIS_WPG local group on DMMachine.
  4. Give AutodeskID account Full Control permissions to the %SystemRoot%\Temp directory on DMMachine.
  5. Give the AutodeskID account Full Control permissions to the \\FSMachine\VaultData remote file store directory.
  6. Right click on the Application Pools and select Add Application Pool.
  7. In the Add Application Pool dialog, name the application pool AutodeskAppPL and keep the other options at their default.
  8. In the Applications Pool listing, find your newly created application pool and right click on it.
  9. Select the Advanced Settings.
  10. Under Process Model, Select Identity and change the Identity to use the Domain account (AutodeskID) that you created earlier.
  11. Expand the Default Web Site and navigate to the AutodeskDM\Services virtual directory.
  12. Right-click on the Services directory and select Manage Application > Advacned Settings.
  13. Change the Application Pool to the newly created AutodeskAppPL Application Pool.
  14. Apply the changes and close the properties of the Default Web site.
  15. Close the IIS Manager.
  16. Open a Command prompt and type IISRESET
  17. Add new files to the vault and verify that the properties are able to be indexed.