Red Hat Storage Console 2.0 Quick Start Guide
Total Page:16
File Type:pdf, Size:1020Kb
Red Hat Storage Console 2.0 Quick Start Guide Getting Started with Red Hat Storage Console Rakesh Ghatvisave Red Hat Red Hat Storage Console 2.0 Quick Start Guide Getting Started with Red Hat Storage Console Rakesh Ghatvisave Red Hat Customer Content Services [email protected] Legal Notice Copyright © 2017 Red Hat, Inc. The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/ . In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version. 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, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries. Linux ® is the registered trademark of Linus Torvalds in the United States and other countries. Java ® is a registered trademark of Oracle and/or its affiliates. XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries. MySQL ® is a registered trademark of MySQL AB in the United States, the European Union and other countries. 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 ® Word Mark and OpenStack logo 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, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community. All other trademarks are the property of their respective owners. Abstract This guides provides the essential installation and configuration instructions to set up a Red Hat Ceph Storage cluster environment using Red Hat Storage Console 2.0. Table of Contents Table of Contents .C .H . A. P. .T .E .R . .1 .. .O . V. E. .R .V . I.E .W . .3 . .C .H . A. P. .T .E .R . .2 .. .S .Y . S. T. E. .M . .R .E . Q. .U .I R. .E .M . E. .N .T .S . .4 . 2.1. REQUIREMENTS FOR HOST SYSTEM 4 2.2. REQUIREMENTS FOR RED HAT CEPH STORAGE NODES 4 2.3. REQUIREMENTS FOR THE CLIENT SYSTEM 4 .C .H . A. P. .T .E .R . .3 .. .I N. .S .T .A . L. L. I.N . G. A. N. .D . C. .O . N. F. .I G. U. .R . I.N .G . .R . E. D. H. A. .T . S. .T .O . R. A. .G . E. .C . O. N. .S .O . L. E. O. .N . H. .O . S. T. .S . Y. S. .T .E .M . .6 . 3.1. RED HAT STORAGE CONSOLE PACKAGE INSTALLATION 6 3.2. FIREWALL CONFIGURATION 7 3.3. RED HAT STORAGE CONSOLE QCOW INSTALLATION 8 3.4. RED HAT STORAGE CONSOLE SERVER CONFIGURATION 15 .C .H . A. P. .T .E .R . .4 .. .G . E. T. T. .I N. G. S. T. .A .R . T. E. D. T. H. .E . R. .E .D . .H . A. T. .S . T. O. .R .A . G. .E . C. .O . N. S. .O .L . E. .1 .7 . 4.1. PREREQUISITES 17 4.2. RED HAT STORAGE CONSOLE WEB INTERFACE LOGIN 17 .C .H . A. P. .T .E .R . .5 .. .C . R. E. .A .T .I N. .G . .A . N. .E .W . C. L. .U .S . T. E. R. .1 .9 . 5.1. INITIAL CLUSTER CREATION 19 .C .H . A. P. .T .E .R . .6 .. .I M. .P .O . R. .T .I N. .G . C. .L .U . S. T. E. .R . .3 .0 . .C .H . A. P. .T .E .R . .7 .. .P .R . O. .V .I S. .I O. N. .I N. .G . S. .T .O . R. A. .G . E. .3 .4 . 7.1. CREATING OBJECT STORAGE 34 7.2. CREATING BLOCK STORAGE 37 .C .H . A. P. .T .E .R . .8 .. .M . A. .N .A . G. .I N. G. C. .O .N . S. O. .L .E . .4 .2 . 8.1. CHANGING PASSWORD 42 8.2. CONSOLE LOGOUT 43 1 Red Hat Storage Console 2.0 Quick Start Guide 2 CHAPTER 1. OVERVIEW CHAPTER 1. OVERVIEW Red Hat Storage Console is a web-based storage management platform specially designed to efficiently manage the software-defined storage technologies offered by Red Hat. The Console simplifies the installation, configuration, monitoring, and management of Red Hat’s software-based storage systems. Red Hat Storage Console 2.0 provides seamless management of the Red Hat Ceph Storage ecosystem by providing functionalities such as creating new Ceph storage clusters, monitoring the cluster health and managing the storage capacity through an intuitive and simplified interface. 3 Red Hat Storage Console 2.0 Quick Start Guide CHAPTER 2. SYSTEM REQUIREMENTS This chapter covers the system requirements for Red Hat Storage Console environment. It includes system requirements for the host system, the storage nodes and the client system. 2.1. REQUIREMENTS FOR HOST SYSTEM Host system refers to the Red Hat Enterprise Linux 7.2 system on which the Red Hat Storage Console is installed and started. 2.1.1. Hardware Requirements Red Hat Storage Console recommends the following hardware requirements for the host system. Recommended Requirements: A quad core CPU or multiple dual core CPUs 16 GB of available system RAM that is not being consumed by existing processes One Network Interface Card (NIC) with bandwidth of at least 1 Gbps 2.1.2. Software Requirements Red Hat Storage Console supports the following software requirements on the host system. Table 2.1. Software Requirements for Host System Software Name and Version Operating System Red Hat Enterprise Linux 7.2 Storage Provider Red Hat Ceph Storage 2.0 2.2. REQUIREMENTS FOR RED HAT CEPH STORAGE NODES For system requirements to configure Red Hat Ceph Storage nodes, see the Red Hat Ceph Storage Hardware Guide and the Red Hat Ceph Storage Installation Guide for Red Hat Enterprise Linux available on the Red Hat Customer Portal. 2.3. REQUIREMENTS FOR THE CLIENT SYSTEM The Red Hat Storage Console web interface can be accessed by a client machine with the following web browser compatibility. Table 2.2. Web Browser Compatibility 4 CHAPTER 2. SYSTEM REQUIREMENTS Software Name and Version Web Browser Mozilla Firefox 38.7.0 or greater Web Browser Google Chrome 46 or greater 5 Red Hat Storage Console 2.0 Quick Start Guide CHAPTER 3. INSTALLING AND CONFIGURING RED HAT STORAGE CONSOLE ON HOST SYSTEM This chapter covers installing Red Hat Storage Console on the Red Hat Enterprise Linux 7.2 host system using packages and QCOW image format. 3.1. RED HAT STORAGE CONSOLE PACKAGE INSTALLATION To install Red Hat Storage Console, register the host system using Red Hat Subscription Manager, enable the required repositories, install the Red Hat Storage Console packages and start the server. The following procedure outlines the steps to install Red Hat Storage Console on the Host system: Procedure. Installing Red Hat Storage Console on Host System 1. To register the host system using Red Hat Subscription Manager, run the following command and enter the Red Hat Customer Portal username and password: # subscription-manager register 2. Attach the Entitlement Pools to the host system by running the following command: # subscription-manager attach --pool=[POOLID] Note The Pool ID depends on the registered Red Hat Customer Portal account. The available pools are accessible by running the subscription-manager list --available command. 3. Run the following command to disable any existing repositories: # subscription-manager repos --disable "*" 4. To enable the repositories required to install Red Hat Storage Console, run the following command: # subscription-manager repos --enable=rhel-7-server-rpms 5. Add the Red Hat Storage Console repository to the host system: # subscription-manager repos --enable=rhel-7-server-rhscon-2- main-rpms 6. Add the Ceph installer repository to the host system: # subscription-manager repos --enable=rhel-7-server-rhscon-2- installer-rpms 7. Import the GPG key by running the following command: 6 CHAPTER 3. INSTALLING AND CONFIGURING RED HAT STORAGE CONSOLE ON HOST SYSTEM # rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release 8. Install the Red Hat Storage Console packages: # yum install rhscon-core rhscon-ceph rhscon-ui After the Red Hat Storage Console Packages are successfully installed, the next step is to configure the Firewall. 3.2. FIREWALL CONFIGURATION 3.2.1. Configuring Red Hat Storage Console Server Ports Configure the firewall after the package installation of Red Hat Storage Console. The commands given in this section are to configure the firewall permanently. For the system to consider this, reload the firewall service by using the command firewall-cmd --reload, after executing all the port opening commands. For Skyring Service With Https and without Https: # firewall-cmd --permanent --zone=public --add-port=10443/tcp # firewall-cmd --permanent --zone=public --add-port=8080/tcp For Salt-Master Service # firewall-cmd --permanent --zone=public --add-port=4505-4506/tcp For Graphite-Web Access # firewall-cmd --permanent --zone=public --add-port=10080/tcp Data To Graphite Server # firewall-cmd --permanent --zone=public --add-port=2003/tcp Ceph Installer # firewall-cmd --permanent --zone=public --add-service=ceph-installer Note To configure the firewall for ceph-installer, ensure that the ceph-installer package is installed.