Update WSO2 APIM 3.2.x using Update 2.0
Hi everyone, I am going to share how to update your WSO2 API Manager using Update 2.0 tool provided by WSO2. So, WSO2 provides the latest utility/tool for updating the products called Update2.0 This tool helps to update your product as an in-place update.
Environment: RHEL 8.3
WSO2 APIM Version: 3.2.0.x
WSO2 Update tool: Update 2.0
WSO2 APIM Version: 3.2.0.x
WSO2 Update tool: Update 2.0
Step 1: Unzip the current pack of WSO2 APIM i.e. wso2-apim_3.2.0 and navigate to bin directory.
[appdev@linuxhost]cd $APIM_HOME/bin
Step 2: Run the shell script wso2update_linux
[appdev@linuxhost]./wso2update_linux
Step 3: Now, you should provide valid subscription details with WSO2; typically it's an email id and the password and it's the same as credentials to the support portal. So, we need to execute the update script located inside $APIM_HOME/bin, where $APIM_HOME refers to the APIM pack base location
[appdev@linuxhost bin] ./wso2update_linux
Authentication failed
Initializing updates with credentials
If you already have a WSO2 Subscription, please enter your credentials to continue.
Password for username@email.com:
Authenticating
Authenticated user username@email.com:
Checking for latest update tool version
A new update is available
Attempting to download and update the WSO2 Update Tool
Update tool client has been updated. Please re-run the tool with necessary parameters
[appdev@linuxhost bin]$ ./wso2update_linux
Checking for latest update tool version
-------------- Welcome to WSO2 Updates --------------
Checking for updates
The latest update level is 'wso2am-3.2.0.169'.
This consists of 278 updates applied on top of 'wso2am-3.2.0.85'
[WARNING]
The update level 'wso2am-3.2.0.169' consists of 58 critical security updates applied on top of 'wso2am-3.2.0.85'.
WSO2 strongly recommends to use 'wso2am-3.2.0.169' distribution in production as soon as possible.
Creating a backup of '/data1/u01/binaries/wso2am-3.2.0.85'
Successfully created the backup at : /home/appadmin1/.wso2-updates/backup/wso2am-3.2.0-959b26ae-964a-4fe3-ba00-ee0768b96959
Downloading updates
Downloading files... [710/710] - 0s remaining
Updating product
wso2am-3.2.0 updated successfully
So, in this way, the product has been updated successfully to version 3.2.0.169. Kindly note that WSO2 automatically takes the backup of the current pack before updating the same and the backup location is also displayed above in process execution as well (home/appadmin1/.wso2-updates/backup/wso2am-3.2.0-959b26ae-964a-4fe3-ba00-ee0768b96959)
Important Note:
- Similar to Linux script wso2update_linux, there are windows(wso2update_windows.exe) and Mac (wso2update_darwin) scripts that are there to execute. The output remains the same.
- WSO2 also facilitates updating the product with a trial subscription provided the same has been procured from WSO2.
Comments
Post a Comment