Can we deploy OpenStack directly on bare metal? - openstack

I am learning about OpenStack deployment. It's bit confusing for me to understand what are the prerequisite for OpenStack deployment.
Can I deploy OpenStack directly on the native OS like Docker (e.g using Linux LXC ) ?
Or if not then what type of Hypervisors does it runs on (type 1 and/or type2) ?

Can I deploy OpenStack directly on the native OS like Docker (e.g using Linux LXC ) ?
That is the primary use case for OpenStack. It is effectively a resource scheduler for infrastructure resources (storage, networking, compute), and in production environments generally runs on physical hardware and then allocates on-demand virtual machines via the various APIs.
Or if not then what type of Hypervisors does it runs on (type 1 and/or type2) ?
For development and testing purposes, you can run OpenStack in any kind of hypervisor (or even in Docker or LXC containers). In terms of what hypervisors it supports (not "runs on" but "can schedule resources on), see https://wiki.openstack.org/wiki/HypervisorSupportMatrix.

Related

SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080

I am windows developer trying to use Camunda model rest API client project.
I did download the sample from the GIT which has examples for Camunda samples using WPF.
https://github.com/mtringuyen/camunda-dot-net-showcase
However there seems to be some sort of socket exception.
IIS is installed. I also verified versioning of .NET STANDARD and .NET FRAMEWORK. They are compatible.
Any suggestions to resolve this error?
Thanks in advance
The project you are using only contains
a .NET tasklist implementation used by people to participate in the business processes.
.NET implementation of automated task workers, which are used to do system integration from .NET (See: https://docs.camunda.org/manual/latest/user-guide/process-engine/external-tasks/)
The Camunda server remains a Java application. However, you can start it and use it as a blackbox from .NET without Java knowledge. There are several distributions. If you are not familiar with Java you should either use the Docker image:
docker run -d --name camunda -p 8080:8080 camunda/camunda-bpm-platform:latest
or a prepackages Tomcat using the Camunda RUN distribution.
You can download a server here: https://camunda.com/download/
Also see: https://docs.camunda.org/manual/latest/installation/
If you think an application that is running is listening on a particular port a quick way to check would be to run a command prompt as administrator and do a netstat -ab . This will show you all the ports that are listening on your local device. Obviously your example requires something listening on 8080 so fire up whatever application that is supposed to be and double check it.

What is the request source-IP-address when it is originating from a docker container

I work within a corporation that has very strict security policies.
I am running a single docker container consisting of an asp.net core 3.1 mvc web-app. It is based on the default asp.net debian 10 image provided by microsoft.
I have only installed docker engine - so no docker compose - and have not had to do any additional set-up/config, but run the container by a simple command:
docker run -p port-x:port-y imagename:tag
when I navigate to http://host-Ip i can access the web-app from my windows dev machine.
However, the host is RHEL running in a very restricted enterprise network.
Now I need to connect to an external domain from within the container but that can only happen via an internal proxy.
The proxy team requires the source ip-address.
I have 2 questions:
would that be the host (RHEL) ip address?
Is there a way to test this (I cannot/not allowed to install custom software/libs into RHEL and have access to basic + limited set)?
If anyone stumbles upon this: The source ip-address is the RHEL host ip-address where the container is running

OpenStack upgrade with minimal downtime with 2 nodes

I'm looking for a solution on how to upgrade 2 OpenStack nodes with minimal downtime of running virtual machines.
Our current situation is that we have one node working as controller with about 50 live virtual machines running on it.
We have second server with the same HW specification as the one with running OpenStack (Same blade in blade cluster). This used to be a VMware server but last year we continously migrated all virtual machines to OpenStack.
We can install the second node to be either controller or compute node.
My research is focused on what's the best way to upgrade to higher version with minimal downtime of live virtual machines.
Any suggestions please? Thank you.
You should have no downtime on your Virtual Machines when upgrading OpenStack. The OpenStack services can be restarted at anytime and should only affect API requests. The only potential impact on running virtual machines would be if you need to update something like OVS or the Operating System (includes things like kvm).

Is it possible to ask for a Linux server when creating a Web App on Azure?

I've created an ASP.NET Core application on my Ubuntu machine. When I host it on an Azure Web App I noticed it was running on a Windows Server. Is it possible to host it on a Linux server instead?
You now can, without the need of a virtual machine or Docker image.
Create a web app with App Service on Linux.
See: https://azure.microsoft.com/en-us/documentation/articles/app-service-linux-how-to-create-a-web-app/
That is not possible at the moment, ran at the same problem last week while migrating some stuff from AWS. In order to keep running my apps in a Unix environment, I had to resort to Azure Container Service, but it in turn forced me to (learn and) run DC/OS.
Azure Web App is using Windows Server as operating system. You can always get our own computing machine, with Linux (Ubuntu or something else) and deploy whatever you need on it.
See here for details: https://azure.microsoft.com/en-us/services/virtual-machines/

Windows Client For Cloudera Hadoop Cluster

I am trying to find out if I can use Windows Client machines for commissioning jobs running on a Linux Cloudera Cluster.
I currently use Linux clients and would like to run tasks such as spark-submit test.jar which runs a spark job on the cluster and replicate this behavior on windows clients.
If yes, any information about how you can go about doing this would be greatly appreciated?
You can very well use VM linux image installed on windows and access Hadoop cluster deployed on Linux.
You can also use cygwin otherwise.

Resources