Patch Commands
Following are the patch commands:
Prerequisites
- The patch zip file must be downloaded on the server machine(s).
- All the server-side and client-side components must be in STOP state.
- User applying the patch must have admin rights on the sever machine.
NOTE: |
For more information on the patch settings, see Release Upgrade. |
Pre-upgrade Steps
- Create a Release folder in the <InstallationDirectory>\AssistEdgeAutomation folder of the existing build.
- Unzip the Upgrade AssistEdgeAutomation product package, rename it as the patch name, and place it in the <InstallationDirectory>\AssistEdgeAutomation\Release folder. Rename it as patch name (for example: Release191).
- Depending on the patch there are some additional pre-upgrade steps that must be completed before starting the upgrade. These steps are printed when upgrade command is executed. User applying the patch must ensure all the pre-steps are executed successfully.
UPGRADE
The upgrade command upgrades the AE build files from its current installed version to the patch version. For a clustered setup, this command should be used in all the server machines.
Syntax Defined
Syntax: ae upgrade <patch name>
Sample Output
D:\RPA\AssistEdgeAutomation\scripts>ae upgrade Release191 Please confirm if above pre steps has been executed?(Y/N): Y |
Once the command is executed, Please confirm if above pre steps has been executed?(Y/N):
- Enter N, if you have not executed all the pre-steps.
- Enter Y if you have executed all the pre-steps successfully.
- The command will take necessary backup, and upgrade the current installed version to latest release version.
- If the version gets upgraded, you can see a Configuration updated and Patch Applied message.
Taking backup: Wed Jan 18 2023 08:57:02 GMT+0530 (India Standard Time) D:\RPA\AssistEdgeAutomation\scripts> |
The command will take necessary backup, and upgrade the current installed version to latest release version. If the version gets upgraded, you can see a Configuration updated and Patch Applied message. Depending upon the patch there are post upgrade steps that must be done after the upgrade is successful. These steps are printed once the patch is applied. User applying the patch must ensure all the post steps are executed.
NOTE: |
If an error occurs during upgrade, the command will automatically rollback to the previous version. |
ROLLBACK
The rollback command is used to revert the AE build file changes from the patched version to the previously installed version.
Rollback command can be used:
- When the rollback does not happen automatically in case there was any error during upgrade.
- When the user decides not to proceed with the post upgrade steps and wants to rollback the build files to the previous version from the upgraded patch version.
NOTE: |
In case the user applying the patch has executed the post upgrade steps then the rollback command should not be used. |
Prerequisites
You can execute the rollback command only if you have upgraded build files from the installed version to the patched version.
Syntax Defined
Syntax: ae rollback <patch name>
Sample Output
D:\Engage\AssistEdgeAutomation\scripts>ae rollback Release191
|
Enter Y to execute the action.
UPGRADE-DB
The upgrade-db command is used to upgrade the database changes from the release version to patch version. For a clustered setup, this command should be executed in any one of the server machines.
NOTE: |
This command should be used only when the post upgrade steps mention to upgrade the database. |
Prerequisites
Before executing the upgrade-db command, make sure the current version is upgraded.
Syntax Defined
Syntax: ae upgrade-db
Sample Output
D:\RPA\AssistEdgeAutomation\scripts> ae upgrade-db
Are you sure you want to continue (Y/N) : |
Enter Y to continue with the installation.
Once, the upgrade is done you will see a Database upgrade complete for version message with the upgraded version number.
UPGRADE-TXN
The upgrade-txn command is used to re-index the txnstore data from the current installed version to the patch version. For a clustered setup, this command should be executed in any one of the server machines.
NOTE: |
This command should be used only when the post upgrade steps mention to upgrade the TxnStore. |
Prerequisites
Before executing the upgrade-txn command,
- Ensure that the current installed version is upgraded.
- Make sure the Txnstore is running.
Syntax Defined
Syntax: ae upgrade-txn
Sample Output
D:\RPA\AssistEdgeAutomation\scripts> ae upgrade-txn
Checking elastic status: Connection: Success Version: 7.10.2 Health: yellow
Reindexing Completed Successfully.
D:\RPA\AssistEdgeAutomation\scripts> |