Red Hat Satellite 6.7 Provisioning Guide
Total Page:16
File Type:pdf, Size:1020Kb
Red Hat Satellite 6.7 Provisioning Guide A guide to provisioning physical and virtual hosts on Red Hat Satellite Servers. Last Updated: 2021-05-14 Red Hat Satellite 6.7 Provisioning Guide A guide to provisioning physical and virtual hosts on Red Hat Satellite Servers. Red Hat Satellite Documentation Team [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 The Red Hat Satellite Provisioning Guide has instructions on provisioning physical and virtual hosts. This includes setting up the required network topology, configuring the necessary services, and providing all of the other configuration information to provision hosts on your network. 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. 5. 1.1. PROVISIONING OVERVIEW 5 1.2. NETWORK BOOT PROVISIONING WORKFLOW 5 .C . H. .A . P. .T .E . R. 2. C. .O . .N . F. .I G. .U . .R .I .N . G. P. .R . O. .V . I. S. I.O . .N . I.N . .G . .R . E. .S .O . .U . R. .C . E. .S . 8. 2.1. PROVISIONING CONTEXTS 8 2.2. SETTING THE PROVISIONING CONTEXT 8 2.3. CREATING OPERATING SYSTEMS 8 2.4. UPDATING THE DETAILS OF MULTIPLE OPERATING SYSTEMS 9 2.5. CREATING ARCHITECTURES 10 2.6. CREATING HARDWARE MODELS 11 2.7. USING A SYNCED KICKSTART REPOSITORY FOR A HOST’S OPERATING SYSTEM 11 2.8. ADDING INSTALLATION MEDIA TO SATELLITE 12 2.9. CREATING PARTITION TABLES 13 2.10. DYNAMIC PARTITION EXAMPLE 14 2.11. PROVISIONING TEMPLATES 14 2.12. TYPES OF PROVISIONING TEMPLATES 15 2.13. CREATING PROVISIONING TEMPLATES 16 2.14. CLONING PROVISIONING TEMPLATES 17 2.15. CREATING COMPUTE PROFILES 18 2.16. SETTING A DEFAULT ENCRYPTED ROOT PASSWORD FOR HOSTS 18 2.17. USING NOVNC TO ACCESS VIRTUAL MACHINES 18 .C . H. .A . P. .T .E . R. 3. C. O. .N . F. .I G. U. .R . I.N . G. N. E. T. .W . .O . .R .K . I.N . .G . .2 . 0. 3.1. NETWORK RESOURCES 20 3.2. SATELLITE AND DHCP OPTIONS 21 3.3. TROUBLESHOOTING DHCP PROBLEMS IN SATELLITE 22 3.4. PREREQUISITES FOR IMAGE BASED PROVISIONING 23 3.5. CONFIGURING NETWORK SERVICES 24 3.5.1. DHCP, DNS, and TFTP Options for Network Configuration 25 3.5.2. Using TFTP Services through NAT 26 3.6. ADDING A DOMAIN TO SATELLITE SERVER 26 3.7. ADDING A SUBNET TO SATELLITE SERVER 27 .C . H. .A . P. .T .E . R. 4. .U . S. .I N. .G . .I N. F. O. B. .L .O . .X . .A . S. D. .H . C. .P . .A . N. .D . .D . N. S. .P . R. .O . V. .I .D . E. .R .S . .2 . 9. 4.1. LIMITATIONS 29 4.2. PREREQUISITES 29 4.3. INSTALLING THE INFOBLOX CA CERTIFICATE ON CAPSULE SERVER 29 4.4. INSTALLING THE DHCP INFOBLOX MODULE 30 4.5. INSTALLING THE DNS INFOBLOX MODULE 31 .C . H. .A . P. .T .E . R. 5. C. .O . .N . F. .I G. .U . .R .I .N . G. I.P . X. .E . .T . O. R. .E . D. .U . C. .E . .P . R. .O . V. .I S. .I O. N. .I N. .G . T. I.M . .E . S. .3 . 2. 5.1. SETTING UP THE DISCOVERY SERVICE FOR IPXE 33 5.2. CHAINBOOTING VIRTUAL MACHINES 33 5.3. CHAINBOOTING SATELLITE SERVER TO USE IPXE DIRECTLY 35 5.4. CHAINBOOTING RED HAT SATELLITE CAPSULE TO USE IPXE DIRECTLY 37 .C . H. .A . P. .T .E . R. 6. .P .R . O. V. .I S. .I O. .N . .I N. .G . .B . A. .R . E. M. E. T. .A . L. H. .O . S. .T . S. .3 . 9. 6.1. PREREQUISITES FOR BARE METAL PROVISIONING 39 6.2. CONFIGURING THE SECURITY TOKEN VALIDITY DURATION 40 6.3. CREATING HOSTS WITH UNATTENDED PROVISIONING 40 6.4. CREATING HOSTS WITH PXE-LESS PROVISIONING 41 1 Red Hat Satellite 6.7 Provisioning Guide 6.5. DEPLOYING SSH KEYS DURING PROVISIONING 44 .C . H. .A . P. .T .E . R. 7. C. .O . .N . F. .I G. .U . .R .I .N . G. T. .H . E. D. .I S. .C . O. .V . E. .R . Y. S. .E .R . V. .I C. .E . .4 . 5. 7.1. INSTALLING THE DISCOVERY SERVICE 46 7.2. THE PROVISIONING TEMPLATE PXELINUX DISCOVERY SNIPPET 46 7.3. AUTOMATIC CONTEXTS FOR DISCOVERED HOSTS 47 7.4. DISCOVERY TEMPLATES AND SNIPPETS SETTINGS 47 7.5. CREATING HOSTS FROM DISCOVERED HOSTS 48 7.6. CREATING DISCOVERY RULES 50 7.7. IMPLEMENTING PXE-LESS DISCOVERY 51 7.8. BUILDING A DISCOVERY IMAGE 53 7.9. UNATTENDED USE, CUSTOMIZATION, AND IMAGE REMASTERING 55 7.10. EXTENDING THE DISCOVERY IMAGE 57 7.11. TROUBLESHOOTING DISCOVERY 58 .C . H. .A . P. .T .E . R. 8. .U . S. I. N. .G . .A . .R . E. .D . .H . A. .T . .I M. A. .G . E. B. .U . I.L . D. .E . R. .I .M . A. .G . .E . F. .O . .R . P. .R . O. V. .I S. .I O. .N . I. N. .G . .5 . 9. .C . H. .A . P. .T .E . R. 9. .P .R . O. V. .I S. .I O. .N . .I N. .G . .V . I.R . T. .U . A. .L . .M . .A . C. .H . I.N . E. .S . .O . N. K. .V . M. .( .L .I .B .V . I. R. .T .) . .6 .0 . 9.1. CONFIGURING SATELLITE SERVER FOR KVM CONNECTIONS 61 9.2. ADDING A KVM CONNECTION TO SATELLITE SERVER 61 9.3. ADDING KVM IMAGES TO SATELLITE SERVER 62 9.4. ADDING KVM DETAILS TO A COMPUTE PROFILE 63 9.5. CREATING HOSTS ON KVM 64 .C . H. .A . P. .T .E . R. 1.0 . .. P. .R . O. .V . I. S. I.O . .N . I.N . .G . .V . I.R . T. .U . A. .L . M. A. .C . H. .I .N . E. .S . O. N. R. .E . D. H. .A . T. V. .I R. .T .U . A. .L . I.Z . A. .T .I .O . N. .6 . 7. 10.1. ADDING THE RED HAT VIRTUALIZATION CONNECTION TO SATELLITE SERVER 68 10.2. PREPARING CLOUD-INIT IMAGES IN RED HAT VIRTUALIZATION 69 10.3. ADDING RED HAT VIRTUALIZATION IMAGES TO SATELLITE SERVER 69.