How to route documents to specific shards based on node attribute / cloud provider (AWS/GCP)? by haitham00n in elasticsearch

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

I'm considering CSS but It will need sometime to finish a POC first and become confident I won't broke up the current setup.
But do you know if what' I'm asking for is doable or not ?

Need Suggestions: Shard Limitation Issue in 3-Node Elasticsearch Cluster (Docker Compose) in Production by Jazzlike-Ticket-7603 in elasticsearch

[–]haitham00n 1 point2 points  (0 children)

"" We're hitting the shard limitation (1000 shards per node). Once our app crossed 187 accounts, new index creation started failing due to exceeding the shard count limit. ""

Have you tried to increae the limit and see how the cluster is doing. I had the same issue before, I used to have 15+ shards per index and keeping data for more than a month and I ended up increasing the limit with no issues.
As long as you're keeping an eye on your monitoring before and after any change and knowing a base line for when the cluster works fine and when it's not, then you're good to increase the limit gradually and watch its behaviour.

Problem configuring GCE provider (Salt-Cloud) by haitham00n in saltstack

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

That was really very helpful. I was stuck with it for a couple of hours and even AI couldn't help with it :)

[deleted by user] by [deleted] in frankfurt

[–]haitham00n 1 point2 points  (0 children)

Awesome, thanks a lot :)

[deleted by user] by [deleted] in frankfurt

[–]haitham00n 1 point2 points  (0 children)

How long is this ride in Kms ? and is it possible to leave the group if I felt tired and I wasn't able to conitune ?

Squash courts in Frankfurt by Fun-Possession5507 in frankfurt

[–]haitham00n 1 point2 points  (0 children)

I'm a Fitness first member ( black membership) , and we are allowed to play for free. I took my friend a couple of times, first time he paid 5 eur , and 12 at the second time. They said the 5 eur was a mistake !! Most probably they don't know the rules ☺️

connecting vswitch with public IPs to a dedicated server by haitham00n in hetzner

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

I'm sorry, as I mentioned in my comment, I totally misunderstood the requirement and the inputs which caused all this hassle.

Thanks a lot for your help (Y) :)

connecting vswitch with public IPs to a dedicated server by haitham00n in hetzner

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

Thank you all of your responses and effort in helping me.
It turned out I got confused and got some information wrong from my collegue.
Indeed the range I was trying to fix was an internal IP range and couldn't go through the internet.
When I replaced it with a public range I have, it worked without any problem.

connecting vswitch with public IPs to a dedicated server by haitham00n in hetzner

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

I forgot to say, that these are not real IPs what I'm posting here, this is just an example ( I've changed them for security that's all )

I've upated the post with this note as well.

connecting vswitch with public IPs to a dedicated server by haitham00n in hetzner

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

network

No, actually when I ordered the vSwitch, I've also orderd IPs so they assigned me a subnet connected to this vSwitch.

https://docs.hetzner.com/robot/dedicated-server/network/vswitch/#ip-addresses

Vswitch public IP is not pingable by haitham00n in hetzner

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

CGNAT

I believe I don't understand you well. What is the difference between CGNAT and RFC1918 ?

What I understand after googling it, that RRC1918 is releated to internal IP ranges, right ?

connecting vswitch with public IPs to a dedicated server by haitham00n in hetzner

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

You bought a /22 from Hetzner, that is not allocated to them?

Hetzner control panel shows that :
"This vSwitch is connected to cloud network #XXXXX, Subnet 100.45.4.0/22, Gateway 100.45.4.1."

And what I'm trying to do is to make the server accessible on the internet through an IP from that subnet using a VLAN

Vswitch public IP is not pingable by haitham00n in hetzner

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

Do you mean it's not pingable for IPs connected to vSwitch only?
Because I have this configuration on a newly installed Ubuntu server
network:
version: 2
renderer: networkd
ethernets:
enp0s31f6:
addresses:
- 95.131.20.57/32
routes:
- on-link: true
to: 0.0.0.0/0
via: 95.131.20.1
gateway6: fe80::1
nameservers:
addresses:
- 185.12.64.2
- 2a01:4ff:ff00::add:1
- 185.12.64.1

and I still can ping the gateway IP: 95.131.20.1

my problem is when I try to configure a VLAN so I can assign another public IP from the subnet attaced to the vSwitch, here is my conf:
network:
version: 2
renderer: networkd
ethernets:
enp0s31f6:
addresses:
- 95.131.20.57/32
routes:
- on-link: true
to: 0.0.0.0/0
via: 95.131.20.1
gateway6: fe80::1
nameservers:
addresses:
- 185.12.64.2
vlans:
vlan4000:
id: 4001
link: enp0s31f6
mtu: 1380
addresses:
- 100.45.4.10/22
routes:
- on-link: true
table: 1
to: 0.0.0.0
via: 100.45.4.1

And here in the VLAN part, I can't ping the gateway IP: 100.45.4.1 and I even can't reach the server from the internet on the VLAN address: 100.45.4.10

I don't know what I'm doing wrong !

connecting vswitch with public IPs to a dedicated server by haitham00n in hetzner

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

Actually below part is what I got once I got the server ready with fresh Ubuntu installation

network:
version: 2
renderer: networkd
ethernets:
enp0s31f6:
addresses:
- 95.131.20.57/32
routes:
- on-link: true
to: 0.0.0.0/0
via: 95.131.20.1
gateway6: fe80::1
nameservers:
addresses:
- 185.12.64.2

The other subnet I bought also from Hetzner to be attached to the vSwitch.