Skip to content

Commit 281a1c1

Browse files
authored
Create how-to-update-EXAClusterOS-via-CLI.md (#79)
1 parent e9fcc32 commit 281a1c1

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# How to update EXAClusterOS using the command line
2+
3+
## Background
4+
5+
That article guides you through the procedure to update the ClusterOS via the command line.
6+
7+
## Prerequisites
8+
9+
SSH root access to the License Server.
10+
11+
Check the [Update Considerations](https://docs.exasol.com/db/7.1/administration/on-premise/upgrade/update_considerations.htm) before any software update.
12+
13+
## Instructions
14+
15+
1. Copy the update packages (both) to the License Server.
16+
17+
```shell
18+
rsync -avP EXA*.pkg root@{LS_IP}:/tmp/
19+
```
20+
21+
_or_
22+
23+
```shell
24+
scp EXA*.pkg root@{LS_IP}:/tmp/
25+
```
26+
27+
2. Make sure **no backup** or **storage recovery** is in progress.
28+
3. Make sure **EXAoperation is running on the License Server**. Check this in the EXAoperation section.
29+
4. Go to the Software section and **remove the obsolete EXASolution version(s)**.
30+
5. [Stop the Database](https://docs.exasol.com/db/7.1/administration/on-premise/manage_database/stop_db.htm).
31+
6. [Stop the Storage Services](https://docs.exasol.com/db/7.1/administration/on-premise/manage_storage/stop_start_storage_service.htm).
32+
7. [Stop the Cluster Services on the data nodes](https://docs.exasol.com/db/7.1/administration/on-premise/nodes/actions_on_nodes.htm).
33+
8. SSH into the LS and create the update directory.
34+
35+
```shell
36+
mkdir /tmp/exasuite_update/
37+
```
38+
39+
9. Extract the package.
40+
41+
```shell
42+
tar xf EXAClusterOS-7.1.NN_LS-Update.pkg -C /tmp/exasuite_update/
43+
```
44+
45+
10. Start the EXAClusterOS update.
46+
47+
```shell
48+
$COS_DIRECTORY/share/exaoperation/scripts/exaclusteros_update.sh /tmp/exasuite_update/EXAClusterOS-7.1.NN_LS-Update-CentOS-7.5.NNNN_x86_64.tar.gz
49+
```
50+
51+
11. Check the EXAopeartion log and look for the start and completion messages.
52+
53+
```text
54+
tail -f /var/log/logd/EXAoperation.log
55+
[2023-12-07 16:03:29.911675] NOTICE: [Software update] Start update process to EXAClusterOS version 7.1.NN.
56+
[2023-12-07 16:04:10.064588] NOTICE: [Software update] First part of update process succeeded. Please shutdown databases and nodes and restart license server.
57+
```
58+
59+
12. Apply the CentOS security patch update.
60+
61+
```shell
62+
apply_os_security_updates /tmp/EXASOL-7.1-CentOS-7-CumulativeUpdate-YYYYMMDDHHMM.pkg
63+
```
64+
65+
_Note: In case you see a message like this "Dismiss already applied patchlevel YYYYMMDDHHMM", it means there is no update needed, and you can continue the procedure._
66+
13. Reboot the license node.
67+
14. Check the Software tab and confirm the new version was successfully applied.
68+
15. Make sure there is enough space in the root filesystem (`df -h /`). If not, try removing some files to release space.
69+
16. [Reboot the data nodes](https://docs.exasol.com/db/7.1/administration/on-premise/nodes/actions_on_nodes.htm).
70+
17. [Start the Storage Services](https://docs.exasol.com/db/7.1/administration/on-premise/manage_storage/stop_start_storage_service.htm).
71+
18. [Start the Database](https://docs.exasol.com/db/7.1/administration/on-premise/manage_database/start_db.htm).
72+
73+
_We appreciate your input! Share your knowledge by contributing to the Knowledge Base directly in [GitHub](https://github.com/exasol/public-knowledgebase)._

0 commit comments

Comments
 (0)