Flux7 Flux7
  • Digital Innovation
      • Digital Innovation
      Enable Software Innovation
      • CI/CD: Accelerate Deployments Through Pipelines
      • Containers Infrastructure:Improve Agility with Containers
      • Build:Custom Toolchain Deployment
      • Microservices: Speed Application Development
      • HPC:Product Design & Simulation
      • Renovate:Application Migration to the Cloud
      • Serverless:Innovate at the Speed of the Market
      Scale Enterprise DevOps
      • AWS DevOps Consulting:  Refactor Large Quantities of Apps to AWS
      • Cloud-Native Architectures: Accelerate Business with Cloud-Native Services
  • Operational Excellence
      • Services
      Cloud Implementation Services
      • Cloud Migration Services: Streamline Your Cloud Migration
      • Build Cloud Foundations: Accelerate Adoption with Strong Cloud Foundations
      • ISV Workloads on Cloud: Defined Solutions and Proven IP
      • High-Performance Computing Services: Exploit Cloud Elasticity and Scalability
      Enforce Security and Compliance
      • Automate Compliance: Meet Corporate and Legal Requirements
      • Web Application Firewall:Protect Vital Data and Functions

      Our landing zones on AWS emphasizes training, documentation, and resources to help teams new to AWS get the skills they need for long-term business agility.

      Gain a Landing Zone That Fits Your Needs Today

  • Industries
      • Industries
       
      • Energy:Cloud Solutions for the Energy Industry
      • Finance: Secure Infrastructure for Improved Customer Service and Analytics
      • Healthcare & Life Sciences: Meet Security & Compliance Requirements
      • Hospitality: Increase Customer Acquisition
       
      • Manufacturing: Innovation with Digital Transformation
      • Retail:Grow Customer Loyalty and Lifetime Value
      • Semiconductor: Legacy Modernization Services
      • Software:Grow Developer Agility and Application Reliability
       

      Read our industry success stories and the benefits our customers saw

      Read the Case Studies

  • Tech
      • Tech
      Flux7 Tech
      • DevOps Toolchain: Reduce DevOps Challenges
      • Amazon Web Services: Reduce Complexities and Risks in AWS Architectures
      • AWS Database Services: Design and Implementation of Infrastructure for Cloud-Based Databases
      Configuration
      • Cloud Configuration: Gain Greater Consistency, Repeatability & Agility
      • HashiCorp Terraform: Defining Infrastructure as Code 
      • AWS CloudFormation: Reduce Maintenance and Improve Security
      Containers
      • Container Infrastructure: Improve Agility with Containers
      • Docker: Build, Ship and Run Applications Anywhere
      • Kubernetes: Container Consulting Services
      • Red Hat OpenShift: Speed Code Delivery

      Rapidly adopt technology to achieve Infrastructure as Code and continuous delivery and support of applications and workloads.

      Create Your DevOps Toolchain

  • Resources
      • Resources
      Research & Reports
      • Analyst Insights & Reports
      • Blog
      • Case Studies
      • White Papers
      News & Events
      • Events Calendar
      • Newsroom
      • Press Releases
      Flux7 Academy
      • Tech Tutorials

      Read about what we do, how we do it and how our customer's benefit from our solutions.

      Read and Download Our Case Studies

  • About
      • About Flux7
      Get To Know Us
      • About Flux7
      • Awards & Recognitions
      • Meet Our Team
      Work With Us
      • Careers
      • Our Culture
      Partner With Us
      • Flux7 partners with technology vendors who deliver solutions to help our customers address scalability, security, reduce the cost of infrastructure delivery and improve speed to market.

      Welcome to Flux7! Get to know us a bit better and discover what makes us different than other DevOps Consultants.

      Discover What Makes Us Different

  • Contact us
An NTT DATA Company

Login Contact us

Single Node OpenStack Installation | Cloud Computing

Array ( [0] => WP_Term Object ( [term_id] => 90 [name] => Blog [slug] => blog [term_group] => 0 [term_taxonomy_id] => 90 [taxonomy] => category [description] => [parent] => 0 [count] => 636 [filter] => raw ) )

Single Node OpenStack Installation | Cloud Computing

By Flux7 Labs
March 6, 2014

OpenStack is highly configurable meeting different needs by providing numerous storage and networking options. The first step to design your own architecture is to choose whether to use a single node or multi-node configuration.

Multi-Node

Multi Node installation runs different OpenStack services on different nodes. A basic installation requires nodes:

  1. Controller Node:

Controller Node runs control services, such as database, message queue and API services for the Identity Service, Image Service and Compute.

  1. Network Node:

Network Node runs networking services and is responsible for virtual networking needed for people to create public or private networks, and uplink their virtual machines into external networks.

  1. Compute Node:

Compute nodes run the virtual machine instances in OpenStack.

Additional Nodes can be added as per requirements which may include a Storage node, an additional Network, compute or nodes.

Single Node

Single Node Installation runs all OpenStack services in one node including Control, Network, Compute, Storage services.

This week, we’ll discuss how to install a single node in Openstack.

Prepare Node

Prepare fresh Ubuntu 12.04 (64bit) server for the single node installation

Networking

It is recommended to have 2 NIC cards (eth0 and eth1) to install OpenStack. However, for this tutorial, we will use a single interface eth0 with a static IP (192.168.100.10). We can use the same IP (as eth0) as the gateway of the external subnet or add a virtual interface (eth0:1) with a different subnet.

# vi /etc/network/interfaces
auto eth0
iface eth0 inet static
 address 192.168.100.10
 netmask 255.255.255.0
gateway 192.168.100.1
# service networking restart → if required

Now, set the hostname.

# hostname <hostname>
# echo <hostname> > /etc/hostname
# echo ‘192.168.100.10  <hostname>’ >> /etc/hosts

Add OpenStack Ubuntu Cloud Archive repository.

Now install the latest stable release of OpenStack (Havana) from Ubuntu’s cloud archive:

# apt-get install python-software-properties
# add-apt-repository cloud-archive:havana
# apt-get update
# apt-get dist-upgrade (Optional)

Install MySQL server.

OpenStack services require a database to store information and support many popular database engines including MongoDB and PostGre. In this tutorial, we will use MySQL as a database backend.

# apt-get install python-mysqldb mysql-server

The following step is optional for single-node installation. If additional nodes are required (ex. compute node or storage nodes) run MySQL on all interfaces as by default it runs only on localhost

# /etc/mysql/my.cnf
#bind-address 192.168.100.10   (Comment out this line or change 192.168.100.10 to 0.0.0.0)

Install the Messaging server.

OpenStack requires a Messaging / Broker service to communicate between its services. We will use RabbitMQ but Qpid and ZeroMQ (0MQ) are also supported.

# apt-get install rabbitmq-server

It is optional to change the password in the dev environment but is recommended in production. By default guest user is created with password guest.

# rabbitmqctl change_password guest <New_Pass>

Enable IP Forwarding

We need to enable Packet Forwarding for networking to work, we can opt. this to configure during Network installation.

# vi /etc/sysctl.conf
net.ipv4.ip_forward=1    (Uncomment this line)

Now, the single node has been successfully installed.

Subscribe to the Flux7 Blog

 

Categories:
Tags: Compute
Share This Article
Facebook Twitter Pinterest Linkedin
Prev Post
Next Post

Related Articles

IT Modernization and DevOps News Week in Review 1.18.2021
By Flux7 Labs
January 18, 2021

IT Modernization and DevOps News Week in Review 1.18.2021

READ MORE
re:Invent Round-Up of AWS DevOps Announcements
By Flux7 Labs
December 21, 2020

re:Invent Round-Up of AWS DevOps Announcements

READ MORE

Recent Posts

  • IT Modernization and DevOps News Week in Review 1.18.2021

  • re:Invent Round-Up of AWS DevOps Announcements

  • How Will SASE Change Networking in 2021?

  • AWS re:Invent Machine Learning Round-Up

  • How to Publish Managed Images to the Azure Marketplace

  • AWS re:Invent News Round-Up

  • Shave Days off Azure Marketplace Publishing with Automated Testing

  • IT Modernization and DevOps News Week in Review 11.30.2020

  • How To: Multi-Cluster Monitoring in Amazon EKS

  • IT Modernization and DevOps News Week in Review 11.16.2020

Flux7
  • About Flux7
  • Contact Us
  • Careers at Flux7
  • Newsroom
  • Meet our Team
Services
  • Enable Software Innovation
  • Enforce Security and Compliance
  • Adopt Cloud
  • Cloud Migration Services
  • Secure the Cloud
Resources
  • Analysts Reports
  • Case Studies
  • White Papers
About Flux7

Flux7, an NTT DATA Company, helps enterprises reduce the complexities of new and evolving cloud automation strategies. Agile and DevOps-native, Flux7’s robust IT services portfolio prioritizes a fast path to ROI, is transformation focused and creates secure and stable pathways for operational excellence.

Follow Us
Flux7, an NTT DATA Company | All Rights Reserved | Privacy Policy