Difference between revisions of "Database and Server Set Up"

From EHS Help
Jump to: navigation, search
(Database Setup: added condition on SQL Authentication)
Line 12: Line 12:
  
 
#Create an empty SQL Server Database  
 
#Create an empty SQL Server Database  
#Create a new login for that database that the app-server can use to access the database.  The login is for the ibid-server, not individual users, so requires full access to the IBID database.  See [[Creating a SQL Server Login]] for details.
 
 
#Download the '''IBID Server MSSQL Script''' zip file from [http://www.ibidb.org www.ibidb.org] in the ''IBID Software Downloads'' section.  Unzip to access the database creation script.
 
#Download the '''IBID Server MSSQL Script''' zip file from [http://www.ibidb.org www.ibidb.org] in the ''IBID Software Downloads'' section.  Unzip to access the database creation script.
 
#Using your tool of choice (usually MS SQL Server Management Studio) run the SQL script against the empty database to create the tables, views and to pre-populate the data.
 
#Using your tool of choice (usually MS SQL Server Management Studio) run the SQL script against the empty database to create the tables, views and to pre-populate the data.
  
For the installation of the app-server later you will need to know the server name of your SQL server, database name, user name & password you just created.
+
If you're planning on using SQL Authentication then you need an SQL Login for AquilaServer:
 +
#Create a new login for that database that the app-server can use to access the database.  The login is for the ibid-server, not individual users, so requires full access to the IBID database.  See [[Creating a SQL Server Login]] for details.
 +
 
 +
For the installation of the app-server later you will need to know the server name of your SQL server, database name.  If using SQL Authentication, you will also need the user name & password you just created.
  
 
==Application Server Installation==
 
==Application Server Installation==

Revision as of 12:42, 9 January 2015

This is a Technical (IT) Instructions topic


Target Audience

These instructions are of a technical nature & intended for trust level IT staff & requires experience of:

  • MS SQL Server - creating databases and running scripts,
  • TCP/IP - Installation and configuration of windows services, TCP/IP ports and firewall configuration

Database Setup

  1. Create an empty SQL Server Database
  2. Download the IBID Server MSSQL Script zip file from www.ibidb.org in the IBID Software Downloads section. Unzip to access the database creation script.
  3. Using your tool of choice (usually MS SQL Server Management Studio) run the SQL script against the empty database to create the tables, views and to pre-populate the data.

If you're planning on using SQL Authentication then you need an SQL Login for AquilaServer:

  1. Create a new login for that database that the app-server can use to access the database. The login is for the ibid-server, not individual users, so requires full access to the IBID database. See Creating a SQL Server Login for details.

For the installation of the app-server later you will need to know the server name of your SQL server, database name. If using SQL Authentication, you will also need the user name & password you just created.

Application Server Installation

Download the IBID Server Application Setup from www.ibidb.org in the IBID Software Downloads section.

  1. Unzip the AquilaServer_setup file
  2. Run the installation wizard.
  3. Edit the Connection String parameter during the installation. Replace the items in italics with your own settings
    1. AnyDAC?AuxDriver=MSSQL;Server=SERVERNAME;Database=DATABASENAME;UserID=USERID;Password=PASSWORD;
  4. Continue the installation wizard until complete.
  5. Open the port 8099 on your servers firewall. (The port number is changeable if necessary)
    1. The settings filename is aquilaserver.ini if you need to make any changes - restart the service once changes have been made to this file.
  6. Check services.msc to ensure that the AquilaServer service has been started and is set to Automatic.

Server URL: The Server URL is used to allow the desktop software to connect to the database. All users of the IBID application will need to input this on their first login. It is formatted as follows:

http://SERVERNAME:PORTNUMBER/bin.

If the application server is installed on a server called TRUSTSRV01 and is listening on the default port of 8099, then your Server URL is http://trustsrv01:8099/bin

IBID Software Installation

  1. Download the AquilaCRS setup file from www.ibidb.org in the IBID Software Downloads > IBID Desktop Software section.
    1. Use either per-user or all-users - see AquilaCRS Pre-requisites for information on each type.
  2. Run the installation program and enter the Server URL when prompted.
    1. The Server URL is also available on the login screen by clicking the Connection link


The setup program accepts a number of command line switches that may be useful to a system administrator to run the install silently, or to integrate into a larger deployment script. See Setup Program Command Line Switches for more information.

First time setup of IBID

Designated system administrators at each site will receive an initial administrator level login separately.

  1. Go to the IBID Installation and Setup page.
  2. Register your IBID System:
    1. Enter your IBID Unit ID and click Register. This will open IBID features in the software and also test connectivity to the National Database.

System administrators can now create additional standard users. It is highly recommended that the system administrator creates another administrator level user for themselves.

Desktop software installation & users

Repeat #IBID Software Installation to install the iBID software wherever you need it.

To discuss any aspect of the installation please raise a ticket on our helpdesk system, or call 01964 503400.

Web Service URL's

AquilaCRS needs to access certain web services, & the following domains need adding to the whitelist on your firewall/proxy server in order to prevent system failures:

1. https://nww.ibid.mdsas.nhs.uk - the current base URL for the National Database - please note the use of SSL.
2. www.NBID.org - this web service provides software updates & updates to other URL's.
3. www.EvolutionHealthcareSystems.co.uk - for bug reporting, help files and helpdesk systems.
4. www.ibidb.org - this is the information website for the iBID database, & is where software is made available and service reports are obtained.

Failure to allow these websites through firewalls and proxy servers can adversely affect the performance and data commissioning abilities of the software