I have a cluster being monitored using Cloudera Manager. The goal was to enable HA for the cluster components, which works perfectly until Oozie HA came to picture.
For now, I have 1 Oozie server on host XXX.XXX.XXX.246. If I understood correctly, enabling Oozie HA will create another Oozie server and connect both of the servers to the load balancer. My second Oozie server should be on host XXX.XXX.XXX.247. For these purposes, I have installed haproxy on the host XXX.XXX.XXX.248, but cannot seem to configure it.
This is my haproxy.cfg file:
listen loadbalancer XXX.XXX.XXX.248:80
mode http
stats enable
stats uri /haproxy?stats
balance roundrobin
option httpclose
option forwardfor
server oozie1 XXX.XXX.XXX.246:11000 check
server oozie2 XXX.XXX.XXX.247:11000 check
I assume my ports have not been chosen correctly, but I am new to this topic, so I don`t understand it very well.
Thanks in advance!
Related
I have a openshift cluster on IBM cloud. I want to connect to the worker nodes using SSH via Putty but documentation says,
SSH by password is unavailable on the worker nodes.
Is there a way to connect to those?
If you use OpenShift v4 on IBM cloud, you may access your worker nodes using oc debug node/<target node name> instead of SSH. oc debug node command launches a temporary pod for the terminal session on the target node. You can check and run linux commands like usual SSH session through the Pod. Try it.
SSH access to worker nodes in OpenShift is disabled for security reasons. The documentation suggests to use DaemonSets for actions to be performed on worker nodes.
I have an application that connects to a domain using port 3306 (MySQL) and port 21 (FTP).
I've had to move the MySQL hosting to another server (AWS) and need to keep the FTP server as is.
Now the problem I have is that the application doesn't allow you to specify a different server name for each service so it's trying to connect via FTP to the MySQL server in AWS.
Is there any way to setup Windows to redirect certain ports only to a different IP?
Is there a way to set up the new server to bounce FTP requests back to the older server?
Alternatively is there a way to setup the domain DNS to point MySQL port requests to the MySQL server?
One of the ways to fix this is, install a TCP proxy server (Eg. nginx, haproxy) on the new server and pass the request to the old server based on the request type.
I am trying to export the bucket from one couchbase server(10.x.x.x) -- it gets success, but while I am trying to import the exported bucket in another couchbase server(20.x.x.x.), it shows Attention - Failed to reach erlang port mapper. Could not connect to "20.x.x.x" on port "4369". This could be due to an incorrect host/port combination or a firewall in place between the servers.
If any one knows how to transfer one bucket from one couchbase server to another.Please let me know.
I'm going for the silly question: Have you checked port 4369 is exposed on both machines? Couchbase instances use this port to communicate with each other (see Couchbase ports documentation).
To check the port is exposed, try telnet 20.x.x.x 4369
Also, please provide the command you use to import. From which machine do you import? By REST API or CBQ?
I am trying to connect Mysql with third party application with Zaiper. does zaiper support access to local Mysql databases?. i tried using IP: 54.86.9.50 and port;3306 but i get 504: Gateway Timeout
Thanks
Zapier developer here.
The short answer is no, you can't connect to a local database. That's because if you try to use localhost or 127.0.0.1 in the Zap, that would attempt to connect to a database on our server.
If you really wanted, you could send traffic to the IP address of your local router and then have it forward the traffic to your developer machine. Be advised there are some security risks involved with as you are opening up a port for any inbound traffic from the outside world.
Another solution is to snag an RDS instance from Amazon and use that for your Zap.
Is it possible to do the following?:
I have a local Mac running OS X Lion with a MySQL Server installed which runs different processes regularly and stores data into a local DB.
On the other hand I have an Amazon EC2 instance.
What I would like to do is to use the Amazon instance to perform certain cronjobs (using its own resources) but connecting to the data that is on my localhost (my computer) and performing basic SQL actions like updating the data, inserting, etc.
I don't know if this helps, but I have a static IP. Is there any way I can "open" my IP so the Amazon instance can recognize my home computer as a valid MySQL server?
Thanks for your help, any tip in the right direction will be much appreciated.
If your EC2 instance is connecting to your local db you'll need a static IP locally. Well not need... but if you don't have it anytime you reset your router or loose power etc your ip will change. You can look into Dynamic DNS as well for your local instance.
Your ISP will not block your port on your local instance. This would be a firewall inside your network that is preventing you from connecting to mysql or a configuration with mysql itself. Users can only connect to mysql from certain IP addresses.
You would have to open up the mysql port on your firewall if you are using one, have the mysql client installed on your EC2 instance, and make sure that the user that had proper grantable permissions.
That said why not run cron locally on the mac?
If you can login to your server via SSH then there's no need to open any other port and no static IP is required. You can use SSH port forwarding instead. From your local machine run:
ssh -C -R 5555:127.0.0.1:3306 <your-server-host>
Now you should be able to connect to your Mac's database running on localhost:3306 from the remote server at localhost:5555.