I read about using haproxy and keepalived to avoid spof for haproxy. Is it possible to do this in ec2?
Say I have 2 instances. Each with haproxy and keepalived installed. The VIP shall be aws elastic IP.
In theory this should be possible, there are blog posts dotted around with instructions on how to do it. However I have been trying to test this over the past few days but not had any luck with it.
Amazon blocks multicast on EC2 (Classic) so the primary communication method for Keepalived will not work. You need to install the latest version (at time of writing this is 1.2.13) which has unicast support built in. This should allow you to bypass the multicast restrictions that Amazon puts in place. I think the version of the keepalived package is 1.2.7 in the repos (yum install keepalived) which does not have the unicast patch included..
You should be able to use wget to download the latest TAR, unpackage it and build it from source (./configure prefix=/, make, make install). Make sure you have the GCC package and openssl-devel package installed before trying to configure as it will fail with errors otherwise.
If I get it working in the meantime I will come back and put a link to my blog with the exact steps needed :)
Related
I am trying to install falco on my kubernetes cluster with helm chart. I am deploying as Deamonset and using ebpf but getting error on my init containers. What should I do?
This is my values yaml
You are getting this error message due to not having the kernel headers installed so the eBPF driver can be compiled.
Before compiling the eBPF driver, the loader script tries to download it from https://download.falco.org, but it doesn't find it because the Oracle Linux distribution is not officially supported (it is not offered as a prebuilt driver, to be more precise).
The quickest solution would be to install the Kernel Drivers on each Kubernetes node, so Falco can compile the driver the next time it tries to start.
It is also possible to use the project Driverkit to build Falco drivers on your own (as the Falco project does) and make them available somewhere else, but then you'd need to pass the URL for the driver to the Helm Chart. This avoids polluting the system with packages you'd need only once.
You are also welcome to contribute to the project by adding support for the Oracle Linux distribution, which is relatively simple since it is quite similar to the Red Hat distribution. Once it is supported, the drivers will be available to anyone using the same kernel/distribution.
For further information, you can visit the Falco Slack channel and ask for help there, or ping anyone in the community
I want to install packages all over servers at the same time. Finally I will install a cloud service and distributed filesystem for testing purposes?
I found Webmin has Cluster option, but no clue or clear documentation about how to do. Webmin UI is useful for me, I decided to use it whenever I need inventory of any of servers.
All the modules in the Cluster category make use of the Webmin Servers Index module and RPC to control other systems.
Webmin has great cluster documentation. There is cluster option at navigation menu, just start from looking around and reading manual. It will be clearer for you then.
I have one server.
And when I install ovirt I can open web interface at 10.0.0.10.
But, then I try instal host on 10.0.0.10 after that I can`t open 10.0.0.10
So, how I can instal ovirt-engine and host on one server?
Can you give me link to any tutorials?
If you're going to use a single host for both engine and run vms, the supported and suggested configuration is to use Hosted Engine.
See http://www.ovirt.org/documentation/how-to/hosted-engine/
You should follow the official quickstart guide http://www.ovirt.org/documentation/quickstart/quickstart-guide/
This definitely works for oVirt release 3.6 and Fedora 22 Server.
After you add the host in the webgui, it deploys necessary packages and configurations on the host. One of these steps configures and starts iptables. Maybe you first need to disable iptables and reconfigure it and that's the reason why your ovirt-engine isn't available after your deployment is finished. You can read the details which ports to open for iptables in the Quickstart Guide.
If you use CentOS this post maybe also helpful http://blog.mit.bme.hu/meszaros/en/node/193
oVirt Orb is what you are looking for, if you just want to try it out. "oVirt Orb lets you try out oVirt on your own laptop. You can test it and play with it, all without the need to manually install all the components or use multiple hosts or a storage server."
If you have shared storage available somewhere or don't mind setting it up, Hosted Engine (as Sandro mentioned) will give you an Engine Virtual Machine running on a single Host. (Hosted Engine requires NFS, iSCSI, etc.)
currently I'm looking for an open source project that gives me the opportunity to install software easily. I prefer direct calls or access with a REST interface.
I thought that CloudFoundry would fits my needs but it is'nt so.
AppFog (https://www.appfog.com/product/) comes much closer to my goal. It allows me to install Drupal, Wordpress, PhpMyAdmin, NodeJS Apps and so on.
The conclusion is that I'm looking for an project that...
is open source.
gives that possibility to install, configure and
uninstall software
is extendable when a specific software not
available
is accessible with an interface like REST.
is "hostable" on my own linux server
I would be happy for all kind of hints and tips :)
Cheers Tobias
Docker is seems to be the next big thing in the PaaS world. There are dozens new projects that build on top of docker or supporting it. For example OpenShift and Apache Stratos support docker. So if you look at solutions based on docker you can find a solution for you needs.
Right now I'm using docker for hosting couple of Drupal websites with simple bash scripts to manage them. Nginx is used for web traffic routing
Docker is open source
Gives you ability to prepare and install apps
You can build what you need on top of it
It has REST interface
It is running on nearly all major Linux distros
Its relatively easy to learn and use
Has great community
Tobias,
Suggest you look at Apache Stratos:
100% open source
Easy to Get Up and Running
Highly extensible, flexible, expandable
Uses REST APIs
Runs on Linux (Ubuntu or SUSE)
Mature (version 4)
See:
Intro article -- "Why Apache Stratos is the Preferred Choice in the PaaS Space"
http://wso2.com/library/articles/2014/05/why-apache-stratos-is-the-preferred-choice-in-the-paas-space/
Apache Stratos Project site -- which notes that "Stratos PaaS is easy to get it up and running in quick time. A developer will be able to run and test PaaS framework on a single machine to try out."
http://stratos.apache.org/
Cheers,
Michael
OpenShift is what you looking for :
it is open source and free for 3 gears for ever.
gives that possibility to install, configure and uninstall software in openshift.redhat.com or in rhc client tools.
it is extendable when a specific software not available is accessible throw DIY(Do it yourself)
with an REST interface
is "hostable" on Fedora or CentOS .
It is really easy to setup throw Eclipse.
I'd like to deploy an app on Dreamhost, but couldn't find any relevant (or recent) guide on how to do so. Most related questions on this topic here are fairly old (+1 year or more), and seem to be from the pre RVM era (remember those days?.. :P).
I have SSH access and all that - anyone here done this (sinatra/rack app) and can provide some guidance? thanks.
If this is on a VPS (I am assuming since you have SSH access) you might want to look into Phusion's Passenger which simplifies deployment of ruby applications that use Rack. http://www.modrails.com/
Passenger includes an automated install script that can install your front facing proxying server (Nginx) and spit out the config used for each of your web apps.
To begin with Passenger just install the gem (gem install passenger) and then run the command it installs for you (passenger-install-nginx-module).
For further info check out https://rvm.beginrescueend.com/integration/passenger/