# inventory New machines for prod: (These are all AMD based boxes, 96 cores, 256GB ram, 8 450GB SSDS) ``` oshift-dell01 IN A 10.3.160.180 oshift-dell02 IN A 10.3.160.181 oshift-dell03 IN A 10.3.160.182 oshift-dell04 IN A 10.3.160.183 oshift-dell05 IN A 10.3.160.184 oshift-dell06 IN A 10.3.160.185 ``` older machines we had marked for masters perhaps: ``` oshift4-x86-fe-01 IN A 10.3.160.58 oshift4-x86-fe-02 IN A 10.3.160.45 oshift4-x86-fe-03 IN A 10.3.160.44 ``` older machines we had marked for perhaps a staging cluster: ``` oshift4-x86-be-01-stg IN A 10.3.160.51 oshift4-x86-be-02-stg IN A 10.3.160.50 oshift4-x86-fe-01-stg IN A 10.3.160.40 oshift4-x86-fe-02-stg IN A 10.3.160.41 ``` staging vmhosts we should use: ``` vmhost-x86-05 - 07, 11-stg ``` ## mgmt node address Split hardware between staging and prod ### Prod ``` oshift-dell01 IN A 10.3.160.180 oshift-dell02 IN A 10.3.160.181 oshift-dell03 IN A 10.3.160.182 ``` ### staging ``` oshift-dell04 IN A 10.3.160.183 # worker01 oshift-dell05 IN A 10.3.160.184 # worker02 oshift-dell06 IN A 10.3.160.185 # worker03 ``` ``` # 10.3.166 network 118 IN PTR worker01.ocp.stg.iad2.fedoraproject.org. 119 IN PTR worker02.ocp.stg.iad2.fedoraproject.org. 120 IN PTR worker03.ocp.stg.iad2.fedoraproject.org. ``` ### oshift-dell01 - `10.3.160.180` 68:05:CA:CE:A3:C8 down 68:05:CA:CE:A3:C9 up ``` ``` ### oshift-dell02 - `10.3.160.181` 68:05:CA:CE:A2:90 ``` ``` ### oshift-dell03 - `10.3.160.182` 68:05:CA:CE:A7:4C ``` ``` ### oshift-dell04 - `10.3.160.183` 68:05:CA:CE:A2:AC ``` NIC MAC Addresses Embedded NIC 1 Port 1 Partition 1 Ethernet 70:B5:E8:D0:E2:E0 Embedded NIC 2 Port 1 Partition 1 Ethernet 70:B5:E8:D0:E2:E1 Integrated NIC 1 Port 1 Partition 1 Ethernet 68:05:CA:CE:A2:AC Integrated NIC 1 Port 2 Partition 1 Ethernet 68:05:CA:CE:A2:AD ``` ### oshift-dell05 - `10.3.160.184` 68:05:CA:CE:A3:24 ``` NIC MAC Addresses Embedded NIC 1 Port 1 Partition 1 Ethernet 70:B5:E8:D0:D4:90 Embedded NIC 2 Port 1 Partition 1 Ethernet 70:B5:E8:D0:D4:91 Integrated NIC 1 Port 1 Partition 1 Ethernet 68:05:CA:CE:A3:24 Integrated NIC 1 Port 2 Partition 1 Ethernet 68:05:CA:CE:A3:25 ``` ### oshift-dell06 - `10.3.160.185` 68:05:CA:CE:A5:10 ``` NIC MAC Addresses Embedded NIC 1 Port 1 Partition 1 Ethernet 70:B5:E8:D0:D6:98 Embedded NIC 2 Port 1 Partition 1 Ethernet 70:B5:E8:D0:D6:99 Integrated NIC 1 Port 1 Partition 1 Ethernet 68:05:CA:CE:A5:10 Integrated NIC 1 Port 2 Partition 1 Ethernet 68:05:CA:CE:A5:11 ``` ### template pxelinux config for rhcos ``` DEFAULT {{ inventory_hostname }}-deploy PROMPT 0 TIMEOUT 50 TOTALTIMEOUT 6000 ONTIMEOUT {{ inventory_hostname }}-deploy LABEL local MENU LABEL (local) MENU DEFAULT LOCALBOOT 0 LABEL {{ inventory_hostname}}-deploy MENU LABEL RHCOS {{ rhcos_version }} {{ arch }}- Kickstart for {{ inventory_hostname }} KERNEL rhcos-{{ rhcos_version }}-{{ arch }}-installer-kernel-{{ arch }} APPEND ip={{ ip }}::{{ gateway }}:{{ netmask }}:{{ inventory_hostname }}:{{ pxe_bootdev }}:none nameserver={{ nameserver }} rd.neednet=1 initrd=rhcos-{{ rhcos_version }}-{{ arch }}-installer-initramfs.{{ arch }}.img console={{ kernel_console | default('tty0')}} coreos.inst=yes rd.md=1 rd.auto coreos.inst.install_dev={{ md_raid_dev }} coreos.inst.image_url={{ rhcos_install_img_url }} coreos.inst.ignition_url={{ rhcos_ignition_file_url }} ``` rhcos-4.8.2-x86_64-live-kernel-x86_64 run_once: True with_items: - "rhcos-{{ rhcos_version }}-x86_64-live-initramfs.x86_64.img" - "rhcos-{{ rhcos_version }}-x86_64-live-rootfs.x86_64.img" - "rhcos-{{ rhcos_version }}-x86_64-metal.x86_64.raw.gz" - "rhcos-{{ rhcos_version }}-x86_64-live-kernel-x86_64" === MAC addresses for the Control Plane VMs: https://linux.die.net/man/1/virt-install ``` [t0xic0der@fedorable ~]$ virt-install --help | grep "mac" Create a new virtual machine from specified install media. --network network=mynet,model=virtio,mac=00:11... --machine MACHINE The machine type to emulate ``` From [1] above, it states that mac addresses created by KVM should start with: `52:54:00` ocp01: 52:54:00:CE:A2:AC ocp02: 52:54:00:CE:A3:24 ocp03: 52:54:00:CE:A5:10