|
Network Firebird Server configuration |
Top Previous Next |
|
It is always recommend to read through all instructions first before proceeding.
NOTE: Make sure you have the latest Windows operating system service patches before proceeding.
NOTE: It is recommended to never perform installation via remote computer. If you do, and you encounter any issues, go physically to the server and redo all steps from scratch again.
NOTE: The network Firebird server by default uses tcp/ip port number 3050. If there is a firewall enabled on the computer where the network Firebird configuration is installed and setup, port 3050 needs to be enabled for local connections.
Use of AyaNova with network Firebird engine is a 6 step process
1. Ensure network uses TCPIP for communication between computers and server
The server and networked computers will communicate via TCPIP. If your network is not yet configured, please contact your local computer center.
To confirm whether your network can communicate or not, determine the server’s static internal IP address and ping from a local area networked computer
a. Open a command prompt on the server (Start -> Run -> type in cmd and click on OK) and type ipconfig in the DOS prompt
b. Make a note of your server’s IP Address
c. Confirm that network computers can “talk” to the server by opening a command prompt on a local area networked networked computer and typing ping xxx.xxx.xxx.xxx and the Enter key where xxx.xxx.xxx.xxx is the IP address of your server
For example, if your server's IP address is 192.168.1.15, you would type ping 192.168.1.15
If you get a timeout, there is an issue connecting via TCPIP. Please contact your local computer center to troubleshoot.
2. Stand-alone AyaNova database and program is installed to server
a. Install the stand-alone AyaNova database and program to the server's local hard-drive while logged into that server itself. Refer to Stand-alone default AyaNova installation
b. Once installation is complete, run the AyaNova program and confirm successful
c. Exit out of the AyaNova program
d. It is very important that the AyaNova database file is not accessed (copied, moved, etc) unless explicitly stated so in the following steps. If the AyaNova database file is accessed before steps are completed, corruption could occur.
e. The AyaNova program files are installed by default to C:\Program Files\Ground Zero Tech-Works Inc\AyaNova
f. The AyaNova sample stand-alone database is installed to %AllUsersProfile%\AyaNovaData\AYANOVA.FDB
3. Move stand-alone AyaNova database to new location on server
a. Using Windows Explorer, create a folder on the server from which the networked AyaNova database will be located - for example: C:\Data\AyaNova
b. In Windows Explorer, move the AYANOVA.FDB file from C:\Documents & Settings\All Users\Application Data\AyaNovaData\ to this new folder C:\Data\AyaNova (or whatever folder you created on the server)
NOTE: Never ever move or edit or copy the AyaNova database file once network Firebird is installed and running unless:
Moving, editing or copying a live database file will cause database problems – even corruption
4. Network Firebird 2 database server is installed and configured
a. Download the network Firebird 2 database server installation file from the link on the AyaNova web site http://www.ayanova.com/download.htm and be logged into the server as the server's administrator user
b. Start the network Firebird 2 database server installation
d. Once the network Firebird server installation is complete, move to the Firebird program directory C:\Program Files\Firebird\Firebird_2_0 via Windows Explorer
e. Using NotePad, open the file aliases.conf
Do NOT use any other program to open and edit this file
f. Enter text identifying the name of your database and the path where you moved the database file to from step 3
For example, if your database is in C:\Data\AyaNova, enter the text as follows - note there is no # in front of it
AYANOVA = C:\Data\AyaNova\AYANOVA.FDB
g. Save and close the aliases.conf file
NOTE: if the "server" where Firebird Server will be installed onto has dual or more processors, to prevent performance drop, edit the firebird.conf CPUAffinityMask parameter
h. Reboot the computer and log in as the computer administrator again
i. Confirm that the network Firebird server is running Open Control Panel -> Administrative Tools -> Services Confirm both the Firebird Guardian Service and the Firebird Service are running, that the Firebird Guardian Service is set to Automatic and the Firebird Service is set to Manual as shown in screenshot below
You will also note in Control Panel is the Firebird Service Control. Double-click to open to confirm is running.
j. As the network Firebird server uses a default password that is known by all, it is suggested that you change the default password. This is an optional step.
Open a command prompt (Start -> Run -> cmd)
Move to the C:\Program Files\Firebird\Firebird_2_0\bin directory by changing to that directory by typing
CD C:\Program Files\Firebird\Firebird_2_0\bin
Type (do not copy – will receive syntax error message if attempt to do so)
gsec –user sysdba –password masterkey
You will now see a shell prompt
GSEC>
Type
modify sysdba –pw aya78787
(aya78787 is an example password, type in your own) (the above command line changes the password for your Firebird server)
Make a note of this password exactly as typed
Press the Enter key and type the following at the prompt
quit
Exit out of the command prompt window
5. Configure and confirm access for the AyaNova program on the server to the database
a. Delete the existing config.txt using NotePad in the C:\Program Files\Ground Zero Tech-Works Inc\AyaNova folder
b. Move to the C:\Program Files\Ground Zero Tech-Works Inc\AyaNova/examples folder
c. Copy the EXAMPLE_FIREBIRD_SERVERconfig.txt file
d. Move back to the C:\Program Files\Ground Zero Tech-Works Inc\AyaNova folder
e. Paste in the EXAMPLE_FIREBIRD_SERVERconfig.txt file into the C:\Program Files\Ground Zero Tech-Works Inc\AyaNova folder
f. Rename this file to config.txt
g. Edit this new config.txt using NotePad
j. Save the file.
k. Now run the AyaNova 4 program and log in.
l. Select menu Help -> About AyaNova
m. Confirm that it shows the correct connection for you (screenshot below is an example and may not have the same ip address as you, same database name, nor same password) - so that you know that you are correctly connecting to the networked Firebird configuration
If you encounter an issue connecting to the AyaNova networked database, do go back and double-check each of your steps from the beginning.
6. Configure and confirm access from network computers to networked database
a. Copy your network Firebird configured config.txt file from the C:\Program Files\Ground Zero Tech-Works Inc\AyaNova folder to a shared location that your networked users can access.
b. Copy/Move to this same shared folder the AyaNova installation file AyaNovaSetup.exe that you used to install on the server
c. Have each local networked computer run the AyaNovaSetup.exe file from that shared location that also has the edited config.txt in that same shared location.
If the local networked computer will also run QBI, or PTI or perform an import, select when installing on that computer those optional AyaNova programs. Refer to the QBI Manual or PTI Manual available from the AyaNova download web page if using QBI or PTI. Refer to the appropriate Import CSV utility section in this help file if using one of the import utilities.
The AyaNovaSetup.exe will "see" that config.txt file and automatically copy it to that computer's AyaNova program directory so no additional configuration is needed on that user's station.
The install will only install the AyaNova program files it has been told to install, will copy that config.txt file to the networked workstations AyaNova program folder and will not install a trial database.
The AyaNova installation will place a desktop icon for AyaNova on the desktop as well as in the start menu.
You can confirm that AyaNova is configured correctly on the networked computer by logging in on that networked computer, selecting Help -> About AyaNova so that you know that you are correctly connecting to the networked Firebird configuration (screenshot below is an example and may not have the same ip address as you, same database name, nor same password)
Refer to Network Generator installation steps to install and configure the Event Generator in a network setup if applicable.
Refer to the Data Portal installation and configuration steps to install and configure the AyaNova Data Portal if applicable.
|