Diagnosing and Repairing Shard Issues in Elasticsearch 7.13

3 hours
  • 2 Learning Objectives

About this Hands-on Lab

Yellow and especially red cluster states can certainly create a stressful situation. To help alleviate this stress, Elasticsearch has made it easy to diagnose your shard issues so you can get the cluster back to a green state quickly. In this hands-on lab, you will get to diagnose and repair shard issues in an Elasticsearch cluster.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Troubleshoot and Repair the accounts Indices

From the Kibana console on the es1 node, use the cluster allocation explain API to troubleshoot and then repair the accounts-1 and accounts-2 indices.

Reconfigure the accounts Indices to Avoid Repeated Failure

From the Kibana console on the es1 node, configure the accounts-1 and accounts-2 indices in such a way as to maximize redundancy and reliability.

Additional Resources

Logging In to the Elastic Environment

  1. Open a new browser tab and navigate to the public IP address of the es1 node provided on the lab page (e.g., http://public_ip).
  2. Log in using the username elastic and password elastic_acg.

Scenario

You are a data infrastructure engineer working as a private contractor. You've recently taken on a contract to help an e-commerce company with some Elasticsearch shard allocation issues. Your task is to troubleshoot and repair the shard issues for the accounts-1 and accounts-2 indices and then configure the indices so that they don't fail the same way again and have the best possible redundancy and reliability.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?