Installation of Server-Side Components

Once configuration files are updated, start installation using the ae install command.

 

NOTE:

Before you proceed with the installation, make sure to have below mentioned information available with you:

  • If database will be created, credential details of the Admin user of the database server.
  • If database is already created, database name and AssistEdge database user credentials.
  • If you wish to use https, you either need SSL certificates from a Certificate Authority (CA), or you can create a self-signed certificate while installing.

 

Flow for installing server-side components:

 

 

To install server-side components:


As part of installation process of server-side components, perform below steps:

  1. Run Installation Command
  2. Verifying Configuration Properties
  3. Provide SSL Details
  4. Provide Database Details
  5. Provide Domain Controller Details

 

Run Installation Command

To perform the installation:

  • For Windows: Open the command prompt with administrator rights and change the directory to <Installation Directory>/AssistEdgeAutomation > scripts folder.  
  • For Linux: Connect with the Linux server using Putty and change the directory to the <Installation Directory>/AssistEdgeAutomation > scripts folder.
  1. Run the ae install  command to proceed with the installation. The details such as name of the components, their respective ports and other details of the server are displayed.

 

 

<Installation Directory>\AssistEdgeAutomation\scripts>ae install

 

 

NOTE:

  • For Windows
    • For more information on how to run the command prompt with Administrator Rights, see Run Command Prompt with Administrator Rights.
    • If you do not run command prompt in admin mode, then an error This command prompt is not running as admin is displayed.
  • For Linux – The user performing this installation must be part of the assistEdge group.

 

Verifying Configuration Properties

This section enables you to verify the deployment properties, server properties and component properties that you have set in the configuration files above. If you wish to change any of the property you can exit installation and make relevant changes in the respective configuration files.

 

  1. Once you run the ae install  command,
    Do you want to continue with Installation? (Y/N): appears. Validate the details displayed. 
     

    ************************************************************************************************
    AssistEdge Installation
    ************************************************************************************************

    Following components are marked for installation on this system.
    Please validate component and Port Numbers.
    -----------------------------------------------------------------------------------------
    Web server:                             Port: 8443
        Messaging                             Port: 5672
        Reporting                              Port: 5601
        ControlTower                        Port: 3860
        LowCode                               Port: 8001

     

    App server:                              Port: 8443
        TxnStore                                Port: 9200
        ETL                                        Port: 9600
        ML                                         Port: 8000

     

    Following configurations have been taken from 'server.properties' and will be used for installation.
    Please validate the configurations:
    -----------------------------------------------------------------------------------------
         _AE_MESSAGING_WEB_PORT           : 15672
        _AE_MESSAGING_EPMD_PORT         : 4369
        _AE_MESSAGING_DIST_PORT             : 25672
        ERLANG_COOKIE_VALUE                       : ZVIJOUEQVPCRXLMYJWAFJFVDFHTYFDSFFYHHJMNKLPOJIJNMGVXSZQAZCVBNMGDSRYGJNIKPOKLJHFEDSXCFHNMKKLHSQWDXGOLKHNCFDFZXVEDKLOJTGDSCVHMSWQQADFJKOIJJNGFDWSSSFIIKHE
        _AE_TXNSTORE_TCP_PORT                    : 9300

        _AE_CLUSTER_PORT                                : 8445
        _AE_CLUSTER_NAME                              : aedev
        _AE_ML_PREDICTOR                               : true
        _AE_ML_MODEL_GENERATOR             : true
        _AE_ML_QUEUE_FORECAST                  : true
        _AE_LOWCODE_SERVER_PORT           : 8002
    -----------------------------------------------------------------------------------------


    Do you want to continue with Installation? (Y/N):

     

     


     
  2. Do one of the following:
    • Enter Y to continue with the installation.
    • Enter N to exit the installation if you wish to change the properties in the respective files at this stage.

The verification is done to move to the next step below.

 

Provide SSL Details

You can choose to continue with SSL enablement at the time of installation. If you do not have the SSL certificates ready, you can continue without enabling SSL. If required, update the certificates post installation.

 

Flow for Providing SSL Details:

 

 

  1. Once you enter Y in the above section,
    Do you want to enable SSL?(Y/N): appears.

     

    *************************************************************************************************
                                          Installing AssistEdge
    *************************************************************************************************

    Do you want to enable SSL?(Y/N):

     

 

  1. Do one of the following:
    • Enter Y to continue the installation with SSL enablement. You can enable SSL by:
      • Enabling commercial certificates 

        OR
      • Generating self-signed certificate
    • Enter N to continue the installation without SSL enablement. You can enable the SSL once the installation is done. 

 

NOTE:

For more information, see SSL Certificates: Post Installation section to know how to update certificates post installation.

 

Enabling Commercial Certificates

To enable SSL, save the commercial certificates in <Installation Directory>/AssistEdgeAutomation > data > Certificates folder and enter Y.


The SSL is enabled. 

 

NOTE:


Generating Self Signed Certificate

  1. If you do not have commercial SSL certificates saved in the installation folder, you can proceed with the SSL enablement by generating a self-signed certificate.
    Do you want to generate self-signed certificate. (Y/N): appears. 
     

     

    *************************************************************************************************
                                          Installing AssistEdge
    *************************************************************************************************

    Do you want to enable SSL?(Y/N): Y
    Required certificate files are missing.
    Do you want to generate self signed certificate. (Y/N)
         

 

  1. Do one of the following:
    • Enter to generate a self-signed certificate. Self-signed certificate gets generated and is saved in the Windows Trust Store
    • Enter N to stop the installation. 

      The SSL is enabled. 

 

NOTE:

  • It is recommended not to use self-signed certificates in Production and similar higher environments.
  • If you are using self-signed certificate, make sure you add root certificate to the trust store on all the systems where you are running client-tools.

 

Provide Database Details

This section enables you to create database for the installation.
 

NOTE:

  • You can also create the database before or after the installation by running the ae createdb command. For more information, see AE Commands.
  • If you are creating database before installation, use the existing database option.
  • If you are creating database after installation, use the existing database option and provide the details of the database that you plan to create later.
  • If the LowCode Database entry in the deployment.properties file is uncommented, then the user will be prompted to provide details of LowCode database.

 

Flow for Providing Database Details:

 

  1. Enter details related to database as mentioned below:
    • Do you want to create database? (Y/N): appears 

      If you want to create database, then you will have to provide Database Admin user credentials.
      • Enter Y, if you want to create database.
        Do you want to create database? (Y/N): y
        • For SQL:

          If Database admin user is a Windows User, then provide username in format domainame\username
          Please provide database admin username : dbadmin
          Please provide database admin password   (HIDDEN):

           

          NOTE:

          If database admin user is a windows user ensure to add Set NODE_OPTIONS=--openssl-legacy-provider after Setlocal EnableDelayedExpansion in the ae.bat file present in the <Installation Directory>/AssistEdgeAutomation > script folder and re-start the installation. In case, this is not added then, database connection will not occur.

           

          Perform below modification in the ae.bat file:

           

          Setlocal EnableDelayedExpansion
          Set NODE_OPTIONS=--openssl-legacy-provider
          cd ..
           

          • Please provide database admin username: appears; provide the name of the System Admin user (or username having database creation privileges) then press <Enter>8  .
          • Please provide database admin password: appears; provide the password for the above database server Admin user and then press <Enter>8  .
        • For Oracle:

          Please provide database admin username : dbadmin
          Please provide database admin password   (HIDDEN):
          Please provide database tablespace name:

          • Please provide database admin username: appears; provide the name of the Oracle Admin user (or username having database creation privileges) then press <Enter>8  .
          • Please provide database admin password: appears; provide the password for the above Oracle Admin user and then press <Enter>8 .
          • Please provide database tablespace name: appears; provide the name for the above Oracle tablespace and then press <Enter>8 .
        • For Postgres:

          Please provide database admin username : dbadmin
          Please provide database admin password   (HIDDEN):

          • Please provide database admin username: appears; provide the name of the postgres Admin user (or username having database creation privileges) then press <Enter>8  .
          • Please provide database admin password: appears; provide the password for the above postgres Admin user and then press <Enter>8 .
            • Enter N, if you don’t want to create the database.

              NOTE:

              For Azure SQL System-Assigned Managed Identity: The database is already created using SSMS portal and hence the user is directly prompted to the existing database. For more information, about creation of Azure SQL System-Assigned Managed Identity Database, see the Azure SQL Server.
              • Do you want to create objects in existing database? (Y/N): appears,
                •    Enter Y, if you want to create objects in existing database and then provide AssistEdge RPA Database details.
                •    Enter N, if you don’t want to create objects in the existing database.
  2. Enter details related to database for either database creation or for using the existing data table as specified:
    • For SQL: If you are using SQL database, enter the below details: 
       

      Enter Database Username: aerpa.dbuser
      Enter Database Password (HIDDEN):
      Enter Database Name: db name

       

      NOTE:

      For SQL with windows authentication, ensure that the provided username does not possess sysadmin role. Ensure to adhere it or database authentication might fail.
      • Enter Database Username: appears; provide the username of the database for AssistEdge and then press <Enter>8  .
      • Enter Database Password <HIDDEN>: appears; provide password of the above database user and then press<Enter>8  .
      • Enter Database Name: appears; provide name of the database for AssistEdge and then press<Enter>8  .

        NOTE:

        • SQL server with Windows authentication is not supported for the Linux based installation.
        • For SQL server only, TCP/IP network protocol is supported.
        • If the LowCode database user is a Windows Authenticated user, then follow the steps below to start LowCode:
          • Create a schedule task on the Windows to execute scripts > app > manage > lowCode.bat file. Task should be executed with a user Id that has access to the database. This task should be configured to run even if the user is not logged in to the system. The current working directory while executing the lowCode.bat should be scripts folder. While creating a action for schedular, enter the directory path upto lowcode.bat in the Program/script field and upto scripts in Start in (optional) field as shown below:


          • The execution of batch file requires sql jdbc driver. For more information about downloading and placing the sql jdbc driver, see Client Downloadable Software.
          • For all other components use the ae start command.

         
    • For Azure SQL System-Assigned Managed Identity: If you are using Azure SQL System-Assigned Managed Identity database, enter the below details: 

      Enter Database Username: aerpa.dbuser

       
      • Enter Database Name: appears; provide name of the database for AssistEdge and then press <Enter>8 .
        All task scripts are executed.

        NOTE: 

        For more information on how to configure Azure SQL, see the Azure SQL Server  section.
    • For Oracle: If you are using Oracle database, enter the below details:
    • Enter Domain Username: aerpa.dbuser
      Enter Domain Password (HIDDEN):
      Enter Oracle Database Service Name: db.ServiceName.com

       
      • Enter Database Username: appears; provide the username of the database for AssistEdge and then press <Enter>8   
      • Enter Database Password <HIDDEN>: appears; provide password of the above database user and then press <Enter>8   .
      • Enter Oracle Database Service Name: appears; provide service name of the Oracle database and then press <Enter>8   .
    • For Postgres: If you are using postgres database, enter the below details: 

      Enter Domain Username: aerpa.dbuser
      Enter Domain Password (HIDDEN):
      Enter Oracle Database Service Name: db name

       
      • Enter Database Username: appears; provide the username of the postgres database for AssistEdge and then press <Enter>8   
      • Enter Database Password <HIDDEN>: appears; provide password of the above database user and then press <Enter>8   .
      • Enter Database Name: appears; provide service name of the postgres database for AssistEdge and then press <Enter>8   .

        Database connection created.

         

NOTE: 

The below script execution message will appear only when the user has opted for creating the database or creating the objects in the existing database.

Database Connection Verification

Executing script: dropTable.sql
Executing script: createTable.sql
Executing script: createIndex.sql
Executing script: seedData.sql
Executing script: insertDateDimData.sql
Executing script: createConstraint.sql
Executing script: trigger.sql
Executing script: lowcode.sql
Executing script: quartz.sql
Database connection success.

 

  • Database connection created and Database connection success. appears: If the database connection is successfully created, a success message is displayed. 
  • Error connecting DB. appears: If the database connection is not created, a message with error details is displayed and a confirmation message also gets displayed whether you want to continue with the installation or not.
     

    NOTE: 

    • If required, the database user password can be updated after the installation by running the ae updatepassword command. For more information, see AE Commands.
    • If you have opted to create the database after the installation, the connection will fail. You can continue with the installation and create the database after installation.

Providing Super Admin Details

You can add a user as super admin. This user will be able to access the AssistEdge Admin Module post installation and subsequently add other users.

  1. Enter details related to user as mentioned below: 
    • Do you want to add Super Admin user? (Y/N): appears 
      • Enter Y, if you want the user to be super Admin.Please provide First name : aerpa
        Please provide Last name : user
        Please provide Email id : aerpa.user@ev.com
        Please provide Unique id : aerpa.user
         
        • Please provide First name: appears; provide the first name for the AssistEdge Admin user and then press <Enter>8   .
        • Please provide Last name: appears; provide the second name for the AssistEdge Admin user and then press <Enter>8   .
        • Please provide Email id: appears; provide the Email ID for the AssistEdge Admin user and then press <Enter>8   .
        • Please provide Unique id: appears; provide the Unique ID for the AssistEdge Admin user and then press <Enter>8   .

          User added to database: appears.
      • Enter N, if you don’t want the user to be super Admin.
         

        NOTE: 

        The Super Admin user can also be added after the installation by running ae addsuperadmin command. For more information, see AE Commands.

Providing Domain Controller Details

This section enables you to provide the details related to the enterprise domain controller.

  1. Once you provide the relevant information above, Please provide domain name: appears. Enter the domain name of your enterprise. 
     

    NOTE: 

    If you do not know your domain name, execute the following command on the Windows system which is part of the intended domain:


    set | findstr USERDOMAIN= 

  1. Please make sure the hostname is resolvable from the machine: appears. Enter ldap://<hostname along with the enterprise domain>. For example, ldap://hostname.ad.xyz.com. 
     

    NOTE: 

    You can run the  for /F "skip=1 tokens=1" %i in ('nltest /dclist:ITLINFOSYS') do @echo %ido @echo %i command in the command line utility from another command prompt as an administrator to view the list of the domain controllers. Perform the same steps for Linux based installation and note the domain controller name that you want to use.

     

    Domain Configuration - Default values (when available) are prefilled, press enter to accept default values.
    HINT:
    Domain Name -  
    1. Use the value from below command to find your current domain name        
    set | findstr USERDOMAIN= Domain Controller -  
    1. You can use following command (Windows command) to get domain controller details:        
    for /F "skip=1 tokens=1" %i in ('nltest /dclist:ITLINFOSYS') do @echo %i  
    2. You can use any name from the output of above command execution.  
    3. Please make sure the domain controller name is resolvable from the machine (use ping to validate).
    -----------------------------------------------------------------------------


    Please provide domain name (Default: ITLINFOSYS) : 
    Please provide domain controller name (Default: ldap://BLRKECGDC09) :

     

    NOTE: 

    Post installation, you can overwrite these values in the auth.yml file available in the scripts folder.

  2. Do you want to continue with Installation? (Y/N): appears.
    • Enter Y, if you wish to proceed with the same details as entered above and continue with the installation else enter N

 

Do you want to continue with Installation? (Y/N): Y
Updating RabbitMQ...........                                                                                       [SUCCESS]
Updating Migration Workbench configuration...........                               [SUCCESS]

Reference component URLs as follows:      
 
        ControlTower     :  http://RPALB-01:8443/ui/Admin
        TxnStore              :  http://RPALB-01:8443/ts-api
        Messaging           :  http://RPALB-01:8443/messaging-sso
        Reporting             :  http://RPALB-01:8443/reports
        LowCode              :  http://RPALB-01:8443/jw
        ETL                        :  http://RPALB-01:8443/etl
        ML                         :  http://RPALB-01:8443/ml

 

NOTE: 

In case of Azure SQL System-Assigned Managed Identity setup, you should ignore the error Error while updating LowCode DB configs, which is displayed.

 

  • All the components are configured and installed. SUCCESS message is displayed. The list of URLs of all the components is  also displayed. 

    If you receive failure for any of the components, access <Installation Directory>/AssistEdgeAutomation > scripts > install.log file. Check the errors and take appropriate action. See Troubleshooting to know about the frequently received errors.
  • Enter N if you wish to change the details that you entered above. 

    NOTE: 

    You can update the desired properties file(s) located in the <Installation Directory>\AssistEdgeAutomation\scripts\app\install\config folder and run the ae repair command to update the port numbers, machine names, proxy server hostnames, and so on of the installed build. For more information, see see AE Commands.