You can configure connected workgroups to improve the performance of Microsoft SQL for remote sites.
Replication is the process of copying data from one server to another server usually located in two different physical locations. This process allows the setup of a Vault environment which has two different locations. It is not necessary to download large CAD files across their Wide Area Network (WAN) connection. B
Before the added features of Connected Workgroups, only the files were replicated.
The connected workgroup feature supports the use of multiple database servers using Microsoft SQL Publisher/Subscriber technology. This technology allows the replication of the SQL database at multiple locations.
Requirements
Recommendations
Opening ports in Windows Firewall
Find the port being used by your servers
Copy the following line into a batch file to open the necessary ports.
@echo ========= SQL Server Ports ===================
@echo Enabling SQLServer default instance port 1433
netsh firewall set portopening TCP 1433 "SQLServer"
@echo Enabling Dedicated Admin Connection port 1434
netsh firewall set portopening TCP 1434 "SQL Admin Connection"
@echo Enabling port for SQL Server Browser Service's 'Browse' Button
netsh firewall set portopening UDP 1434 "SQL Browser"
@echo Enabling SQL Server Dynamic port
netsh firewall set portopening TCP <number> "SQL AUTODESKVAULT"
@echo ========= Misc Applications ==============
@echo Enabling HTTP port 80
netsh firewall set portopening TCP 80 "HTTP"
Troubleshooting Tips
A connected workgroup is a configuration of file stores that have been replicated from one site to another and that are managed by the Microsoft SQL database. The following illustration shows a typical workgroup configuration. All sites in a single workgroup share the same Microsoft SQL server.
To allow sites to have their own database server to increase SQL performance, Vault uses connected workgroups. The following illustration shows a workgroup with two different sites connected to a second workgroup with a single site.
The installation of a Connected Workgroup environment requires each component to be installed and configured in the correct order, as follows.
Vault does not support connected workgroups on Microsoft SQL express. The full version of Microsoft SQL must be installed with a database instance named "AutodeskVault" before installing the Vault server. ) For more information, see Pre-Install Microsoft SQL.
Configure Firewalls
Before adding a workgroup be sure that the SQL server can communicate with the Vault server through the firewall. This can be done by allowing an exception for the SQL executables sqlbrowser.exe and sqlserver.exe.
After the Publishing server is set up and configured, you can set up the subscribing servers. When configuring the subscribing servers the publishing server installs the Vault server databases to the subscribing server over the network.
Once a Connected workgroup has been configured the last step is to enable which vaults are replicated. This can be configured using the Manage Replication tool.
Perform all backup and restore operations from the publisher site. If it becomes necessary to restore a subscriber, remove that subscriber from the connected workgroup environment, rebuild the subscriber server, and add it back to the connected workgroup environment.
Vault backs up the normal KVM and Vault databases, and the SQL master database, the msdb database, and the replication distribution database. The default name of the replication distribution database is AutodeskReplication.
Vault does not allow you to restore a connected workgroup environment. The databases necessary for restoring a connected workgroup environment are backed up, and can be restored manually if necessary.
Back up
Use the Vault server console to create a backup of the Vault server at the publisher site.
Restore
To restore an Autodesk Vault Professional environment using the backup and restore tools provided by the server console, the publishing server must be restored and all subscribers must be added as if they were never part of the environment.