Red Hat CloudForms 3.1 Management Engine 5.3 OpenShift Enterprise Deployment Guide



Similar documents
Red Hat Cloud Infrastructure 5 Release Notes

Red Hat CloudForms 3.2 NetApp Storage Integration Guide

Red Hat Customer Portal 1 Managing User Access to the Red Hat Customer Portal and the Red Hat Network Application

Red Hat Cloud Infrastructure 5 Introduction to Red Hat Cloud Infrastructure Architecture

Red Hat Enterprise Virtualization 3.6- Beta Java SDK Guide

JBoss Developer Studio 6.0

Red Hat Cloud Infrastructure 6 Getting Started with the Red Hat Cloud Infrastructure Unified Installer

Red Hat Enterprise Linux OpenStack Platform 7 OpenStack Data Processing

Red Hat JBoss Core Services Apache HTTP Server 2.4 Apache HTTP Server Installation Guide

Red Hat Subscription Management All Subscription Docs Quick Registration for RHEL

Red Hat Enterprise Linux 7 High Availability Add-On Overview

Red Hat JBoss BPM Suite 6.1 IBM WebSphere Installation and Configuration Guide

Red Hat JBoss Developer Studio 8.0 Start Developing

Red Hat JBoss Fuse 6.1 Cloud Computing with Fabric

Red Hat JBoss Data Virtualization 6.1 Migration Guide

Red Hat Customer Portal Current Customer Portal Subscription Management

Red Hat Cloud Infrastructure 4 Quick Start for Red Hat Enterprise Virtualization and Red Hat CloudForms

Red Hat Enterprise Linux OpenStack Platform 7 Back Up and Restore Red Hat Enterprise Linux OpenStack Platform

Red Hat Directory Server 8.2 Using the Directory Server Console

Red Hat Enterprise Linux 7 High Availability Add-On Administration. Configuring and Managing the High Availability Add-On

Red Hat Network Satellite 5.5 Channel Management Guide

Red Hat OpenStack Platform 8 DNS-as-a-Service Guide

Red Hat JBoss Developer Studio 4.1 Smooks Developer Tools Reference Guide

Red Hat Enterprise Linux 7 Virtualization Security Guide

JBoss Operations Network 3.1 Deploying Applications and Content

Red Hat JBoss A-MQ 6.2 Cloud Deployment Guide

Red Hat Network Satellite Client Configuration Guide

Red Hat JBoss Fuse 6.1 Cloud Deployment Guide

RED HAT CLOUD SUITE FOR APPLICATIONS

Red Hat Enterprise Linux OpenStack Platform 6 Deploying OpenStack: Enterprise Environments (Red Hat Enterprise Linux OpenStack Platform Installer)

Red Hat Enterprise Virtualization 3.0 User Portal Guide. Accessing and Using Virtual Machines from the User Portal Edition 1

SOA Software API Gateway Appliance 7.1.x Administration Guide

Implementing Failover Capabilities in Red Hat Network Satellite

JBoss Developer Studio 4.1

Red Hat JBoss Developer Studio 7.0 User Guide

Red Hat Network Satellite 5.4 Installation Guide. Red Hat Network Satellite

Installing and Configuring Adobe LiveCycle 9.5 Connector for Microsoft SharePoint

Red Hat Subscription Asset Manager 1.2 Installation Guide. Installing and Using Red Hat Subscription Asset Manager Edition 3

AWS Service Catalog. User Guide

Connection Broker Managing User Connections to Workstations, Blades, VDI, and more. Security Review

Red Hat Enterprise Linux OpenStack Platform 7 Users and Identity Management Guide

Guide to Red Hat Enterprise Linux 6 Software Collections

HP CloudSystem Enterprise

An Oracle White Paper September Oracle WebLogic Server 12c on Microsoft Windows Azure

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

Installing and Configuring DB2 10, WebSphere Application Server v8 & Maximo Asset Management

Crystal Reports Installation Guide

Migrating LAMP stack from x86 to Power using the Server Consolidation Tool

Fedora 19. Fedora Documentation Project

Red Hat Developer Toolset 1.1

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

OpenShift Dedicated 3.1 Architecture

INFRASTRUCTURE & MANAGEMENT

OpenShift Enterprise PaaS by Red Hat. Andrey Markelov RHCA Red Hat, Presales Solution Architect

OnCommand Performance Manager 1.1

Interstage Application Server V7.0 Single Sign-on Operator's Guide

Foglight. Foglight for Virtualization, Free Edition Installation and Configuration Guide

Red Hat Ceph Storage Hardware Guide

McAfee Asset Manager Console

INFRASTRUCTURE, STORAGE, & MANAGEMENT

Red Hat Enterprise Virtualization 3.0 Quick Start Guide

Red Hat Directory Server Red Hat Directory Server 9 Deployment Guide

NAS 206 Using NAS with Windows Active Directory

Connection Broker Managing User Connections to Workstations, Blades, VDI, and More. Quick Start with Citrix XenDesktop, XenServer & XenApp

OpenShift on OpenStack

Red Hat JBoss Fuse 6.2 Management Console User Guide

Red Hat Certificate System 8.0 Managing Smart Cards with the Enterprise Security Client

Red Hat Satellite 6.1

IBM Cloud Manager with OpenStack

IBM Endpoint Manager Version 9.1. Patch Management for Red Hat Enterprise Linux User's Guide

Red Hat Enterprise Linux 7 High Availability Add-On Administration. Configuring and Managing the High Availability Add-On

Client Configuration Guide. SUSE Manager 2.1

Red Hat Certificate System 8.1 Managing Smart Cards with the Enterprise Security Client

VMTurbo Operations Manager 4.5 Installing and Updating Operations Manager

Connection Broker Managing User Connections to Workstations, Blades, VDI, and More. Quick Start with Microsoft Hyper-V

Attix5 Pro Server Edition

OS Deployment V2.0. User s Guide

Brekeke SIP Server Version 3 Using a Third-Party Database Tutorial Brekeke Software, Inc.

identity management in Linux and UNIX environments

Patch Management for Red Hat Enterprise Linux. User s Guide

Managing Qualys Scanners

How to Build an RPM OVERVIEW UNDERSTANDING THE PROCESS OF BUILDING RPMS. Author: Chris Negus Editor: Allison Pranger 09/16/2011

Qualcomm Achieves Significant Cost Savings and Improved Performance with Red Hat Enterprise Virtualization

How To Manage A Server On A Jboss Application Platform (Jboss)

Parallels Plesk Automation

Discovery, Reporting, Capacity and Utilization Edition 1. ManageIQ Documentation Team

Build A private PaaS.

Red Hat Enterprise Linux 7 Virtualization Security Guide

RED HAT CLOUDFORMS ENTERPRISE- GRADE MANAGEMENT FOR AMAZON WEB SERVICES

Connection Broker Managing User Connections to Workstations and Blades, OpenStack Clouds, VDI, and more. Security Review

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

Using Microsoft Expression Web to Upload Your Site

F-Secure Messaging Security Gateway. Deployment Guide

Building a Continuous Integration Pipeline with Docker

After you have created your text file, see Adding a Log Source.

Best Practices for Deploying and Managing Linux with Red Hat Network

Transcription:

Red Hat CloudForms 3.1 Management Engine 5.3 OpenShift Enterprise Deployment Guide Instructions for deploying OpenShift Enterprise with CloudForms Management Engine CloudForms Documentation Team

Red Hat CloudForms 3.1 Management Engine 5.3 OpenShift Enterprise Deployment Guide Instructions for deploying OpenShift Enterprise with CloudForms Management Engine CloudForms Documentation Team

Legal Notice Copyright 2015 Red Hat. This do cument is licensed by Red Hat under the Creative Co mmo ns Attributio n- ShareAlike 3.0 Unported License. If you distribute this document, or a modified version of it, you must provide attribution to Red Hat, Inc. and provide a link to the original. If the document is modified, all Red Hat trademarks must be remo ved. Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other co untries. Linux is the registered trademark of Linus Torvalds in the United States and other countries. Java is a registered trademark o f Oracle and/o r its affiliates. XFS is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/o r o ther co untries. MySQL is a registered trademark of MySQL AB in the United States, the European Union and o ther co untries. Node.js is an official trademark of Joyent. Red Hat Software Collections is not formally related to or endorsed by the official Joyent Node.js open source or commercial project. The OpenStack Wo rd Mark and OpenStack Lo go are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endo rsed o r spo nso red by the OpenStack Fo undatio n, o r the OpenStack co mmunity. All o ther trademarks are the pro perty o f their respective o wners. Abstract This guide provides information on deploying OpenShift Enterprise using CloudForms Management Engine.

T able of Cont ent s Table of Contents. 1.. Preparing......... CloudForms........... Management............ Engine...... for... O.. penshift........ Ent... erprise....... Deployment..................... 2.......... 1.1. The o o -install-o se To o l 2 1.2. Clo ud Fo rms Manag ement Eng ine Categ o ries and Tag s 2. 2.. Preparing......... a. Virt... ual.... Machine....... for... O.. penshift........ Ent... erprise.......................................... 2........... 3... Creat.... ing.... Virt... ual... Machine........ Service....... It. ems.................................................... 3........... 4.. Creat.... ing.... an.. O.. penshift........ Ent... erprise....... Deployment........... Service......................................... 5........... 5... Deploying......... an... O. penshift........ Ent.... erprise...... Service................................................... 7........... A... Revision........ Hist.... ory..................................................................... 1. 2.......... 1

Red Hat CloudForms 3.1 Management Engine 5.3 O penshift Ent erprise Deployment G uide 1. Preparing CloudForms Management Engine for OpenShift Ent erprise Deployment 1.1. T he oo-inst all-ose T ool Installation of OpenShift Enterprise requires CloudForms Management Engine 5.3.2 or greater, and the oo-install-ose tool. The oo-install-ose tool is a technology preview feature. D ownload the oo-install-ose tool here: BZ#1181872 oo-installer oo-install-ose documentation is available here: https://install.openshift.com Red Hat recommends locating the oo-install-ose tool in the /ro o t/ directory of the CloudForms Management Engine appliance, although this can be changed. Ensure that execution permission is enabled for the oo-install-ose files, and place the files on all appliances that have the Automation role enabled in your environment. 1.2. CloudForms Management Engine Cat egories and T ags To facilitate the deployment of OpenShift Enterprise, create the O SE P o l i cy and O SE Status tag categories if they do not already exist on your system. 1. Navigate to Automate Simulation. 2. In the O bject D etai l s field, select Request in the /System/P ro cess/ list. 3. Enter create in the Messag e field. 4. Enter o setag s in the R eq uest field. 5. In the O bject Attri bute field, select No ne in the T ype list. 6. In the Si mul ati o n P arameters field, select Execute Metho d s. 7. Click Submi t. The O SE P o l i cy and O SE Status categories and tags are automatically created. The auto mati o n. l o g file displays creation progress. 2. Preparing a Virt ual Machine for OpenShift Ent erprise To host OpenShift Enterprise, virtual machines require the following: Red Hat Enterprise Linux 6.4 or higher Network access, with valid IP addresses and access to the OpenShift Enterprise sources, for example through Red Hat Subscription Manager or Red Hat Satellite SSH key access from all appliances running the Automation Role to the virtual machines Ruby 1.9.3 or higher Red Hat recommends creating a virtual machine template meeting these requirements to enable efficient deployment of multiple instances. You can use your preferred source, for example PXE, ISO, or Clone, when creating the virtual machine so long as the requirements are met for OpenShift Enterprise installation. 2

3. Creat ing Virt ual Machine Service It ems Procedure 1. Preparing a Template Virtual Machine 1. Install Red Hat Enterprise Linux 6.4 from ISO as a basic server on a new virtual machine using Red Hat Enterprise Virtualization. 2. Register the virtual machine with Red Hat Subscription Manager and update the system using yum upd ate. 3. Install Ruby 1.9.3 using yum i nstal l. 4. Copy the SSH key from your appliance to the virtual machine. Confirm you can open an SSH session from the appliance to the virtual machine. 5. Prepare the virtual machine to become a template by clearing the UD EV rules for Network and unique details from the i fcfg -eth0 file. 6. Power off the virtual machine and use the Red Hat Virtualization console to create a template from the virtual machine. DNS is an important element of the environment, as machines must be able to connect bidirectionally to any resource in the network using the hostname. That means that new virtual machines instantiated from the template need to register to your D NS system automatically. 3. Creat ing Virt ual Machine Service It ems The number of virtual machine service items required corresponds to the number of servers you want to deploy in your OpenShift Enterprise service bundle. For example: A single OpenShift Enterprise All-In-One bundle requires ONE virtual machine service item. A broker and node located on separate servers requires TWO virtual machine service items. A four node and one broker bundle requires FIVE virtual machine service items. Virtual machine service items are represented individually but can be configured identically. If desired, you can separate brokers from nodes on different hosts by adjusting those settings when creating the service items. Procedure 2. To Create Service Items 1. Log in to the CloudForms Management Engine appliance and navigate to Services Catalogs. 2. Select the C atal o g Items accordion. 3. Click Configuration Add a New Catalog Item to create a new service item. 4. Select a destination platform from the C atal o g Item T ype list. 3

Red Hat CloudForms 3.1 Management Engine 5.3 O penshift Ent erprise Deployment G uide 5. Enter a name and description for the service item. Red Hat recommends using the OpenShift Enterprise role as the name. For example, if the service item is a broker, then call it O penshi ft Enterpri se Bro ker. 6. Select the R eq uest Info tab and set the virtual machine options. a. Select a virtual machine as a base template that conforms to the minimum requirements for OpenShift Enterprise. b. Enter a name for the virtual machine. CloudForms Management Engine assigns numbers automatically to ensure no conflicts. Red Hat recommends using a name similar to the service item name, for example O SE-BR O KER. c. Set the virtual machine to start/po wer o n. 7. After creating the service items, tag them with their role. This enables CloudForms Management Engine to install the correct role on the service item at the time of deployment. Click Policy Edit Tags. 4

4. Creat ing an O penshift Ent erprise Deployment Service 8. Within the policy settings for the service item, assign the required O penshi ft Enterpri se P o l i cy tags. For a broker, assign the Bro ker O SE P o l i cy. For a node, assign the No d e O SE P o l i cy. For an All-In-One OpenShift Enterprise server, assign all the O SE P o l i cy tags to the service item: Bro ker, No d e, msg Server, and d bserver. 4. Creat ing an OpenShift Ent erprise Deployment Service Service items do not exist as OpenShift Enterprise nodes, brokers, or servers, as they have not been 5

Red Hat CloudForms 3.1 Management Engine 5.3 O penshift Ent erprise Deployment G uide ordered and instantiated yet by a consumer. In order for consumers to request these items and provide them with deployment options, the items must be collected in a service bundle. CloudForms Management Engine presents this bundle to the user, and it can include other items in addition to OpenShift Enterprise. The following procedure combines the service items created earlier to create a bundle. 1. Log in to the CloudForms Management Engine appliance and navigate to Services Catalogs. 2. Select the C atal o g s accordion. 3. Click Configuration Add a New Catalog. 4. Select the C atal o g Items accordion and select the new catalog. 5. Click Configuration Add a New Catalog Bundle. 6. Enter a name and description for the bundle. 7. Select D i spl ay i n C atal o g. a. Select your new catalog from the C atal o g list. b. Select O penshi ft Enterpri se Instal l er from the D i al o g list. 6

5. Deploying an O penshift Ent erprise Service c. Set the P ro vi si o ni ng Entry P o i nt to /R ed Hat/P o rtfo l i o /O penshi ft/instal l er/servi cep ro vi si o n_t empl at e/o seinst ALLER. d. Leave R eti rement Entry P o i nt blank. 8. Select the D etai l s tab. If desired, use HTML to enter details for the consumer to view in the catalog. 9. Select the R eso urces tab. Use the Ad d a R eso urce list to add the required service items. When you add a service item, it appears in Sel ected R eso urces. 10. Click Ad d. CloudForms Management Engine creates the bundle and makes it available to consumers in their service catalog. Tag the service as required to control its visibility to different roles. 5. Deploying an OpenShift Ent erprise Service D eploy an OpenShift Enterprise service by requesting the catalog item. 1. Log in to the CloudForms Management Engine appliance and navigate to Services Catalogs. 7

Red Hat CloudForms 3.1 Management Engine 5.3 O penshift Ent erprise Deployment G uide 2. Select the catalog item. This example uses O penshi ft Enterpri se Mul ti No d e. Click O rd er. 3. Enter the basic details for the service as required. 4. Select the D epo t tab to configure the depot type. None A local repository as configured in the destination virtual machine s. repo files. RHSM/RHN YUM Use either Red Hat Subscription Manager or Red Hat Network. Requires an internet connection. Username: Enter your RHSM or RHN Username. Password: Enter your RHSM or RHN Password. Manually provide a URL to the YUM repository. YUM URL: A URL for a YUM repository containing all the required packages for an OpenShift Enterprise install. 8

5. Deploying an O penshift Ent erprise Service 5. Click Submi t to order the service and add it to the queue. 6. Navigate to Services My Services to view the ordered service. Notes Note that the VMs field initially displays No R eco rd s Fo und as the service is currently being instantiated. Service N ames Initially, the service name is the same as the bundle. D uring the installation of OpenShift Enterprise the service is renamed to include the date and time to ensure it is unique in the My Servi ces screen. Smart Management The Smart Manag ement area displays important information about the deployment of OpenShift Enterprise services. 9

Red Hat CloudForms 3.1 Management Engine 5.3 O penshift Ent erprise Deployment G uide The install process creates tags dynamically and assigns them to various items. The tags serve two purposes: provide debugging information if a failure occurs in the OpenShift Enterprise installation process. enable the installer to track the progress of various items during the installation process. In the following example, there are three virtual machines present and the Smart Manag ement area displays the In P ro g ress and T emp O penshi ft Enterpri se State tags. The T emp O penshi ft Enterpri se State tag displays the name of the o o - i nstal l -o se log file for this run. As each service deployment generates a new log file, this tag enables you to associate each deployment to its log file. To view the log file for a deployment: Record the unique ID for the deployment's log file found in the T emp O penshi ft Entperpri se State tag. For example: Temp OpenShift Enterprise State : 16 1_20 14 0 817_150 9 OpenShift Enterprise Log File for this run Access the automation appliance performing the deployment and change to the /tmp/ directory. Deployment log filenames consist of the unique ID suffixed by _o se. l o g. For example: 16 1_20 14 0 817_150 9 _o se. l o g By default, log files record all the actions the o o -i nstal l -o se installer performs. They also contain information on retrieving logs from remote installations. All other CloudForms Management Engine activities are logged to the automation log as normal. CloudForms Management Engine also tags individual virtual machines in the service. The following example displays a virtual machine in a service during its deployment of OpenShift Enterprise. The Smart Manag ement area includes two important pieces of information: OpenShift Enterprise Policy: the roles designated for this virtual machine OpenShift Enterprise Status: the roles that the virtual machine is currently installing 10

5. Deploying an O penshift Ent erprise Service After the virtual machine completes role installation, the O penshi ft Enterpri se Status tag updates to C o mpl eted for the roles assigned in the O penshi ft Enterpri se P o l i cy section. When the OpenShift Enterprise install finishes, the service is tagged C o mpl eted. 11

Red Hat CloudForms 3.1 Management Engine 5.3 O penshift Ent erprise Deployment G uide A. Revision Hist ory Revision 1.3-0 Tue Feb 3 2015 CloudForms Docs Team Update product name to Red Hat CloudForms Revision 1.2-0 Wed Jan 14 2015 CloudForms Docs Team Updated the link for the installer file. Revision 1.1-0 Mon Nov 17 2014 CloudForms Docs Team Final packages for CloudForms 3.1.1 Revision 1.0-0 Wed Nov 12 2014 CloudForms Docs Team Initial book creation. 12