SUSE Cloud Installation: Best Practices Using an Existing SMT and KVM Environment



Similar documents
SUSE Cloud Installation: Best Practices Using a SMT, Xen and Ceph Storage Environment

SUSE Cloud 2.0. Pete Chadwick. Douglas Jarvis. Senior Product Manager Product Marketing Manager

HO15982 Deploy OpenStack. The SUSE OpenStack Cloud Experience. Alejandro Bonilla. Michael Echavarria. Cameron Seader. Sales Engineer

IBM Cloud Manager with OpenStack

SUSE Cloud 5 Private Cloud based on OpenStack

Using SUSE Cloud to Orchestrate Multiple Hypervisors and Storage at ADP

Getting Started with an OpenStackbased Cloud Using SUSE Cloud to Run SAP Applications

SUSE Cloud. Deployment Guide. February 20, 2015

SUSE Cloud. Deployment Guide. January 26, 2015

Quick Start Guide for VMware and Windows 7

Cloud Services ADM. Agent Deployment Guide

How an Open Source Cloud Will Help Keep Your Cloud Strategy Options Open

Automation and DevOps Best Practices. Rob Hirschfeld, Dell Matt Ray, Opscode

ServerPronto Cloud User Guide

Intelligent Power Protector User manual extension for Microsoft Virtual architectures: Hyper-V 6.0 Manager Hyper-V Server (R1&R2)

Dell UPS Local Node Manager USER'S GUIDE EXTENSION FOR MICROSOFT VIRTUAL ARCHITECTURES Dellups.com

SUSE Manager. A Comprehensive Linux Server Management the Linux Way. Name. Title

Required Virtual Interface Maps to... mgmt0. bridge network interface = mgmt0 wan0. bridge network interface = wan0 mgmt1

SUSE Cloud Deployment Guide Questionnaire

Introduction to Openstack, an Open Cloud Computing Platform. Libre Software Meeting

Current unresolved challenges and issues in next generation cloud deployments in a virtual environment. Muhammad Adnan Malik

Active Directory Management. Agent Deployment Guide

Cloud on TEIN Part I: OpenStack Cloud Deployment. Vasinee Siripoonya Electronic Government Agency of Thailand Kasidit Chanchio Thammasat University

Guide to the LBaaS plugin ver for Fuel

Integrating SAP BusinessObjects with Hadoop. Using a multi-node Hadoop Cluster

Installation Runbook for Avni Software Defined Cloud

Windows Template Creation Guide. How to build your own Windows VM templates for deployment in Cloudturk.

VMUnify EC2 Gateway Guide

Iron Chef: Bare Metal OpenStack

Active Directory Management. Agent Deployment Guide

In order to upload a VM you need to have a VM image in one of the following formats:

XenDesktop Implementation Guide

Running SAP HANA One on SoftLayer Bare Metal with SUSE Linux Enterprise Server CAS19256

Ekran System Help File

Parallels Cloud Server 6.0

Using SUSE Studio to Build and Deploy Applications on Amazon EC2. Guide. Solution Guide Cloud Computing.

Getting Started with OpenStack and VMware vsphere TECHNICAL MARKETING DOCUMENTATION V 0.1/DECEMBER 2013

ClearPass Policy Manager 6.3

Introduction to OpenStack

2) Xen Hypervisor 3) UEC

Acronis Backup & Recovery 11.5

Installing the Operating System or Hypervisor

RSA Authentication Manager 8.1 Virtual Appliance Getting Started

Windows Azure Pack Installation and Initial Configuration

Desktop Surveillance Help

NSi Mobile Installation Guide. Version 6.2

Installation Guide. . All right reserved. For more information about Specops Deploy and other Specops products, visit

INTRODUCTION TO CLOUD MANAGEMENT

Installing and Administering VMware vsphere Update Manager

Quick Start Guide for Parallels Virtuozzo

1 Keystone OpenStack Identity Service

Install Guide for JunosV Wireless LAN Controller

Red Hat Network Satellite Management and automation of your Red Hat Enterprise Linux environment

BLACK BOX. Quick Start Guide. Virtual Central Management System (VCMS) Works with LES Series Console Servers. LES-VCMS. Customer Support Information

Release Notes for Fuel and Fuel Web Version 3.0.1

Team Foundation Server 2010, Visual Studio Ultimate 2010, Team Build 2010, & Lab Management Beta 2 Installation Guide

Web based training for field technicians can be arranged by calling These Documents are required for a successful install:

Directions for VMware Ready Testing for Application Software

STeP-IN SUMMIT June 18 21, 2013 at Bangalore, INDIA. Performance Testing of an IAAS Cloud Software (A CloudStack Use Case)

PARALLELS SERVER 4 BARE METAL README

Drobo How-To Guide. Topics. What You Will Need. Prerequisites. Deploy Drobo B1200i with Microsoft Hyper-V Clustering

Ubuntu OpenStack on VMware vsphere: A reference architecture for deploying OpenStack while limiting changes to existing infrastructure

SQL Server Business Intelligence

Core Protection for Virtual Machines 1

How To Install Openstack On Ubuntu (Amd64)

TUT5605: Deploying an elastic Hadoop cluster Alejandro Bonilla

User Guide for VMware Adapter for SAP LVM VERSION 1.2

CloudCIX Bootcamp. The essential IaaS getting started guide.

VMTurbo Operations Manager 4.5 Installing and Updating Operations Manager

Team Foundation Server 2013 Installation Guide

StruxureWare Data Center Expert Release Notes

TARGETPROCESS INSTALLATION GUIDE

PowerVC 1.2 Q Power Systems Virtualization Center

DevOps Course Content

OpenStack Introduction. November 4, 2015

Installation Process

How To Install An Org Vm Server On A Virtual Box On An Ubuntu (Orchestra) On A Windows Box On A Microsoft Zephyrus (Orroster) 2.5 (Orner)

System Administration Training Guide. S100 Installation and Site Management

Introduction to Virtual Datacenter

Getting Started Guide

Preparing an IIS Server for EmpowerID installation

SUSE Cloud. OpenStack End User Guide. February 20, 2015

StruxureWare Data Center Expert Release Notes

Virtuozzo 7 Technical Preview - Virtual Machines Getting Started Guide

Parallels Cloud Server 6.0

Universal Management Service 2015

HIGH AVAILABILITY DISASTER RECOVERY SOLUTION

Red Hat Satellite Management and automation of your Red Hat Enterprise Linux environment

How To Make A Cloud Work For You

Migration of virtual machine to cloud using Openstack Python API Clients

Project Documentation

OnCommand Performance Manager 1.1

Installation and Configuration Guide for Windows and Linux

Table of Contents Release Notes 2013/04/08. Introduction in OS Deployment Manager. in Security Manager Known issues

Automated Configuration of Open Stack Instances at Boot Time

Transcription:

Best Practices Guide www.suse.com SUSE Cloud Installation: Best Practices Using an Existing SMT and KVM Environment Written by B1 Systems GmbH

Table of Contents Introduction...3 Use Case Overview...3 Hardware Requirements...4 Prerequisites...5 Allocating Nodes...6 Deployment... 8 Database...9 Keystone...10 Glance... 11 Nova... 12 Nova Dashboard...13 Sources... 14 p. 2

I n t r o d u c t i o n The following best practices guide highlights the installation process of a SUSE Cloud Environment for a production use case as described in the Use Case Overview section. It is based on SUSE Linux Enterprise Server 11 Service Pack 2, SUSE Cloud 1.0 and Subscription Management Tool (SMT) 11 for SUSE Linux Enterprise. With this setup you will be able to provide a full Infrastructure-as-a-Service (IaaS) cloud environment to respond rapidly and more accurately to new requirements. Whether launching a new product, rolling out a new internal service, or just responding to a spike in user demand, SUSE Cloud equips you with a dynamic and flexible cloud environment. This setup does not provide an internal SMT, which allows you to use your existing one. Redundant administration therefore is not necessary. This best practices guide gives just a quick overview of important steps during installation. Please refer to the official SUSE Cloud Documentation and Deployment Guide to get more detailed information on the installation process. The download and documentation links can be found in the Sources section. Note: A buggy configuration will lead to unpredictable states during or after installation, which can only be resolved by re-installation. Once you have installed Crowbar on your SUSE Cloud Administration Server, it is no longer possible to change the network configuration. The same situation applies to nodes running OpenStack components. Removing a node from a role (e.g., as Keystone server) will not stop and remove the service on the node itself. You have to reinstall the node via the Administration Server Dashboard to have a clean system. Use Case Overview With this use case SUSE Cloud will be deployed with the following components: SUSE Cloud Administration Server with Crowbar, TFTP, PXE Server and using an external SMT server SUSE Cloud Control Node, which includes a database, identity and authentication system (Keystone), image repository (Glance) and user interface (Dashboard) SUSE Cloud Compute Nodes, which will host cloud workloads. These servers will have novacompute deployed and are built on SUSE Linux Enterprise Server 11 SP2 with KVM Shared storage for live migration p. 3

Illustration 1: SUSE Cloud Infrastructure Overview Hardware Requirements To set up the environment you need at least four physical machines: (please refer to chapter 2.1 Requirements in the official SUSE Cloud Deployment Guide) 1 system as SUSE Cloud Administration Server, which runs Crowbar (can run as VM for testing purposes only) 1 system as SUSE Cloud Control Node (can run as VM for testing purposes only) 2 systems or more as SUSE Cloud Compute Nodes This setup has been tested with the following x86_64 hardware: Administration Server 2 Core CPU, 8 GB RAM, 80 GB HDD for OS Control Node 2 Core CPU, 8 GB RAM, 80 GB HDD for OS Compute Node 2 8 Core CPUs, 128 GB RAM, 80 GB HDD for OS p. 4

P r e r e q u i s i t e s Before we deploy the needed components, we need to install the SUSE Cloud Administration Server (SUSE Cloud Deployment Guide, 3.1 Installation). Since we are using an external SMT server, we do not need to install an SMT server on the SUSE Cloud Administration Server. After the installation script (/opt/dell/bin/install-chef-suse.sh) is finished configuring the Administration Server, Crowbar should be accessible through the Administration Server Dashboard: Illustration 2: Administration Server Dashboard To use an external SMT the AutoYaST file has to be changed: crowbar:~ # vim /opt/dell/chef/cookbooks/provisioner/templates/default/autoyast.xml.erb Find the add-on-product section and change every media url to your needs: http://smt.example.com/$rce/suse-cloud-1.0-pool/sle-11-x86_64/ As every configuration will be provided by Chef, we have to upload the new file to the Chef server by using knife, which is the administrators command line tool for interacting with the Chef server: crowbar:~ # knife cookbook upload -o /opt/dell/chef/cookbooks/ provisioner Now wait for Chef to publish the new AutoYaST file. The file /srv/tftpboot/suse-11.2/autoyast.xml should be adjusted within several minutes. All nodes that are allocated after this step will use this file for installation. p. 5

A l l o c a t i n g N o d e s After booting either the control node or compute nodes, via PXE, they will appear in the Administration Server Dashboard. Initially they get named by their MAC address and a leading d for discovered. Wait until the node is marked yellow. Now allocate the nodes: Choose the first node, this will be the Control Node Click on Edit Change alias and group according to your needs (we use controller-node and controller for this manual) Click on Allocate Illustration 3: Administration Server Dashboard Allocate Node The SUSE Cloud Administration Server using Crowbar will now install SUSE Linux Enterprise Server 11 SP2 on the Control Node. After the installation has finished, the node will be marked green and is now ready to receive the OpenStack components. Repeat this step for every node you want to use in the cloud environment. It is advisable to group the nodes by their use: for example, create separate groups for the control, storage and compute nodes. After you have allocated all nodes, you can see them grouped in the Nodes Overview. p. 6

Illustration 4: Administration Server Dashboard All Nodes are Allocated p. 7

D e p l o y m e n t Using the SUSE Cloud Administration Server Dashboard you can create different configurations, called proposals, for every component. All proposals of the same component get summarized by Crowbar in barclamps. To deploy an OpenStack component you have to create a proposal and apply this to a node. In the dashboard you can get a list of all existing barclamps for OpenStack: Illustration 5: Administration Server Dashboard OpenStack Barclamps You need to deploy all OpenStack components in the listed order. After you apply a proposal, Crowbar needs some time to update the configuration. While the system is waiting for the configuration to complete, you will see both the proposal and the affected nodes marked as work in progress by yellow-green spinning dots. Always wait until the deployment of a proposal is finished before applying the next one. p. 8

Database Create a new Database proposal and change the name and the description according to your needs. In the Node Deployment section you can drag and drop nodes from the Available Nodes column to the desired role. As we want to run the database service on the controller-node, drag it to the role and remove all unwanted nodes. Illustration 6: Administration Server Dashboard Create Database Proposal Do not change the SQL Engine, as MySQL is not supported by SUSE Cloud 1.0. By clicking Apply the service will be configured on the assigned node. In addition to using the input fields there is always the option to edit the configuration in the raw edit mode by choosing the link Raw at the right side of the panel. Note: Always save after editing in the raw edit mode before applying any other changes to the proposal. p. 9

Keystone Create a new Keystone proposal. It is advisable to give all proposals the same name if they belong to the same setup (e.g., UseCase02), so it's easier to assign new services to existing proposals later. Illustration 7: Administration Server Dashboard Create Keystone Proposal Choose the previously created Database proposal UseCase02 as SQL Instance and assign the controller-node to this role. In this screen some log-in credentials can be chosen. You need them later to log in to the OpenStack Dashboard. Apply the proposal if you're finished with the configuration. p. 10

Glance Create a new Glance proposal. From all the options you can set in this proposal, the important ones for our use case are: Image Store Directory In this directory Glance will store all uploaded images. You can define separate partitions or mounted directories here, too. Bind to All Addresses (API/Registry) Set this to true to permit image uploads from outside the node Glance is running on. Illustration 8: Administration Server Dashboard Create Glance Proposal After you are finished with the Glance configuration, drop the controller-node to this role, too, and apply the proposal. p. 11

Nova Create a new Nova proposal. In this proposal we have to set the following values: Hypervisor Set to KVM Allow Same-Network Traffic Enable this to access the cloud from the public VLAN Illustration 9: Administration Server Dashboard Create Nova Proposal Now drop the controller-node to the Nova-multi-controller role and add every node you want to use as compute node to the Nova-multi-compute role. Finally, apply this proposal. Note: If you add more compute-nodes later, just boot them until they get discovered by Crowbar and add them to the Nova-multi-compute role. If they are not installed yet, Crowbar will do so and apply the role when finished. p. 12

Nova Dashboard Create a new Nova Dashboard proposal. As we want to run this service on the controller-node, too, drop it to the Nova-dashboard-server role and apply the proposal. Illustration 10: Administration Server Dashboard Create Nova Dashboard Proposal Note: Once this proposal is installed, the OpenStack deployment is finished. You are now able to log in to the OpenStack Dashboard, which is running on the controller-node (http://192.168.122.2:80 in this setup). For details on uploading cloud images and managing your OpenStack Cloud (launch instances, administrator, users, etc.), please refer to the official SUSE Cloud User Guide for Administrators (part of the official documentation). p. 13

S o u r c e s SUSE Cloud 1.0 Official documentation: https://www.suse.com/documentation/suse_cloud10 ISO Images: http://download.novell.com/protected/summary.jsp?buildid=w1jgpzpquuu~ Subscription Management Tool 11 Installation Guide: https://www.suse.com/documentation/smt11/ ISO Images: http://download.novell.com/protected/summary.jsp?buildid=5qj9eeiddzs~ SUSE Linux Enterprise Server 11 SP2 ISO Images: http://download.novell.com/protected/summary.jsp?buildid=h0aop5at-18~ p. 14