You want to change the folder location of the ADMS, AVFS and vlog file generated by Vault Server. To do this, you must edit some .config files.
Before making any modification to the following files, ensure that you first make a copy.
To edit the config files, don't use a program that could change the format of the file, such as Microsoft Word. Instead, use a text editor such as Notepad, Notepad++ or Ultraedit (There are other text editors available, but these ones won't change the files format)
"C:\Program Files\Autodesk\ADMS Professional 2014\ADMS Console\Connectivity.ADMSConsole.exe.Config"
Vault is no longer working and in the vlogs, you see a message with the text:
Memory gates checking failed because the free memory (xxxxxx bytes) is less than 5% of total memory.
The issue occurs because you have less than 5% available memory free and by default, the program checks for 5%
In Windows Explorer, navigate to C:\Program Files\Autodesk\ADMS <version> 2014\Server\Web\Services. Open the file named web.config in notepad. Find the line <serviceHostingEnvironment aspNetCompatibilityEnabled="true" /> Change it to be <serviceHostingEnvironment aspNetCompatibilityEnabled="true" minFreeMemoryPercentageToActivateService="0" /> Open a command line window and type the command IISRESET to reset IIS
No doubt, all readers of this blog will be aware of the Backup and Restore Autodesk Vault document, that should be used to back up a replicated environment. Of particular interest is the line...
A restore should be perform on a computer with the same name as the original computer.”
This has caveat has raised some interest from customers wishing to validate their backups in a test system. However, this restriction is enforced by Microsoft SQL Server and can be referenced to this statement.
"Replication supports restoring replicated databases to the same server and database from which the backup was created. If you restore a backup of a replicated database to another server or database, replication settings cannot be preserved. In this case, you must recreate all publications and subscriptions after backups are restored." Source: MS Article 151152
I wanted to post this information because Autodesk Support are frequently asked to investigate why licences are not being released automatically following a period of client inactivity. So I wanted to share my observations in the hope that you may find it useful.
(Click the image below to enlarge)
A background process will run two jobs on the Vault Server. (appears in the ADMS Console, Server Tasks as "Session Monitor").
SessionInactiveTimeoutInterval (default = runs every 30 minutes)
SessionInactivityCheckInterval (default = runs every 5 minutes)
There are three states that the licence can be in.
Active (Consumed by a client)
Inactive (Consumed by a client and can be reconsumed by that same client but not yet in the pool of "available" licences)
Available\Released (The licence is available to any client)
The licence will not become Available\Released, until the SessionInactivityCheckInterval process runs and detects that a licence is Inactive.
If the user logs out of the Vault Server or closes the client application, the licence is immediately Available\Released.
So using the above image as an example, a user logs in to a Vault Workgroup "Thick" client at 12:01 but then leaves the session inactive. At 12:31 their licence will become "Inactive", then running at 5 minute intervals at 12:35, the Vault Server checks what licences are Inactive and Releases them to be available to any other user. Between 12:31 and 12:36, the user can reclaim their licence. After 12:36 they cannot be guaranteed that they will get their licence back, requests for a licence will be subject to number of licences available. If the frequency of licence refusal is increasing, you should ask other users to log out, or if they are actually using the licences, purchase additional licences.
The same process also applies to the thick Vault Professional (VP) client. However, it will poll the VP server every 5 minutes for any ECO Notification (Hard-coded). This polling will ensure that so long as a user is logged into the VP Server from a thick VP client, the licence will never be released. The Vault Addin for AutoCAD will perform a similar poll in VW\VC\VP as it checks for updates to any XREFS.
Ordinarily, when a user logs into a licenced Vault Server from either a Vault Workgroup (VW) or Vault Collaboration (VC) "Thick " client or licenced CAD Addin, after 30 minutes of inactivity, the licence will become "Inactive". (As soon as the user makes any request to the Vault Server the "SessionInactiveTimeoutInterval" countdown is reset).