Blog Right Sidebar

OpenStack Command-Line Interface Cheat Sheet

openstack
Openstack, besides Horizon GUI Dashboard, can also be configured via command-line interface using commands in Bash. Below we present a list of common and useful commands for your reference.

Note: in OpenStack command-line interface you have to source appropriate keystonerc file in order to be able to invoke OpenStack commands within the specified Project Tenant. Sourcing of keystonerc file imports Tenant User/Admin credentials to environment variables during user session.
Read More

Bash Script for Automated OpenStack Tenant Creation

openstack
During OpenStack deployment and testing you may need to quickly create: project tenants, tenant users, networks, routers, security groups, etc… just to check, if Cloud is working properly.

Instead of arduous clicking all this stuff in Horizon dashboard, you can use the below Bash script, which will quickly create:
multiple project tenants
2 tenant users (admin, member)
tenant networks, sub-networks
routers
router gateways (to existing public network)
tenant ports in routers
security groups (Allow all TCP,UDP,ICMP ingress/egress)
cirros glance image (cirros-0.3.4-x86_64-disk.img)

Download script: tenant_setup.sh
Read More

Add New Compute Node to Existing OpenStack using Packstack

openstack
OpenStack is quite reliable Cloud solution, that provides extensibility and scalability. That means, if the Cloud is running out of resources for new tenants and instances, it can be easily extended with new Hypervisors (Compute nodes) practically on-line.

In this tutorial we will extend existing OpenStack installation (Controller node, Compute node) with new Compute0 node on-line, without shutting down existing nodes. The easiest and fastest way to extend existing Openstack Cloud on-line is to use Packstack, the automated installer script.
add_new_compute_node
Read More