Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
outlinetrue
excludeTable of Contents

 

 

Perquisites

Before you start the upgrade, you must ensure that the Elasticsearch cluster is in a 'green' state.
To validate the state, log into one of the hosts that have the squirro-storage-node package installed and run the following command:

Code Block
curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'

The output looks like this:

Code Block
titleSample Output
linenumberstrue
{
  "cluster_name" : "squirro-26aa394e-56ee-4274-b094-5075bb94d892",
  "status" : "green",
  "timed_out" : false,
  "number_of_nodes" : 1,
  "number_of_data_nodes" : 1,
  "active_primary_shards" : 14,
  "active_shards" : 14,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 0,
  "delayed_unassigned_shards" : 0,
  "number_of_pending_tasks" : 0,
  "number_of_in_flight_fetch" : 0,
  "task_max_waiting_in_queue_millis" : 0,
  "active_shards_percent_as_number" : 100.0
}

Check for the status on line 3. e.g. in this case:

Code Block
"status": "green"
Warning

Do not proceed with the upgrade if the state is yellow or red.

Upgrade

If you haven't already done an update, please contact squirro support to obtain a new, unique user and password to enable you to upgrade. You only need to do the following once for your Squirro Box:

...