How to configure Remote Access Plus to make it use MS SQL server as the database?
Remote Access Plus extends support for using MS SQL database for storing the configuration and data. This document will explain the steps to,
- Configure MS SQL as the back-end database for Remote Access Plus Server.
- Set up a fresh MS SQL database or migrate data from an existing database to new MS SQL database.
This migration is applicable only for Remote Access Plus build ___ or above. Update your Remote Access Plus server here before following any of these steps.
Hardware Requirements for SQL Server
The hardware requirements for SQL server include the following:
|No. of computers managed
||Hard disk space
|1 to 5000
||Intel Core i7 (6 core/12 thread) 3.2 GHz. 12 MB cache
|5001 to 10000
||Intel Xeon E5 (8 core/16 thread) 2.6 GHz. 20 MB cache
|10001 to 15000
||Intel Xeon E5 (12 core/24 thread) 2.7 GHz. 30 MB cache
|15001 to 20000
||Intel Xeon E5 (14 core/28 thread) 2.7 GHz. 30 MB cache
* May increase dynamically according to the frequency of scanning.
- Remote Access Plus supports MS SQL 2005 or later versions.
- This document is applicable for migrating Remote Access Plus from PgSQL to MSSQL and one MSSQL server to another.
Change the Database Server to MS SQL
The following steps will explain you, to backup the data from the old server, change the database server and restore the data in the MSSQL database.
- Click here and know the steps to configure SQL server (Proceed with step 2 if the SQL server is already configured).
Perform the steps below from the computer where MS SQL Server is installed,
- Choose Start --> Run and type services.msc.
- Ensure that "SQL Browser" service has been started. If not, start the service.
- Open the SQL Server Configuration Manager from the Start menu
- Expand SQL Server Configuration Manager (Local) and navigate to SQL Server Network Configuration.
- Choose the Instance on which you wish to run the database and check if TCP/IP ports are enabled. If not, right-click on TCP/IP and enable it.
- You should restart the SQL Service after you enable TCP/IP. Select SQL Server Services from the left pane, right-click the instance and choose Restart.
Note: Ensure that the you configure Windows firewall to allow access to SQL server. Refer this document for more information.
- Migrating the database to SQL server
From the computer where Remote Access Plus server is installed, perform the steps below:
- Stop Remote Access Plus service
- Execute the script changeDBServer.bat available under <Remote Access Plus Home>/bin directory. This invokes the Database Setup wizard.
- Select Database Type as SQL Server
- Specify the Host Name where SQL Server is installed
- From the list of available SQL server instances, select the instance on which you wish to run the database.
- You can choose to authenticate the database connection either using Windows Authentication or SQL Server Authentication. Choose the required authentication and provide the credentials.
- Click the checkbox to enable NTLM authentication.
- Have the "Migrate Data from Existing Database" check box enabled if you want to migrate your existing database to MSSQL.
Note: This is applicable only if you wanted to migrate your existing database to MS SQL. If you are trying to create a fresh set up, then you can ignore this step.
- Click Save to save and complete the SQL Server Configuration. It may be noted that it will take a few minutes to configure the settings on the SQL Server.
Fig: Windows Authentication
Fig: SQL Server Authentication
- One of the best practise recommended is to, Click Test to check whether a connection could be established with the given credential.
- This might take several minutes, the size of your database determines the time taken.
You can start using Remote Access Plus which has been migrated from the previous location.