Resetting and repopulating the elastic search on local

  1. vagrant up – this will start vagrant vm
  2. vagrant ssh – this will connect to the image
  3. sudo salt-call state.sls elasticsearch.reset_es_data – this will reset all data in elastic search
  4. go to http://local-ccpm.sls.ufinity.com/elasticsearch/reindex – and then click all the link. this will repopulate all the elastic search data on the local image.

The reason this might be needed is that you can get I/O exception while trying to test the assign activity

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s