Red Hat Virtualization 4.4 Installing Red Hat Virtualization As a Standalone Manager with Remote Databases
Total Page:16
File Type:pdf, Size:1020Kb
Red Hat Virtualization 4.4 Installing Red Hat Virtualization as a standalone Manager with remote databases Installing the Red Hat Virtualization Manager on one server, and its databases on a second server Last Updated: 2021-09-07 Red Hat Virtualization 4.4 Installing Red Hat Virtualization as a standalone Manager with remote databases Installing the Red Hat Virtualization Manager on one server, and its databases on a second server Red Hat Virtualization Documentation Team Red Hat Customer Content Services [email protected] Legal Notice Copyright © 2021 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, the Red Hat 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 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 document describes how to install a standalone Manager environment – where the Red Hat Virtualization Manager is installed on either a physical server or a virtual machine hosted in another environment – with the Manager database and the Data Warehouse service and database hosted on a remote server. Although you can choose to host one database locally and the other remotely, this document assumes that both databases will be hosted remotely. If this is not the configuration you want to use, see the other Installation Options in the Product Guide. Table of Contents Table of Contents .P .R . E. .F . A. .C . E. .4 . STANDALONE MANAGER ARCHITECTURE 4 .C . H. .A . P. .T .E . R. 1.. .I .N . S. .T .A . L. .L .A . .T .I O. N. O. .V . .E .R . V. .I E. .W . 6. .C . H. .A . P. .T .E . R. 2. R. .E . Q. .U . .I R. .E .M . .E . N. .T . S. 7. 2.1. RED HAT VIRTUALIZATION MANAGER REQUIREMENTS 7 2.1.1. Hardware Requirements 7 2.1.2. Browser Requirements 7 2.1.3. Client Requirements 8 2.1.4. Operating System Requirements 8 2.2. HOST REQUIREMENTS 9 2.2.1. CPU Requirements 9 2.2.1.1. Checking if a Processor Supports the Required Flags 10 2.2.2. Memory Requirements 10 2.2.3. Storage Requirements 10 2.2.4. PCI Device Requirements 11 2.2.5. Device Assignment Requirements 11 2.2.6. vGPU Requirements 12 2.3. NETWORKING REQUIREMENTS 12 2.3.1. General requirements 12 2.3.2. Firewall Requirements for DNS, NTP, and IPMI Fencing 12 2.3.3. Red Hat Virtualization Manager Firewall Requirements 13 2.3.4. Host Firewall Requirements 17 2.3.5. Database Server Firewall Requirements 21 .C . H. .A . P. .T .E . R. 3. I. N. .S . T. A. .L . L. .I N. .G . T . H. .E . .R . E. .D . .H . A. .T . .V . I.R . T. U. .A . L. .I Z. .A . T. .I O. .N . .M . .A . N. .A . G. E. .R . .2 . 3. 3.1. INSTALLING THE RED HAT VIRTUALIZATION MANAGER MACHINE AND THE REMOTE SERVER 23 3.2. ENABLING THE RED HAT VIRTUALIZATION MANAGER REPOSITORIES 23 3.3. PREPARING A REMOTE POSTGRESQL DATABASE 24 Enabling the Red Hat Virtualization Manager Repositories 25 Initializing the PostgreSQL Database 26 3.4. INSTALLING AND CONFIGURING THE RED HAT VIRTUALIZATION MANAGER 28 3.5. INSTALLING AND CONFIGURING DATA WAREHOUSE ON A SEPARATE MACHINE 32 Enabling the Red Hat Virtualization Manager Repositories 32 Installing Data Warehouse on a Separate Machine 34 3.6. CONNECTING TO THE ADMINISTRATION PORTAL 36 .C . H. .A . P. .T .E . R. 4. .I N. .S . T. .A .L . L. .I N. .G . H. .O . S. .T . S. .F . O. R. .R . E. .D . .H . A. .T . .V . I.R . T. .U . A. .L .I .Z .A . T. .I O. N. .3 . 8. 4.1. RED HAT VIRTUALIZATION HOSTS 38 4.1.1. Installing Red Hat Virtualization Hosts 38 4.1.2. Enabling the Red Hat Virtualization Host Repository 40 4.1.3. Advanced Installation 41 4.1.3.1. Custom Partitioning 41 4.1.3.2. Installing a DUD driver on a host without installer support 42 4.1.3.3. Automating Red Hat Virtualization Host deployment 45 4.1.3.3.1. Preparing the installation environment 46 4.1.3.3.2. Configuring the PXE server and the boot loader 46 4.1.3.3.3. Creating and running a Kickstart file 47 4.2. RED HAT ENTERPRISE LINUX HOSTS 50 4.2.1. Installing Red Hat Enterprise Linux hosts 50 4.2.2. Enabling the Red Hat Enterprise Linux host Repositories 50 1 Red Hat Virtualization 4.4 Installing Red Hat Virtualization as a standalone Manager with remote databases 4.2.3. Installing Cockpit on Red Hat Enterprise Linux hosts 51 4.3. RECOMMENDED PRACTICES FOR CONFIGURING HOST NETWORKS 52 4.4. ADDING STANDARD HOSTS TO THE RED HAT VIRTUALIZATION MANAGER 53 .C . H. .A . P. .T .E . R. 5. P. .R . E. .P . A. .R . I.N . G. S. .T . O. .R . A. .G . .E . F. .O . R. R. .E . D. H. .A . T. V. .I R. .T . U. .A . L. I.Z . A. .T . I.O . N. .5 . 5. 5.1. PREPARING NFS STORAGE 55 5.2. PREPARING ISCSI STORAGE 57 5.3. PREPARING FCP STORAGE 57 5.4. PREPARING POSIX-COMPLIANT FILE SYSTEM STORAGE 58 5.5. PREPARING LOCAL STORAGE 59 5.6. PREPARING RED HAT GLUSTER STORAGE 59 5.7. CUSTOMIZING MULTIPATH CONFIGURATIONS FOR SAN VENDORS 60 5.8. RECOMMENDED SETTINGS FOR MULTIPATH.CONF 61 .C . H. .A . P. .T .E . R. 6. .A . D. .D . I.N . G. .S .T . O. R. A. .G . .E . .F .O . .R . .R .E . D. H. .A . T. V. .I R. .T . U. .A . L. .I Z. A. .T . I.O . .N . .6 . 3. 6.1. ADDING NFS STORAGE 63 6.2. ADDING ISCSI STORAGE 64 6.3. ADDING FCP STORAGE 66 6.4. ADDING POSIX-COMPLIANT FILE SYSTEM STORAGE 67 6.5. ADDING LOCAL STORAGE 68 6.6. ADDING RED HAT GLUSTER STORAGE 68 APPENDIX A. CONFIGURING A LOCAL REPOSITORY FOR OFFLINE RED HAT VIRTUALIZATION MANAGER .I N. .S . T. A. .L . L. .A . T. I. O. .N . .6 .9 . Enabling the Red Hat Virtualization Manager Repositories 69 Configuring the Offline Repository 70 .A .P . P. .E . N. .D . I. X. B . S. .E . T. .T .I .N . G. U. .P . .C . I.N . .D . E. .R .L . I.B . .7 . 3. .A .P . P. .E . N. .D . I. X. C . .C . O. .N . F. .I G. U. .R . I.N . G. A. H. O. .S . T. .F . O. R. .P . C. .I . P. A. .S . S. .T . H. .R . O. .U . G. H. .7 . 5. ..