Skip to main content
Version: DAI 26.2

Installing and Upgrading DAI Server on Windows (Versions 26.2.1 and Higher)

Important

This page describes how to install and upgrade DAI Server versions 26.2.1 and higher on Windows systems. These versions require that you use secure (HTTPS) connections to DAI from client applications such as your browser or the DAI agents. HTTP connections are no longer supported. If you are upgrading, and especially if your existing installation is configured for HTTP connections, the information you need is included or linked below.

For information about installing and upgrading earlier versions of the DAI Server, see Install or Upgrade DAI 26.2.0 and Older.

This page provides step-by-step instructions to install, upgrade, or license an Eggplant DAI Server as an on-premises ("on-prem") installation on Microsoft Windows systems. Before you start your install process, please be sure to read Prerequisites for information about supported operating systems and recommended installation configurations. Additional requirements for these versions are included in Special Requirements below.

Supported Installation Types

You can perform the following types of installations for on-premises Eggplant DAI Servers on Windows:

note

Downgrades are not supported

DAI also supports the following options related to installation:

  • Silent Installations: If you want to automate the install, upgrade, or uninstall of your DAI Server on Windows, or you only have command-line access to a machine, you can do so "silently." See Silent Install, Upgrade, or Uninstall for more information.
  • Container Deployments: You can also deploy the DAI Server in a container (not a Windows system). See Deploying DAI in Containers for more information.
  • Installation of Other DAI Components: For information about installing other DAI components, see Environments, which includes information about installing the DAI agents and Eggplant Functional. See DAI Components for information about the different DAI components and product architecture.

Upgrade an Eggplant DAI Server

Important

If you are upgrading an existing DAI Server, be sure to back up your files and data, and check for important, version specific information, as described on Upgrade Notes before you start your installation. For your convenience, the back up instructions are also provided here. If you have any questions or would like help testing your database before you upgrade, please contact your Technical Success Manager or our Customer Support.

Downgrades are not supported.

If you are upgrading to DAI Server version 26.2.1 or higher, and your existing installation is configured for HTTP connections, the installer will detect your existing configuration. DAI Server 26.2.1 and higher only support secure HTTPS connections. See Upgrade Notes for important information about upgrading to 26.2.1.

Back Up Your Existing DAI Server Data

  1. Stop the Digital Automation Intelligence Service through the Windows Services manager.
  2. Open C:\ProgramData\Eggplant\Digital Automation Intelligence and copy the data and minio folders, and the config.yml and settings.ini files outside the ProgramData directory to another machine or backup device.
  3. Start the Digital Automation Intelligence Service.

If you experience a problem with an upgrade, and you need to restore the previously working DAI version, see Backing Up or Restoring the DAI Server in the Upgrade Notes for instructions.

Install an Eggplant DAI Server

Below are instructions for an on-premises installation of an Eggplant DAI Server on a Windows system. Special requirements are listed first, followed by a summary of the options you will have during installation, and then step-by-step instructions to walk you through installation.

Special Requirements

The following requirements are specific to installing and upgrading DAI Server versions 26.2.1 and higher on Windows. For additional installation requirements and recommendations, see the Prerequisites. For information about installing DAI versions 26.2.0 and earlier, see Installing or Upgrading DAI (26.2.0 and older).

  • We recommend running the DAI Setup program with Run as Administrator to ensure you have adequate permissions to install. Additionally, DAI runs under the local system account in Windows. You must make sure this account has permission to write to any directory you select during installation, otherwise the installation will fail. One way to ensure you have adequate permissions on any non-default folders you select is to create the folder during installation. You can do this by clicking Browse on the panel next to the default folder you want to change, and then choosing the option Make New Folder on the Browse to Folder panel.

  • DAI 26.2.1 requires Eggplant Functional (EPF) version 26.2.1.1 or 26.2.101.1 because of the change to HTTPS connections. Higher versions of DAI may require higher versions of EPF as well. See the Upgrade Notes, Release Notes, and Prerequisites for important information about upgrading and product compatibility with the version you want to install.

  • Starting in 26.2.1, all DAI Server connections must be secure (HTTPS) connections; HTTP connections are no longer supported.

  • HTTPS connections require that you provide a Transport Layer Security (TLS) certificate, in the form of either a trusted Certificate Authority (CA) certificate and key, or a self-signed certificate generated by Eggplant as follows:

    • Trusted certificate & PEM format SSL Key: Certificates must be trusted by a Certificate Authority (CA), which could be a publicly trusted CA or a private/enterprise trusted CA, for example, from your company. The certificate must be issued for the same Windows system hostname where you will be installing the DAI Server. The DAI Setup program checks to see if they match.

      The PEM format SSL key can be all key formats that are accepted by nginx. If you are using a Personal Information Exchange (.pfx) file, for example, you will need to convert it to a format accepted by nginx.

      See the NOTE below for additional certificate options.

      info

      Using a trusted CA certificate is the recommended certificate type for production installations.

    • Eggplant Self-Signed Certificates - Starting in 26.2.1, we (Eggplant) provide a self-signed certificate you can choose to generate during installation, which allows you to install or upgrade DAI.

      info

      DAI agents and Eggplant Functional/Fusion Engine are configured to automatically trust the Eggplant-generated self-signed certificates. However, browsers will not automatically trust them. Therefore, we do not recommend using this certificate for production installations because each of your DAI users will have to download a certificate when they point their browsers to the DAI URL.

    note
    • A certificate can be signed by another Certificate Authority providing it is installed as a Trusted Root Certification Authority on the machine that is running the DAI client (browser or agent).

    • You can also create a certificate signed by your own certificate authority (CA). In this case, you would make your certificate available on the Windows system where you are installing DAI, and specify its location during installation, just like you would for a publicly trusted CA certificate. If you choose to use your own certificate, your certificate must include the following:

      • Issuer to the organization that is issuing the certificate, for example, "yourcompanyname"
      • Subject to the hostname that the certificate has been generated for, for example, "local.dai.com", which must match the hostname that you enter during installation.

    To be accepted by Chrome and Firefox, the end entity certificate must set the Subject Alternative Name and Authority Key Identifier fields. Use a hash function that is cryptographically strong enough; sha512 is currently acceptable.

Installation Options

When you run the DAI Server setup program, you have the following options:

  • Accept the default installation directory (C:\Program Files\Digital Automation Intelligence) or specify a different directory.
  • Accept the default DAI Server HTTPS port (8000) or specify a different port that is available for HTTPS connections on your network. You may need to consult with your IT department about port availability. You can also change the port after installation as described in Change the Eggplant DAI Port on Windows.
  • Specify an existing trusted CA certificate (recommended for production use) as described in Special Requirements above, or select the option to use a self-signed certificate (not recommended for production use).

Advanced Installation Options

Additionally, you can further customize your installation on the Advanced Installer Options panel, which will take you to panels where you can specify alternate directories for the following options:

  • Accept the default directory where your DAI data (which is PostgreSQL database data) is stored (C:\Program Files\Digital Automation Intelligence\data) or specify a different directory.
  • Accept the default directory for where you want to store your Eggplant test suites (C:\Program Files\Digital Automation Intelligence\minio) or specify a different directory.

Run Setup

Follow the steps below to run the DAI Windows Server Setup program. You can use these instructions for a fresh installation or to upgrade from the previous minor DAI release.

Important

If you're upgrading, be sure you back up your DAI data and understand any version-specific instructions as described Upgrade Notes. The DAI service should be stopped before backing up your data and then re-started before commencing your upgrade installation. If you have any questions or would like help testing your database before you upgrade, please contact your Technical Success Manager or our Customer Support.

  1. Download the Eggplant DAI installation file to the Windows system where you want to install the DAI Server.
  2. Right-click the installation file to launch the Setup program using the Run as Administrator option. For a fresh install, the Select Destination Location panel opens, showing the default installation location and a message about required disk space.

If you are upgrading, you might be asked to uninstall your existing DAI Server installation if you haven't done so already.

note

We recommend running the DAI installer as Administrator if possible, as this ensures DAI is installed with the correct permissions.

The Select Destination Location panel in DAI Setup where you specify where you want to install your DAI Server

The Select Destination Location panel in DAI Setup where you specify where you want to install your DAI Server

  1. Keep the default installation directory: C:\Program Files\Digital Automation Intelligence or click Browse... to choose a different location. We also recommend checking the Prerequisites for considerations related to the amount of disk space you will actually need where you install your DAI Server.

  2. Click Next to proceed to the Server Configuration panel, where you will specify the DAI Server hostname, port, and Certificate Authority (CA) certificate information.

    note

    Starting with DAI version 26.2.1, all DAI Servers are configured with secure HTTPS connections; HTTP connections are not supported. If you are upgrading a DAI Server that was previously configured for HTTP access, you will need to configure your DAI Server to use HTTPS by choosing a certificate option on the Server Configuration panel below.

    The Server Configuration panel in DAI Setup, where you configure your DAI hostname, HTTPS port, and Certificate Authority (CA) certificate

    The Server Configuration panel in DAI Setup, where you configure your DAI hostname, HTTPS port, and Certificate Authority (CA) certificate

  3. In the DAI Server Hostname field, enter the hostname of the Windows system where you are installing your DAI server. If you will be specifying a trusted CA certificate below, the hostname you enter here must match the hostname the certificate was issued for.

    tip

    To find the hostname of your server, go to Settings > System > About.

    This hostname will appear in the URL of your Eggplant DAI environment. Do not include the https:// prefix in the hostname.

    • If the server is your local machine, enter localhost, which means Eggplant DAI can only be accessed from this machine at https://localhost:8000.
    • If you need to access the DAI server from other, remote machines, enter a fully qualified domain name, for example, www.serverhostname.com. This allows you to access Eggplant DAI from a browser at, for example, https://<serverhostname>:8000.
  4. In the Port field, either accept the default port 8000, or specify a different port that is open for HTTPS connections on your network. You may need to consult with your IT department about port availability. You can always update your configuration after your installation if needed.

    note

    Port 80 is not currently supported.

  5. Under Use an existing certificate, which is selected by default, you can specify the location of a Certificate Authority (CA) certificate if you have one and made it accessible to this machine. Or, you can choose to have Eggplant generate a certificate for you by choosing Generate a self-signed certificate instead. See Special Requirements above for more information about certificate options.

    • To specify the location of an existing CA certificate, click Browse... next to the HTTPS Certificate field, and navigate to the location of your certificate. This certificate must be issued to the hostname that you enter in the Hostname field above.

    • To have Eggplant generate a certificate for you, choose Generate a self-signed certificate. Choosing this option will allow you to proceed with the installation. However, we do not recommend this option for production use. Self-signed certificates are not trusted by browsers, which means each of your DAI users will have to download a certificate when they point their browsers to the DAI URL.

    The setup program won't let you proceed to the next panel, if you do not select a valid certificate, or if the hostname does not match the hostname the certificate was issued for.

    note

    Using a trusted CA certificate is recommended for production use.

  6. Click Next to proceed to the Advanced Installer Options panel, where you have the option to further customize your installation by changing the directories where DAI stores data, or your Eggplant test suites.

    The Advanced Installer Options panel, where you can choose customize your installation with advanced installation options

    The Advanced Installer Options panel, where you can choose to customize your installation with advanced installation options

  7. On the Advanced Installer Options panel, choose if you want the Run Advanced Install Configuration option, which allows you to specify different directories for your DAI Server data and test suites. If you don't want to specify different directories, click Next to proceed to the Administration Settings panel where you can provide information for your DAI System Administrator and DAI Administrator user accounts.

    Choose the appropriate tab below for the installation type you want.

    Click Next to proceed to the Administration Settings panel where you can specify information for your DAI System Administrator and DAI Administrator user accounts.

    The Administration Settings panel, where you specify two user accounts for your DAI installation

    The Administration Settings panel, where you specify two user accounts for your DAI installation

  8. Under System Administrator, enter the username and password credentials for an administrator of Eggplant's identity access management (IAM) system.

    • Username: Enter only ASCII printable characters excluding both uppercase letters and these characters: < > \ / { } " % ! ^.
    • Password: Enter between 12 and 128 characters using ASCII characters excluding " \ { } % ! ^.
    • Confirm Password: Re-enter the same password to confirm it.
    Important

    Keep the credentials for the System Administrator account in a safe place. Under certain circumstances, an Eggplant Technical Success Manager might ask you to find and use them.

  9. Under DAI Administrator, enter credentials and personal details for the DAI administrator.

    • Username: Enter only ASCII printable characters excluding both uppercase letters and these characters: < > \ / { } " % ! ^.
    • Password: Enter between 12 and 128 characters using ASCII characters excluding " \ { } % ! ^.
    • Confirm Password: Re-enter the same password to confirm it.
    • First Name: The DAI Administrator user's first name (shown as dai in the example above).
    • Last Name: The DAI Administrator user's last name (shown as user in the example above).
    • Email: The DAI Administrator user's email address (shown as dai_user@email.com).
    note

    You will need your DAI Administrator credentials to log into Eggplant DAI for the first time, and to create or update other users. When you've logged in, you can update your password to include the excluded characters listed above along with other languages and characters, for example, Unicode. Administrator usernames cannot be updated.

    If you want to use single sign-on (SSO) authentication with DAI, you configure it after you install DAI as described in First Login and Licensing and Integrating Single Sign-On (SSO) Authentication with DAI.

  10. Click Next to proceed to the Select Start Menu Folder panel where you specify the Windows Start menu folder where you want to create the DAI program shortcuts.

    The Select Start Menu Folder panel, where you specify where you want to create the DAI program shortcuts

    The Select Start Menu Folder panel, where you specify where you want to create the DAI program shortcuts

  11. Accept the default folder name Digital Automation Intelligence or click Browse… to navigate to and select a different folder.

  12. Click Next to proceed to the Ready to Install panel, which summarizes the installation options you chose. If you want to change any of the settings, click Back as many times as needed to find the information you want to change and change it.

    The Ready to Install panel, where you verify you are ready to start installing or go Back to change any settings

    The Ready to Install panel, where you verify you are ready to start installing or go Back to change any settings

  13. To start the installation, click Install. After the installation is done, the DAI Windows Service Start-up panel will appear where the DAI service will initiate for the first time. This process may take up to 10 minutes and may include migration activities, if applicable.

    An HTML DAI Windows Service Start-up Report will be opened on your default internet browser, listing the services that are started successfully. The migration process is done successfully if all DAI services are started successfully as indicated in the said Start-up Report. Any error that occurs during start-up is detailed here to aid troubleshooting.

  14. When the setup is complete, click the Finish button.

  15. If the DAI service fails to start-up successfully, you may need to restart the DAI service through the Windows Services manager or restart your PC.

  16. Continue to First Log in and Licensing.

note

DAI uses a message broker (RabbitMQ) for inter-process communications. Because DAI uses HTTPS, you have the option to encrypt the Rabbit MQ communications by modifying settings in the DAI configuration file (config.yml). See Encrypt RabbitMQ Communications for instructions.

First Login and Licensing

When Eggplant DAI is installed and running, you must access the application from a browser. Follow these steps to log in, license, and start to use Eggplant DAI.

  1. Enter the appropriate URL from a browser to display the login screen. For example, https://<serverhostname>:8000, where <serverhostname> is the hostname you specified during installation and 8000 is the default port.

  2. If you chose the option during installation to have a self-signed certificate generated for you, you will be prompted to download the generated certificate when you attempt to access the DAI URL.

    note

    Regardless of how you configured the CA certificate during installation, you can display the CA certificate when you enter the DAI URL in your browser. For example, if you are using Chrome, you can click the button to the left of your URL, which says View site information when you hover over it. This opens a pop-up showing information about the site, including links you can follow: Connection is secure > Security > Connection is valid, which you can click to display the Certificate Viewer and see your certificate.

    DAI Windows Installer Server port and HTTPS panel showing the certificate server.crt and server.key selected

  3. When the DAI login page appears, enter the username and password for the DAI Administrator account that you set up during installation, and click OK. The DAI Spaces page opens, showing the common Shared space, and any previously created private spaces in your DAI instance.

    note

    DAI 26.2.0 introduced the Spaces feature and changed the landing page you see when you log into DAI to the Spaces page. If you are upgrading to DAI 26.2.1, you will see the Spaces are here! message the first time you log in after upgrading to inform you of the change. Prior to version 26.2.0, you saw the Test case dashboard when you logged in. See About DAI Spaces for more information about spaces.

    Additionally, when you upgrade, you will notice fewer menu options on the left. You need to open a space to see more of the DAI menu options. For example, if you click the Shared space, which is the common space available in all DAI instances, the Test case dashboard would open and you would see more DAI menu items.

    The **Spaces are here!** panel calling attention to Spaces feature in DAI

    The Spaces are here! panel calling attention to Spaces feature in DAI

  4. Click Close on the Spaces are here! panel to dismiss it if you see it. The Spaces page remains open.

    The DAI Spaces page showing just the **Shared space**

  5. Display the Licenses page by choosing System > Licenses from the menu on the left side of DAI.

  6. In the License page, enter your License Key and click Agree. A copy of the Eggplant Software License agreement can be read and downloaded before clicking Agree. You can generate your license in the Keysight Software Manager (KSM). After your license is accepted, the Settings page is displayed for you to set up emails. With emails configured new DAI users can set their own password. You can skip this step; however, you must provide a temporary password to the users.

  7. You can now make updates to user accounts. Click Access on the left menu of the Eggplant DAI interface.

    note

    If you want to use single sign-On (SSO) authentication with Microsoft Active Directory (AD) in DAI, see Integrating Single Sign-on (SSO) Authentication with DAI).

  8. To open the Admin Console in a new browser tab, click Manage users.

  9. To edit a user, type the first few letters of the username in the search box to find matching users then click the ID of the correct record.

  10. Enter your email address and select Save.

  11. Go to the Managing Users section to learn more about the administration environment or Getting Started if you're using the application for the first time.