Welcome to the Linux Foundation Forum!

Lab 16.2. Detailed Steps - HIGH AVAILABILITY - Deploy a Load Balancer


1) haproxy is another/differen node than existing cp ?
2) where we sudo apt-get update ; sudo apt-get install -y haproxy vim ? on existing cpnode ?
3) server lfs458-node-1a0a check #<-- Edit these with your IP addresses, port, and hostname ?

I know the Ip address which is from the cp node ? port no. ? hostname ?

4) is hostname should be replaced by lfs458-node-1a0a ?
@serewicz and @chrispokorni


  • serewicz
    serewicz Posts: 1,000


    Please reference the overview part of the lab. Note that it mentioned adding a proxy node as well as a second and third cp.

    If you look there is an overall part, then detailed steps.


  • sameerp16
    sameerp16 Posts: 4
    edited July 2021

    Query 1)
    Seems its incorrect for me .
    Join Control Plane Nodes
    Step 4:

    Create a new SSL hash.student@cp: ̃$ openssl x509 -pubkey -in /etc/kubernetes/pki/ca.crt | openssl rsa -pubin -outform der 2>/dev/null | openssl dgst -sha256 -hex | sed's/ˆ.* //'

    Error : -bash: seds/ˆ.* //: No such file or directory

    Query2) am unable to launch haproxy pid dashboard in browser .. What could be the reason?
    Please advise.

  • chrispokorni
    chrispokorni Posts: 2,164

    Hi @sameerp16,

    The error you are seeing is because of a typo in your command. If using copy/paste, compare the command from the terminal with the one from the lab guide to ensure it is complete.

    The haproxy will not run as expected if the haproxy.cfg file is misconfigured. Revisit the file, compare it against the file with the same name from the SOLUTIONS tarball, and ensure they are identical.



Upcoming Training