Daily Usage Commands

Following are the daily usage commands: 

Prerequisites

Before you run the daily usage commands, ensure the build is installed in the server machines(s).
 

START/STARTALL

The start command starts one or more components required to run AE. In addition, you can use the start command to start components for a specific profile. If no profile name is specified, the default profile is used.

Syntax Defined

Syntax: ae startall

Syntax: ae start [--profile <Profile Name>] [<Component Name 1> <Component Name 2> …]

 

Alias Defined

Alias: ae sall

Input Parameters

Following are the profile and component Name that can be passed as input parameters with the start command:
Profile:


Using profiles, you can set the memory usage, and logging-related information. The profile gets applied when you are starting the first component on the server machine, if you want to change profile, you must stop all components then start again. When you do not specify any profile in the start command, the components start with the default profile. For more information about profiles, see Installation.

 

NOTE:          

You can create your own profile which enables you to select the components you wish to run and specify memory usage. You must save your custom profile file in the <Installation Directory>\AssistEdgeAutomation\scripts folder as ae-profile-<Custom Name>.properties file.

 


 

Component Name:

 

  • TxnStore (TXN): It is the search and analytics engine. All the data related to automation processes such as the transactional data are stored in the OpenSearch.
  • Messaging (MQ): It is a message-oriented middleware that helps the various components to communicate with each other.
  • Controltower (CT): It is a web-based administrative and monitoring system for users, roles, license, robots, and others.
  • Vanguard (V): It is a background service that helps to perform various background jobs, monitors the status of the components of AssistEdge and sends the notifications to the intended recipients.
  • ETL: It is a data processing pipeline that sends data to the OpenSearch.
  • Reporting (R): It is used for reporting of the data that is stored in OpenSearch. It helps to search, view, analyze and project the data in an easy-to-understand format such as charts, tables, and maps.
  • Lowcode (LC): It is a web-based system which provides the drag-drop and point-click abilities to build feature rich responsive web applications.
  • ML: It is the Machine Learning (ML) component that helps in the execution of tasks using algorithms and statistical models.
     

NOTE: 

  • The components must be started in the order listed above; if you start them in the wrong order, the component will wait for the dependent component to start. For more information on components, see Server-Side Components section in Installation.
  • To start the components, you can either use the complete component name or use the abbreviation as mentioned against each component. For example, for starting Vanguard you can either use ae start vanguard or ae start v. 

 

 

Sample Output

The start command can perform various operations such as:

  • ae start/ae startall: This command starts all the AE components that are installed on the server machine.

    The following is an example of starting all components at once:
     

    D:\RPA\AssistEdgeAutomation\scripts> ae startall

     

    D:\RPA\AssistEdgeAutomation\scripts> 



    The following is an example of starting all components, when some components are already running from the same profile:
     

    D:\RPA\AssistEdgeAutomation\scripts>ae startall
    TXNSTORE status is: STARTED
    MESSAGING status is: STARTED
    CONTROLTOWER status is: STARTED
    D:\RPA\AssistEdgeAutomation\scripts> 


    This command will display the message as illustrated above for the components already running and start the remaining components.
  • ae start [Component Name]: If you want to start multiple components at the same time, you can specify the component names separated by space. 

    For example: ae start [<Component Name 1>] [<Component Name 2>]

    D:\RPA\AssistEdgeAutomation\scripts>ae start mq txn


    D:\RPA\AssistEdgeAutomation\scripts>  

  • ae start [--profile <Profile Name>] [<Component Name 1> <Component Name 2>]: This command will start the components based on the specified profile.
     

    D:\RPA\AssistEdgeAutomation\scripts>ae start --profile dev mq

     

    D:\RPA\AssistEdgeAutomation\scripts>

     

 

NOTE: 

  • Do not use different profiles to start the components at the same time; else, a message is displayed. If you want to change the profile, use the ae stopall command to stop all components and restart the component with the desired profile. 
  • You can check the status by using ae status command. For more information, see STATUS/STATUSALL.

 

Exception Handling

When you execute the start command, but the ports are blocked the following error message is displayed.

 

D:\RPA\AssistEdgeAutomation\scripts> ae start mg

 

MESSAGING: Ports not available: [“5672”, “15672”, “25672”, “4369”]

Cannot start any component.

 

D:\RPA\AssistEdgeAutomation\scripts>


 

Solution: Find and stop the process id that are accessing these ports.

STATUS

The status command is used to get the status of the components of AE for a single server machine.

Syntax Defined

Syntax: ae status

Alias Defined

Alias: ae s

Sample Output

 

D:\RPA\AssistEdgeAutomation\windows\scripts> ae status

 

D:\RPA\AssistEdgeAutomation\scripts>ae status
Server Name: ENGAGESERVER-01
PID: 4384
Started On: 2022-09-15T09:02:35.630Z
Profile: default
MESSAGING                  :STARTED   2022-09-15T09:03:02.193Z
TXNSTORE                     :STARTING

LOWCODE                     :STOPPED
ML                                  :STOPPED

REPORTING                   :PreCheck failed:  Txnstore not started yet. Next try in 30sec
CONTROLTOWER         :PreCheck failed:  Txnstore not started yet. Next try in 30sec
VANGUARD                   :PreCheck failed:  Txnstore not started yet. Next try in 30sec
ETL                                  :PreCheck failed:  Txnstore not started yet. Next try in 30sec
D:\RPA\AssistEdgeAutomation\scripts>

 

Status command shows the status of 

  • Server Name: appears; indicates the name of the server on which the build is installed.
  • PID: Indicates the process ID.
  • Started On: Indicates the date and time at which the components started.
  • Profile: Indicates the profile that is used to start the components.

Following are the various statuses of the components:

  • STARTED- Signifies that the component has started.
  • STARTING- Signifies that the component is still starting.
  • STOPPED- Signifies that the component has stopped.
  • STOPPING- Signifies that the component is stopping.
  • PreCheck - Signifies that the component is waiting for another component to start on which it is dependent. For example, CONTROLTOWER is dependent on MESSAGING and TXNSTORE to start. So, until the MESSAGING AND TXNSTORE components are not started, CONTROLTOWER will show pre-check pending.
  • Not installed on this System- Signifies that the stated component is not install on the server.

Exception Handling

If you use the command to check the status of a component for the build that is not installed, the following message is displayed.

 

D:\RPA\AssistEdgeAutomation\scripts> ae status

Install detail not found.

D:\RPA\AssistEdgeAutomation\scripts>

 

STATUSALL

The statusall command is used to get the status of the component across all the server machine where AE is installed.

Syntax Defined

Syntax: ae statusall

Sample Output

Following is the output if AE is installed on three-machine clustered setup.

 

D:\RPA\AssistEdgeAutomation\scripts>ae statusall
------------------RPASERVER-02------------------
PID: 1120
Started On: 2023-01-03T03:45:35.614Z 
Profile: default
MESSAGING                : STARTED   2023-01-03T03:46:01.900Z
REPORTING                 :STARTED   2023-01-03T03:47:18.341Z
CONTROLTOWER       :STARTED   2023-01-03T03:46:48.150Z
VANGUARD                 :STARTED   2023-01-03T05:27:48.022Z
TXNSTORE                   :STARTED   2023-01-03T03:46:02.159Z
ETL                                :STARTED   2023-01-03T03:48:13.590Z
LOWCODE                   :STOPPED
ML                                :STOPPED
------------------------------------------------
------------------RPASERVER-03------------------
PID: 57272
Started On: 2023-01-03T03:47:36.865Z 
Profile: default
MESSAGING                :STARTED   2023-01-03T03:48:12.978Z
REPORTING                 :STARTED   2023-01-03T03:49:29.876Z
CONTROLTOWER       :STARTED   2023-01-03T03:48:59.546Z
VANGUARD                 :STARTED   2023-01-03T05:29:59.253Z
TXNSTORE                   :STARTED   2023-01-03T03:48:13.605Z
ETL                                :STARTED   2023-01-03T03:50:24.184Z
LOWCODE                   :STOPPED
ML                                :STOPPED
------------------------------------------------
------------------RPASERVER-04------------------
PID: 67296
Started On: 2023-01-03T03:49:36.356Z 
Profile: default
MESSAGING                :STARTED   2023-01-03T03:50:11.457Z
REPORTING                 :STARTED   2023-01-03T03:51:21.534Z
CONTROLTOWER       :STARTED   2023-01-03T03:50:58.688Z
VANGUARD                 :STARTED   2023-01-03T05:31:56.436Z
TXNSTORE                   :STARTED   2023-01-03T03:50:12.769Z
ETL                                :STARTED   2023-01-03T03:52:23.973Z
LOWCODE                   :STOPPED
ML                                :STOPPED
------------------------------------------------
D:\RPA\AssistEdgeAutomation\scripts>


 

NOTE: 

If AE is installed on single machine, the output of status and statusall command remains same.

STOP

The stop command stops one or more components of AE that are currently running, you can seperate the component names with space.

Syntax Defined

Syntax: ae stop <Component Name 1> [<Component Name 2> <Component Name 3> …]

Sample Output

 

D:\RPA\AssistEdgeAutomation\scripts>ae stop mq txn
D:\RPA\AssistEdgeAutomation\scripts> 

 

 

STOPALL

The stopall command stops all components of AE that are currently running.

Syntax Defined

Syntax: ae stopall

Sample Output

 

D:\RPA\AssistEdgeAutomation\scripts> ae stopall

 

 D:\RPA\AssistEdgeAutomation\scripts>

 

 

REPAIR

The repair command is used to update the configurations for the installed AE build on the server machine, such as port numbers, machine names, proxy server hostnames, and so on.

 

To update the configurations, you need to update the desired properties file(s) located in <Installation Directory>\AssistEdgeAutomation\scripts\app\install\config folder and execute the repair command.

 

Repair command can be used when:

  • Existing ports are not available, or the user want to update the port number.
  • Proxy server host name has changed.
  • The machine name provided either for WEB or for APP is incorrect.

 

NOTE: 

  • Executing this command will update the installDetail file located in <Installation Directory>\AssistEdgeAutomation\scripts\app\install\config folder.
  • You must reinstall the build if you want to add or remove machine names in a clustered setup or update the database server/provider details.

Prerequisites

Before executing the repair command:

  • Ensure the properties file in the <Installation Directory>\AssistEdgeAutomation\scripts\app\install\config folder is updated.
  • Make sure all the components are stopped.

 

Syntax Defined

Syntax: ae repair

 

Sample Output 

D:\RPA\AssistEdgeAutomation\scripts>ae repair

****************************************************************************************************
‎ AssistEdge Installation
‎****************************************************************************************************

Following components are marked for installation on this system.
‎Please validate component and Port Numbers.
‎-----------------------------------------------------------------------------------------
‎Web server: Port: 80
‎ Messaging Port: 5683
‎ Reporting Port: 5612
‎ ControlTower Port: 3861
‎ LowCode Port: 8012
‎App server: Port: 80
‎ TxnStore Port: 9211
‎ ETL Port: 9611
‎ ML Port: 8011

Following configurations have been taken from 'server.properties' and will be used for installation.
‎Please validate the configurations:
‎----------------------------------------------------------------------------------------- _AE_MESSAGING_WEB_PORT : 15683
‎ _AE_MESSAGING_EPMD_PORT : 4380
‎ _AE_MESSAGING_DIST_PORT : 25683
‎ ERLANG_COOKIE_VALUE : ZVIJOUEQVPCRXLMYJWAFJFVDFHTYFDSFFYHHJMNKLPOJIJNMGVXSZQAZCVBNMGDSRYGJNIKPOKLJHFEDSXCFHNMKKLHSQWDXGOLKHNCFDFZXVEDKLOJTGDSCVHMSWQQADFJKOIJJNGFDWSSSFIIKHE
‎ _ AE_TXNSTORE_TCP_PORT : 9311
‎ _AE_CLUSTER_PORT : 8456
‎ _AE_CLUSTER_NAME : aedev
‎ _AE_ML_PREDICTOR : true
‎ _AE_ML_MODEL_GENERATOR : true
‎ _AE_ML_QUEUE_FORECAST : true
‎ _AE_LOWCODE_SERVER_PORT : 8013
‎-----------------------------------------------------------------------------------------

Updating RabbitMQ........... [SUCCESS]

Updating Migration Workbench configuration........... [SUCCESS]

Reference component URLs as follows:
‎ ControlTower : http://vevaesolm-15:80/ui/Admin
‎ TxnStore : http://vevaesolm-15:80/ts-api
‎ Messaging : http://vevaesolm-15:80/messaging-sso
‎ Reporting : http://vevaesolm-15:80/reports
‎ LowCode : http://vevaesolm-15:80/jw
‎ ETL : http://vevaesolm-15:80/etl
‎ ML : http://vevaesolm-15:80/ml


‎D:\RPA\AssistEdgeAutomation\scripts>