OpenShift 3.6 Virtualization Host Preparation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 25: Line 25:
  cp /tmp/rhel-server-7.4-x86_64-boot.iso /iso-images/
  cp /tmp/rhel-server-7.4-x86_64-boot.iso /iso-images/


3. Create a
3. Create a partition-based [[Linux_Virtualization_Concepts#Storage_Pool|storage pool]] to maintain storage for the virtualization guests, as described in [[KVM Virtualization Partition-Based Storage Pool Configuration|this procedure]]. It is conventionally named "main-storage-pool":
 
virsh # pool-dumpxml main-storage-pool
<pool type='fs'>
  <name>main-storage-pool</name>
  <uuid>5e3b81b6-a596-404f-a091-ef738dc21df5</uuid>
  <capacity unit='bytes'>938496245760</capacity>
  <allocation unit='bytes'>9520472064</allocation>
  <available unit='bytes'>928975773696</available>
  <source>
    <device path='/dev/sda7'/>
    <format type='auto'/>
  </source>
  <target>
    <path>/main-storage-pool</path>
    <permissions>
      <mode>0755</mode>
      <owner>0</owner>
      <group>0</group>
      <label>system_u:object_r:unlabeled_t:s0</label>
    </permissions>
  </target>
</pool>

Revision as of 22:18, 7 November 2017

Internal

Overview

This procedure describes preparatory operations required by the installation of an OpenShift environment on a KVM virtualization host. None of these operations are OpenShift-specific, but they are necessary if OpenShift and support nodes are to be deployed in a KVM virtualization environment.

Procedure

1. Create a directory-based storage pool to maintain the ISO images used in the installation, as described in this procedure. The conventional name of the pool is "iso-images":

virsh # pool-info iso-images
Name:           iso-images
UUID:           e91bb163-c4be-4c1a-9212-70903e407a1c
State:          running
Persistent:     yes
Autostart:      yes
Capacity:       49.98 GiB
Allocation:     11.63 GiB
Available:      38.35 GiB

2. Stage the Red Hat Enterprise Linux 7.4 Boot ISO image that will be used to create the guest templates, as file, in /iso-images

cp /tmp/rhel-server-7.4-x86_64-boot.iso /iso-images/

3. Create a partition-based storage pool to maintain storage for the virtualization guests, as described in this procedure. It is conventionally named "main-storage-pool":

virsh # pool-dumpxml main-storage-pool
<pool type='fs'>
 <name>main-storage-pool</name>
 <uuid>5e3b81b6-a596-404f-a091-ef738dc21df5</uuid>
 <capacity unit='bytes'>938496245760</capacity>
 <allocation unit='bytes'>9520472064</allocation>
 <available unit='bytes'>928975773696</available>
    <device path='/dev/sda7'/>
    <format type='auto'/>
 <target>
   <path>/main-storage-pool</path>
   <permissions>
     <mode>0755</mode>
     <owner>0</owner>
     <group>0</group>
     <label>system_u:object_r:unlabeled_t:s0</label>
   </permissions>
 </target>
</pool>