メインコンテンツまでスキップ
バージョン: DAI 7.3

Install or Upgrade Eggplant DAI on Windows

This section provides step-by-step instructions to install, upgrade, and license Eggplant DAI on Windows. Before you start your install process, please be sure to read Prerequistes for information about supported operating systems and recommended installation configurations.

ノート

Starting after the release of DAI 7.1, the system requirements and supported operating system information moved to the Prerequisites page. Please see this page for more information about setting up systems for your DAI installation.

Following are instructions for installing EPF on Windows, Mac and Linux.

Standard and Advanced Installations

You can either run a standard or advanced Windows installation for Eggplant DAI. The advanced installation allows you to do some additional configuration:

  • Update the default port setting and configure HTTPS
  • Choose the directory where PostgreSQL data is stored
  • Choose the directory where your Eggplant Functional suites are stored.

Follow the steps in Start Your Installation for both types of installation and then jump to the appropriate section.

Install Eggplant DAI

The Eggplant DAI Windows installation supports:

  • Fresh installations
  • Incremental upgrades from the previous supported version (see Release Notes for a full list of supported versions).
  • Downgrades are not supported.
Important

If you're upgrading, make sure you back up your files and data as described below before you start your installation. The DAI service should be stopped before backing up your data and then re-started before commencing your upgrade. 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.

To take a backup:

  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 of 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, follow the steps below:

  1. Repeat steps 1 and 2 above to make a backup of the DAI files and data, which may be useful for troubleshooting.
  2. Uninstall DAI using the Programs and Features option in the Windows Control Panel.
  3. Delete folder C:\ProgramData\Eggplant.
  4. Check if folder C:\Program Files\Digital Automation Intelligence exists and delete it if it does. At this point you have fully removed DAI from the machine.
  5. Install the previously working version of DAI. When you finish re-installing DAI, verify the installation by launching a browser and logging into the DAI web UI.
  6. Stop the DAI service from Windows Services.
  7. Go to folder C:\ProgramData\Eggplant\Digital Automation Intelligence and delete the data and minio folders.
  8. Copy the data and minio folders from the DAI backup location to C:\ProgramData\Eggplant\Digital Automation Intelligence. Note that the backup files must be from exactly the same DAI version that you installed in step 5.
  9. Open file config.yml from the backup location and copy the database password - the value of PG_PASSWORD in the env section. Open file config.yml in C:\ProgramData\Eggplant\Digital Automation Intelligence and replace the value of PG_PASSWORD with the backed up password.
  10. Start the DAI service, and after it starts, verify you can log into the DAI web UI.

Start Your Installation

Use these instructions for a fresh installation or to upgrade from the previous minor DAI release.

  1. Download the Eggplant DAI installation file.

  2. Right-click the installation file to launch the Setup wizard using the Run as Administrator option. Click Next to continue.

    ノート

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

    You might be asked to uninstall Eggplant DAI if you haven't done so already.

  3. Keep the default installation directory: C:\Program Files\Digital Automation Intelligence or click Browse... to choose a different location.

  4. On the Advanced installer Options screen, either

Run a Standard Install

Prerequisites: Complete all steps in Start Your Installation.

  1. On the Server & Administration Settings screen, enter the:

    • DAI Server Hostname: Hostname of your main DAI server, which will appear in the URL of your Eggplant DAI environment. Do not include the http:// or 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 http://localhost:8000.
      • If you need to access the DAI server from other, remote machines, enter a fully qualified domain name, e.g. www.serverhostname.com. This allows you to access Eggplant DAI from a browser at, e.g.http://<serverhostname>:8000.
      ヒント

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

    • System Administrator details: Credentials for an administrator of Eggplant's identity access management system (IAM).

      • Username: Enter only ASCII printable characters excluding both uppercase letters and these characters: < > \ / { } " % ! ^.
      • Password: Enter between 12 and 128 characters using ASCII characters excluding " \ { } % ! ^.
      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.

    • DAI Administrator details: 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 " \ { } % ! ^.
      ノート

      You’ll 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, e.g. 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 version 7.1 or above as described in First Login and Licensing and Integrating Single Sign-On (SSO) Authentication with DAI.

  2. To continue to the Select Start Menu Folder screen, click Next.

  3. To choose another location for the shortcut to Eggplant DAI, accept the default setting or click Browse….

  4. To continue to the Ready to Install screen, click Next. To start the installation, click Install.

  5. After the installation is done, the DAI Windows Service Start-up screen 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.

  6. A 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.

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

  8. 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.

  9. Continue to First Log in and Licensing.

Run an Advanced Install

Prerequisites:

  • Complete all steps in Start Your Installation.
  • To configure HTTPS for your Eggplant DAI server, you'll need a trusted certificate and key. A trusted certificate is issued by a Certificate Authority listed on the Mozilla page:
    • PEM format TLS certificate: For a list of valid certificates, see the Mozilla page.
    • PEM format SSL key: All key formats that are accepted by nginx.
ノート

In a Windows environment, the 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 browser or agent.

If you choose to use a self-signed SSL certificate, you must update your configuration after installation. Set the:

  • Issuer to the organisation that is issuing the certificate, e.g. "yourcompanyname"
  • Subject to the hostname that the certificate has been generated for, e.g. "local.dai.com", which must match the hostname that you entered 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.

  1. On the PostgresSQL Data Directory screen, either:

    • Click Next to accept the default path.
    • Click Browse to to choose a different directory. For example, go to C:\MyCompany\Data to use a custom location for the DAI database.
    Important

    DAI runs under the local system account in Windows. You must make sure this account has permission to write to the directory you select, otherwise the installation will fail. Clicking Make New Folder should ensure the right permissions are set when selecting an alternative directory.

  2. Click Next to continue to the Server Port & HTTPS screen.

  3. Keep the default port value: 8000 unless this port is unavailable and you need to use an alternative. You can always update your configuration after your installation.

    ノート

    Port 80 is not currently supported for either HTTP or HTTPS configurations.

  4. If you don’t want to configure HTTPS to secure your DAI server, clear the Use HTTPS checkbox, click Next, and then jump straight to step 6. Otherwise, leave the Use HTTPS checkbox selected and continue to the next step.

    • If port 8000 is available, leave the default value.
    • If port 8000 is not available, enter the HTTP port you want to use.
  5. Add your certificate details:

    • HTTPS Certificate: Browse to and select your HTTPS certificate.
    • HTTPS Private Key: Browse to and select your HTTPS key file.
    • (Optional) Private key requires password: Select this option if your private key needs a password to unlock it, and then browse to and select your password file.
  6. Click Next to continue to the Usage Statistics screen. Leave the checkbox selected to allow Eggplant to collect these metrics for a usage report:

    • Product Identifier
    • Product Version
    • Host OS
    • Host OS Version
    • License (Serial Number) information.
  7. Click Next to continue to the Suites Data Directory screen, either:

    • Click Next again to accept the default path.
    • Click Browse to choose a different directory for your Eggplant Functional suites. This is the directory that the DAI Design Agent uploads your suites to and might be different from where you’re currently storing them.
    Important

    DAI runs under the local system account in Windows. You must make sure this account has permission to write to the directory you select, otherwise the installation will fail. Clicking Make New Folder should ensure the right permissions are set when selecting an alternative directory.

  8. Complete all the steps in the standard installation.

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:

    • If you added the hostname localhost during installation, launch the browser from the computer on which the Eggplant DAI server is running and enter http://localhost:8000.
    • You can access the Eggplant DAI server from a remote machine, if you added a fully qualified hostname during installation. Launch a browser and enter http://<serverhostname>:8000.
  2. Eggplant DAI prompts you to log in. Enter the username and password for the DAI Administrator account that you setup during installation, and click OK.

  3. 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.

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

ノート

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).

  1. To open the Admin Console in a new browser tab, click Manage users.
  2. 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.
  3. Enter your email address and select Save.
  4. 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.