Red Hat Virtualization 4.2 Self-Hosted Engine Guide
Total Page:16
File Type:pdf, Size:1020Kb
Red Hat Virtualization 4.2 Self-Hosted Engine Guide Installing and Maintaining the Red Hat Virtualization Self-Hosted Engine Last Updated: 2020-06-03 Red Hat Virtualization 4.2 Self-Hosted Engine Guide Installing and Maintaining the Red Hat Virtualization Self-Hosted Engine Red Hat Virtualization Documentation Team Red Hat Customer Content Services [email protected] Legal Notice Copyright © 2020 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 A comprehensive guide to the self-hosted engine. Table of Contents Table of Contents .C . H. .A . P. .T .E . R. 1.. .I .N . T. .R .O . .D . U. .C . T. .I O. N. 3. .C . H. .A . P. .T .E . R. 2. D. .E . P. .L . O. .Y . I.N . .G . .T . H. .E . .S .E . L. .F .- .H . .O . S. .T .E . D. E. .N . G. I.N . E. .4 . 2.1. DEPLOYING THE SELF-HOSTED ENGINE USING COCKPIT 4 2.2. DEPLOYING THE SELF-HOSTED ENGINE USING THE COMMAND LINE 7 .C . H. .A . P. .T .E . R. 3. T. .R . O. U. .B . L. E. .S . H. .O . O. T. .I N. .G . .A . .S . E. .L .F . -. H. .O . .S .T . E. .D . .E . N. .G . I. N. .E . .D . E. P. .L . O. .Y . M. E. .N . T. 1.4 . 3.1. TROUBLESHOOTING THE MANAGER VIRTUAL MACHINE 14 3.2. CLEANING UP A FAILED SELF-HOSTED ENGINE DEPLOYMENT 16 .C . H. .A . P. .T .E . R. 4. .A . D. .M . .I N. .I S. .T . E. R. .I N. G. T. .H . E. S. E. .L . F. -. H. O. .S . T. .E .D . .E . N. .G . .I N. .E . 1.8 . 4.1. MAINTAINING THE SELF-HOSTED ENGINE 18 4.2. ADMINISTERING THE MANAGER VIRTUAL MACHINE 19 4.3. CONFIGURING MEMORY SLOTS RESERVED FOR THE SELF-HOSTED ENGINE ON ADDITIONAL HOSTS 19 4.4. INSTALLING ADDITIONAL SELF-HOSTED ENGINE NODES 20 4.5. REINSTALLING AN EXISTING HOST AS A SELF-HOSTED ENGINE NODE 21 4.6. REMOVING A HOST FROM A SELF-HOSTED ENGINE ENVIRONMENT 21 4.7. UPDATING THE MANAGER VIRTUAL MACHINE 22 .C . H. .A . P. .T .E . R. 5. M. I.G . .R . A. .T .I .N . G. F. .R . O. .M . A. S. .T .A . N. D. .A . L. O. N. .E . .M . .A .N . .A . G. .E . R. T. O. .A . .S .E . L. .F . -. H. .O . S. .T . E. D. .E .N . G. I.N . E. .2 . 4. 5.1. BACKING UP THE ORIGINAL MANAGER 25 5.2. RESTORING THE BACKUP ON A NEW SELF-HOSTED ENGINE 26 5.3. ENABLING THE RED HAT VIRTUALIZATION MANAGER REPOSITORIES 28 5.4. REINSTALLING AN EXISTING HOST AS A SELF-HOSTED ENGINE NODE 29 .C . H. .A . P. .T .E . R. 6. .B . A. .C . K. I. N. .G . .U . P. A. .N . D. .R .E . S. .T . O. .R . I.N . G. .A . .S .E . L. .F .- .H . .O . S. .T .E . D. E. .N . G. I.N . E. 3. .1 . 6.1. BACKING UP THE ORIGINAL MANAGER 32 6.2. RESTORING THE BACKUP ON A NEW SELF-HOSTED ENGINE 33 6.3. ENABLING THE RED HAT VIRTUALIZATION MANAGER REPOSITORIES 36 6.4. REINSTALLING HOSTS 37 6.5. REMOVING A STORAGE DOMAIN 38 .C . H. .A . P. .T .E . R. 7. R. .E . C. .O . .V .E . R. .I N. G. A. S. .E .L . F. .- .H . O. .S . T. .E .D . E. N. G. .I N. .E . .F . R. .O . M. .A . N. E. .X . I.S . T. I. N. .G . .B . A. .C . K. .U . P. .3 . 9. 7.1. RESTORING THE BACKUP ON A NEW SELF-HOSTED ENGINE 40 7.2. ENABLING THE RED HAT VIRTUALIZATION MANAGER REPOSITORIES 43 7.3. REINSTALLING HOSTS 43 7.4. REMOVING A STORAGE DOMAIN 44 .C . H. .A . P. .T .E . R. 8. .U . P. .G . R. .A . D. .I N. .G . T. .H . E. .S . E. .L .F . -. H. .O . .S .T . E. .D . .E . N. .G . .I N. .E . .4 .6 . 8.1. UPGRADING A SELF-HOSTED ENGINE FROM 3.6 TO RED HAT VIRTUALIZATION 4.2 46 8.2. UPGRADING A SELF-HOSTED ENGINE FROM 4.0 TO RED HAT VIRTUALIZATION 4.2 58 8.3. UPGRADING A SELF-HOSTED ENGINE FROM 4.1 TO RED HAT VIRTUALIZATION 4.2 67 .C . H. .A . P. .T .E . R. 9. .M . I. G. .R . A. .T . I.N . G. T. .H . E. S. .E .L . F. .- .H . O. .S . T. .E .D . E. N. G. .I N. .E . .D . A. .T . A. .B . A. .S . E. .T . O. A. R. .E . M. O. .T . E. S. E. .R . V. .E . R. D . .A . T. A. .B . A. .S . E. .7 . 7. .A .P . P. .E . N. .D . I. X. A . .U . P. .G . R. .A . D. .I N. .G . A. R. .H . E. V. .- .H . 3 . ..6 . .S .E . L. .F . -. H. .O . S. .T . E. D. .E .N . G. I.N . E. T. .O . .A . .R . H. .V . H. 4. .. 2. S . E. .L . F. -. H. .O . .S . T. E. .D . .E . N. .G . .I N. .E . 78 .A .P . P. .E . N. .D . I. X. B . U. P. G. R. .A . D. .I N. .G . F. R. .O . .M . R . H. E. V. .- .H . .3 . ..6 . .T .O . R. .H . V. .H . .4 . ..2 . W. H. .I .L .E . .P . R. .E .S . E. .R . V. .I N. .G . .L . O. C. .A . L. .S . T. .O . R. .A . G. .E . .8 .0 . ..