V9 Moving Servers - Mac Firebird SQL
Here is a quick guide on how to move Accessit Library from one Firebird SQL server to another (presumably newer) Firebird SQL MacOS Server.
Prior to the server migration, first update the Access-It Management App to the latest build. You can download the updates through Library Setup -> Software Update Checker. Then create a Backup (Management -> Create a Backup)
Required installers
Firebird
Click
here to download the latest Firebird 2.5 installer
Accessit Library
Click
here to download the latest Accessit Library installers.
Required steps
Ensure that all users have closed down Accessit Management App and do not the Web App during the migration.
Old Server
Create a backup in the Accessit Managment App and save it to a safe location on your servers local drive.
Go to Management -> Create a backup
- Stop all Accessit Library Services. Click here for more info.
Stop the Firebird service. Click
here for more info.
Remove services by removing Accessit and Firebird plist's from /Library/LaunchDaemons folder.
- Copy the backup across to the new server
New Server
Install Firebird 2.5 as a service with the provided installer
Install Accessit Library by using MacOS Server Installer
Ensure the Firebird and Accessit services are stopped
sudo launchctl unload /Library/LaunchDaemons/com.accessitsoftware.bts.plist
sudo launchctl unload /Library/LaunchDaemons/com.accessitsoftware.tomee.plist
sudo launchctl unload /Library/LaunchDaemons/org.firebird.gds.plist
- Download the Empty database template (click the link to download) and save it to a safe location.
- Rename the file from Brooklyn25_Mac.fdb to Brooklyn.fdb
- Move the empty Brooklyn.fdb file and replace it in the data folder. /usr/local/accessit/data
- Download new Security2.fdb file
- Place into /Library/Frameworks/Firebird.framework/Versions/A/Resources/English.lproj/var over the top of existing one
- Confirm Aliiases.conf has following line: "Brooklyn = /usr/local/accessit/Data/Brooklyn.fdb"
- Start the Firebird service
sudo launchctl load /Library/LaunchDaemons/org.firebird.gds.plist
Start Accessit Management App in Maintenance mode
creating an empty notepad file in the Applications/Accessit folder and rename it to Config.Block
Restore the backup into the previously downloaded and renamed Empty database template (from step 5) by;
- Tools
- Restore a backup
- Load Current
- Ok
- Locate the backup file you copied from the old server
- Once the update has completed, you can close the maintenance window.
- Delete the Config.block if you created one in step 10
- Start the Accessit Management App
- Start the Accessit BTS and Accessit Web Service services
sudo launchctl load /Library/LaunchDaemons/com.accessitsoftware.bts.plist
sudo launchctl load /Library/LaunchDaemons/com.accessitsoftware.tomee.plist
Note: If the IP address of the server has changed, you will have to replace the AIS_cfg.properties files on the clients computers, so it will point to the new IP address of the server.
Web App
From here you may need to change the Web App port and also move across any uploaded files from the old server.
Uploaded files are normally located in: /usr/local/accessit/tomee/files
To change the Web App port and add the new files location, edit the server.xml file as shown below and restart the Accessit Web Service - TomEE:
/usr/local/accessit/tomee/files/server.xml
Web App port
File location
After the server.xml has been updated, you will need to check the following configuration in the Accessit Management App
- Go to Library Setup -> Campus Setup -> Web App settings
You need to ensure that the address is correctly defined for your new server. It will need to include the correct port #.
Next you will need to check the Set Web Upload Root Path.
Go to Library Setup -> Organization Setup -> Organization info
If you experience difficulties and require further assistance, please contact our Technical Support (or create a ticket) and we will be happy to assist you.
Related Articles
Mac OS - Generate Lets Encrypt SSL Certificate
This is a guide on setting up free SSL certificate for Accessit Web App using Let’s Encrypt on Mac Servers. Generated certificates will also renew automatically. Requirements: Accessit Web App must be available from the internet on port 80. ...
Windows - Generate Lets Encrypt SSL Certificate
This is a guide on setting up free SSL certificate for Accessit Web App using Let’s Encrypt on Windows Servers. Generated certificates will also renew automatically. Requirements: Accessit Web App must be available from the internet on port 80. ...