Ckan and Orion with only one public IP
Hi,
I want to integrate ckan with orion and now I have only one public IP.
How is the correct way to install this architecture?
Thanks,
Miguel M.
Hi,
I want to integrate ckan with orion and now I have only one public IP.
How is the correct way to install this architecture?
Thanks,
Miguel M.
I understand that as long each one (i.e. Orion and CKAN) runs in a different port, there is no problem in such deployment.
In particular, in the case of Orion, you can adjust the port editing the BROKER_PORT
parameter in the /etc/sysconfig/contextBroker
file (default value is 1026). You need to restart Orion service with /etc/init.d/contextBroker restart
if you modify the configuration file.
I understand that the only way I have to proceed would be by modifying the configuration and using different ports, but it is not possible to use different domains. I think that it would easier if I could assign different IP’s or DNS’s to not have to set redirections between machines.
You can do this without problems. --- Even it could be possible to have 2 virtual hosts one for each enabler in serveral ways, for example, if you wanted to do port forwardng you could read this article:
http://joseignaciocarretero.blogspot....
There are some easier ways to do this, for example ssh port forwarding (imagine your frontend is ckan and your backend is orion, so you want to forward port 1026):
ssh -f -N -o ServerAliveInterval=30 -L 0:1026:${ORION_IP}:1026 ${LOCALHOST_USER}@localhost
You should be able to ssh your localhost with your $LOCALHOSTUSER (i.e. set a ney public key to ssh to your localhost with ssh-keygen and add your new public key to your .ssh/authorized_keys)
Asked: 2016-03-10 14:27:46 +0100
Seen: 19,300 times
Last updated: Apr 27 '16