First, login to the first node of the ExaCS cluster, and change to root user
[opc@exanode1 ~]$ sudo su -
As root user, check the available versions of patch tools using the below command. This will list the current patch installed as well as the available patches with the installation command for all the nodes in the cluster.
[root@exanode1 ~]# dbaascli patch tools list DBAAS CLI version 21.3.1.2.0 Executing command patch tools list Checking Current tools on all nodes exanode1: Patchid : 21.3.1.2.0_211021.1942 Available Patches Patchid : 21.3.1.2.0_211022.0001 Patchid : 21.4.1.0.1_211202.1702 Patchid : 21.4.1.0.1_211217.2101 Patchid : 21.4.1.1.0_211221.0003 Patchid : 21.4.1.1.0_220107.1241(LATEST) Install tools patch using dbaascli patch tools apply --patchid 21.4.1.1.0_220107.1241 or dbaascli patch tools apply --patchid LATEST exanode2: Patchid : 21.3.1.2.0_211021.1942 Available Patches Patchid : 21.3.1.2.0_211022.0001 Patchid : 21.4.1.0.1_211202.1702 Patchid : 21.4.1.0.1_211217.2101 Patchid : 21.4.1.1.0_211221.0003 Patchid : 21.4.1.1.0_220107.1241(LATEST) Install tools patch using dbaascli patch tools apply --patchid 21.4.1.1.0_220107.1241 or dbaascli patch tools apply --patchid LATEST All Nodes have the same tools version
As shown in the above command output, you can install the updated version of patch tools by either specifying the exact version you want, or specifying "LATEST" for the latest available version.
A sample output of the update command is given below
[root@exanode1 ~]# dbaascli patch tools apply --patchid LATEST DBAAS CLI version 21.3.1.2.0 Executing command patch tools apply --patchid LATEST [INFO] [DBAAS-14011] - The usage of this command is deprecated. ACTION: It is recommended to use 'dbaascli admin updateStack' for this operation. Current tools version on exanode1: 21.3.1.2.0_211021.1942 Patchid to apply LATEST Updated dbaastools rpm to dbaastools_exa-1.0-1+21.4.1.1.0_220107.1241.x86_64 Current tools version on exanode2: 21.3.1.2.0_211021.1942 Patchid to apply LATEST Updated dbaastools rpm to dbaastools_exa-1.0-1+21.4.1.1.0_220107.1241.x86_64
As you might have noticed, the command
dbaascli patch tools apply
is deprecated and will stop working in a future release. The equivalent new command is:
dbaascli admin updateStack