Skip to content

Commit

Permalink
Update rolling-upgrade.md (#7943) (#7945)
Browse files Browse the repository at this point in the history
  • Loading branch information
opensearch-trigger-bot[bot] authored Aug 8, 2024
1 parent 267408d commit 74f37b4
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions _install-and-configure/upgrade-opensearch/rolling-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,18 +131,6 @@ Review [Upgrading OpenSearch]({{site.url}}{{site.baseurl}}/upgrade-opensearch/in
```bash
os-node-01 v1.3.7
```
1. Repeat steps 5 through 9 for each node in your cluster. Remember to upgrade an eligible cluster manager node last. After replacing the last node, query the `_cat/nodes` endpoint to confirm that all nodes have joined the cluster. The cluster is now bootstrapped to the new version of OpenSearch. You can verify the cluster version by querying the `_cat/nodes` API endpoint:
```bash
GET "/_cat/nodes?v&h=name,version,node.role,master" | column -t
```
The response should look similar to the following example:
```bash
name version node.role master
os-node-04 1.3.7 dimr -
os-node-02 1.3.7 dimr *
os-node-01 1.3.7 dimr -
os-node-03 1.3.7 dimr -
```
1. Reenable shard replication:
```json
PUT "/_cluster/settings?pretty"
Expand Down Expand Up @@ -193,6 +181,18 @@ Review [Upgrading OpenSearch]({{site.url}}{{site.baseurl}}/upgrade-opensearch/in
"active_shards_percent_as_number" : 100.0
}
```
1. Repeat steps 5 through 11 for each node in your cluster. Remember to upgrade an eligible cluster manager node last. After replacing the last node, query the `_cat/nodes` endpoint to confirm that all nodes have joined the cluster. The cluster is now bootstrapped to the new version of OpenSearch. You can verify the cluster version by querying the `_cat/nodes` API endpoint:
```bash
GET "/_cat/nodes?v&h=name,version,node.role,master" | column -t
```
The response should look similar to the following example:
```bash
name version node.role master
os-node-04 1.3.7 dimr -
os-node-02 1.3.7 dimr *
os-node-01 1.3.7 dimr -
os-node-03 1.3.7 dimr -
```
1. The upgrade is now complete, and you can begin enjoying the latest features and fixes!

### Related articles
Expand Down

0 comments on commit 74f37b4

Please sign in to comment.