虚拟化容器,大数据,DBA,中间件,监控。

RHEL6 Openstack RDO Quickstart

26 03月
作者:admin|分类:容器虚拟化

RDO Quickstart

Deploying RDO is a quick and easy process. Setting up an OpenStack cloud takes approximately 15 minutes, and can be as short as 3 steps.

Below, we'll explain how to set up OpenStack on a single server. You'll be able to add more nodes to your OpenStack cloud later, if you choose.

If you just want to try it out without installing anything, check out TryStack. See also Installation for alternate deployment methods.

These instructions are to install the current ("Juno") release.

Step 0: Prerequisites

Software: Red Hat Enterprise Linux (RHEL) 7 is the minimum recommended version, or the equivalent version of one of the RHEL-based Linux distributions such as CentOS, Scientific Linux, etc., or Fedora 20 or later. x86_64 is currently the only supported architecture. See also RDO repository info for details on required repositories. Please name the host with a fully qualified domain name rather than a short-form name to avoid DNS issues with Packstack.

Fedora 21 is still in development and running RDO Juno on Fedora 21 is not recommended at this time. A separate announcement will be made on the rdo-list mailing list when RDO Juno on Fedora 21 is ready.

Hardware: Machine with at least 2GB RAM, processors with hardware virtualization extensions, and at least one network adapter.


In case your system is running with NetworkManager, you need to disable it.

Stop and disable NetworkManager:

systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl enable network

Make sure devices are named properly for the network daemon: i.e. the following line must be present in /etc/sysconfig/network-scripts/ifcfg-<interface_name>

DEVICE="<interface_name>"

where <interface_name> is usually "eth0" or "em1".

Take down all interfaces (but the one via you're connected to themachine) with:

 ifdown <interface_name>

Start the network daemon:

 ifdown <interface_name> && systemctl start network

Step 1: Software repositories

Update your current packages:

sudo yum update -y

Setup the RDO repositories:

sudo yum install -y https://rdo.fedorapeople.org/rdo-release.rpm

Looking for Icehouse? Use http://rdo.fedorapeople.org/openstack-icehouse/rdo-release-icehouse.rpm instead. Looking for an older version? See http://rdo.fedorapeople.org/ for the full listing.

Step 2: Install Packstack Installer

sudo yum install -y openstack-packstack

Step 3: Run Packstack to install OpenStack

Packstack takes the work out of manually setting up OpenStack. For a single node OpenStack deployment, run the following command.

packstack --allinone

If you encounter failures, see the Workarounds page for tips.

If you have run packstack previously, there will be a file in your home directory named something like packstack-answers-20130722-153728.txt You will probably want to use that file again, using the --answer-file option, so that any passwords you've already set (eg, mysql) will be reused.

The installer will ask you to enter the root password for each host node you are installing on the network, to enable remote configuration of the host so it can remotely configure each node using Puppet.

Once the process is complete, you can log in to the OpenStack web interface "Horizon" by going to http://$YOURIP/dashboard. The username is "admin". The password can be found in the file keystonerc_admin in the /root/ directory of the control node.

Next Steps

Now that your single node OpenStack instance is up and running, you can read on about running an instance, configuring a floating IP range, configuring RDO to work with your existing network, or about expanding your installation by adding a compute node.

浏览2816 评论0
返回
目录
返回
首页
Live ISO | USB OpenStack OpenStack Juno 版本 All-in-one 离线安装指导