Table of Contents
Prerequisites
- Ensure your deployment can meet the system requirements for Zephyr 6.1
- Ensure you have your Zephyr and any plugin license files
- Download and install the required software:
Install Software Dependencies
The following software will need to be installed:
- Install Oracle JAVA JDK 1.8: Please see the Oracle website or documentation for your Linux distribution for JAVA installation instructions.
- Install MySQL: A database server is required to use Zephyr and MySQL is the default for single server installations. If you plan to use MS SQL or Oracle please see our Zephyr Data Center installation instructions.
- Configure MySQL: See the recommended database settings below.
- Install Elasticsearch: It is now a requirement to install Elasticsearch as a separate process. Zephyr Server installations you can install this on the same VM as the Zephyr server application.
- Upload Zephyr License: The Zephyr installer will need access to the license file provided. It will need to be first uploaded to the file system of the server.
- Upload the MySQL Connector: The Zephyr installer will need access to the MySQL connector jar file downloaded. It will need to be first uploaded to the file system of the server.
- Install / Configure Zephyr server: The installer will walk you through the application configuration options necessary for a new installation.
Install & Configuring MySQL
- Install MySQL Server according to the instructions for your Linux distribution: https://dev.mysql.com/downloads/mysql/5.6.html
- Configure MySQL with the following settings below and restart the MySQL service. You will need to edit the my.cnf file and add the following configuration settings. Depending on your linux distribution this may be in the /etc folder.
[mysqld] user=mysql max_allowed_packet = 150M max_connections = 600 default-storage-engine=INNODB character-set-server=utf8 collation-server=utf8_unicode_ci sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES [mysqld_safe] default-storage-engine=INNODB character-set-server=utf8 collation-server=utf8_unicode_ci [mysql] max_allowed_packet = 150M [mysqldump] quick max_allowed_packet = 150M
NOTE: You may run into an issue where the "max_connections" setting does not actually reflect in MySQL. This could be due to a file open limit built into the Linux operating system. Please see these instructions for how to setup MySQL and Systems to adjust for the "LimitNOFILE" setting. https://dev.mysql.com/doc/refman/5.7/en/using-systemd.html
Install & Configure Elasticsearch
- Download Elasticsearch 5.5.0: https://www.elastic.co/downloads/past-releases
- Install Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/5.5/_installation.html
- Navigate to the Elasticsearch installation path: etc/elasticsearch
Edit the elasticsearch.yml file to match the parameters below and save the file:
Single node Elastic Searchcluster.name: zephyr node.name: "Node1" node.master: true node.data: true script.inline: true script.indexed: true network.bind_host: (host IP of the server elastic search is installed) network.publish_host: (host IP of the server elastic search is installed) network.host: (host IP of the server elastic search is installed) transport.tcp.port: 9300 http.port: 9200 indices.query.bool.max_clause_count : 4096
Restart the Elasticsearch system service
Install Zephyr 6.1
Please ensure you have installed Elasticsearch prior to installing Zephyr.
Ensure the installer file has the proper permissions to be executed:
shell> chmod +x zephyr_(Build Number)_linux_setup.sh
Launch the setup file with the '-c' command line option as shown below, and ensure to launch it as sudo or root:
shell> sudo ./zephyr_(Build Number)_linux_setup.sh
You will be prompted to continue with the installer
Starting Installer... This will install Zephyr X.X on your computer OK [o, Enter], Cancel [c]
You may be prompted to choose between a new install or upgrade
Choose type: Install [1, Enter], Upgrade [2]
You will be prompted to confirm your system meets Zephyr Server Requirements
Requirements Server OS: RedHat Enterprise CentOS Ubuntu/Debian SUSE/openSUSE CPU: Quad-core CPU Intel Pentium or AMD Opteron (2Ghz or higher) RAM: Minimum 16GB; Preferred 16GB Disk Space: At least 5GB Free Networking: Wired Ethernet Static IP address If Firewall exists, please allow ports 80, 443, 8005, 8009 , 3306 Account: Superuser (root) access to the machine Installer and services need to be installed as "root"
You will be prompted to agree to the Zephyr EULA
License Agreement D Software End User License Agreement IMPORTANT - PLEASE READ CAREFULLY: This End User License Agreement ("Agreement") constitutes a valid and binding agreement between D Software, INC. (”d software,” ”WE” or ”US”) and you, as either an individual or a single business entity ("you," "your" or "user") for the use of the Zephyr 6.1 software, ANY files that are delivered to you by d software to modify the Zephyr 6.1 software product, any online or enclosed documentation, and any updates, fixes and upgrades provided to you (collectively, the ”Software”). You must FIRST READ AND ACCEPT THE TERMS OF THIS LICENSE AGREEMENT by clicking on the ”i agree” checkbox below in order to install and use the Software.
Use the enter key till you see the following then choose 1 to agree.
I accept the terms of this license agreement [1], I do not accept the terms of this license agreement [2, Enter]
You will then be prompted to enter the path to place the Zephyr home directory.
Select Destination Location Setup will install Zephyr into the following folder. To continue click Next. If you would like to select a different folder, click Browse [/usr/local/zephyr]
You will then be prompted to choose an installation type
Choose deployment type: Server deployment [1, Enter], Data Center deployment [2]
You will then be prompted to locate your license file
License File License Key File: [/home/zephyr/license.lic]
You will then be prompted to choose a port to run Zephyr on. By default Zephyr runs on port 80.
Customization Server Port : [80]
You will then be prompted to choose a Tomcat Server Shutdown port. We recommend you leave it to the default
Tomcat Server Shutdown Port: [8005]
You will then be prompted to choose a database system. Use the default MySQL
Note: If you had just uninstalled. Please wait few miniutes for the port to get free and try again. Configure Database Database Type: MySQL [1, Enter]
You will then be prompted to provide a database username. Note this database user must have database create, update, and alter permissions.
Database Character Set: utf8 Username: []
Step 6.) You'll then be prompted to enter the directory location of the license file that has been provided.
Step 7.) If you have any additional Zephyr plugins (Vortex, Cyclone, etc.) that you want to add, enter in the location of the license files for your Zephyr plugins.
- If you have Zephyr already installed:
- Stop the Zephyr service
- Go to the zephyr installation directory
- Copy the license file in license folder
- Restart the Zephyr service
Step 8.) This step allows you to customize any of the ports utilized by Zephyr Enterprise.
- The suggested ports are within the brackets.
- You are able to change the port usage by entering your own custom port numbers for each step.
Step 9.) You'll then be prompted to select your Database.
- For Zephyr Enterprise Server installation, MySQL is the default database option.
- If you are interested in using another database, please contact your Zephyr Account Manager for further information.
Step 10.) This step allows you to customize the MySQL parameters.
- Enter the URL for your MySQL Database.
- Enter the directory location of the JDBC driver.
Step 11.) Configuring Elastic Search
During this step you will be prompted to configure Elastic Search. Input the following information when prompted:
transport.nodes = "IP address of the Elastic Search computer" transport.nodes Port = "The default port is 9300" #Example transport.nodes=192.168.11.144:9300
- Note that the transport node IP address may be the same system upon which you are installing Zephyr.
- If you used a different port when configuring Elastic Search please use that port.
Step 12.) Once configured and customized, the files should now be copied and there will be various services that may start. Wait until the services are complete.
- Once the additional services are complete, the installation process for Zephyr Enterprise 6.1 is complete.
Step 13.) You'll then be prompted to launch Zephyr Enterprise and you may launch Zephyr Desktop by entering "Y".
If you've already installed the Elastic Search, you must configure the Elastic Search to be able to use Zephyr Enterprise.