Crossbill Seeder on-premises installation
Server preparation
1. Infrastructure planning
Before Crossbill Seeder on-premises installation, prepare a target server environment:
- Plan the number of physical servers or virtual machines:
- The basic installation can be done using a single server or a single virtual machine.
- The advanced installation may include multiple servers in a server farm. The current server roles available for farm installation are:
- database server (or database cluster),
- application server (for Crossbill Signalman application),
- licensing server (for Crossbill Central Agent application),
- front office web server (for Crossbill Cone and Crossbill Cone API applications),
- back office web server (for Crossbill Bone and Crossbill Bone API applications),
- marketplace web server (for Crossbill Nest).
config.jsconf
file accordingly. Contact support if you need more information on the server farm deployment.
- Prepare a physical server or start a virtual machine which meet the system requirements
- For the physical server, install a Linux or Windows operating system.
2. Configure the DNS names (domain names)
To access the Crossbill Seeder's web applications, it is recommended to use the DNS names (domain names). The domain name should point to your server's public IP address. There are some configuration options available:
- For a public web portal deployment, consider purchasing a domain name from any ICANN authorised registrars or configure a subdomain for any name you already have.
- For a local network deployment, consider configuring a local network's DNS records.
- If you deploy the system locally on a computer for development purposes, consider configuring a local hosts file to any name you like. On Windows the file is located at
C:\Windows\System32\drivers\etc\hosts
On Linux the location is/etc/hosts
For Crossbill Seeder, the following DNS configuration is recommended:
Crossbill Seeder's component | Suggested DNS name pattern | DNS record type | DNS record points to | Optional / Mandatory |
---|---|---|---|---|
A-record | Public IP address of a web server | Optional | ||
A-record | Public IP address of a web server | Mandatory | ||
A-record | Public IP address of a licensing server | Mandatory | ||
A-record | Public IP address of a web server | Optional | ||
A-record | Public IP address of a web server | Optional | ||
A-record | Public IP address of a web server | Mandatory |
Note that there are no restrictions on domain names and domain name levels. So, it is up to you to use almost any domain name pattern.
The recommended DNS configurations assume a domain-per-application deployment scenario, although another approach exists. There is a single domain deployment scenario available. In this scenario, the Crossbill Basement application can be deployed as a top level website when other products (Cone, Bone, Nest, etc.) are deployed in a subdirectory of the top level domain. This scenario requires a separate configuration in Crossbill Install's config.jsconf
. The DNS configuration in this scenario uses only one DNS A-record for the top level domain.
Although the DNS names approach is recommended, you may wish to address your server by a public IP. In this case, you have the following options:
- Skip Crossbill Central Web component, Crossbill Cone Web component and Crossbill Cone API component installation completely. Use the Crossbill Install utility when you need to get the software updates.
- Or use a single domain deployment scenario described above.
3. Dependencies installation
Crossbill Seeder is dependent on third-party software components which can be installed separately. The third-party components include a web server, a PostgreSQL database engine, a .NET SDK runtime and required libraries.
The component installation is automated by a script. We recommend to use it for any fresh clean server installation. Alternatively, for existing environments, or if you need more control on component installation you can follow the instructions for manual installation.
The automated dependency configuration script accepts two parameters: a directory name to place the component's files and a password for database administrator account. Default value /var
can be used as a directory name. Any string can be used as a password.
Note: We recommend to generate a password using an online password generator. Make sure to save the password in a secure place.
Here are the instructions for the clean server installation using automated dependency configuration script:
Open a terminal or connect via SSH to execute the commands.
Start a root session:
sudo su
Download the automated dependency configuration script:
curl -o dependencies.sh -L https://crossbillsoftware.com/dependencies.debian.sh
Execute the script. Make sure to replace DB_ADMIN_PASSWORD with the password you wish to use for the database admin user:
sh ./dependencies.sh /var DB_ADMIN_PASSWORD
Remove the script file:
rm ./dependencies.sh
Exit the root session:
exit
That's it. All dependencies should be installed now including Nginx, PostgreSQL and .NET SDK.
Open a terminal or connect via SSH to execute the commands.
Start a root session:
sudo su
Download the automated dependency configuration script:
curl -o dependencies.sh -L https://crossbillsoftware.com/dependencies.rhel.sh
Execute the script. Make sure to replace DB_ADMIN_PASSWORD with the password you wish to use for the database admin user:
sh ./dependencies.sh /var DB_ADMIN_PASSWORD
Remove the script file:
rm ./dependencies.sh
Exit the root session:
exit
That's it. All dependencies should be installed now including Nginx, PostgreSQL and .NET SDK.
Follow the manual installation instructions for Windows.
If for some reason the automated script did not fit to your needs, follow the manual installation steps.
Prepare the installer's parameters
All Crossbill installers use the Crossbill Install utility to install the product components. In some scenarios, the utility is run directly from a command line. In some scenarios, it is run indirectly from a user interface (on Windows). Anyway, the utility uses preconfigured parameters to install the components. In this section we provide a brief description of the parameters and instructions on each parameter's value.
The Crossbill Install utility uses a deployment configuration file config.jsconf
. The file uses JSON format. The file's parameters under the replacements
section should be filled before the Crossbill Install utility run according to the following information.
Windows interface parameter | Parameter from config.jsconf | Pattern | Expected value and instructions |
---|---|---|---|
DNS Name (Host Header) | @{DNS} | my-domain.com | The DNS name for Crossbill Cone Web application. This is the public domain name prepared during the DNS configuration step. |
Environment | @{Environment} | PROD | The name of an environment. For example DEV, UAT, etc. Can be used to deploy multiple product instances to the same server. Use PROD for any common configuration. |
Public Website port | @{BaseSitePort} | 80 | The port for a website. This is the port used to serve user requests. Use 80 for any common configuration. |
Database Host | @{DatabaseHost} | 127.0.0.1 | The host name of a database server. Use 127.0.0.1 for the local database. |
Database Name | @{DatabaseName} | crossbill | The name of a database to be created for the product operation. |
Database Admin User | @{DatabaseAdminUser} | postgres | The name of the database administrator's account. |
Database Admin Password | @{DatabaseAdminPassword} | Secret string | The password set for the database administrator's account on database installation step. |
Database User | @{DatabaseUser} | crossbill | The name of the database account for the product connection. This account will be created by the installer. |
Database Password | @{DatabasePassword} | Secret string | The password of the database account for the product connection. This password will be assigned to the account by the installer. Provide at least 20 chars including digits, mixed case letters and symbols. |
Database Connection String | @{DatabaseConnection} | The connection string for the database. Use default value for any common configuration. | |
Random Secret (insert any 40 chars or use existing for updates) | @{RandomSecret} | Secret string | The secret password for sensitive data encryption. Insert 40 chars including digits and mixed case letters. |
Random Secret IV (insert any 20 chars or use existing for updates) | @{RandomSecretIV} | Secret string | The secret password for sensitive data encryption. Insert 20 chars including digits and mixed case letters. |
Logs Directory | @{LogsDirectory} | Location | The directory where to place log files. Use default value for any common configuration. |
Services Installation Directory for Environment | @{ServiceInstallationDirectory} | Location | The directory where to place the service (daemon) files. Use default value for any common configuration. |
Websites Installation Directory for Environment | @{WebInstallationDirectory} | Location | The directory where to place the web application files. Use default value for any common configuration. |
Port for Central Agent service | @{CentralAgentPort} | 5002 | The port number to use for Central Agent service. Use default value for any common configuration. |
URL for Central service | @{CentralAgentURL} | The URL allocated for Central Agent service. Use default value for any common configuration. | |
Theme | @{Theme} | Theme | The theme name for application styling. Use default value for any common configuration. |
Install Crossbill Seeder
The deployment scenarios can vary depending on requirements. On Windows, it is recommended to use .exe installer package, while on Linux, .deb or .rpm package. Crossbill also provides a .zip archive which contains a universal installer and can be used for any operating system (including x86 Windows).
The installer package can be a standalone package or a web package. The standalone package already contains all the required components packed and bundled. The web package contains the Crossbill Install utility and a configuration file only, so it requires a network connection to download the selected components during installation.
For installation, follow one of the scenarios below.
Scenario 1: Install using the installer file
To install the Crossbill Seeder components follow the instructions for a target operating system:
- Open a terminal or connect via SSH to execute the commands.
-
Start a root session:
sudo su
- Open a Crossbill Seeder downloads page in a web browser and copy the .deb file URL for the latest application version. Put the .deb file URL in the following command and execure it:
mkdir /var/work cd /var/work curl -o installer.deb -L https://storage.googleapis.com/crossbillsoft/24.11.4/Crossbill.Seeder.x64.24.11.4.deb
- Install .deb package:
apt-get -y install ./installer.deb
-
The package installs the Crossbill Install utility to
/usr/share/Crossbill.Install
. The directory contains a deployment configuration fileconfig.jsconf
.Edit the deployment configuration
config.jsconf
file and fill in the parameters according to the recommendations given before:vim /usr/share/Crossbill.Install/config.jsconf
-
Once the parameters are filled and saved to the file, run the Crossbill Install utility:
cd /usr/share/Crossbill.Install/ dotnet Crossbill.Install.dll
- Restart the applications for the target environment (PROD by default):
service Crossbill.Central.Agent-CROSS restart service Crossbill.Central.Web-CROSS restart service Crossbill.Cone.Web-PROD restart service Crossbill.Bone.Web-PROD restart service Crossbill.Nest-PROD restart service Crossbill.Signalman-PROD restart
- Make sure to save the
config.jsconf
file in a safe place and remove it from/usr/share/Crossbill.Install/
directory. -
Exit the root session:
exit
- The installation is completed. Now continue to initial configuration of the system.
- Open a terminal or connect via SSH to execute the commands.
-
Start a root session:
sudo su
- Open a Crossbill Seeder downloads page in a web browser and copy the .rpm file URL for the latest application version. Put the .rpm file URL in the following command and execure it:
mkdir /var/work cd /var/work curl -o installer.rpm -L https://storage.googleapis.com/crossbillsoft/24.11.4/Crossbill.Seeder.x64.24.11.4.rpm
- Install .rpm package:
yum localinstall ./installer.rpm
-
The package installs the Crossbill Install utility to
/usr/share/Crossbill.Install
. The directory contains a deployment configuration fileconfig.jsconf
.Edit the deployment configuration
config.jsconf
file and fill in the parameters according to the recommendations given before:vim /usr/share/Crossbill.Install/config.jsconf
- Once the parameters are filled and saved to the file, run the Crossbill Install utility:
cd /usr/share/Crossbill.Install/ dotnet Crossbill.Install.dll
- Restart the applications for the target environment (PROD by default):
service Crossbill.Central.Agent-CROSS restart service Crossbill.Central.Web-CROSS restart service Crossbill.Cone.Web-PROD restart service Crossbill.Bone.Web-PROD restart service Crossbill.Nest-PROD restart service Crossbill.Signalman-PROD restart
- Make sure to save the
config.jsconf
file in a safe place and remove it from/usr/share/Crossbill.Install/
directory. -
Exit the root session:
exit
- The installation is completed. Now continue to initial configuration of the system.
- Open a Crossbill Seeder downloads page in a web browser. Download the latest application version to a target server.
- Run the installer as administrator and follow the prompts.
- On features screen, fill in the parameters according to the recommendations given before and click Install.
- Open services snap-in (Start type Services). Restart the Crossbill Signalman service for the target environment (PROD by default).
- The installer saves the settings in a
config.jsconf
file for future use. Make sure to save the config.jsconf file in a safe place and remove it from the installer's directory. - The installation is completed. Now continue to initial configuration of the system.
Scenario 2: Install using the .zip archive for any OS
Crossbill provides a .zip archive which contains a Crossbill Install utility and can be used for any operating system (including x86 Windows). To install the Crossbill Seeder components, follow the instructions for a target operating system:
- Open a terminal or connect via SSH to execute the commands.
-
Start a root session:
sudo su
- Open a Crossbill Seeder downloads page in a web browser and copy the .zip file URL for the latest application version. Put the .zip file URL in the following command and execure it:
mkdir /var/work cd /var/work curl -o installer.zip -L https://storage.googleapis.com/crossbillsoft/24.11.4/Crossbill.Seeder.x64.24.11.4.zip
- Unpack the .zip archive:
unzip installer.zip rm installer.zip
-
The extracted files are the files of Crossbill Install utility and a deployment configuration file
config.jsconf
.Edit the deployment configuration
config.jsconf
file and fill in the parameters according to the recommendations given before:vim config.jsconf
-
Once the parameters are filled and saved to the file, run the Crossbill Install utility:
dotnet Crossbill.Install.dll
- Restart the applications for the target environment (PROD by default):
service Crossbill.Central.Agent-CROSS restart service Crossbill.Central.Web-CROSS restart service Crossbill.Cone.Web-PROD restart service Crossbill.Bone.Web-PROD restart service Crossbill.Nest-PROD restart service Crossbill.Signalman-PROD restart
- Make sure to save the
config.jsconf
file in a safe place and remove it from/var/work/
directory. -
Exit the root session:
exit
- The installation is completed. Now continue to initial configuration of the system.
- Open a terminal or connect via SSH to execute the commands.
-
Start a root session:
sudo su
- Open a Crossbill Seeder downloads page in a web browser and copy the .zip file URL for the latest application version. Put the .zip file URL in the following command and execure it:
mkdir /var/work cd /var/work curl -o installer.zip -L https://storage.googleapis.com/crossbillsoft/24.11.4/Crossbill.Seeder.x64.24.11.4.zip
- Unpack the .zip archive:
unzip installer.zip rm installer.zip
-
The extracted files are the files of Crossbill Install utility and a deployment configuration file
config.jsconf
.Edit the deployment configuration
config.jsconf
file and fill in the parameters according to the recommendations given before:vim config.jsconf
-
Once the parameters are filled and saved to the file, run the Crossbill Install utility:
dotnet Crossbill.Install.dll
- Restart the applications for the target environment (PROD by default):
service Crossbill.Central.Agent-CROSS restart service Crossbill.Central.Web-CROSS restart service Crossbill.Cone.Web-PROD restart service Crossbill.Bone.Web-PROD restart service Crossbill.Nest-PROD restart service Crossbill.Signalman-PROD restart
- Make sure to save the
config.jsconf
file in a safe place and remove it from/var/work/
directory. -
Exit the root session:
exit
- The installation is completed. Now continue to initial configuration of the system.
- Open a Crossbill Seeder downloads page in a web browser. Download .zip file for the latest application version to a target server.
- Unzip the .zip archive to a local directory.
-
The extracted files are the files of Crossbill Install utility and a deployment configuration file
config.jsconf
.Edit the deployment configuration
config.jsconf
file with a text editor and fill in the parameters according to the recommendations given before. - Run Crossbill.Install.exe as administrator (either from a directory or from a command line).
- Open services snap-in (Start type Services). Restart the Crossbill Signalman service for the target environment (PROD by default).
- Make sure to save the
config.jsconf
file in a safe place and remove it from a local directory. - The installation is completed. Now continue to initial configuration of the system.
Scenario 3: Install using Crossbill Central
If you have Crossbill Central already installed, you can install Crossbill Seeder from Crossbill Central web interface. Follow the steps:
- Open a web browser and navigate to Crossbill Central.
- Log into the system with administrative login and password.
- Under the Applications tab, select the required component on a right side and click Install.
- Fill the installer parameters in a popup window. Click Deploy.
- The installed application will appear in the left panel.
- To install a plugin or theme, click the application's title and repeat steps 3-5.
- The installation is completed. Now continue to initial configuration of the system.
The applications and plugins included in Crossbill Seeder:
Component | Component ID | Component type | Mandatory / Optional |
---|---|---|---|
Crossbill Cone Web | Crossbill.Cone.Web | Application | Mandatory |
Crossbill Cone Default Theme | Crossbill.Theme | Plugin for Crossbill.Cone.Web | Mandatory |
Crossbill Cone API | Crossbill.Cone.API | Application | Optional |
Versioning Plugin for Crossbill Cone | Crossbill.Plugins.DataVersioning.Git | Plugin for Crossbill.Cone.Web | Optional |
PDF Plugin for Crossbill Cone | Crossbill.Plugins.PDF.JsReport | Plugin for Crossbill.Cone.Web | Optional |
Seeder Plugin for Crossbill Cone | Crossbill.Cone.Plugins.Seeder | Plugin for Crossbill.Cone.Web | Mandatory |
Crossbill Bone Web | Crossbill.Bone.Web | Application | Mandatory |
Crossbill Bone Default Theme | Crossbill.Theme | Plugin for Crossbill.Bone.Web | Mandatory |
Crossbill Bone API | Crossbill.Bone.API | Application | Optional |
Versioning Plugin for Crossbill Bone | Crossbill.Plugins.DataVersioning.Git | Plugin for Crossbill.Bone.Web | Optional |
PDF Plugin for Crossbill Bone | Crossbill.Plugins.PDF.JsReport | Plugin for Crossbill.Bone.Web | Optional |
Seeder Plugin for Crossbill Bone | Crossbill.Bone.Plugins.Seeder | Plugin for Crossbill.Bone.Web | Mandatory |
Crossbill Nest | Crossbill.Nest | Application | Mandatory |
Crossbill Nest Default Theme | Crossbill.Theme | Plugin for Crossbill.Nest | Mandatory |
Crossbill Signalman | Crossbill.Signalman | Application | Mandatory |
Operations Plugin for Signalman | Crossbill.Signalman.Plugins.Operations | Plugin for Crossbill Signalman | Mandatory |
Users Plugin for Signalman | Crossbill.Signalman.Plugins.Users | Plugin for Crossbill Signalman | Mandatory |
Cone Plugin for Signalman | Crossbill.Signalman.Plugins.Cone | Plugin for Crossbill Signalman | Mandatory |
Bone Plugin for Signalman | Crossbill.Signalman.Plugins.Bone | Plugin for Crossbill Signalman | Mandatory |
Seeder Plugin for Signalman | Crossbill.Signalman.Plugins.Seeder | Plugin for Crossbill Signalman | Mandatory |
Seeder AWS Plugin for Signalman | Crossbill.Signalman.Plugins.Seeder.AWS | Plugin for Crossbill Signalman | Optional |
Seeder GCE Plugin for Signalman | Crossbill.Signalman.Plugins.Seeder.GCE | Plugin for Crossbill Signalman | Optional |
Troubleshooting
The Crossbill Install utility logs all operations for troubleshooting. The log is located in a common logs location or in the installer's current directory (on Windows). Here are the common logs locations:
Open a terminal or connect via SSH to execute the commands.
Start a root session:
sudo su
#su -
Show log for the Crossbill Install utility:
cat /var/Crossbill/CROSS/logs/Crossbill.Install/Crossbill.Install.log
Show log for the Crossbill Central Agent utility:
cat /var/Crossbill/CROSS/logs/Crossbill.Central.Agent/Crossbill.Central.Agent.log
Exit the root session:
exit
Open a terminal or connect via SSH to execute the commands.
Start a root session:
sudo su
#su -
Show log for the Crossbill Install utility:
cat /var/Crossbill/CROSS/logs/Crossbill.Install/Crossbill.Install.log
Show log for the Crossbill Central Agent utility:
cat /var/Crossbill/CROSS/logs/Crossbill.Central.Agent/Crossbill.Central.Agent.log
Exit the root session:
exit
Open the following files in a text editor to see the log:
C:\Crossbill\CROSS\logs\Crossbill.Install\Crossbill.Install.log
C:\Crossbill\CROSS\logs\Crossbill.Central.Agent\Crossbill.Central.Agent.log