Upgrade a Single Controller
You can use the Enterprise Console to onboard and upgrade a single node Controller instance. The Custom Install Discover & Upgrade option in the GUI allows you to create a platform and discover a Controller.
Alternatively, if you have already created a platform, you must add credentials and hosts to the platform before you can perform discovery. Then, discover the Controller on the page. Discovering a Controller means that the Enterprise Console learns about your existing Controller deployment, such as profile, tenancy mode, existing domain configuration, and database configuration. This information is used to perform an upgrade.
About the Upgrade
The Enterprise Console supports Controller upgrades (standalone and HA-pair) starting from20.2 and higher, to the latest version. Use the following table to determine your course of action based on your circumstances:
| If your current Controller version is... | Controller version you want to upgrade to... | Actions to take... |
|---|---|---|
| Equal to version 20.2 or later | Controller version 20.2 or the latest version |
|
Upgrade the Controller Using GUI
If there is a Controller upgrade available, you can begin the upgrade process either on the Custom Install or Controller page in the GUI.
Upgrade the Controller to Latest
To upgrade the Controller to the latest version, you can use the Upgrade Controller feature:
Upgrade the Controller Using CLI
If there is a Controller upgrade available, you can begin the upgrade process using the application CLI.
Upgrade the Controller to Latest
Upgrades to the latest version can be performed on the Controller page of the Enterprise Console or with the following commands:
How to Reset the Database User Password
-
Log in to the Enterprise Console.
CODEplatform-admin/bin/platform-admin.sh login --user-name admin --password EC_GUI_PASSWORDReplace
EC_GUI_PASSWORDwith your actual value. -
Reset the database user password.
CODEplatform-admin/bin/platform-admin.sh submit-job --platform-name <platform_name> --service controller --job update-passwords --args newDatabaseUserPassword=<password>Replace
<platform_name>and<password>with your actual values.
As a result, an Enterprise Console job is generated where you can verify the success of the password reset.
-
Log in to the database as the root user by running the following command:
platform-admin/bin/platform-admin.sh login --user-name admin --password EC_GUI_PASSWORD
-
Execute the following queries, replacing
<new_password_here>before executing the query.- MySQL <= 5.7
-
CODE
update mysql.user set authentication_string=password('<new_password_here>') where user like 'controller%'; flush privileges; quit; - MySQL >=8.0
-
alter user 'controller'@'localhost' identified by '<new-password-here>'; flush privileges; quit;
-
Verify the login by running the following command in the <controller_home>/db/bin
./mysql -u controller -p -P 3388 -h 127.0.0.1
-
Obfuscate the password using Secure Credential Store (SCS) tool.It gives you the obfuscated password.CODE
<platform-dir>/jre/<version>/bin/java -jar <controller-home>/tools/lib/scs-tool.jar obfuscate -plaintext '<new_password_here> -
Update the following field with the obfuscated password in the
<controller_home>/appserver/jetty/etc/webapp-common.xmlfile.CODE<Call name="setProperty"> <Arg>database.password</Arg> <Arg>[Specify the Obfuscated Password]</Arg> </Call>Warning: In the case of a Controller HA pair, repeat the above steps on the secondary controller server.