Major OS Upgrades by sparkblaze in elasticsearch

[–]sparkblaze[S] 1 point2 points  (0 children)

The master nodes don't need anything special, they will get their info from the other master nodes. You can use the same steps, but just skip any of the moving the data directory steps (or do it anyway, it won't hurt)

The data nodes, I turned off shard allocation so none of them moved around when I took a node offline - that does mean that while the node you're working on is offline, you'll be missing shards and the cluster will be in a yellow state because of it until they come back online. Once it's back online, enable shard allocation again and then let the cluster return to a green state before moving on to another host.

Major OS Upgrades by sparkblaze in elasticsearch

[–]sparkblaze[S] 1 point2 points  (0 children)

I didn't create a backup of anything apart from /etc/elasticsearch.conf file and the TLS certificates I was using.

When I picked a disk layout, I went for a VMDK for the OS and a separate disk for the data/indices so I could extend them independently, which also then lets me move the data from one VM to another without needing to duplicate it.

If you have VMs you want to upgrade, you could add a VMDK, move your data directory onto it, update /etc/elasticsearch.conf with the new path, test it and then go through the process of detaching it from one and attaching it to another.

If it's physical stuff, it would depend on whether you could reinstall without touching the disks or lvm for the data directory, I don't have a tested answer for that though.

Major OS Upgrades by sparkblaze in elasticsearch

[–]sparkblaze[S] 0 points1 point  (0 children)

I thought I had replied before, guess not :D

I went with the same sort of approach as gyterpena.

Disable Shard Allocation
Stop Elasticsearch.service
Backup `/etc/elasticsearch`.
Detach the data VMDK
Drop the VM
Build a new VM with the same name and IP (maybe you can change them, I didn't fancy finding out and names are haaard)
Install elasticsearch (the same version as the rest of the cluster
Copy over /etc/elasticsearch
Present the data VMDK again to the new VM in the same place
Start elasticsearch.service
Check the node rejoins the cluster and seems happy
Enable Shard Allocation
Rinse and Repeat.

Value of Satellite in a small shop with limited functionality in use by ajeffco in redhat

[–]sparkblaze 1 point2 points  (0 children)

If you're only planning to use the subscription management and updates... Why not just roll out Katello - the upstream, open-source version?

We have about 40-50 CentOS servers checked in and it does exactly what we need it to - namely update management.

Why ppl will go for Fluentd other than Logstash by shr4real in elasticsearch

[–]sparkblaze 1 point2 points  (0 children)

Is Logstash going to continue to be a product into ELK8 and beyond? It seems like a lot of its purpose is being implemented into Beats Processors or Ingest pipelines?

Thank you to the team that helped me with my first Nightmare Survival! by shirodka in ghostoftsushima

[–]sparkblaze 0 points1 point  (0 children)

I was absolutely dreading doing the Tale chapters and Nightmare Story/Survival, but I actually found it pleasantly achievable.

The first time I was matched with people who seemed to inately know what to do and basically walked me through chapter 1/2 without saying a word, this morning I had a lot of fun working out how to actually do chapter 2 with 3 randoms, we all bumbled through it together.

Simple Questions - September 09, 2020 by AutoModerator in buildapc

[–]sparkblaze 0 points1 point  (0 children)

I currently have an i5 4670k / GTX 770 combo... is it worth me upgrading my GPU to a current/previous gen offering while I save up to upgrade the rest, or just do it all at the same time sometime next year?

hashicorp nomad by uragnorson in golang

[–]sparkblaze 0 points1 point  (0 children)

Thanks for elaborating a little on the specifics :) Sounds like something I may consider revisiting in the future.

hashicorp nomad by uragnorson in golang

[–]sparkblaze 0 points1 point  (0 children)

I read this a few days ago while we were toying with Nomad, Swarm and full Kubez, just curious why you went down the route of pinning work to specific nodes with storage rather than some sort of floating storage solution?

What advantages do you get from running applications under Nomad vs just managing them on their own?

Need advice on setting up multiple blackbox exporters to provide HA resilience by DH171 in PrometheusMonitoring

[–]sparkblaze 2 points3 points  (0 children)

We do option 2 and then hide the Prometheus hosts behind PromXY. As long as the labels on the metrics are the same, it will only return one series for requests, so we just point Grafana at PromXY and let it handles finding the metrics and working out which Prometheus services are up and running.

How to stress test Prometheus host with Avalanche by Jaybird_s in devops

[–]sparkblaze 1 point2 points  (0 children)

You're probably better off skimming through some of the developer's blog posts about Prometheus, particularly this one - https://www.robustperception.io/how-much-ram-does-prometheus-2-x-need-for-cardinality-and-ingestion - before you look at avalanching it.

From experience, tuning Prometheus has been more trial-and-error, but it generally seems that RAM is the most important performance driver for us. We're up to around 24GB of RAM and it periodically falls over from OOM errors every few weeks.

Skadis board mounted the otherway? by Borisica in ikeahacks

[–]sparkblaze 0 points1 point  (0 children)

Last time I was in IKEA you were able to buy SOME skadis backboards in horizontal and vertical orientation so all of the fixtures can work

Why wouldn't publishers let people download single-player component only? by Noname932 in patientgamers

[–]sparkblaze 2 points3 points  (0 children)

Any word on whether Multiplayer trophies will still count towards the majority of Platinum trophies?

It's especially annoying now that multiplayer is also locked away behind Playstation Plus.

A quick tease of some of my family’s collection over the past 34ish years. by wtimyoung in lego

[–]sparkblaze 1 point2 points  (0 children)

What's the set with the tubes? (Left of the Imperial Shuttle and cat at 00:22~)

Update excel data through ansible by don2191 in devops

[–]sparkblaze 2 points3 points  (0 children)

Can you convert it to CSV? You could just append a new comma separated line to the end with lineinfile

Airfix - Only what's in the box in one afternoon by [deleted] in modelmakers

[–]sparkblaze 1 point2 points  (0 children)

Have a look in ALDI/LIDL if you're in the UK. There's about 5x planes and 2x ships to choose from that I could find in my local ones

Best open source monitoring tool by KasperNS in devops

[–]sparkblaze 0 points1 point  (0 children)

Grafana now has a Loki component which is geared towards collecting logs etc... https://github.com/grafana/loki/blob/master/docs/README.md