I am are using Opensearch 1.2.4 in the cluster, currently, the service binds to the public ip address of the server. As our requirement, we want it to bind it to the private ip address of the server. When I modified the ip in the opensearch.yml configuration file to private IP, getting the below error.
error message:
, 192.168.x.x:9300] from hosts providers and from last-known cluster state; node term 0, last-accepted version 0 in term 0
[2022-04-21T00:02:15,989][WARN ][o.o.c.c.ClusterFormationFailureHelper] master not discovered yet: have discovered [{HOSTNAME}{Llb9-QEP-8xY69z070rw}{1eug7a18YTIgizvr6Q}{192.168.x.x}{192.168.x.x:9300}{dir}{shard_indexing_pressure_enabled=true}]; discovery will continue using [192.168.x.x:9300, 192.168.x.x:9300] from hosts providers and from last-known cluster state; node term 0, last-accepted version 0 in term 0
also is there any other way to restrict opensearch service to listen only through private IP address.
Did anyone face this issue earlier/any recommendation to solve this issue will be appreciated
I am using Open search 1.2.4 in the cluster, currently, the service binds to the public ip address of the server. As our requirement, we want it to bind it to the private ip address of the server. When I modified the ip in the opensearch.yml configuration file to private IP, getting the below error. and master node not getting selected.
error message:
, 192.168.x.x:9300] from hosts providers and from last-known cluster state; node term 0, last-accepted version 0 in term 0
[2022-04-21T00:02:15,989][WARN ][o.o.c.c.ClusterFormationFailureHelper] master not discovered yet: have discovered [{HOSTNAME}{Llb9-QEP-8xY69z070rw}{1eug7a18YTIgizvr6Q}{192.168.x.x}{192.168.x.x:9300}{dir}{shard_indexing_pressure_enabled=true}]; discovery will continue using [192.168.x.x:9300, 192.168.x.x:9300] from hosts providers and from last-known cluster state; node term 0, last-accepted version 0 in term 0
also is there any other way to restrict opensearch service to listen only through a private IP address. so that the master node will be discovered?
Did anyone face this issue earlier/any recommendation to solve this issue will be appreciated
Please let me know how to change the configured ip address?