Upgrade Guide - Incorrect upgrade path
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- elasticsearch
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu bằng cách truy vết đường dẫn upgrade-guide cho một cluster 5.0–5.5 không có Cloud, đã bật X-Pack Security, không có TLS và không có các chỉ mục 2.x. So sánh đầu ra 6.3 của nó với đường dẫn full-cluster-restart “jump straight to 6.3” được ghi trong tài liệu; được xem là hoàn tất khi các bước được tạo bao gồm TLS và lần khởi động lại bắt buộc, thay vì định tuyến sai qua 5.6.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
to reproduce:
- First off, we need some information about your stack.
- 5.0-5.5
- no Cloud
- Do you use X-Pack?
- yes
- Which X-Pack features do you use?
- Security
- Transport Layer Security (TLS) is required as of 6.0
- no
- Do you have any indices that were created in 2.x?
- no
- Upgrading from 5.x to 6.3
- Upgrade to 5.6 first
Which returns:
Here you go!
These are the steps you need to take to upgrade to 6.3.
Upgrade to 5.6
Back up your data.
Use the Elasticsearch Migration plugin to check for upgrade issues.
Address any 5.x breaking changes that affect your applications:
Elasticsearch breaking changes
Upgrade one node at a time to Elasticsearch 5.6.
Install Elasticsearch 5.6.
Install X-Pack.
Restart the node.Prepare to upgrade to 6.3
Back up your data.
Address any 6.0 breaking changes that affect your applications:
Elasticsearch breaking changes
If you're using the default changeme password, change your password.
Check the Elasticsearch deprecation log.
Upgrade to 6.3
Upgrade Elasticsearch to 6.3.
You can perform a rolling upgrade to Elasticsearch 6.3.
Remove the X-Pack plugin before restarting Elasticsearch.
Run bin/elasticsearch-plugin remove x-pack.
However, 6.x requires TLS
The path is therefore missing to enable TLS and the full cluster restart that comes with it.
Instead of the above, the upgrade to 6.x should follow the following path (taken from selecting "jump straing to 6.3" in the last question). In fact, going to 5.6 does not bring any benefits in this case and we should consider removing that question when TLS is not enabled. 5.6 is only required if you plan to roll to 6.x, which is not possible in this case:
Perform a Full Cluster Restart Upgrade to 6.3
Stop sending data to your cluster.
Shut down your cluster and install Elasticsearch 6.3 on all nodes.
Remove the X-Pack plugin before restarting Elasticsearch.
Run bin/elasticsearch-plugin remove x-pack.
Enable Transport Layer Security (TLS) to secure cluster communications.
TLS is required as of 6.0 to prevent unidentified nodes from joining a cluster and encrypt inter-node communications.
Restart your Elasticsearch cluster.
Create a temporary super user and upgrade the internal .security index.
Delete the temporary super user.
- Ngôn ngữ chính
- Java
- Star
- 105
- Fork
- 249
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của elastic/stack-docs
-
Broken links to AD jobs Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 35/100
elastic/stack-docs#2749 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
elastic/stack-docs#2395 ·
-
discussion help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
elastic/stack-docs#2291 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
elastic/stack-docs#2263 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
elastic/stack-docs#2224 ·
Tất cả issue của elastic/stack-docs
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
infinispan/infinispan#18150 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
opensearch-project/k-NN#3597 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100