Sprint 106 Deploy *************************************************************** Pre deployment work done *************************************************************** 1.) Jenkins build updated with TransByQuery service 2.) New folder added for service on Lego 3.) 106 Script runner on lego -> NotesIndex added to appsettings 4.) plugin installed for soundex (just needs restart) 5.) App Settings updated with all queues needed (transfer by query, notes) 6.) Script Runner ec2 started - Administrator/dUD?7hRv9UfkXZxIHBf3Bwj64(3xpqMJ 18.253.46.165 *************************************************************** Do the deployment *************************************************************** Build Api Build Media Api Build Services Build Frontend Set Maintenance Mode Stop APIs ? In ElasticBeanstalk console, Configuration Modify Capacity time-Based scaling add scheduled action set capacity to 0 give 5 minutes from current time (NOTE UTC) for start time click add - choose Local for time zone - double check time On es servers: *************************************************************** Install Elasticsearch plugin - For Cluster *************************************************************** sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-phonetic !!!DONE FOR ALL 3 NODES!!! sudo systemctl stop elasticsearch sudo systemctl start elasticsearch sudo systemctl status elasticsearch ec2-18-253-37-94.us-gov-east-1.compute.amazonaws.com ec2-18-252-242-113.us-gov-east-1.compute.amazonaws.com ec2-18-254-15-105.us-gov-east-1.compute.amazonaws.com Close the index: POST: http://ec2-34-219-29-4.us-west-2.compute.amazonaws.com:9200/secure-people/_close Add new Analyzer: PUT: http://ec2-34-219-29-4.us-west-2.compute.amazonaws.com:9200/secure-people/_settings BODY: { "analysis": { "analyzer": { "tp_soundex": { "tokenizer": "standard", "filter": [ "lowercase", "tp_soundex_filter" ] } }, "filter": { "tp_soundex_filter": { "type": "phonetic", "encoder": "double_metaphone", "replace": false } } } } Open Index: POST: http://ec2-34-219-29-4.us-west-2.compute.amazonaws.com:9200/secure-people/_open Add new fields: PUT: http://ec2-34-219-29-4.us-west-2.compute.amazonaws.com:9200/secure-people/_mapping BODY: { "properties": { "NameSoundexV2": { "type": "text", "analyzer": "tp_soundex" }, "FirstNameSoundexV2": { "type": "text", "analyzer": "tp_soundex" }, "MiddleNameSoundexV2": { "type": "text", "analyzer": "tp_soundex" }, "LastNameSoundexV2": { "type": "text", "analyzer": "tp_soundex" }, "AliasSoundexV2": { "type": "text", "analyzer": "tp_soundex" }, "BusinessNameSoundexV2": { "type": "text", "analyzer": "tp_soundex" } } } *************************************************************** Scripts to run *************************************************************** !!!RUN ON LEGO!!! update-transferred-from-to-person !!!RUN ON LEGO!!! update-saved-searches-transferred-from-to-person (select N to do the complete conversion) !!!RUN ON Script Runner EC2!!! notes-to-es !!!RUN ON Script Runner EC2!!! add-soundex-to-es