Skip to content Skip to main navigation Skip to footer

Self Hosting

Table of Contents

When Alexandria is Self Hosted, you are responsible for setting up and maintaining your own installation and operations, including DNS access, system updates, and backing up your data.

  • You are in control of the system and its database(s).
  • You allocate the IT staff, server facilities, and operating system platforms.
  • You schedule and perform software updates.
  • You institute a secure backup strategy and resolve network connection issues.
  • You make provisions for the up-front and ongoing maintenance costs of computer hardware.

If you’re looking for something with less maintenance, you may want to consider Cloud Hosting. For more information, contact your sales representative. It’s probably more affordable than you think!

If you’ve decided on Self Hosting, it’s time to get it up and running. Use the Getting Started Guide and the articles below to prepare to automate your library with Alexandria. Once installed, it’s best to have Alexandria open and active as you follow along, so everything makes sense.

Before installing Alexandria, make sure you have the registration letter that came with your program, which contains information required during the installation process. Alexandria can be installed on either a Mac or Windows operating system.

See Alexandria Requirements for supported devices and web recommendations.
Also, take a look at our Technology Services Reference as listed on this page for information on ports and addresses you’ll need to allow.
  • We recommend using a solid state drives (SSDs) for all Alexandria installations, including Controller, Centralized Catalog data stations, and Distributed Catalog data stations. Database applications are disk intensive, and solid state drives greatly enhance performance and reliability.
  • It’s required that you always have more than 40GB of available HD space. This is in addition to space for the program and data folders. If there isn’t 40GB of available HD space during nightly archives, Alexandria will shut down.
  • A separate drive is useful for archives, because it saves space on the SSD for more important tasks.
  • The Alexandria data station does not have an UI and can be run as a Service on both macOS and Windows operating systems. You must use a web browser to manage and use the server.
  • Alexandria 7 requires a static IP address.
  • The Alexandria Controller requires TCP/IP to communicate between hosted data stations and their clients. The Alexandria Controller and the data stations it manages can not be dynamically allocated and must share a fixed TCP/IP address.

No Support for Virtual Machines

We do not provide support to run Alexandria on a virtual machine. Alexandria is a highly sophisticated database application that should be run on a dedicated server to optimize performance. While you can run it on a virtual machine, we don’t recommend it. The resource-intensive nature of a controller’s workload can place a significant strain on an inefficient VM, leading to challenges we cannot troubleshoot or diagnose.

Alexandria Data Stations
Operating SystemmacOS 10.12, 10.13, 10.14
Windows 10
Windows Server 2016, 2019
CPUx86 or x64 multi-core processor
Memory4 GB RAM
Required Available HD Storage40 GB +
Screen Resolution1024 x 768
Alexandria Centralized Catalog
Operating SystemmacOS 10.12, 10.13, 10.14
Windows 10
Windows Server 2016, 2019
CPUx86 or x64 multi-core processor
Memory1–5 collections: 8 GB +
6–20 collections: 12 GB +
21–29 collections: 16 GB +
30+ collections: see note
Required Available HD Storage40 GB +
Screen Resolution1024 x 768
NetworkTCP/IP
Alexandria Controller
Operating SystemmacOS 10.12, 10.13, 10.14
Windows 10
Windows Server 2016, 2019
CPUx86 or x64 multi-core processor
Memory1–5 collections: 8 GB +
6–20 collections: 12 GB +
21–29 collections: 16 GB +
30+ collections: see note
Required Available HD Storage40 GB +
Screen Resolution1024 x 768
NetworkTCP/IP

Note

For Controller or Centralized Catalog configurations managing more than 30 collections, please contact us for specific recommendations.

This is a quick reference guide for information and technology specialists responsible for integrating and supporting self-hosted versions of Alexandria; use it as a starting point to help identify any issues that pertain to your specific operating environment or to quickly locate links to more detailed information.

Several existing support documents detail Alexandria features in further detail.

Alexandria is completely self-contained and can be installed on both “Server” and “Desktop” versions of Microsoft Windows and Macintosh OSX.

Part of understanding how Alexandria works is understanding our terminology.

  • We call our Alexandria Server the data station.
  • The web-based interface that librarians and operators use is called Librarian.
  • The web-based interfaces that patrons use to search your collection is called Researcher.

Alexandria v7 is a Web 2.0+ application that requires an internet browser (i.e. HTML 5) for the best user experience.

Antivirus Scans and Software

You should regularly perform a virus scan with antivirus software. We recommend that you close Alexandria so it is not be an active service before performing such scans, or that your Alexandria Data Folder be excluded from these scans.

Information & Technology Services Quick Reference Guide

Accessing Alexandria’s standard and expanded services requires that you configure your firewall to allow certain ports and addresses. However, depending on the internet security requirements at your location, you may only want to enable firewall access for the services that you use.

Here are the IPs you need to whitelist on your firewall.

NamePrimary
IP Ranges209.210.70.0/24

Below is a comprehensive list of addresses you should allow in your firewall’s access control list.

NamePortsURL
Title Assistant210
2200
7090
Sneak Peek*.syndetics.com
SAFARI Montagesafarimontage.com
Perma-eHub6001*www.perma-bound.com/ebooks/ehub-info.faces
Perma-Boundwww.perma-bound.com/Alexandria
OverDrive80
443
6001*
api.overdrive.com
oauth.overdrive.com
images.contentreserve.com
NoveList80imageserver.epnet.com
netTrekkerschool.nettrecker.com
Mitinet’s AccessMARC210z3950.accessmarc-db.com
MackinVIA443
6001*
api.mackinvia.com
Mackinwww.mackin.com
Lexiles30427
LDAP389
636
Google Analytics80google-analytics.com
COMPanion Update Servers3.amazon.com
s3.amazonaws.com
COMPanion Support Email25mail.companioncorp.com
COMPanion Online Help80www.goalexandria.com/v7Docs/
COMPanion FTP21ftp.companioncorp.com
COMPanion Cover Art Servicesaws.amazon.com
images.amazon.com
Capstone Publisherswww.capstoneinteractivelibrary.com
Bound to Stay Boundwww.btsb.com
Baker and Taylorschoolselection.btol.com
Axis 3606001*axis360.baker-taylor.com
Alexandria Web Services80 (Non-secure)
443 (Secure)

Troubleshooting Checklist

Sometimes, when Alexandria is behaving abnormally, there may be conflicts on your end caused by blocked ports, aggressive emails filters, etc. Try these things first:

  1. Does your machine have a network filter turned on?
  2. Does your network have filters turned on that are blocking Alexandria communications?
  3. Does your network block communications outside your network?
  4. Do you have an email firewall that is blocking or filtering Alexandria messages?

We recommend installing Alexandria on a dedicated machine that is isolated from the public. This will be called your data station. Our most recent hardware and operating system recommendations are outlined in Install Requirements, as listed below.

COMPanion will send you an email with links to download the Alexandria app and the Alexandria Support folder. If the email isn’t in your inbox, check your spam, junk, or deleted items folders. Download the installation files and save them to your desktop so they’re easy to find. From that point, follow our instructions for installing on either macOS or Windows.

MacOS

Virtual machine (VM) environments are not recommended or supported. We recommend Alexandria run on its own server machine with an assigned static IP address for best performance.

  1. Download Alexandria.app and Alexandria Support from the provided FTP site.
  2. Go to Applications.
  3. Create a new folder by going to File > New Folder.
  4. Name the new folder COMPanion Corporation.
  5. Place Alexandria.app into the COMPanion Corporation folder.
  6. Right click or Ctrl + click on Alexandria.
  7. Click on Open.
  8. If you downloaded Alexandria from the internet by an HTTP or FTP site, you may be asked if you’re sure you want to open it. Click Open.
  9. You may also be prompted to enter an administrator username and password.
  10. Go to the hard drive (MacHD) > Users > Shared > Application Support.
  11. Within Application Support, replace the Alexandria Support that’s already there with the Alexandria Support from the FTP site.
  12. Once replaced, go back to Applications.
  13. Click on COMPanion Corporation. Double click on Alexandria.
  14. When the program starts, it will automatically open a web browser page to your Alexandria web services. It is important to wait for this to happen and not try starting the program again. You can verify Alexandria is running in your Activity Monitor. Once the program starts web services, an Alexandria login page will open and you will be prompted for your username and password.

And that’s it! You’ve installed Alexandria! If you’re a single-site license, you are finished installing. If you’re part of a Centralized Catalog, be sure to set up your additional sites now.

If you are running an Alexandria Controller, you need to be aware of some additional details. Check out Alexandria Controller for more information.

Windows

Virtual machine (VM) environments are not recommended or supported. We recommend Alexandria run on its own server machine with an assigned static IP address for best performance.

  1. Download Alexandria and Alexandria Support from the provided FTP site.
  2. Go to your C: drive.
  3. Create a new folder and name it COMPanion Corporation.
  4. Place Alexandria into the COMPanion Corporation folder.
  5. Right click and select to Run as Administrator.
  6. Go to C: drive.
  7. Go to ProgramData. If ProgramData is NOT displayed then you will need to click on View and show the Hidden Items.
  8. Within Program Data, replace the existing Alexandria Support with the one from the FTP site.
  9. Double click on Alexandria in the COMPanion Corporation folder.
  10. When the program starts, it will automatically open a web browser page to your Alexandria web services. It is important to wait for this to happen and to not try starting the program again. You can verify Alexandria is running in your Task Manager. Once the program starts web services, an Alexandria login page will open and you will be prompted for your username and password.

And that’s it! You’ve installed Alexandria! If you’re a single-site license, you are finished installing. If you’re part of a Centralized Catalog, be sure to set up your additional sites now.

If you are running an Alexandria Controller, you need to be aware of some additional details. Check out Alexandria Controller for more information.

You should also refer to the following pages for other crucial setup steps:

Each month, a new version of Alexandria is released with features, improvements, and/or bug fixes. COMPanion automatically updates all Cloud-Hosted users, but all Self-Hosted users will need to manually update the software. See the Installation section below for instructions on updating Alexandria.

Once all of the Cloud-Hosted servers have been updated, we will make the update available to Self-Hosted servers.

Not every version is able to update to the newest version, so the Available Updates window will only include those versions that meet your machine and version requirements.

Self-Hosted Notice – Mac
If you self-host on a Mac, hold off updating your servers to macOS 10.15 Catalina until you can update to Alexandria 22.8 or later (64-bit compatible releases). 

If you self-host on a Mac, here’s how to install the update on your Self-Hosted server: 

1. Log in to Alexandria.
2. Append /admin to the end of your Alexandria URL.
3. Click the Actionsmenu, then select Check For Updates.
4. Select the update version from the list, then click Update. Your update will now download.
5. The update screen will close automatically and you will be redirected to the login window.
Self-Hosted Notice – Windows
As of 2023 our self-hosted update process has changed.

If you self-host on a Windows machine and are on Alexandria 22.6 or earlier: Contact us for instructions and assistance updating to the latest version.

If you self-host on a Windows machine and are on Alexandria 22.12 or later, here’s how to install the update on your Self-Hosted server: 

1. Log in to Alexandria.
2. Append /admin to the end of your Alexandria URL.
3. Click the Actions menu, then select Check For Updates.
4. Select the update version from the list, then click Update. Your update will download to the Updates folder in your Alexandria Support folder. The download may take several minutes.
5. The update screen will close automatically and you will be redirected to the login window.
6. Once the installer has downloaded, and not before, quit Alexandria.
7. Remove your existing Alexandria application using Add or Remove Programs in System Settings. 
8. Run the newly-downloaded Alexandria Installer.

Version Numbering Change

As of 20.1, we’ve simplified our versioning scheme by dropping the series version. We now use the following:

  • xx = academic year, beginning in June; yy = month

For example, 20.1 means:

  • 20 = 2020 academic year
  • 1 = The first monthly update (June)

Centralized Catalogs

If you have more sites than you are licensed for, contact our Sales team immediately at 1-800-347-6439. You can check this in Sites Management; the number of total sites plus the Union Site shows at the top, and the number you have licensed is at the bottom. The Union Site does not require an additional license.

Data Conversion

These Data Conversion notes are for Self Hosted users updating from v7 and switching from v6. If you are cloud-hosted or moving to cloud-hosted, we do everything for you!

Data conversions from older versions may not be supported. Before updating, please check the version you’re currently running.

Updating from v7

If you’re already running 7.17.12 or newer, you can update to the latest version. But if you’re running an older version, you’ll need to update a few times.

  • Running 7.16.3? Update to 7.17.12 before updating to the latest version.
  • Running 7.16.2? Update to 7.16.3, then to 7.17.12, before updating to the latest version.
  • Running an even older version? Contact COMPanion Support for assistance. Depending on your current version, your upgrade path may go through one or more of the following: 7.15.3 → 7.16.2.6 → 7.16.3 → 7.17.12 → Current Version 

Upgrading from v6

The process to update from 6.23.1 to v7 is quite a bit different than updating from a more recent version. Check out our v6 to v7 Conversion Guide for more information.

  • Running 6.22.9 or older? Update to 6.23.1, then to 7.17.12, before updating to the latest version.

Develop a Machine Maintenance Strategy

Athough today’s state-of-the-art computers are largely reliable, they can experience damage through excessive use, power fluctuations, crashes, and incorrect operations. To discover or postpone such damage, you should come up with a maintenance strategy that works for your library. Optimally, Alexandria should not be running as a service during any maintenance operations.

In addition, you should regularly perform a virus scan with antivirus software. It’s important that Alexandria is not an active service when performing such scans and that the Alexandria Data Folder be excluded from these scans.

Defragment & SSD

Never perform defragmentation operations on an SSD (solid-state drive); doing so provides no performance benefits and adds excessive wear to the drive’s limited lifespan.

Develop an Alexandria Maintenance Strategy

Alexandria automatically runs daily, weekly, and monthly maintenance. For these to complete, you need to run Alexandria on a central server as a service at all times. If Alexandria is shut down for whatever reason, required maintenance will not complete, and that can affect your data.

However, hardware or system failure may necessitate running maintenance more often; Database Maintenance disables all services while it is cleaning your data and can take several hours depending on the size of your data and speed of your machine. You should backup or archive prior to a manual Rebuild (i.e. Database Maintenance), just as you should with any other utility.

Evaluate the Security of Your Data Station

Some libraries may not have the funds or hardware necessary to have both a dedicated Data Station and accessible clients. If your Data Station is accessible to the general public, you may want to enable additional security that would prevent unauthorized users from deleting, renaming, or moving your Alexandria application or Data folder. Some file security may be built into your operating system; some operating systems have no such security and would require purchasing third party software to provide that file security.

If you don’t have file security on your Data Station, you should be extra vigilant in backing up your Data folder.

If you’re Self-Hosted and having issues updating, make sure you’re allowing full permissions to the Alexandria Support folder and temp/cache folders, particularly Cleanup at Startup.

Still having problems? Feel free to contact Customer Support for assistance.