EUCHorizon Cloud Services Advanced Integrations Day 1Cloud Connector Worker Node Configuration

Cloud Connector Worker Node Configuration

Part 1: Enable SSH for the Horizon Cloud Connectors

As part of the process of getting the Worker Node Configured to Communicate the Primary. We need to enable SSH on all Horizon Cloud Connectors

Section 1 . Enabling SSH on Site 1 Connectors
Step 1a: Enable SSH for the Primary Cloud Connector on Site 1
  1. From the ControlCenter Desktop
    • Launch Google Chrome Site1 profile
    • In the address Bar
      • enter https://vcenterXX-01a.euc-livefire.com
        • where XX is your assigned POD ID
    • Under Getting started page of vCenter
    • Click Launch VSPHERE CLIENT (HTML 5)
  1. In the vSphere Client
    • Expand vcenter-01a.euc-livefire.com > Region01A > Bangalore
    • Locate the primary Cloud Connector: HznCCxx-01a
      • Where xx is the attendee Identifier. In our example it is 22
    • From the Summary Tab
      • LAUNCH WEB CONSOLE
      • The Console Session Opens in a new tab.
  1. In Cloud Connector Console
    • Login user: root
    • Password: VMware1!VMware1!
  1. In Cloud Connector Console, activate ccadmin
    • Type passwd ccadmin
      • using your keyboard press enter
    • New Password: VMware1!VMware1!
      • using your keyboard  press enter
    • Retype new password: VMware1!VMware1!
      • using your keyboard  press enter
  1. In Cloud Connector Console
    • Execute the following command
      • /opt/vmware/bin/configure-adapter.py --sshEnable
Step 1b: Enable  SSH for the Worker Node on Site 1
  1. Enable SSH for Newly Deployed Worker Node
    • From the vSphere Client in Site 1
      • Locate the newly deployed WorkerNode : HznCCxx-01b
        • Where xx is the attendee Identifier. In our example it is 22
        • From the Summary Tab
          • LAUNCH WEB CONSOLE
            • The Console Session Opens in a new tab
  1. In the Worker Node Connector Console (HznCC22-01b)
    • Login user: root
    • Password: VMware1!VMware1!
  1. In Cloud Connector Console, activate ccadmin
    • Type passwd ccadmin and press enter
    • New Password: VMware1!VMware1! and press enter
    • Retype new password: VMware1!VMware1! and press enter
  1. From Cloud Connector Console
    • Execute the following command
      • /opt/vmware/bin/configure-adapter.py --sshEnable
Section 2: Enabling SSH on Site 2 Connectors

Step 2: Enable SSH for Primary Cloud and Worker Node Connectors on Site 2

Step 2a: Enabling SSH for the Primary Cloud Connector on Site 2
  1. From the ControlCenter Desktop
    • Launch Google Chrome Site2 profile
    • In the address Bar
      • Enter https://vcenterXX-02a.euc-livefire.com
        • Where XX is your assigned POD ID
    • Under Getting started page of vCenter
    • Click Launch VSPHERE CLIENT (HTML 5)
  1. In the vSphere Client
    • Expand vcenterXX-02a.euc-livefire.com > Region02A > Seattle
    • Locate the primary Cloud Connector: HznCCxx-02a
      • Where xx is the attendee Identifier. In our example it is 22
    • From the Summary Tab
      • LAUNCH WEB CONSOLE
      • The Console Session Opens in a new tab.
  1. In Cloud Connector Console
    • Login user: root
    • Password: VMware1!VMware1!
  1. In Cloud Connector Console, activate ccadmin
    • Type passwd ccadmin and press enter
    • New Password: VMware1!VMware1! and press enter
    • Retype new password: VMware1!VMware1! and press enter
  1. In Cloud Connector Console
    • Execute the following command
      • /opt/vmware/bin/configure-adapter.py --sshEnable
Step 2b: Enabling SSH for the Worker Node on Site 2
  1. Enable SSH for Newly Deployed Worker Node
    • From the vSphere Client in Site 2
      • Locate the newly deployed WorkerNode : HznCCxx-02b
        • Where xx is the attendee Identifier. In our example it is 22
        • From the Summary Tab
          • LAUNCH WEB CONSOLE
            • The Console Session Opens in a new tab
  1. In the Worker Node Connector Console (HznCC22-02b)
    • Login user: root
    • Password: VMware1!VMware1!
  1. In Cloud Connector Console, activate ccadmin
    • Type passwd ccadmin and press enter
    • New Password: VMware1!VMware1! and press enter
    • Retype new password: VMware1!VMware1! and press enter
  1. From Cloud Connector Console
    • Execute the following command
      • /opt/vmware/bin/configure-adapter.py --sshEnable

Part 2: Configuring  the Site 1 the Worker Node

Part 2: Configuring the Worker Node on Site 1

Section 1: Configuring the Worker Node on Site 1

To Configure Worker node, we need to SSH to both the Primary and Worker Nodes and run commands to pair them together

  1. Login securely via SSH with CCADMIN on Primary Node
    • On ControlCenter Desktop
      • Right Click on Start Menu open Command Prompt (Admin)
      • Inside the Command Prompt
        • Type ssh [email protected] and press enter
          • When prompted Are you sure you want to continue connecting (yes/no)? Type yes
            • Once logged in to a ssh session of primary node, switch to root account
              • Type sudo -i
                • In the password prompt, Type VMware1!VMware1! and press enter
  1. Inside the SSH session of the Primary node
    • Type /opt/vmware/sbin/primary-cluster-config.sh -as 192.168.110.14
      • with your keyboard press enter
      • When  prompted for Are you sure you want to continue connecting (yes/no)? Type yes
        • When prompted for the Worker node (192.168.110.14 ) password
          • Type VMware1!VMware1! and press enter
            • After the command is executed, at the end of the ssh session, it will display a new command which needs to be executed on Worker node
              • Copy the Command and Save it on a notepad or notepad++ on the Control Center Desktop

 

  1. Login securely via SSH with CCADMIN on Worker Node
    • On ControlCenter Desktop
      • Right Click on Start Menu open Command Prompt (Admin)
      • Inside the Command Prompt
        • Type ssh [email protected] and press enter
          • When prompted Are you sure you want to continue connecting (yes/no)? Type yes
            • Once logged in to a ssh session of Worker node, switch to root account
              • Type sudo -i
                • In the password prompt, Type VMware1!VMware1! and press enter
  1. Inside the SSH session of the Worker node
    • Copy and paste the command from the Step 2 which was saved on notepad or notepad ++
    • For example
      • /opt/vmware/sbin/worker-cluster-config.sh -a 192.168.110.12 jwdtsm.3xqqgeinm5kgc2kd b23a9a1059f507cac41cfecf1f3f3b536f41d93e68c9632f3363871fa255f38c
        • Once done, the Worker Node configuration is complete for Site1
  1. Inside the SSH session of the Worker node
    • type sudo -i
      • with your keyboard
        • select Enter
    • type kubectl get pods -A
      • with your keyboard
        • select Enter
    • type kubectl get nodes
      • with your keyboard
        • select Enter
  1. Switch to your Primary Node (192.168.110.12) to verify  the configuration
    • Run the following Commands
      • Type kubectl get nodes
        • with your keyboard
          • select enter
      • Type kubectl get pods -A  
        • with your keyboard
          • select enter
Part 3: Configuring the Worker Node on Site 2

Part 3: Deploy Worker Node on Site 2

Step 3: Configure Worker Node on Site 2
  1. Login securely via SSH with CCADMIN on Primary Node
    • On Control Center Desktop
      • Right Click on Start Menu open Command Prompt (Admin)
      • Inside the Command Prompt
        • Type ssh [email protected] and press enter
          • When prompted Are you sure you want to continue connecting (yes/no)? Type yes
            • Once logged in to a ssh session of primary node, switch to root account
              • Type sudo -i
                • In the password prompt, Type VMware1!VMware1! and press enter
  1. Inside the SSH session of the Primary node
    • Type /opt/vmware/sbin/primary-cluster-config.sh -as 192.168.210.14 and press enter
      • When  prompted for Are you sure you want to continue connecting (yes/no)? Type yes
        • When prompted for the Worker node (192.168.210.14 ) password
          • Type VMware1!VMware1! and press enter
            • After the command is executed, at the end of the ssh session, it will display a new command which needs to be executed on Worker node
              • Copy the Command and Save it on a notepad or notepad++ on the Control Center Window

 

  1. Login securely via SSH with CCADMIN on Worker Node
    • On Control Center Desktop
      • Right Click on Start Menu open Command Prompt (Admin)
      • Inside the Command Prompt
        • Type ssh [email protected] and press enter
          • When prompted Are you sure you want to continue connecting (yes/no)? Type yes
            • Once logged in to a ssh session of Worker node, switch to root account
              • Type sudo -i
                • In the password prompt, Type VMware1!VMware1! and press enter
  1. Inside the SSH session of the Worker node
    • Copy and paste the command from the Step 2 which was saved on notepad or notepad ++
    • For example
      • /opt/vmware/sbin/worker-cluster-config.sh -a 192.168.210.12 abyhf6.woazwk2jisbzovh5 b5382544c5645bf20ed21ab4250267cbd3f2e082e0b52495e14c6410e691e609
        • Once done, the Worker Node configuration is complete for Site2
  1. Inside the SSH session of the Worker node
    • type sudo -i
      • with your keyboard
        • select Enter
    • type kubectl get pods -A
      • with your keyboard
        • select Enter
    • type kubectl get nodes
      • with your keyboard
        • select Enter
  1. Switch to your Primary Node
    • Run the following Commands (192.168.210.12) on Site 2 to verify  the configuration
      • Type kubectl get nodes
        • With your keyboard
          • press enter
      • Type kubectl get pods -A  
        • With your keyboard
          • press enter

This Concludes your Worker node Configuration and your Lab work for Day 1

0 Comments

Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.