単一コントローラのアップグレード
Enterprise Console を使用して、単一ノードのコントローラインスタンスをオンボードおよびアップグレードできます。GUI の [Custom Install Discover & Upgrade] オプションを使用すると、プラットフォームを作成し、コントローラを検出できます。
あるいは、すでにプラットフォームを作成済みの場合は、発見を実行する前に、プラットフォームに認証情報とホストを追加する必要があります。その後、そのページでコントローラを検出します。コントローラを検出するということは、Enterprise Console がプロファイル、テナンシーモード、既存のドメイン構成、データベース構成など、既存のコントローラデプロイの情報を保有していることを意味します。この情報はアップグレードの実行に使用されます。
アップグレードについて
Enterprise Console では、20.2 以上から最新バージョンまで、コントローラのアップグレード(スタンドアロンと HA ペア)をサポートしています。状況に応じた一連のアクションを確認するには、次の表を使用します。
| 現在のコントローラのバージョン | アップグレード後のコントローラバージョン | 実行するアクション |
|---|---|---|
| Equal to version 20.2 or later | コントローラバージョン 20.2 または最新バージョン |
|
GUIを使用したコントローラのアップグレード
適用可能なコントローラアップグレードがある場合、GUIのCustom InstallページかControllerページでアップグレードプロセスを開始できます。
コントローラの最新バージョンへのアップグレード
コントローラを最新バージョンにアップグレードするには、コントローラのアップグレード機能を使用します。
CLIを使用したコントローラのアップグレード
適用可能なコントローラアップグレードがある場合、アプリケーション CLI を使用してアップグレードプロセスを開始できます。
コントローラの最新バージョンへのアップグレード
最新バージョンへのアップグレードは、Enterprise Console の [Controller] ページから、または以下のコマンドを使用して実行できます。
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.