Comments (5)
@christianh814 I'm considering install ocp 4.5 with helper node, would you give some advice on how to modify DNS, HAproxy, DHCP manually, so the ocp 4.5 three nodes cluster could be installed smoothly, many thanks.
from ocp4-helpernode.
For now I would use "dummy" values for the workers. For example in your vars.yaml
file, it can look like this.
---
disk: vda
helper:
name: "helper"
ipaddr: "192.168.7.77"
dns:
domain: "example.com"
clusterid: "ocp4"
forwarder1: "8.8.8.8"
forwarder2: "8.8.4.4"
dhcp:
router: "192.168.7.1"
bcast: "192.168.7.255"
netmask: "255.255.255.0"
poolstart: "192.168.7.10"
poolend: "192.168.7.30"
ipid: "192.168.7.0"
netmaskid: "255.255.255.0"
bootstrap:
name: "bootstrap"
ipaddr: "192.168.7.20"
macaddr: "52:54:00:60:72:67"
masters:
- name: "master0"
ipaddr: "192.168.7.21"
macaddr: "52:54:00:e7:9d:67"
- name: "master1"
ipaddr: "192.168.7.22"
macaddr: "52:54:00:80:16:23"
- name: "master2"
ipaddr: "192.168.7.23"
macaddr: "52:54:00:d5:1c:39"
workers:
- name: "worker0-dummy"
ipaddr: "192.168.7.11"
macaddr: "52:54:00:f4:26:a1"
- name: "worker1-dummy"
ipaddr: "192.168.7.12"
macaddr: "52:54:00:82:90:00"
Run the playbook with these "dummy" entries.
Then, after the playbook is ran, edit the following files
/var/named/zonefile.db
Edit this file to remove all theworker
entries/var/named/reverse.db
Edit this file to remove all theworker
entries/etc/dhcp/dhcpd.conf
Edit this file to remove all theworker
entries/var/lib/tftpboot/pxelinux.cfg/
You need tocd
into this directory and remove the files that has the "dummy" MAC addresses/etc/haproxy/haproxy.cfg
Edit this file and change the IP for the worker addresses to point to the master address
Then restart all services
systemctl restart named dhcpd tftp haproxy
Check the services
helpernodecheck services
tftp
might appear "dead" (this is okay)
After creating the manifests, SKIP this step
$ sed -i 's/mastersSchedulable: true/mastersSchedulable: false/g' manifests/cluster-scheduler-02-config.yml # DON'T DO THIS STEP
Can you test this out? If it works for you I'll add it to the documentation as a stopgap until we get a 3 node "compact" cluster supported.
from ocp4-helpernode.
@christianh814 Yes, will try it
from ocp4-helpernode.
@christianh814 Just verified the 3 masters OCP installation, the installation looked fine. How ever, due to my environment resources limitation, some pods status were Preempting, I think it shoud not related with helper node
from ocp4-helpernode.
Closed by #127
from ocp4-helpernode.
Related Issues (20)
- Update Documentation to say "Control Plane" HOT 1
- Improve validate_host_names.yaml
- Automated Testing HOT 2
- Use GitHub Pages for Docs
- Bootstrap and install with only some nodes booted HOT 1
- [RFE] Use Fedora CoreOS instead of CentOS/RHEL
- [RFE] Use OC Mirror
- How do I set search domains in /etc/resolv.conf, when using static IPs in kernel parameters HOT 2
- re-consider disk partitioning.
- Build include private registry follows error in bootstrap "x509: certificate signed by unknown authority" HOT 1
- How can the ansible playbook helpernode be used to set up one helper node for 3 clusters. HOT 1
- Need RHEL9/CentOS9 support HOT 2
- Add configuration for bonds on interfaces HOT 1
- Is helpernode ready for rhel9? HOT 2
- Slightly confusing mix of root user but "$" shell prompt
- tasks/set_facts_.yaml has what is now incorrect use of {{ }} syntax, prevents successful run HOT 2
- Build include private registry failed to mirror images with error "x509: certificate signed by unknown authority"
- Windows node?
- ipi and baremetal variables are not explained in the vars-doc.md file
- How to influence DNS hostnames when using the static IP config
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocp4-helpernode.